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
);
899 wxPyEndBlockThreads(blocked
);
902 PyObject
*wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
904 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetFirstChild(item
, cookie
));
905 bool blocked
= wxPyBeginBlockThreads();
906 PyObject
* tup
= PyTuple_New(2);
907 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), True
));
908 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
909 wxPyEndBlockThreads(blocked
);
912 PyObject
*wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,void *cookie
){
913 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetNextChild(item
, cookie
));
914 bool blocked
= wxPyBeginBlockThreads();
915 PyObject
* tup
= PyTuple_New(2);
916 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), True
));
917 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
918 wxPyEndBlockThreads(blocked
);
921 PyObject
*wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,bool textOnly
){
923 if (self
->GetBoundingRect(item
, rect
, textOnly
)) {
924 bool blocked
= wxPyBeginBlockThreads();
925 wxRect
* r
= new wxRect(rect
);
926 PyObject
* val
= wxPyConstructObject((void*)r
, wxT("wxRect"), True
);
927 wxPyEndBlockThreads(blocked
);
933 static const wxString
wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr
);
934 // C++ version of Python aware wxControl
935 class wxPyControl
: public wxControl
937 DECLARE_DYNAMIC_CLASS(wxPyControl
)
939 wxPyControl() : wxControl() {}
940 wxPyControl(wxWindow
* parent
, const wxWindowID id
,
941 const wxPoint
& pos
= wxDefaultPosition
,
942 const wxSize
& size
= wxDefaultSize
,
944 const wxValidator
& validator
=wxDefaultValidator
,
945 const wxString
& name
= wxPyControlNameStr
)
946 : wxControl(parent
, id
, pos
, size
, style
, validator
, name
) {}
949 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
950 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
951 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
952 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
954 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
955 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
956 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
958 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
959 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
961 DEC_PYCALLBACK__(InitDialog
);
962 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
963 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
964 DEC_PYCALLBACK_BOOL_(Validate
);
966 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
967 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
968 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
970 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
971 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
973 DEC_PYCALLBACK_BOOL_(ShouldInheritColours
);
974 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground
);
979 IMPLEMENT_DYNAMIC_CLASS(wxPyControl
, wxControl
);
981 IMP_PYCALLBACK_VOID_INT4(wxPyControl
, wxControl
, DoMoveWindow
);
982 IMP_PYCALLBACK_VOID_INT5(wxPyControl
, wxControl
, DoSetSize
);
983 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetClientSize
);
984 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetVirtualSize
);
986 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetSize
);
987 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetClientSize
);
988 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetPosition
);
990 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetVirtualSize
);
991 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetBestSize
);
993 IMP_PYCALLBACK__(wxPyControl
, wxControl
, InitDialog
);
994 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataFromWindow
);
995 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataToWindow
);
996 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, Validate
);
998 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocus
);
999 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocusFromKeyboard
);
1000 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, GetMaxSize
);
1002 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, AddChild
);
1003 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, RemoveChild
);
1005 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, ShouldInheritColours
);
1006 IMP_PYCALLBACK__COLOUR(wxPyControl
, wxControl
, ApplyParentThemeBackground
);
1010 void wxHelpProvider_Destroy(wxHelpProvider
*self
){ delete self
; }
1012 #include <wx/generic/dragimgg.h>
1017 static int _wrap_ButtonNameStr_set(PyObject
*_val
) {
1018 PyErr_SetString(PyExc_TypeError
,"Variable ButtonNameStr is read-only.");
1023 static PyObject
*_wrap_ButtonNameStr_get() {
1028 pyobj
= PyUnicode_FromWideChar((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
1030 pyobj
= PyString_FromStringAndSize((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
1037 static PyObject
*_wrap_new_Button(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1038 PyObject
*resultobj
;
1039 wxWindow
*arg1
= (wxWindow
*) 0 ;
1041 wxString
*arg3
= 0 ;
1042 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1043 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1044 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1045 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1046 long arg6
= (long) 0 ;
1047 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
1048 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
1049 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
1050 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
1052 bool temp3
= False
;
1055 bool temp8
= False
;
1056 PyObject
* obj0
= 0 ;
1057 PyObject
* obj1
= 0 ;
1058 PyObject
* obj2
= 0 ;
1059 PyObject
* obj3
= 0 ;
1060 PyObject
* obj4
= 0 ;
1061 PyObject
* obj5
= 0 ;
1062 PyObject
* obj6
= 0 ;
1063 PyObject
* obj7
= 0 ;
1065 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_Button",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1069 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1071 arg2
= (int) SWIG_AsInt(obj1
);
1072 if (PyErr_Occurred()) SWIG_fail
;
1074 arg3
= wxString_in_helper(obj2
);
1075 if (arg3
== NULL
) SWIG_fail
;
1081 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1087 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1091 arg6
= (long) SWIG_AsLong(obj5
);
1092 if (PyErr_Occurred()) SWIG_fail
;
1095 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
1096 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1099 PyErr_SetString(PyExc_TypeError
,"null reference");
1105 arg8
= wxString_in_helper(obj7
);
1106 if (arg8
== NULL
) SWIG_fail
;
1111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1112 result
= (wxButton
*)new wxButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
1114 wxPyEndAllowThreads(__tstate
);
1115 if (PyErr_Occurred()) SWIG_fail
;
1118 resultobj
= wxPyMake_wxObject(result
);
1142 static PyObject
*_wrap_new_PreButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1143 PyObject
*resultobj
;
1149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreButton",kwnames
)) goto fail
;
1151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1152 result
= (wxButton
*)new wxButton();
1154 wxPyEndAllowThreads(__tstate
);
1155 if (PyErr_Occurred()) SWIG_fail
;
1158 resultobj
= wxPyMake_wxObject(result
);
1166 static PyObject
*_wrap_Button_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1167 PyObject
*resultobj
;
1168 wxButton
*arg1
= (wxButton
*) 0 ;
1169 wxWindow
*arg2
= (wxWindow
*) 0 ;
1171 wxString
*arg4
= 0 ;
1172 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
1173 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
1174 wxSize
const &arg6_defvalue
= wxDefaultSize
;
1175 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
1176 long arg7
= (long) 0 ;
1177 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
1178 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
1179 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
1180 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
1182 bool temp4
= False
;
1185 bool temp9
= False
;
1186 PyObject
* obj0
= 0 ;
1187 PyObject
* obj1
= 0 ;
1188 PyObject
* obj2
= 0 ;
1189 PyObject
* obj3
= 0 ;
1190 PyObject
* obj4
= 0 ;
1191 PyObject
* obj5
= 0 ;
1192 PyObject
* obj6
= 0 ;
1193 PyObject
* obj7
= 0 ;
1194 PyObject
* obj8
= 0 ;
1196 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:Button_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
1200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxButton
,
1201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1202 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1204 arg3
= (int) SWIG_AsInt(obj2
);
1205 if (PyErr_Occurred()) SWIG_fail
;
1207 arg4
= wxString_in_helper(obj3
);
1208 if (arg4
== NULL
) SWIG_fail
;
1214 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
1220 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
1224 arg7
= (long) SWIG_AsLong(obj6
);
1225 if (PyErr_Occurred()) SWIG_fail
;
1228 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
1229 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1232 PyErr_SetString(PyExc_TypeError
,"null reference");
1238 arg9
= wxString_in_helper(obj8
);
1239 if (arg9
== NULL
) SWIG_fail
;
1244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1245 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
1247 wxPyEndAllowThreads(__tstate
);
1248 if (PyErr_Occurred()) SWIG_fail
;
1251 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1275 static PyObject
*_wrap_Button_SetDefault(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1276 PyObject
*resultobj
;
1277 wxButton
*arg1
= (wxButton
*) 0 ;
1278 PyObject
* obj0
= 0 ;
1280 (char *) "self", NULL
1283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Button_SetDefault",kwnames
,&obj0
)) goto fail
;
1284 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxButton
,
1285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1288 (arg1
)->SetDefault();
1290 wxPyEndAllowThreads(__tstate
);
1291 if (PyErr_Occurred()) SWIG_fail
;
1293 Py_INCREF(Py_None
); resultobj
= Py_None
;
1300 static PyObject
*_wrap_Button_GetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1301 PyObject
*resultobj
;
1307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Button_GetDefaultSize",kwnames
)) goto fail
;
1309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1310 result
= wxButton::GetDefaultSize();
1312 wxPyEndAllowThreads(__tstate
);
1313 if (PyErr_Occurred()) SWIG_fail
;
1317 resultptr
= new wxSize((wxSize
&) result
);
1318 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
1326 static PyObject
*_wrap_Button_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1327 PyObject
*resultobj
;
1328 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
1329 wxVisualAttributes result
;
1330 PyObject
* obj0
= 0 ;
1332 (char *) "variant", NULL
1335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Button_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
1337 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
1338 if (PyErr_Occurred()) SWIG_fail
;
1341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1342 result
= wxButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
1344 wxPyEndAllowThreads(__tstate
);
1345 if (PyErr_Occurred()) SWIG_fail
;
1348 wxVisualAttributes
* resultptr
;
1349 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
1350 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
1358 static PyObject
* Button_swigregister(PyObject
*self
, PyObject
*args
) {
1360 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1361 SWIG_TypeClientData(SWIGTYPE_p_wxButton
, obj
);
1363 return Py_BuildValue((char *)"");
1365 static PyObject
*_wrap_new_BitmapButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1366 PyObject
*resultobj
;
1367 wxWindow
*arg1
= (wxWindow
*) 0 ;
1369 wxBitmap
*arg3
= 0 ;
1370 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1371 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1372 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1373 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1374 long arg6
= (long) wxBU_AUTODRAW
;
1375 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
1376 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
1377 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
1378 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
1379 wxBitmapButton
*result
;
1382 bool temp8
= False
;
1383 PyObject
* obj0
= 0 ;
1384 PyObject
* obj1
= 0 ;
1385 PyObject
* obj2
= 0 ;
1386 PyObject
* obj3
= 0 ;
1387 PyObject
* obj4
= 0 ;
1388 PyObject
* obj5
= 0 ;
1389 PyObject
* obj6
= 0 ;
1390 PyObject
* obj7
= 0 ;
1392 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_BitmapButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1398 arg2
= (int) SWIG_AsInt(obj1
);
1399 if (PyErr_Occurred()) SWIG_fail
;
1400 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
1401 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1404 PyErr_SetString(PyExc_TypeError
,"null reference");
1410 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1416 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1420 arg6
= (long) SWIG_AsLong(obj5
);
1421 if (PyErr_Occurred()) SWIG_fail
;
1424 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
1425 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1428 PyErr_SetString(PyExc_TypeError
,"null reference");
1434 arg8
= wxString_in_helper(obj7
);
1435 if (arg8
== NULL
) SWIG_fail
;
1440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1441 result
= (wxBitmapButton
*)new wxBitmapButton(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
1443 wxPyEndAllowThreads(__tstate
);
1444 if (PyErr_Occurred()) SWIG_fail
;
1447 resultobj
= wxPyMake_wxObject(result
);
1463 static PyObject
*_wrap_new_PreBitmapButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1464 PyObject
*resultobj
;
1465 wxBitmapButton
*result
;
1470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreBitmapButton",kwnames
)) goto fail
;
1472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1473 result
= (wxBitmapButton
*)new wxBitmapButton();
1475 wxPyEndAllowThreads(__tstate
);
1476 if (PyErr_Occurred()) SWIG_fail
;
1479 resultobj
= wxPyMake_wxObject(result
);
1487 static PyObject
*_wrap_BitmapButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1488 PyObject
*resultobj
;
1489 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1490 wxWindow
*arg2
= (wxWindow
*) 0 ;
1492 wxBitmap
*arg4
= 0 ;
1493 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
1494 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
1495 wxSize
const &arg6_defvalue
= wxDefaultSize
;
1496 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
1497 long arg7
= (long) wxBU_AUTODRAW
;
1498 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
1499 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
1500 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
1501 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
1505 bool temp9
= False
;
1506 PyObject
* obj0
= 0 ;
1507 PyObject
* obj1
= 0 ;
1508 PyObject
* obj2
= 0 ;
1509 PyObject
* obj3
= 0 ;
1510 PyObject
* obj4
= 0 ;
1511 PyObject
* obj5
= 0 ;
1512 PyObject
* obj6
= 0 ;
1513 PyObject
* obj7
= 0 ;
1514 PyObject
* obj8
= 0 ;
1516 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:BitmapButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
1520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1522 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1523 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1524 arg3
= (int) SWIG_AsInt(obj2
);
1525 if (PyErr_Occurred()) SWIG_fail
;
1526 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
1527 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1530 PyErr_SetString(PyExc_TypeError
,"null reference");
1536 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
1542 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
1546 arg7
= (long) SWIG_AsLong(obj6
);
1547 if (PyErr_Occurred()) SWIG_fail
;
1550 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
1551 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1554 PyErr_SetString(PyExc_TypeError
,"null reference");
1560 arg9
= wxString_in_helper(obj8
);
1561 if (arg9
== NULL
) SWIG_fail
;
1566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1567 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
1569 wxPyEndAllowThreads(__tstate
);
1570 if (PyErr_Occurred()) SWIG_fail
;
1573 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1589 static PyObject
*_wrap_BitmapButton_GetBitmapLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1590 PyObject
*resultobj
;
1591 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1593 PyObject
* obj0
= 0 ;
1595 (char *) "self", NULL
1598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapLabel",kwnames
,&obj0
)) goto fail
;
1599 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1603 result
= (arg1
)->GetBitmapLabel();
1605 wxPyEndAllowThreads(__tstate
);
1606 if (PyErr_Occurred()) SWIG_fail
;
1609 wxBitmap
* resultptr
;
1610 resultptr
= new wxBitmap((wxBitmap
&) result
);
1611 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1619 static PyObject
*_wrap_BitmapButton_GetBitmapDisabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1620 PyObject
*resultobj
;
1621 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1623 PyObject
* obj0
= 0 ;
1625 (char *) "self", NULL
1628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapDisabled",kwnames
,&obj0
)) goto fail
;
1629 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1633 result
= (arg1
)->GetBitmapDisabled();
1635 wxPyEndAllowThreads(__tstate
);
1636 if (PyErr_Occurred()) SWIG_fail
;
1639 wxBitmap
* resultptr
;
1640 resultptr
= new wxBitmap((wxBitmap
&) result
);
1641 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1649 static PyObject
*_wrap_BitmapButton_GetBitmapFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1650 PyObject
*resultobj
;
1651 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1653 PyObject
* obj0
= 0 ;
1655 (char *) "self", NULL
1658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapFocus",kwnames
,&obj0
)) goto fail
;
1659 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1663 result
= (arg1
)->GetBitmapFocus();
1665 wxPyEndAllowThreads(__tstate
);
1666 if (PyErr_Occurred()) SWIG_fail
;
1669 wxBitmap
* resultptr
;
1670 resultptr
= new wxBitmap((wxBitmap
&) result
);
1671 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1679 static PyObject
*_wrap_BitmapButton_GetBitmapSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1680 PyObject
*resultobj
;
1681 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1683 PyObject
* obj0
= 0 ;
1685 (char *) "self", NULL
1688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapSelected",kwnames
,&obj0
)) goto fail
;
1689 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1690 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1693 result
= (arg1
)->GetBitmapSelected();
1695 wxPyEndAllowThreads(__tstate
);
1696 if (PyErr_Occurred()) SWIG_fail
;
1699 wxBitmap
* resultptr
;
1700 resultptr
= new wxBitmap((wxBitmap
&) result
);
1701 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1709 static PyObject
*_wrap_BitmapButton_SetBitmapDisabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1710 PyObject
*resultobj
;
1711 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1712 wxBitmap
*arg2
= 0 ;
1713 PyObject
* obj0
= 0 ;
1714 PyObject
* obj1
= 0 ;
1716 (char *) "self",(char *) "bitmap", NULL
1719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames
,&obj0
,&obj1
)) goto fail
;
1720 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1722 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1723 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1726 PyErr_SetString(PyExc_TypeError
,"null reference");
1730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1731 (arg1
)->SetBitmapDisabled((wxBitmap
const &)*arg2
);
1733 wxPyEndAllowThreads(__tstate
);
1734 if (PyErr_Occurred()) SWIG_fail
;
1736 Py_INCREF(Py_None
); resultobj
= Py_None
;
1743 static PyObject
*_wrap_BitmapButton_SetBitmapFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1744 PyObject
*resultobj
;
1745 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1746 wxBitmap
*arg2
= 0 ;
1747 PyObject
* obj0
= 0 ;
1748 PyObject
* obj1
= 0 ;
1750 (char *) "self",(char *) "bitmap", NULL
1753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
1754 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1755 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1756 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1757 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1760 PyErr_SetString(PyExc_TypeError
,"null reference");
1764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1765 (arg1
)->SetBitmapFocus((wxBitmap
const &)*arg2
);
1767 wxPyEndAllowThreads(__tstate
);
1768 if (PyErr_Occurred()) SWIG_fail
;
1770 Py_INCREF(Py_None
); resultobj
= Py_None
;
1777 static PyObject
*_wrap_BitmapButton_SetBitmapSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1778 PyObject
*resultobj
;
1779 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1780 wxBitmap
*arg2
= 0 ;
1781 PyObject
* obj0
= 0 ;
1782 PyObject
* obj1
= 0 ;
1784 (char *) "self",(char *) "bitmap", NULL
1787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
1788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1790 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1791 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1794 PyErr_SetString(PyExc_TypeError
,"null reference");
1798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1799 (arg1
)->SetBitmapSelected((wxBitmap
const &)*arg2
);
1801 wxPyEndAllowThreads(__tstate
);
1802 if (PyErr_Occurred()) SWIG_fail
;
1804 Py_INCREF(Py_None
); resultobj
= Py_None
;
1811 static PyObject
*_wrap_BitmapButton_SetBitmapLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1812 PyObject
*resultobj
;
1813 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1814 wxBitmap
*arg2
= 0 ;
1815 PyObject
* obj0
= 0 ;
1816 PyObject
* obj1
= 0 ;
1818 (char *) "self",(char *) "bitmap", NULL
1821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
1822 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1823 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1824 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1825 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1828 PyErr_SetString(PyExc_TypeError
,"null reference");
1832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1833 (arg1
)->SetBitmapLabel((wxBitmap
const &)*arg2
);
1835 wxPyEndAllowThreads(__tstate
);
1836 if (PyErr_Occurred()) SWIG_fail
;
1838 Py_INCREF(Py_None
); resultobj
= Py_None
;
1845 static PyObject
*_wrap_BitmapButton_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1846 PyObject
*resultobj
;
1847 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1850 PyObject
* obj0
= 0 ;
1851 PyObject
* obj1
= 0 ;
1852 PyObject
* obj2
= 0 ;
1854 (char *) "self",(char *) "x",(char *) "y", NULL
1857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BitmapButton_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1858 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1859 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1860 arg2
= (int) SWIG_AsInt(obj1
);
1861 if (PyErr_Occurred()) SWIG_fail
;
1862 arg3
= (int) SWIG_AsInt(obj2
);
1863 if (PyErr_Occurred()) SWIG_fail
;
1865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1866 (arg1
)->SetMargins(arg2
,arg3
);
1868 wxPyEndAllowThreads(__tstate
);
1869 if (PyErr_Occurred()) SWIG_fail
;
1871 Py_INCREF(Py_None
); resultobj
= Py_None
;
1878 static PyObject
*_wrap_BitmapButton_GetMarginX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1879 PyObject
*resultobj
;
1880 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1882 PyObject
* obj0
= 0 ;
1884 (char *) "self", NULL
1887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginX",kwnames
,&obj0
)) goto fail
;
1888 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1892 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginX();
1894 wxPyEndAllowThreads(__tstate
);
1895 if (PyErr_Occurred()) SWIG_fail
;
1897 resultobj
= SWIG_FromInt((int)result
);
1904 static PyObject
*_wrap_BitmapButton_GetMarginY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1905 PyObject
*resultobj
;
1906 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1908 PyObject
* obj0
= 0 ;
1910 (char *) "self", NULL
1913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginY",kwnames
,&obj0
)) goto fail
;
1914 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1915 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1918 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginY();
1920 wxPyEndAllowThreads(__tstate
);
1921 if (PyErr_Occurred()) SWIG_fail
;
1923 resultobj
= SWIG_FromInt((int)result
);
1930 static PyObject
* BitmapButton_swigregister(PyObject
*self
, PyObject
*args
) {
1932 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1933 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapButton
, obj
);
1935 return Py_BuildValue((char *)"");
1937 static int _wrap_CheckBoxNameStr_set(PyObject
*_val
) {
1938 PyErr_SetString(PyExc_TypeError
,"Variable CheckBoxNameStr is read-only.");
1943 static PyObject
*_wrap_CheckBoxNameStr_get() {
1948 pyobj
= PyUnicode_FromWideChar((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
1950 pyobj
= PyString_FromStringAndSize((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
1957 static PyObject
*_wrap_new_CheckBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1958 PyObject
*resultobj
;
1959 wxWindow
*arg1
= (wxWindow
*) 0 ;
1961 wxString
*arg3
= 0 ;
1962 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1963 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1964 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1965 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1966 long arg6
= (long) 0 ;
1967 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
1968 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
1969 wxString
const &arg8_defvalue
= wxPyCheckBoxNameStr
;
1970 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
1972 bool temp3
= False
;
1975 bool temp8
= False
;
1976 PyObject
* obj0
= 0 ;
1977 PyObject
* obj1
= 0 ;
1978 PyObject
* obj2
= 0 ;
1979 PyObject
* obj3
= 0 ;
1980 PyObject
* obj4
= 0 ;
1981 PyObject
* obj5
= 0 ;
1982 PyObject
* obj6
= 0 ;
1983 PyObject
* obj7
= 0 ;
1985 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_CheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1991 arg2
= (int) SWIG_AsInt(obj1
);
1992 if (PyErr_Occurred()) SWIG_fail
;
1994 arg3
= wxString_in_helper(obj2
);
1995 if (arg3
== NULL
) SWIG_fail
;
2001 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2007 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2011 arg6
= (long) SWIG_AsLong(obj5
);
2012 if (PyErr_Occurred()) SWIG_fail
;
2015 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
2016 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2019 PyErr_SetString(PyExc_TypeError
,"null reference");
2025 arg8
= wxString_in_helper(obj7
);
2026 if (arg8
== NULL
) SWIG_fail
;
2031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2032 result
= (wxCheckBox
*)new wxCheckBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
2034 wxPyEndAllowThreads(__tstate
);
2035 if (PyErr_Occurred()) SWIG_fail
;
2037 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckBox
, 1);
2060 static PyObject
*_wrap_new_PreCheckBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2061 PyObject
*resultobj
;
2067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckBox",kwnames
)) goto fail
;
2069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2070 result
= (wxCheckBox
*)new wxCheckBox();
2072 wxPyEndAllowThreads(__tstate
);
2073 if (PyErr_Occurred()) SWIG_fail
;
2075 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckBox
, 1);
2082 static PyObject
*_wrap_CheckBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2083 PyObject
*resultobj
;
2084 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2085 wxWindow
*arg2
= (wxWindow
*) 0 ;
2087 wxString
*arg4
= 0 ;
2088 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
2089 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
2090 wxSize
const &arg6_defvalue
= wxDefaultSize
;
2091 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
2092 long arg7
= (long) 0 ;
2093 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2094 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2095 wxString
const &arg9_defvalue
= wxPyCheckBoxNameStr
;
2096 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2098 bool temp4
= False
;
2101 bool temp9
= False
;
2102 PyObject
* obj0
= 0 ;
2103 PyObject
* obj1
= 0 ;
2104 PyObject
* obj2
= 0 ;
2105 PyObject
* obj3
= 0 ;
2106 PyObject
* obj4
= 0 ;
2107 PyObject
* obj5
= 0 ;
2108 PyObject
* obj6
= 0 ;
2109 PyObject
* obj7
= 0 ;
2110 PyObject
* obj8
= 0 ;
2112 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:CheckBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2116 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2118 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
2119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2120 arg3
= (int) SWIG_AsInt(obj2
);
2121 if (PyErr_Occurred()) SWIG_fail
;
2123 arg4
= wxString_in_helper(obj3
);
2124 if (arg4
== NULL
) SWIG_fail
;
2130 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
2136 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
2140 arg7
= (long) SWIG_AsLong(obj6
);
2141 if (PyErr_Occurred()) SWIG_fail
;
2144 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
2145 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2148 PyErr_SetString(PyExc_TypeError
,"null reference");
2154 arg9
= wxString_in_helper(obj8
);
2155 if (arg9
== NULL
) SWIG_fail
;
2160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2161 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
2163 wxPyEndAllowThreads(__tstate
);
2164 if (PyErr_Occurred()) SWIG_fail
;
2167 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2191 static PyObject
*_wrap_CheckBox_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2192 PyObject
*resultobj
;
2193 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2195 PyObject
* obj0
= 0 ;
2197 (char *) "self", NULL
2200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_GetValue",kwnames
,&obj0
)) goto fail
;
2201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2205 result
= (bool)(arg1
)->GetValue();
2207 wxPyEndAllowThreads(__tstate
);
2208 if (PyErr_Occurred()) SWIG_fail
;
2211 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2219 static PyObject
*_wrap_CheckBox_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2220 PyObject
*resultobj
;
2221 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2223 PyObject
* obj0
= 0 ;
2225 (char *) "self", NULL
2228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_IsChecked",kwnames
,&obj0
)) goto fail
;
2229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2233 result
= (bool)(arg1
)->IsChecked();
2235 wxPyEndAllowThreads(__tstate
);
2236 if (PyErr_Occurred()) SWIG_fail
;
2239 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2247 static PyObject
*_wrap_CheckBox_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2248 PyObject
*resultobj
;
2249 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2251 PyObject
* obj0
= 0 ;
2252 PyObject
* obj1
= 0 ;
2254 (char *) "self",(char *) "state", NULL
2257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
2258 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2259 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2260 arg2
= (bool const) SWIG_AsBool(obj1
);
2261 if (PyErr_Occurred()) SWIG_fail
;
2263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2264 (arg1
)->SetValue(arg2
);
2266 wxPyEndAllowThreads(__tstate
);
2267 if (PyErr_Occurred()) SWIG_fail
;
2269 Py_INCREF(Py_None
); resultobj
= Py_None
;
2276 static PyObject
*_wrap_CheckBox_Get3StateValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2277 PyObject
*resultobj
;
2278 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2280 PyObject
* obj0
= 0 ;
2282 (char *) "self", NULL
2285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Get3StateValue",kwnames
,&obj0
)) goto fail
;
2286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2290 result
= (int)((wxCheckBox
const *)arg1
)->Get3StateValue();
2292 wxPyEndAllowThreads(__tstate
);
2293 if (PyErr_Occurred()) SWIG_fail
;
2295 resultobj
= SWIG_FromInt((int)result
);
2302 static PyObject
*_wrap_CheckBox_Set3StateValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2303 PyObject
*resultobj
;
2304 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2306 PyObject
* obj0
= 0 ;
2307 PyObject
* obj1
= 0 ;
2309 (char *) "self",(char *) "state", NULL
2312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_Set3StateValue",kwnames
,&obj0
,&obj1
)) goto fail
;
2313 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2315 arg2
= (wxCheckBoxState
) SWIG_AsInt(obj1
);
2316 if (PyErr_Occurred()) SWIG_fail
;
2318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2319 (arg1
)->Set3StateValue((wxCheckBoxState
)arg2
);
2321 wxPyEndAllowThreads(__tstate
);
2322 if (PyErr_Occurred()) SWIG_fail
;
2324 Py_INCREF(Py_None
); resultobj
= Py_None
;
2331 static PyObject
*_wrap_CheckBox_Is3State(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2332 PyObject
*resultobj
;
2333 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2335 PyObject
* obj0
= 0 ;
2337 (char *) "self", NULL
2340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3State",kwnames
,&obj0
)) goto fail
;
2341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2345 result
= (bool)((wxCheckBox
const *)arg1
)->Is3State();
2347 wxPyEndAllowThreads(__tstate
);
2348 if (PyErr_Occurred()) SWIG_fail
;
2351 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2359 static PyObject
*_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2360 PyObject
*resultobj
;
2361 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2363 PyObject
* obj0
= 0 ;
2365 (char *) "self", NULL
2368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3rdStateAllowedForUser",kwnames
,&obj0
)) goto fail
;
2369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2373 result
= (bool)((wxCheckBox
const *)arg1
)->Is3rdStateAllowedForUser();
2375 wxPyEndAllowThreads(__tstate
);
2376 if (PyErr_Occurred()) SWIG_fail
;
2379 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2387 static PyObject
*_wrap_CheckBox_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2388 PyObject
*resultobj
;
2389 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
2390 wxVisualAttributes result
;
2391 PyObject
* obj0
= 0 ;
2393 (char *) "variant", NULL
2396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:CheckBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
2398 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
2399 if (PyErr_Occurred()) SWIG_fail
;
2402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2403 result
= wxCheckBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
2405 wxPyEndAllowThreads(__tstate
);
2406 if (PyErr_Occurred()) SWIG_fail
;
2409 wxVisualAttributes
* resultptr
;
2410 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
2411 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
2419 static PyObject
* CheckBox_swigregister(PyObject
*self
, PyObject
*args
) {
2421 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2422 SWIG_TypeClientData(SWIGTYPE_p_wxCheckBox
, obj
);
2424 return Py_BuildValue((char *)"");
2426 static int _wrap_ChoiceNameStr_set(PyObject
*_val
) {
2427 PyErr_SetString(PyExc_TypeError
,"Variable ChoiceNameStr is read-only.");
2432 static PyObject
*_wrap_ChoiceNameStr_get() {
2437 pyobj
= PyUnicode_FromWideChar((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
2439 pyobj
= PyString_FromStringAndSize((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
2446 static PyObject
*_wrap_new_Choice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2447 PyObject
*resultobj
;
2448 wxWindow
*arg1
= (wxWindow
*) 0 ;
2449 int arg2
= (int) -1 ;
2450 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
2451 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
2452 wxSize
const &arg4_defvalue
= wxDefaultSize
;
2453 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
2454 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
2455 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
2456 long arg6
= (long) 0 ;
2457 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
2458 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
2459 wxString
const &arg8_defvalue
= wxPyChoiceNameStr
;
2460 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
2464 bool temp5
= False
;
2465 bool temp8
= False
;
2466 PyObject
* obj0
= 0 ;
2467 PyObject
* obj1
= 0 ;
2468 PyObject
* obj2
= 0 ;
2469 PyObject
* obj3
= 0 ;
2470 PyObject
* obj4
= 0 ;
2471 PyObject
* obj5
= 0 ;
2472 PyObject
* obj6
= 0 ;
2473 PyObject
* obj7
= 0 ;
2475 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Choice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
2479 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
2480 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2482 arg2
= (int) SWIG_AsInt(obj1
);
2483 if (PyErr_Occurred()) SWIG_fail
;
2488 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
2494 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
2499 if (! PySequence_Check(obj4
)) {
2500 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
2503 arg5
= new wxArrayString
;
2505 int i
, len
=PySequence_Length(obj4
);
2506 for (i
=0; i
<len
; i
++) {
2507 PyObject
* item
= PySequence_GetItem(obj4
, i
);
2509 PyObject
* str
= PyObject_Unicode(item
);
2511 PyObject
* str
= PyObject_Str(item
);
2513 if (PyErr_Occurred()) SWIG_fail
;
2514 arg5
->Add(Py2wxString(str
));
2521 arg6
= (long) SWIG_AsLong(obj5
);
2522 if (PyErr_Occurred()) SWIG_fail
;
2525 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
2526 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2529 PyErr_SetString(PyExc_TypeError
,"null reference");
2535 arg8
= wxString_in_helper(obj7
);
2536 if (arg8
== NULL
) SWIG_fail
;
2541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2542 result
= (wxChoice
*)new wxChoice(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
2544 wxPyEndAllowThreads(__tstate
);
2545 if (PyErr_Occurred()) SWIG_fail
;
2547 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoice
, 1);
2549 if (temp5
) delete arg5
;
2558 if (temp5
) delete arg5
;
2568 static PyObject
*_wrap_new_PreChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2569 PyObject
*resultobj
;
2575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreChoice",kwnames
)) goto fail
;
2577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2578 result
= (wxChoice
*)new wxChoice();
2580 wxPyEndAllowThreads(__tstate
);
2581 if (PyErr_Occurred()) SWIG_fail
;
2583 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoice
, 1);
2590 static PyObject
*_wrap_Choice_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2591 PyObject
*resultobj
;
2592 wxChoice
*arg1
= (wxChoice
*) 0 ;
2593 wxWindow
*arg2
= (wxWindow
*) 0 ;
2594 int arg3
= (int) -1 ;
2595 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2596 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2597 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2598 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2599 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
2600 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
2601 long arg7
= (long) 0 ;
2602 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2603 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2604 wxString
const &arg9_defvalue
= wxPyChoiceNameStr
;
2605 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2609 bool temp6
= False
;
2610 bool temp9
= False
;
2611 PyObject
* obj0
= 0 ;
2612 PyObject
* obj1
= 0 ;
2613 PyObject
* obj2
= 0 ;
2614 PyObject
* obj3
= 0 ;
2615 PyObject
* obj4
= 0 ;
2616 PyObject
* obj5
= 0 ;
2617 PyObject
* obj6
= 0 ;
2618 PyObject
* obj7
= 0 ;
2619 PyObject
* obj8
= 0 ;
2621 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Choice_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2625 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2627 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
2628 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2630 arg3
= (int) SWIG_AsInt(obj2
);
2631 if (PyErr_Occurred()) SWIG_fail
;
2636 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2642 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2647 if (! PySequence_Check(obj5
)) {
2648 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
2651 arg6
= new wxArrayString
;
2653 int i
, len
=PySequence_Length(obj5
);
2654 for (i
=0; i
<len
; i
++) {
2655 PyObject
* item
= PySequence_GetItem(obj5
, i
);
2657 PyObject
* str
= PyObject_Unicode(item
);
2659 PyObject
* str
= PyObject_Str(item
);
2661 if (PyErr_Occurred()) SWIG_fail
;
2662 arg6
->Add(Py2wxString(str
));
2669 arg7
= (long) SWIG_AsLong(obj6
);
2670 if (PyErr_Occurred()) SWIG_fail
;
2673 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
2674 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2677 PyErr_SetString(PyExc_TypeError
,"null reference");
2683 arg9
= wxString_in_helper(obj8
);
2684 if (arg9
== NULL
) SWIG_fail
;
2689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2690 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
2692 wxPyEndAllowThreads(__tstate
);
2693 if (PyErr_Occurred()) SWIG_fail
;
2696 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2699 if (temp6
) delete arg6
;
2708 if (temp6
) delete arg6
;
2718 static PyObject
*_wrap_Choice_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2719 PyObject
*resultobj
;
2720 wxChoice
*arg1
= (wxChoice
*) 0 ;
2722 PyObject
* obj0
= 0 ;
2723 PyObject
* obj1
= 0 ;
2725 (char *) "self",(char *) "n", NULL
2728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Choice_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
2729 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2731 arg2
= (int const) SWIG_AsInt(obj1
);
2732 if (PyErr_Occurred()) SWIG_fail
;
2734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2735 (arg1
)->SetSelection(arg2
);
2737 wxPyEndAllowThreads(__tstate
);
2738 if (PyErr_Occurred()) SWIG_fail
;
2740 Py_INCREF(Py_None
); resultobj
= Py_None
;
2747 static PyObject
*_wrap_Choice_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2748 PyObject
*resultobj
;
2749 wxChoice
*arg1
= (wxChoice
*) 0 ;
2750 wxString
*arg2
= 0 ;
2752 bool temp2
= False
;
2753 PyObject
* obj0
= 0 ;
2754 PyObject
* obj1
= 0 ;
2756 (char *) "self",(char *) "string", NULL
2759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Choice_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
2760 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2763 arg2
= wxString_in_helper(obj1
);
2764 if (arg2
== NULL
) SWIG_fail
;
2768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2769 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
2771 wxPyEndAllowThreads(__tstate
);
2772 if (PyErr_Occurred()) SWIG_fail
;
2775 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2791 static PyObject
*_wrap_Choice_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2792 PyObject
*resultobj
;
2793 wxChoice
*arg1
= (wxChoice
*) 0 ;
2795 wxString
*arg3
= 0 ;
2796 bool temp3
= False
;
2797 PyObject
* obj0
= 0 ;
2798 PyObject
* obj1
= 0 ;
2799 PyObject
* obj2
= 0 ;
2801 (char *) "self",(char *) "n",(char *) "string", NULL
2804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Choice_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2805 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2807 arg2
= (int) SWIG_AsInt(obj1
);
2808 if (PyErr_Occurred()) SWIG_fail
;
2810 arg3
= wxString_in_helper(obj2
);
2811 if (arg3
== NULL
) SWIG_fail
;
2815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2816 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
2818 wxPyEndAllowThreads(__tstate
);
2819 if (PyErr_Occurred()) SWIG_fail
;
2821 Py_INCREF(Py_None
); resultobj
= Py_None
;
2836 static PyObject
*_wrap_Choice_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2837 PyObject
*resultobj
;
2838 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
2839 wxVisualAttributes result
;
2840 PyObject
* obj0
= 0 ;
2842 (char *) "variant", NULL
2845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Choice_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
2847 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
2848 if (PyErr_Occurred()) SWIG_fail
;
2851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2852 result
= wxChoice::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
2854 wxPyEndAllowThreads(__tstate
);
2855 if (PyErr_Occurred()) SWIG_fail
;
2858 wxVisualAttributes
* resultptr
;
2859 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
2860 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
2868 static PyObject
* Choice_swigregister(PyObject
*self
, PyObject
*args
) {
2870 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2871 SWIG_TypeClientData(SWIGTYPE_p_wxChoice
, obj
);
2873 return Py_BuildValue((char *)"");
2875 static int _wrap_ComboBoxNameStr_set(PyObject
*_val
) {
2876 PyErr_SetString(PyExc_TypeError
,"Variable ComboBoxNameStr is read-only.");
2881 static PyObject
*_wrap_ComboBoxNameStr_get() {
2886 pyobj
= PyUnicode_FromWideChar((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
2888 pyobj
= PyString_FromStringAndSize((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
2895 static PyObject
*_wrap_new_ComboBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2896 PyObject
*resultobj
;
2897 wxWindow
*arg1
= (wxWindow
*) 0 ;
2898 int arg2
= (int) -1 ;
2899 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2900 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2901 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2902 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2903 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2904 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2905 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
2906 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
2907 long arg7
= (long) 0 ;
2908 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2909 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2910 wxString
const &arg9_defvalue
= wxPyComboBoxNameStr
;
2911 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2913 bool temp3
= False
;
2916 bool temp6
= False
;
2917 bool temp9
= False
;
2918 PyObject
* obj0
= 0 ;
2919 PyObject
* obj1
= 0 ;
2920 PyObject
* obj2
= 0 ;
2921 PyObject
* obj3
= 0 ;
2922 PyObject
* obj4
= 0 ;
2923 PyObject
* obj5
= 0 ;
2924 PyObject
* obj6
= 0 ;
2925 PyObject
* obj7
= 0 ;
2926 PyObject
* obj8
= 0 ;
2928 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_ComboBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2932 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
2933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2935 arg2
= (int) SWIG_AsInt(obj1
);
2936 if (PyErr_Occurred()) SWIG_fail
;
2940 arg3
= wxString_in_helper(obj2
);
2941 if (arg3
== NULL
) SWIG_fail
;
2948 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2954 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2959 if (! PySequence_Check(obj5
)) {
2960 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
2963 arg6
= new wxArrayString
;
2965 int i
, len
=PySequence_Length(obj5
);
2966 for (i
=0; i
<len
; i
++) {
2967 PyObject
* item
= PySequence_GetItem(obj5
, i
);
2969 PyObject
* str
= PyObject_Unicode(item
);
2971 PyObject
* str
= PyObject_Str(item
);
2973 if (PyErr_Occurred()) SWIG_fail
;
2974 arg6
->Add(Py2wxString(str
));
2981 arg7
= (long) SWIG_AsLong(obj6
);
2982 if (PyErr_Occurred()) SWIG_fail
;
2985 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
2986 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2989 PyErr_SetString(PyExc_TypeError
,"null reference");
2995 arg9
= wxString_in_helper(obj8
);
2996 if (arg9
== NULL
) SWIG_fail
;
3001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3002 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
);
3004 wxPyEndAllowThreads(__tstate
);
3005 if (PyErr_Occurred()) SWIG_fail
;
3007 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxComboBox
, 1);
3013 if (temp6
) delete arg6
;
3026 if (temp6
) delete arg6
;
3036 static PyObject
*_wrap_new_PreComboBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3037 PyObject
*resultobj
;
3043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreComboBox",kwnames
)) goto fail
;
3045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3046 result
= (wxComboBox
*)new wxComboBox();
3048 wxPyEndAllowThreads(__tstate
);
3049 if (PyErr_Occurred()) SWIG_fail
;
3051 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxComboBox
, 1);
3058 static PyObject
*_wrap_ComboBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3059 PyObject
*resultobj
;
3060 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3061 wxWindow
*arg2
= (wxWindow
*) 0 ;
3062 int arg3
= (int) -1 ;
3063 wxString
const &arg4_defvalue
= wxPyEmptyString
;
3064 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3065 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3066 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3067 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3068 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3069 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
3070 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
3071 long arg8
= (long) 0 ;
3072 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
3073 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
3074 wxString
const &arg10_defvalue
= wxPyChoiceNameStr
;
3075 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
3077 bool temp4
= False
;
3080 bool temp7
= False
;
3081 bool temp10
= False
;
3082 PyObject
* obj0
= 0 ;
3083 PyObject
* obj1
= 0 ;
3084 PyObject
* obj2
= 0 ;
3085 PyObject
* obj3
= 0 ;
3086 PyObject
* obj4
= 0 ;
3087 PyObject
* obj5
= 0 ;
3088 PyObject
* obj6
= 0 ;
3089 PyObject
* obj7
= 0 ;
3090 PyObject
* obj8
= 0 ;
3091 PyObject
* obj9
= 0 ;
3093 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
3096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:ComboBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
3097 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3099 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
3100 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3102 arg3
= (int) SWIG_AsInt(obj2
);
3103 if (PyErr_Occurred()) SWIG_fail
;
3107 arg4
= wxString_in_helper(obj3
);
3108 if (arg4
== NULL
) SWIG_fail
;
3115 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3121 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3126 if (! PySequence_Check(obj6
)) {
3127 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
3130 arg7
= new wxArrayString
;
3132 int i
, len
=PySequence_Length(obj6
);
3133 for (i
=0; i
<len
; i
++) {
3134 PyObject
* item
= PySequence_GetItem(obj6
, i
);
3136 PyObject
* str
= PyObject_Unicode(item
);
3138 PyObject
* str
= PyObject_Str(item
);
3140 if (PyErr_Occurred()) SWIG_fail
;
3141 arg7
->Add(Py2wxString(str
));
3148 arg8
= (long) SWIG_AsLong(obj7
);
3149 if (PyErr_Occurred()) SWIG_fail
;
3152 if ((SWIG_ConvertPtr(obj8
,(void **)(&arg9
),SWIGTYPE_p_wxValidator
,
3153 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3156 PyErr_SetString(PyExc_TypeError
,"null reference");
3162 arg10
= wxString_in_helper(obj9
);
3163 if (arg10
== NULL
) SWIG_fail
;
3168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3169 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
);
3171 wxPyEndAllowThreads(__tstate
);
3172 if (PyErr_Occurred()) SWIG_fail
;
3175 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3182 if (temp7
) delete arg7
;
3195 if (temp7
) delete arg7
;
3205 static PyObject
*_wrap_ComboBox_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3206 PyObject
*resultobj
;
3207 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3209 PyObject
* obj0
= 0 ;
3211 (char *) "self", NULL
3214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetValue",kwnames
,&obj0
)) goto fail
;
3215 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3216 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3219 result
= ((wxComboBox
const *)arg1
)->GetValue();
3221 wxPyEndAllowThreads(__tstate
);
3222 if (PyErr_Occurred()) SWIG_fail
;
3226 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3228 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3237 static PyObject
*_wrap_ComboBox_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3238 PyObject
*resultobj
;
3239 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3240 wxString
*arg2
= 0 ;
3241 bool temp2
= False
;
3242 PyObject
* obj0
= 0 ;
3243 PyObject
* obj1
= 0 ;
3245 (char *) "self",(char *) "value", NULL
3248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
3249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3252 arg2
= wxString_in_helper(obj1
);
3253 if (arg2
== NULL
) SWIG_fail
;
3257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3258 (arg1
)->SetValue((wxString
const &)*arg2
);
3260 wxPyEndAllowThreads(__tstate
);
3261 if (PyErr_Occurred()) SWIG_fail
;
3263 Py_INCREF(Py_None
); resultobj
= Py_None
;
3278 static PyObject
*_wrap_ComboBox_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3279 PyObject
*resultobj
;
3280 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3281 PyObject
* obj0
= 0 ;
3283 (char *) "self", NULL
3286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Copy",kwnames
,&obj0
)) goto fail
;
3287 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3293 wxPyEndAllowThreads(__tstate
);
3294 if (PyErr_Occurred()) SWIG_fail
;
3296 Py_INCREF(Py_None
); resultobj
= Py_None
;
3303 static PyObject
*_wrap_ComboBox_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3304 PyObject
*resultobj
;
3305 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3306 PyObject
* obj0
= 0 ;
3308 (char *) "self", NULL
3311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Cut",kwnames
,&obj0
)) goto fail
;
3312 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3318 wxPyEndAllowThreads(__tstate
);
3319 if (PyErr_Occurred()) SWIG_fail
;
3321 Py_INCREF(Py_None
); resultobj
= Py_None
;
3328 static PyObject
*_wrap_ComboBox_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3329 PyObject
*resultobj
;
3330 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3331 PyObject
* obj0
= 0 ;
3333 (char *) "self", NULL
3336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Paste",kwnames
,&obj0
)) goto fail
;
3337 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3343 wxPyEndAllowThreads(__tstate
);
3344 if (PyErr_Occurred()) SWIG_fail
;
3346 Py_INCREF(Py_None
); resultobj
= Py_None
;
3353 static PyObject
*_wrap_ComboBox_SetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3354 PyObject
*resultobj
;
3355 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3357 PyObject
* obj0
= 0 ;
3358 PyObject
* obj1
= 0 ;
3360 (char *) "self",(char *) "pos", NULL
3363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
3364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3366 arg2
= (long) SWIG_AsLong(obj1
);
3367 if (PyErr_Occurred()) SWIG_fail
;
3369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3370 (arg1
)->SetInsertionPoint(arg2
);
3372 wxPyEndAllowThreads(__tstate
);
3373 if (PyErr_Occurred()) SWIG_fail
;
3375 Py_INCREF(Py_None
); resultobj
= Py_None
;
3382 static PyObject
*_wrap_ComboBox_GetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3383 PyObject
*resultobj
;
3384 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3386 PyObject
* obj0
= 0 ;
3388 (char *) "self", NULL
3391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
3392 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3396 result
= (long)((wxComboBox
const *)arg1
)->GetInsertionPoint();
3398 wxPyEndAllowThreads(__tstate
);
3399 if (PyErr_Occurred()) SWIG_fail
;
3401 resultobj
= SWIG_FromLong((long)result
);
3408 static PyObject
*_wrap_ComboBox_GetLastPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3409 PyObject
*resultobj
;
3410 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3412 PyObject
* obj0
= 0 ;
3414 (char *) "self", NULL
3417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetLastPosition",kwnames
,&obj0
)) goto fail
;
3418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3422 result
= (long)((wxComboBox
const *)arg1
)->GetLastPosition();
3424 wxPyEndAllowThreads(__tstate
);
3425 if (PyErr_Occurred()) SWIG_fail
;
3427 resultobj
= SWIG_FromLong((long)result
);
3434 static PyObject
*_wrap_ComboBox_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3435 PyObject
*resultobj
;
3436 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3439 wxString
*arg4
= 0 ;
3440 bool temp4
= False
;
3441 PyObject
* obj0
= 0 ;
3442 PyObject
* obj1
= 0 ;
3443 PyObject
* obj2
= 0 ;
3444 PyObject
* obj3
= 0 ;
3446 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
3449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ComboBox_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3450 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3452 arg2
= (long) SWIG_AsLong(obj1
);
3453 if (PyErr_Occurred()) SWIG_fail
;
3454 arg3
= (long) SWIG_AsLong(obj2
);
3455 if (PyErr_Occurred()) SWIG_fail
;
3457 arg4
= wxString_in_helper(obj3
);
3458 if (arg4
== NULL
) SWIG_fail
;
3462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3463 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
3465 wxPyEndAllowThreads(__tstate
);
3466 if (PyErr_Occurred()) SWIG_fail
;
3468 Py_INCREF(Py_None
); resultobj
= Py_None
;
3483 static PyObject
*_wrap_ComboBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3484 PyObject
*resultobj
;
3485 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3487 PyObject
* obj0
= 0 ;
3488 PyObject
* obj1
= 0 ;
3490 (char *) "self",(char *) "n", NULL
3493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
3494 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3496 arg2
= (int) SWIG_AsInt(obj1
);
3497 if (PyErr_Occurred()) SWIG_fail
;
3499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3500 (arg1
)->SetSelection(arg2
);
3502 wxPyEndAllowThreads(__tstate
);
3503 if (PyErr_Occurred()) SWIG_fail
;
3505 Py_INCREF(Py_None
); resultobj
= Py_None
;
3512 static PyObject
*_wrap_ComboBox_SetMark(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3513 PyObject
*resultobj
;
3514 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3517 PyObject
* obj0
= 0 ;
3518 PyObject
* obj1
= 0 ;
3519 PyObject
* obj2
= 0 ;
3521 (char *) "self",(char *) "from",(char *) "to", NULL
3524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetMark",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3525 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3526 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3527 arg2
= (long) SWIG_AsLong(obj1
);
3528 if (PyErr_Occurred()) SWIG_fail
;
3529 arg3
= (long) SWIG_AsLong(obj2
);
3530 if (PyErr_Occurred()) SWIG_fail
;
3532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3533 (arg1
)->SetSelection(arg2
,arg3
);
3535 wxPyEndAllowThreads(__tstate
);
3536 if (PyErr_Occurred()) SWIG_fail
;
3538 Py_INCREF(Py_None
); resultobj
= Py_None
;
3545 static PyObject
*_wrap_ComboBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3546 PyObject
*resultobj
;
3547 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3548 wxString
*arg2
= 0 ;
3550 bool temp2
= False
;
3551 PyObject
* obj0
= 0 ;
3552 PyObject
* obj1
= 0 ;
3554 (char *) "self",(char *) "string", NULL
3557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
3558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3561 arg2
= wxString_in_helper(obj1
);
3562 if (arg2
== NULL
) SWIG_fail
;
3566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3567 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
3569 wxPyEndAllowThreads(__tstate
);
3570 if (PyErr_Occurred()) SWIG_fail
;
3573 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3589 static PyObject
*_wrap_ComboBox_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3590 PyObject
*resultobj
;
3591 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3593 wxString
*arg3
= 0 ;
3594 bool temp3
= False
;
3595 PyObject
* obj0
= 0 ;
3596 PyObject
* obj1
= 0 ;
3597 PyObject
* obj2
= 0 ;
3599 (char *) "self",(char *) "n",(char *) "string", NULL
3602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3605 arg2
= (int) SWIG_AsInt(obj1
);
3606 if (PyErr_Occurred()) SWIG_fail
;
3608 arg3
= wxString_in_helper(obj2
);
3609 if (arg3
== NULL
) SWIG_fail
;
3613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3614 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
3616 wxPyEndAllowThreads(__tstate
);
3617 if (PyErr_Occurred()) SWIG_fail
;
3619 Py_INCREF(Py_None
); resultobj
= Py_None
;
3634 static PyObject
*_wrap_ComboBox_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3635 PyObject
*resultobj
;
3636 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3638 PyObject
* obj0
= 0 ;
3639 PyObject
* obj1
= 0 ;
3641 (char *) "self",(char *) "editable", NULL
3644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
3645 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3646 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3647 arg2
= (bool) SWIG_AsBool(obj1
);
3648 if (PyErr_Occurred()) SWIG_fail
;
3650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3651 (arg1
)->SetEditable(arg2
);
3653 wxPyEndAllowThreads(__tstate
);
3654 if (PyErr_Occurred()) SWIG_fail
;
3656 Py_INCREF(Py_None
); resultobj
= Py_None
;
3663 static PyObject
*_wrap_ComboBox_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3664 PyObject
*resultobj
;
3665 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3666 PyObject
* obj0
= 0 ;
3668 (char *) "self", NULL
3671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
3672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3676 (arg1
)->SetInsertionPointEnd();
3678 wxPyEndAllowThreads(__tstate
);
3679 if (PyErr_Occurred()) SWIG_fail
;
3681 Py_INCREF(Py_None
); resultobj
= Py_None
;
3688 static PyObject
*_wrap_ComboBox_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3689 PyObject
*resultobj
;
3690 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3693 PyObject
* obj0
= 0 ;
3694 PyObject
* obj1
= 0 ;
3695 PyObject
* obj2
= 0 ;
3697 (char *) "self",(char *) "from",(char *) "to", NULL
3700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3703 arg2
= (long) SWIG_AsLong(obj1
);
3704 if (PyErr_Occurred()) SWIG_fail
;
3705 arg3
= (long) SWIG_AsLong(obj2
);
3706 if (PyErr_Occurred()) SWIG_fail
;
3708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3709 (arg1
)->Remove(arg2
,arg3
);
3711 wxPyEndAllowThreads(__tstate
);
3712 if (PyErr_Occurred()) SWIG_fail
;
3714 Py_INCREF(Py_None
); resultobj
= Py_None
;
3721 static PyObject
*_wrap_ComboBox_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3722 PyObject
*resultobj
;
3723 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
3724 wxVisualAttributes result
;
3725 PyObject
* obj0
= 0 ;
3727 (char *) "variant", NULL
3730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ComboBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
3732 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
3733 if (PyErr_Occurred()) SWIG_fail
;
3736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3737 result
= wxComboBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
3739 wxPyEndAllowThreads(__tstate
);
3740 if (PyErr_Occurred()) SWIG_fail
;
3743 wxVisualAttributes
* resultptr
;
3744 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
3745 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
3753 static PyObject
* ComboBox_swigregister(PyObject
*self
, PyObject
*args
) {
3755 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3756 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox
, obj
);
3758 return Py_BuildValue((char *)"");
3760 static int _wrap_GaugeNameStr_set(PyObject
*_val
) {
3761 PyErr_SetString(PyExc_TypeError
,"Variable GaugeNameStr is read-only.");
3766 static PyObject
*_wrap_GaugeNameStr_get() {
3771 pyobj
= PyUnicode_FromWideChar((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
3773 pyobj
= PyString_FromStringAndSize((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
3780 static PyObject
*_wrap_new_Gauge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3781 PyObject
*resultobj
;
3782 wxWindow
*arg1
= (wxWindow
*) 0 ;
3785 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3786 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3787 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3788 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3789 long arg6
= (long) wxGA_HORIZONTAL
;
3790 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3791 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3792 wxString
const &arg8_defvalue
= wxPyGaugeNameStr
;
3793 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3797 bool temp8
= False
;
3798 PyObject
* obj0
= 0 ;
3799 PyObject
* obj1
= 0 ;
3800 PyObject
* obj2
= 0 ;
3801 PyObject
* obj3
= 0 ;
3802 PyObject
* obj4
= 0 ;
3803 PyObject
* obj5
= 0 ;
3804 PyObject
* obj6
= 0 ;
3805 PyObject
* obj7
= 0 ;
3807 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_Gauge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3811 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
3812 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3813 arg2
= (int) SWIG_AsInt(obj1
);
3814 if (PyErr_Occurred()) SWIG_fail
;
3815 arg3
= (int) SWIG_AsInt(obj2
);
3816 if (PyErr_Occurred()) SWIG_fail
;
3820 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3826 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3830 arg6
= (long) SWIG_AsLong(obj5
);
3831 if (PyErr_Occurred()) SWIG_fail
;
3834 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
3835 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3838 PyErr_SetString(PyExc_TypeError
,"null reference");
3844 arg8
= wxString_in_helper(obj7
);
3845 if (arg8
== NULL
) SWIG_fail
;
3850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3851 result
= (wxGauge
*)new wxGauge(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3853 wxPyEndAllowThreads(__tstate
);
3854 if (PyErr_Occurred()) SWIG_fail
;
3856 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGauge
, 1);
3871 static PyObject
*_wrap_new_PreGauge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3872 PyObject
*resultobj
;
3878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGauge",kwnames
)) goto fail
;
3880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3881 result
= (wxGauge
*)new wxGauge();
3883 wxPyEndAllowThreads(__tstate
);
3884 if (PyErr_Occurred()) SWIG_fail
;
3886 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGauge
, 1);
3893 static PyObject
*_wrap_Gauge_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3894 PyObject
*resultobj
;
3895 wxGauge
*arg1
= (wxGauge
*) 0 ;
3896 wxWindow
*arg2
= (wxWindow
*) 0 ;
3899 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3900 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3901 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3902 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3903 long arg7
= (long) wxGA_HORIZONTAL
;
3904 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3905 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3906 wxString
const &arg9_defvalue
= wxPyGaugeNameStr
;
3907 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3911 bool temp9
= False
;
3912 PyObject
* obj0
= 0 ;
3913 PyObject
* obj1
= 0 ;
3914 PyObject
* obj2
= 0 ;
3915 PyObject
* obj3
= 0 ;
3916 PyObject
* obj4
= 0 ;
3917 PyObject
* obj5
= 0 ;
3918 PyObject
* obj6
= 0 ;
3919 PyObject
* obj7
= 0 ;
3920 PyObject
* obj8
= 0 ;
3922 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:Gauge_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3926 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3927 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3928 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
3929 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3930 arg3
= (int) SWIG_AsInt(obj2
);
3931 if (PyErr_Occurred()) SWIG_fail
;
3932 arg4
= (int) SWIG_AsInt(obj3
);
3933 if (PyErr_Occurred()) SWIG_fail
;
3937 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3943 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3947 arg7
= (long) SWIG_AsLong(obj6
);
3948 if (PyErr_Occurred()) SWIG_fail
;
3951 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
3952 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3955 PyErr_SetString(PyExc_TypeError
,"null reference");
3961 arg9
= wxString_in_helper(obj8
);
3962 if (arg9
== NULL
) SWIG_fail
;
3967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3968 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
3970 wxPyEndAllowThreads(__tstate
);
3971 if (PyErr_Occurred()) SWIG_fail
;
3974 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3990 static PyObject
*_wrap_Gauge_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3991 PyObject
*resultobj
;
3992 wxGauge
*arg1
= (wxGauge
*) 0 ;
3994 PyObject
* obj0
= 0 ;
3995 PyObject
* obj1
= 0 ;
3997 (char *) "self",(char *) "range", NULL
4000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetRange",kwnames
,&obj0
,&obj1
)) goto fail
;
4001 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4003 arg2
= (int) SWIG_AsInt(obj1
);
4004 if (PyErr_Occurred()) SWIG_fail
;
4006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4007 (arg1
)->SetRange(arg2
);
4009 wxPyEndAllowThreads(__tstate
);
4010 if (PyErr_Occurred()) SWIG_fail
;
4012 Py_INCREF(Py_None
); resultobj
= Py_None
;
4019 static PyObject
*_wrap_Gauge_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4020 PyObject
*resultobj
;
4021 wxGauge
*arg1
= (wxGauge
*) 0 ;
4023 PyObject
* obj0
= 0 ;
4025 (char *) "self", NULL
4028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetRange",kwnames
,&obj0
)) goto fail
;
4029 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4033 result
= (int)((wxGauge
const *)arg1
)->GetRange();
4035 wxPyEndAllowThreads(__tstate
);
4036 if (PyErr_Occurred()) SWIG_fail
;
4038 resultobj
= SWIG_FromInt((int)result
);
4045 static PyObject
*_wrap_Gauge_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4046 PyObject
*resultobj
;
4047 wxGauge
*arg1
= (wxGauge
*) 0 ;
4049 PyObject
* obj0
= 0 ;
4050 PyObject
* obj1
= 0 ;
4052 (char *) "self",(char *) "pos", NULL
4055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
4056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4058 arg2
= (int) SWIG_AsInt(obj1
);
4059 if (PyErr_Occurred()) SWIG_fail
;
4061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4062 (arg1
)->SetValue(arg2
);
4064 wxPyEndAllowThreads(__tstate
);
4065 if (PyErr_Occurred()) SWIG_fail
;
4067 Py_INCREF(Py_None
); resultobj
= Py_None
;
4074 static PyObject
*_wrap_Gauge_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4075 PyObject
*resultobj
;
4076 wxGauge
*arg1
= (wxGauge
*) 0 ;
4078 PyObject
* obj0
= 0 ;
4080 (char *) "self", NULL
4083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetValue",kwnames
,&obj0
)) goto fail
;
4084 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4085 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4088 result
= (int)((wxGauge
const *)arg1
)->GetValue();
4090 wxPyEndAllowThreads(__tstate
);
4091 if (PyErr_Occurred()) SWIG_fail
;
4093 resultobj
= SWIG_FromInt((int)result
);
4100 static PyObject
*_wrap_Gauge_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4101 PyObject
*resultobj
;
4102 wxGauge
*arg1
= (wxGauge
*) 0 ;
4104 PyObject
* obj0
= 0 ;
4106 (char *) "self", NULL
4109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_IsVertical",kwnames
,&obj0
)) goto fail
;
4110 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4114 result
= (bool)((wxGauge
const *)arg1
)->IsVertical();
4116 wxPyEndAllowThreads(__tstate
);
4117 if (PyErr_Occurred()) SWIG_fail
;
4120 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4128 static PyObject
*_wrap_Gauge_SetShadowWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4129 PyObject
*resultobj
;
4130 wxGauge
*arg1
= (wxGauge
*) 0 ;
4132 PyObject
* obj0
= 0 ;
4133 PyObject
* obj1
= 0 ;
4135 (char *) "self",(char *) "w", NULL
4138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetShadowWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
4139 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4141 arg2
= (int) SWIG_AsInt(obj1
);
4142 if (PyErr_Occurred()) SWIG_fail
;
4144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4145 (arg1
)->SetShadowWidth(arg2
);
4147 wxPyEndAllowThreads(__tstate
);
4148 if (PyErr_Occurred()) SWIG_fail
;
4150 Py_INCREF(Py_None
); resultobj
= Py_None
;
4157 static PyObject
*_wrap_Gauge_GetShadowWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4158 PyObject
*resultobj
;
4159 wxGauge
*arg1
= (wxGauge
*) 0 ;
4161 PyObject
* obj0
= 0 ;
4163 (char *) "self", NULL
4166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetShadowWidth",kwnames
,&obj0
)) goto fail
;
4167 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4171 result
= (int)((wxGauge
const *)arg1
)->GetShadowWidth();
4173 wxPyEndAllowThreads(__tstate
);
4174 if (PyErr_Occurred()) SWIG_fail
;
4176 resultobj
= SWIG_FromInt((int)result
);
4183 static PyObject
*_wrap_Gauge_SetBezelFace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4184 PyObject
*resultobj
;
4185 wxGauge
*arg1
= (wxGauge
*) 0 ;
4187 PyObject
* obj0
= 0 ;
4188 PyObject
* obj1
= 0 ;
4190 (char *) "self",(char *) "w", NULL
4193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetBezelFace",kwnames
,&obj0
,&obj1
)) goto fail
;
4194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4196 arg2
= (int) SWIG_AsInt(obj1
);
4197 if (PyErr_Occurred()) SWIG_fail
;
4199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4200 (arg1
)->SetBezelFace(arg2
);
4202 wxPyEndAllowThreads(__tstate
);
4203 if (PyErr_Occurred()) SWIG_fail
;
4205 Py_INCREF(Py_None
); resultobj
= Py_None
;
4212 static PyObject
*_wrap_Gauge_GetBezelFace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4213 PyObject
*resultobj
;
4214 wxGauge
*arg1
= (wxGauge
*) 0 ;
4216 PyObject
* obj0
= 0 ;
4218 (char *) "self", NULL
4221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetBezelFace",kwnames
,&obj0
)) goto fail
;
4222 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4226 result
= (int)((wxGauge
const *)arg1
)->GetBezelFace();
4228 wxPyEndAllowThreads(__tstate
);
4229 if (PyErr_Occurred()) SWIG_fail
;
4231 resultobj
= SWIG_FromInt((int)result
);
4238 static PyObject
*_wrap_Gauge_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4239 PyObject
*resultobj
;
4240 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
4241 wxVisualAttributes result
;
4242 PyObject
* obj0
= 0 ;
4244 (char *) "variant", NULL
4247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Gauge_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
4249 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
4250 if (PyErr_Occurred()) SWIG_fail
;
4253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4254 result
= wxGauge::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
4256 wxPyEndAllowThreads(__tstate
);
4257 if (PyErr_Occurred()) SWIG_fail
;
4260 wxVisualAttributes
* resultptr
;
4261 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
4262 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4270 static PyObject
* Gauge_swigregister(PyObject
*self
, PyObject
*args
) {
4272 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4273 SWIG_TypeClientData(SWIGTYPE_p_wxGauge
, obj
);
4275 return Py_BuildValue((char *)"");
4277 static int _wrap_StaticBitmapNameStr_set(PyObject
*_val
) {
4278 PyErr_SetString(PyExc_TypeError
,"Variable StaticBitmapNameStr is read-only.");
4283 static PyObject
*_wrap_StaticBitmapNameStr_get() {
4288 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
4290 pyobj
= PyString_FromStringAndSize((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
4297 static int _wrap_StaticBoxNameStr_set(PyObject
*_val
) {
4298 PyErr_SetString(PyExc_TypeError
,"Variable StaticBoxNameStr is read-only.");
4303 static PyObject
*_wrap_StaticBoxNameStr_get() {
4308 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
4310 pyobj
= PyString_FromStringAndSize((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
4317 static int _wrap_StaticTextNameStr_set(PyObject
*_val
) {
4318 PyErr_SetString(PyExc_TypeError
,"Variable StaticTextNameStr is read-only.");
4323 static PyObject
*_wrap_StaticTextNameStr_get() {
4328 pyobj
= PyUnicode_FromWideChar((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
4330 pyobj
= PyString_FromStringAndSize((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
4337 static PyObject
*_wrap_new_StaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4338 PyObject
*resultobj
;
4339 wxWindow
*arg1
= (wxWindow
*) 0 ;
4341 wxString
*arg3
= 0 ;
4342 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4343 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4344 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4345 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4346 long arg6
= (long) 0 ;
4347 wxString
const &arg7_defvalue
= wxPyStaticBoxNameStr
;
4348 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4349 wxStaticBox
*result
;
4350 bool temp3
= False
;
4353 bool temp7
= False
;
4354 PyObject
* obj0
= 0 ;
4355 PyObject
* obj1
= 0 ;
4356 PyObject
* obj2
= 0 ;
4357 PyObject
* obj3
= 0 ;
4358 PyObject
* obj4
= 0 ;
4359 PyObject
* obj5
= 0 ;
4360 PyObject
* obj6
= 0 ;
4362 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_StaticBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4366 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4368 arg2
= (int) SWIG_AsInt(obj1
);
4369 if (PyErr_Occurred()) SWIG_fail
;
4371 arg3
= wxString_in_helper(obj2
);
4372 if (arg3
== NULL
) SWIG_fail
;
4378 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4384 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4388 arg6
= (long) SWIG_AsLong(obj5
);
4389 if (PyErr_Occurred()) SWIG_fail
;
4393 arg7
= wxString_in_helper(obj6
);
4394 if (arg7
== NULL
) SWIG_fail
;
4399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4400 result
= (wxStaticBox
*)new wxStaticBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4402 wxPyEndAllowThreads(__tstate
);
4403 if (PyErr_Occurred()) SWIG_fail
;
4406 resultobj
= wxPyMake_wxObject(result
);
4430 static PyObject
*_wrap_new_PreStaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4431 PyObject
*resultobj
;
4432 wxStaticBox
*result
;
4437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBox",kwnames
)) goto fail
;
4439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4440 result
= (wxStaticBox
*)new wxStaticBox();
4442 wxPyEndAllowThreads(__tstate
);
4443 if (PyErr_Occurred()) SWIG_fail
;
4446 resultobj
= wxPyMake_wxObject(result
);
4454 static PyObject
*_wrap_StaticBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4455 PyObject
*resultobj
;
4456 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
4457 wxWindow
*arg2
= (wxWindow
*) 0 ;
4459 wxString
*arg4
= 0 ;
4460 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4461 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4462 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4463 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4464 long arg7
= (long) 0 ;
4465 wxString
const &arg8_defvalue
= wxPyStaticBoxNameStr
;
4466 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4468 bool temp4
= False
;
4471 bool temp8
= False
;
4472 PyObject
* obj0
= 0 ;
4473 PyObject
* obj1
= 0 ;
4474 PyObject
* obj2
= 0 ;
4475 PyObject
* obj3
= 0 ;
4476 PyObject
* obj4
= 0 ;
4477 PyObject
* obj5
= 0 ;
4478 PyObject
* obj6
= 0 ;
4479 PyObject
* obj7
= 0 ;
4481 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:StaticBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4485 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBox
,
4486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4487 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4488 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4489 arg3
= (int) SWIG_AsInt(obj2
);
4490 if (PyErr_Occurred()) SWIG_fail
;
4492 arg4
= wxString_in_helper(obj3
);
4493 if (arg4
== NULL
) SWIG_fail
;
4499 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4505 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4509 arg7
= (long) SWIG_AsLong(obj6
);
4510 if (PyErr_Occurred()) SWIG_fail
;
4514 arg8
= wxString_in_helper(obj7
);
4515 if (arg8
== NULL
) SWIG_fail
;
4520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4521 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4523 wxPyEndAllowThreads(__tstate
);
4524 if (PyErr_Occurred()) SWIG_fail
;
4527 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4551 static PyObject
*_wrap_StaticBox_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4552 PyObject
*resultobj
;
4553 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
4554 wxVisualAttributes result
;
4555 PyObject
* obj0
= 0 ;
4557 (char *) "variant", NULL
4560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
4562 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
4563 if (PyErr_Occurred()) SWIG_fail
;
4566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4567 result
= wxStaticBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
4569 wxPyEndAllowThreads(__tstate
);
4570 if (PyErr_Occurred()) SWIG_fail
;
4573 wxVisualAttributes
* resultptr
;
4574 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
4575 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4583 static PyObject
* StaticBox_swigregister(PyObject
*self
, PyObject
*args
) {
4585 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4586 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox
, obj
);
4588 return Py_BuildValue((char *)"");
4590 static PyObject
*_wrap_new_StaticLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4591 PyObject
*resultobj
;
4592 wxWindow
*arg1
= (wxWindow
*) 0 ;
4594 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
4595 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
4596 wxSize
const &arg4_defvalue
= wxDefaultSize
;
4597 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
4598 long arg5
= (long) wxLI_HORIZONTAL
;
4599 wxString
const &arg6_defvalue
= wxPyStaticTextNameStr
;
4600 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
4601 wxStaticLine
*result
;
4604 bool temp6
= False
;
4605 PyObject
* obj0
= 0 ;
4606 PyObject
* obj1
= 0 ;
4607 PyObject
* obj2
= 0 ;
4608 PyObject
* obj3
= 0 ;
4609 PyObject
* obj4
= 0 ;
4610 PyObject
* obj5
= 0 ;
4612 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_StaticLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
4616 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4618 arg2
= (int) SWIG_AsInt(obj1
);
4619 if (PyErr_Occurred()) SWIG_fail
;
4623 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
4629 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
4633 arg5
= (long) SWIG_AsLong(obj4
);
4634 if (PyErr_Occurred()) SWIG_fail
;
4638 arg6
= wxString_in_helper(obj5
);
4639 if (arg6
== NULL
) SWIG_fail
;
4644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4645 result
= (wxStaticLine
*)new wxStaticLine(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
4647 wxPyEndAllowThreads(__tstate
);
4648 if (PyErr_Occurred()) SWIG_fail
;
4650 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticLine
, 1);
4665 static PyObject
*_wrap_new_PreStaticLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4666 PyObject
*resultobj
;
4667 wxStaticLine
*result
;
4672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticLine",kwnames
)) goto fail
;
4674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4675 result
= (wxStaticLine
*)new wxStaticLine();
4677 wxPyEndAllowThreads(__tstate
);
4678 if (PyErr_Occurred()) SWIG_fail
;
4680 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticLine
, 1);
4687 static PyObject
*_wrap_StaticLine_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4688 PyObject
*resultobj
;
4689 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
4690 wxWindow
*arg2
= (wxWindow
*) 0 ;
4692 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4693 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4694 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4695 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4696 long arg6
= (long) wxLI_HORIZONTAL
;
4697 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
4698 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4702 bool temp7
= False
;
4703 PyObject
* obj0
= 0 ;
4704 PyObject
* obj1
= 0 ;
4705 PyObject
* obj2
= 0 ;
4706 PyObject
* obj3
= 0 ;
4707 PyObject
* obj4
= 0 ;
4708 PyObject
* obj5
= 0 ;
4709 PyObject
* obj6
= 0 ;
4711 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:StaticLine_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4715 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticLine
,
4716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4717 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4719 arg3
= (int) SWIG_AsInt(obj2
);
4720 if (PyErr_Occurred()) SWIG_fail
;
4724 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4730 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4734 arg6
= (long) SWIG_AsLong(obj5
);
4735 if (PyErr_Occurred()) SWIG_fail
;
4739 arg7
= wxString_in_helper(obj6
);
4740 if (arg7
== NULL
) SWIG_fail
;
4745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4746 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4748 wxPyEndAllowThreads(__tstate
);
4749 if (PyErr_Occurred()) SWIG_fail
;
4752 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4768 static PyObject
*_wrap_StaticLine_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4769 PyObject
*resultobj
;
4770 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
4772 PyObject
* obj0
= 0 ;
4774 (char *) "self", NULL
4777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticLine_IsVertical",kwnames
,&obj0
)) goto fail
;
4778 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticLine
,
4779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4782 result
= (bool)((wxStaticLine
const *)arg1
)->IsVertical();
4784 wxPyEndAllowThreads(__tstate
);
4785 if (PyErr_Occurred()) SWIG_fail
;
4788 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4796 static PyObject
*_wrap_StaticLine_GetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4797 PyObject
*resultobj
;
4803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StaticLine_GetDefaultSize",kwnames
)) goto fail
;
4805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4806 result
= (int)wxStaticLine::GetDefaultSize();
4808 wxPyEndAllowThreads(__tstate
);
4809 if (PyErr_Occurred()) SWIG_fail
;
4811 resultobj
= SWIG_FromInt((int)result
);
4818 static PyObject
*_wrap_StaticLine_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4819 PyObject
*resultobj
;
4820 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
4821 wxVisualAttributes result
;
4822 PyObject
* obj0
= 0 ;
4824 (char *) "variant", NULL
4827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
4829 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
4830 if (PyErr_Occurred()) SWIG_fail
;
4833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4834 result
= wxStaticLine::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
4836 wxPyEndAllowThreads(__tstate
);
4837 if (PyErr_Occurred()) SWIG_fail
;
4840 wxVisualAttributes
* resultptr
;
4841 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
4842 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4850 static PyObject
* StaticLine_swigregister(PyObject
*self
, PyObject
*args
) {
4852 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4853 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine
, obj
);
4855 return Py_BuildValue((char *)"");
4857 static PyObject
*_wrap_new_StaticText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4858 PyObject
*resultobj
;
4859 wxWindow
*arg1
= (wxWindow
*) 0 ;
4861 wxString
*arg3
= 0 ;
4862 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4863 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4864 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4865 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4866 long arg6
= (long) 0 ;
4867 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
4868 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4869 wxStaticText
*result
;
4870 bool temp3
= False
;
4873 bool temp7
= False
;
4874 PyObject
* obj0
= 0 ;
4875 PyObject
* obj1
= 0 ;
4876 PyObject
* obj2
= 0 ;
4877 PyObject
* obj3
= 0 ;
4878 PyObject
* obj4
= 0 ;
4879 PyObject
* obj5
= 0 ;
4880 PyObject
* obj6
= 0 ;
4882 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_StaticText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4886 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4888 arg2
= (int) SWIG_AsInt(obj1
);
4889 if (PyErr_Occurred()) SWIG_fail
;
4891 arg3
= wxString_in_helper(obj2
);
4892 if (arg3
== NULL
) SWIG_fail
;
4898 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4904 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4908 arg6
= (long) SWIG_AsLong(obj5
);
4909 if (PyErr_Occurred()) SWIG_fail
;
4913 arg7
= wxString_in_helper(obj6
);
4914 if (arg7
== NULL
) SWIG_fail
;
4919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4920 result
= (wxStaticText
*)new wxStaticText(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4922 wxPyEndAllowThreads(__tstate
);
4923 if (PyErr_Occurred()) SWIG_fail
;
4925 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticText
, 1);
4948 static PyObject
*_wrap_new_PreStaticText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4949 PyObject
*resultobj
;
4950 wxStaticText
*result
;
4955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticText",kwnames
)) goto fail
;
4957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4958 result
= (wxStaticText
*)new wxStaticText();
4960 wxPyEndAllowThreads(__tstate
);
4961 if (PyErr_Occurred()) SWIG_fail
;
4963 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticText
, 1);
4970 static PyObject
*_wrap_StaticText_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4971 PyObject
*resultobj
;
4972 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
4973 wxWindow
*arg2
= (wxWindow
*) 0 ;
4975 wxString
*arg4
= 0 ;
4976 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4977 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4978 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4979 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4980 long arg7
= (long) 0 ;
4981 wxString
const &arg8_defvalue
= wxPyStaticTextNameStr
;
4982 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4984 bool temp4
= False
;
4987 bool temp8
= False
;
4988 PyObject
* obj0
= 0 ;
4989 PyObject
* obj1
= 0 ;
4990 PyObject
* obj2
= 0 ;
4991 PyObject
* obj3
= 0 ;
4992 PyObject
* obj4
= 0 ;
4993 PyObject
* obj5
= 0 ;
4994 PyObject
* obj6
= 0 ;
4995 PyObject
* obj7
= 0 ;
4997 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:StaticText_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5001 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticText
,
5002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5003 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5005 arg3
= (int) SWIG_AsInt(obj2
);
5006 if (PyErr_Occurred()) SWIG_fail
;
5008 arg4
= wxString_in_helper(obj3
);
5009 if (arg4
== NULL
) SWIG_fail
;
5015 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
5021 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5025 arg7
= (long) SWIG_AsLong(obj6
);
5026 if (PyErr_Occurred()) SWIG_fail
;
5030 arg8
= wxString_in_helper(obj7
);
5031 if (arg8
== NULL
) SWIG_fail
;
5036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5037 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
5039 wxPyEndAllowThreads(__tstate
);
5040 if (PyErr_Occurred()) SWIG_fail
;
5043 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5067 static PyObject
*_wrap_StaticText_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5068 PyObject
*resultobj
;
5069 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
5070 wxVisualAttributes result
;
5071 PyObject
* obj0
= 0 ;
5073 (char *) "variant", NULL
5076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5078 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
5079 if (PyErr_Occurred()) SWIG_fail
;
5082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5083 result
= wxStaticText::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
5085 wxPyEndAllowThreads(__tstate
);
5086 if (PyErr_Occurred()) SWIG_fail
;
5089 wxVisualAttributes
* resultptr
;
5090 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
5091 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5099 static PyObject
* StaticText_swigregister(PyObject
*self
, PyObject
*args
) {
5101 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5102 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText
, obj
);
5104 return Py_BuildValue((char *)"");
5106 static PyObject
*_wrap_new_StaticBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5107 PyObject
*resultobj
;
5108 wxWindow
*arg1
= (wxWindow
*) 0 ;
5110 wxBitmap
*arg3
= 0 ;
5111 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5112 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5113 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5114 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5115 long arg6
= (long) 0 ;
5116 wxString
const &arg7_defvalue
= wxPyStaticBitmapNameStr
;
5117 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
5118 wxStaticBitmap
*result
;
5121 bool temp7
= False
;
5122 PyObject
* obj0
= 0 ;
5123 PyObject
* obj1
= 0 ;
5124 PyObject
* obj2
= 0 ;
5125 PyObject
* obj3
= 0 ;
5126 PyObject
* obj4
= 0 ;
5127 PyObject
* obj5
= 0 ;
5128 PyObject
* obj6
= 0 ;
5130 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_StaticBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
5134 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5136 arg2
= (int) SWIG_AsInt(obj1
);
5137 if (PyErr_Occurred()) SWIG_fail
;
5138 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
5139 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5142 PyErr_SetString(PyExc_TypeError
,"null reference");
5148 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5154 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5158 arg6
= (long) SWIG_AsLong(obj5
);
5159 if (PyErr_Occurred()) SWIG_fail
;
5163 arg7
= wxString_in_helper(obj6
);
5164 if (arg7
== NULL
) SWIG_fail
;
5169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5170 result
= (wxStaticBitmap
*)new wxStaticBitmap(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
5172 wxPyEndAllowThreads(__tstate
);
5173 if (PyErr_Occurred()) SWIG_fail
;
5175 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBitmap
, 1);
5190 static PyObject
*_wrap_new_PreStaticBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5191 PyObject
*resultobj
;
5192 wxStaticBitmap
*result
;
5197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBitmap",kwnames
)) goto fail
;
5199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5200 result
= (wxStaticBitmap
*)new wxStaticBitmap();
5202 wxPyEndAllowThreads(__tstate
);
5203 if (PyErr_Occurred()) SWIG_fail
;
5205 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBitmap
, 1);
5212 static PyObject
*_wrap_StaticBitmap_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5213 PyObject
*resultobj
;
5214 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
5215 wxWindow
*arg2
= (wxWindow
*) 0 ;
5217 wxBitmap
*arg4
= 0 ;
5218 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
5219 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
5220 wxSize
const &arg6_defvalue
= wxDefaultSize
;
5221 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
5222 long arg7
= (long) 0 ;
5223 wxString
const &arg8_defvalue
= wxPyStaticBitmapNameStr
;
5224 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5228 bool temp8
= False
;
5229 PyObject
* obj0
= 0 ;
5230 PyObject
* obj1
= 0 ;
5231 PyObject
* obj2
= 0 ;
5232 PyObject
* obj3
= 0 ;
5233 PyObject
* obj4
= 0 ;
5234 PyObject
* obj5
= 0 ;
5235 PyObject
* obj6
= 0 ;
5236 PyObject
* obj7
= 0 ;
5238 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:StaticBitmap_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5242 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
5243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5244 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5245 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5246 arg3
= (int) SWIG_AsInt(obj2
);
5247 if (PyErr_Occurred()) SWIG_fail
;
5248 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
5249 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5252 PyErr_SetString(PyExc_TypeError
,"null reference");
5258 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
5264 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5268 arg7
= (long) SWIG_AsLong(obj6
);
5269 if (PyErr_Occurred()) SWIG_fail
;
5273 arg8
= wxString_in_helper(obj7
);
5274 if (arg8
== NULL
) SWIG_fail
;
5279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5280 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
5282 wxPyEndAllowThreads(__tstate
);
5283 if (PyErr_Occurred()) SWIG_fail
;
5286 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5302 static PyObject
*_wrap_StaticBitmap_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5303 PyObject
*resultobj
;
5304 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
5306 PyObject
* obj0
= 0 ;
5308 (char *) "self", NULL
5311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBitmap_GetBitmap",kwnames
,&obj0
)) goto fail
;
5312 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
5313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5316 result
= (arg1
)->GetBitmap();
5318 wxPyEndAllowThreads(__tstate
);
5319 if (PyErr_Occurred()) SWIG_fail
;
5322 wxBitmap
* resultptr
;
5323 resultptr
= new wxBitmap((wxBitmap
&) result
);
5324 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
5332 static PyObject
*_wrap_StaticBitmap_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5333 PyObject
*resultobj
;
5334 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
5335 wxBitmap
*arg2
= 0 ;
5336 PyObject
* obj0
= 0 ;
5337 PyObject
* obj1
= 0 ;
5339 (char *) "self",(char *) "bitmap", NULL
5342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
5343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
5344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5345 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
5346 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5349 PyErr_SetString(PyExc_TypeError
,"null reference");
5353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5354 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
5356 wxPyEndAllowThreads(__tstate
);
5357 if (PyErr_Occurred()) SWIG_fail
;
5359 Py_INCREF(Py_None
); resultobj
= Py_None
;
5366 static PyObject
*_wrap_StaticBitmap_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5367 PyObject
*resultobj
;
5368 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
5370 PyObject
* obj0
= 0 ;
5371 PyObject
* obj1
= 0 ;
5373 (char *) "self",(char *) "icon", NULL
5376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
5377 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
5378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5379 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
5380 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5383 PyErr_SetString(PyExc_TypeError
,"null reference");
5387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5388 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
5390 wxPyEndAllowThreads(__tstate
);
5391 if (PyErr_Occurred()) SWIG_fail
;
5393 Py_INCREF(Py_None
); resultobj
= Py_None
;
5400 static PyObject
*_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5401 PyObject
*resultobj
;
5402 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
5403 wxVisualAttributes result
;
5404 PyObject
* obj0
= 0 ;
5406 (char *) "variant", NULL
5409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5411 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
5412 if (PyErr_Occurred()) SWIG_fail
;
5415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5416 result
= wxStaticBitmap::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
5418 wxPyEndAllowThreads(__tstate
);
5419 if (PyErr_Occurred()) SWIG_fail
;
5422 wxVisualAttributes
* resultptr
;
5423 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
5424 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5432 static PyObject
* StaticBitmap_swigregister(PyObject
*self
, PyObject
*args
) {
5434 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5435 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap
, obj
);
5437 return Py_BuildValue((char *)"");
5439 static int _wrap_ListBoxNameStr_set(PyObject
*_val
) {
5440 PyErr_SetString(PyExc_TypeError
,"Variable ListBoxNameStr is read-only.");
5445 static PyObject
*_wrap_ListBoxNameStr_get() {
5450 pyobj
= PyUnicode_FromWideChar((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
5452 pyobj
= PyString_FromStringAndSize((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
5459 static PyObject
*_wrap_new_ListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5460 PyObject
*resultobj
;
5461 wxWindow
*arg1
= (wxWindow
*) 0 ;
5463 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5464 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5465 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5466 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5467 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
5468 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
5469 long arg6
= (long) 0 ;
5470 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
5471 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
5472 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
5473 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5477 bool temp5
= False
;
5478 bool temp8
= False
;
5479 PyObject
* obj0
= 0 ;
5480 PyObject
* obj1
= 0 ;
5481 PyObject
* obj2
= 0 ;
5482 PyObject
* obj3
= 0 ;
5483 PyObject
* obj4
= 0 ;
5484 PyObject
* obj5
= 0 ;
5485 PyObject
* obj6
= 0 ;
5486 PyObject
* obj7
= 0 ;
5488 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:new_ListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5492 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5494 arg2
= (int) SWIG_AsInt(obj1
);
5495 if (PyErr_Occurred()) SWIG_fail
;
5499 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5505 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5510 if (! PySequence_Check(obj4
)) {
5511 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5514 arg5
= new wxArrayString
;
5516 int i
, len
=PySequence_Length(obj4
);
5517 for (i
=0; i
<len
; i
++) {
5518 PyObject
* item
= PySequence_GetItem(obj4
, i
);
5520 PyObject
* str
= PyObject_Unicode(item
);
5522 PyObject
* str
= PyObject_Str(item
);
5524 if (PyErr_Occurred()) SWIG_fail
;
5525 arg5
->Add(Py2wxString(str
));
5532 arg6
= (long) SWIG_AsLong(obj5
);
5533 if (PyErr_Occurred()) SWIG_fail
;
5536 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
5537 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5540 PyErr_SetString(PyExc_TypeError
,"null reference");
5546 arg8
= wxString_in_helper(obj7
);
5547 if (arg8
== NULL
) SWIG_fail
;
5552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5553 result
= (wxListBox
*)new wxListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
5555 wxPyEndAllowThreads(__tstate
);
5556 if (PyErr_Occurred()) SWIG_fail
;
5558 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListBox
, 1);
5560 if (temp5
) delete arg5
;
5569 if (temp5
) delete arg5
;
5579 static PyObject
*_wrap_new_PreListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5580 PyObject
*resultobj
;
5586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListBox",kwnames
)) goto fail
;
5588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5589 result
= (wxListBox
*)new wxListBox();
5591 wxPyEndAllowThreads(__tstate
);
5592 if (PyErr_Occurred()) SWIG_fail
;
5594 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListBox
, 1);
5601 static PyObject
*_wrap_ListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5602 PyObject
*resultobj
;
5603 wxListBox
*arg1
= (wxListBox
*) 0 ;
5604 wxWindow
*arg2
= (wxWindow
*) 0 ;
5606 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5607 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5608 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5609 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5610 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
5611 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
5612 long arg7
= (long) 0 ;
5613 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5614 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5615 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
5616 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5620 bool temp6
= False
;
5621 bool temp9
= False
;
5622 PyObject
* obj0
= 0 ;
5623 PyObject
* obj1
= 0 ;
5624 PyObject
* obj2
= 0 ;
5625 PyObject
* obj3
= 0 ;
5626 PyObject
* obj4
= 0 ;
5627 PyObject
* obj5
= 0 ;
5628 PyObject
* obj6
= 0 ;
5629 PyObject
* obj7
= 0 ;
5630 PyObject
* obj8
= 0 ;
5632 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:ListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
5636 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5637 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5638 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5639 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5640 arg3
= (int) SWIG_AsInt(obj2
);
5641 if (PyErr_Occurred()) SWIG_fail
;
5645 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5651 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5656 if (! PySequence_Check(obj5
)) {
5657 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5660 arg6
= new wxArrayString
;
5662 int i
, len
=PySequence_Length(obj5
);
5663 for (i
=0; i
<len
; i
++) {
5664 PyObject
* item
= PySequence_GetItem(obj5
, i
);
5666 PyObject
* str
= PyObject_Unicode(item
);
5668 PyObject
* str
= PyObject_Str(item
);
5670 if (PyErr_Occurred()) SWIG_fail
;
5671 arg6
->Add(Py2wxString(str
));
5678 arg7
= (long) SWIG_AsLong(obj6
);
5679 if (PyErr_Occurred()) SWIG_fail
;
5682 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
5683 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5686 PyErr_SetString(PyExc_TypeError
,"null reference");
5692 arg9
= wxString_in_helper(obj8
);
5693 if (arg9
== NULL
) SWIG_fail
;
5698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5699 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
5701 wxPyEndAllowThreads(__tstate
);
5702 if (PyErr_Occurred()) SWIG_fail
;
5705 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5708 if (temp6
) delete arg6
;
5717 if (temp6
) delete arg6
;
5727 static PyObject
*_wrap_ListBox_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5728 PyObject
*resultobj
;
5729 wxListBox
*arg1
= (wxListBox
*) 0 ;
5730 wxString
*arg2
= 0 ;
5732 PyObject
*arg4
= (PyObject
*) NULL
;
5733 bool temp2
= False
;
5734 PyObject
* obj0
= 0 ;
5735 PyObject
* obj1
= 0 ;
5736 PyObject
* obj2
= 0 ;
5737 PyObject
* obj3
= 0 ;
5739 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
5742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListBox_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5743 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5744 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5746 arg2
= wxString_in_helper(obj1
);
5747 if (arg2
== NULL
) SWIG_fail
;
5750 arg3
= (int) SWIG_AsInt(obj2
);
5751 if (PyErr_Occurred()) SWIG_fail
;
5756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5757 wxListBox_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
5759 wxPyEndAllowThreads(__tstate
);
5760 if (PyErr_Occurred()) SWIG_fail
;
5762 Py_INCREF(Py_None
); resultobj
= Py_None
;
5777 static PyObject
*_wrap_ListBox_InsertItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5778 PyObject
*resultobj
;
5779 wxListBox
*arg1
= (wxListBox
*) 0 ;
5780 wxArrayString
*arg2
= 0 ;
5782 bool temp2
= False
;
5783 PyObject
* obj0
= 0 ;
5784 PyObject
* obj1
= 0 ;
5785 PyObject
* obj2
= 0 ;
5787 (char *) "self",(char *) "items",(char *) "pos", NULL
5790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_InsertItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5794 if (! PySequence_Check(obj1
)) {
5795 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5798 arg2
= new wxArrayString
;
5800 int i
, len
=PySequence_Length(obj1
);
5801 for (i
=0; i
<len
; i
++) {
5802 PyObject
* item
= PySequence_GetItem(obj1
, i
);
5804 PyObject
* str
= PyObject_Unicode(item
);
5806 PyObject
* str
= PyObject_Str(item
);
5808 if (PyErr_Occurred()) SWIG_fail
;
5809 arg2
->Add(Py2wxString(str
));
5814 arg3
= (int) SWIG_AsInt(obj2
);
5815 if (PyErr_Occurred()) SWIG_fail
;
5817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5818 (arg1
)->InsertItems((wxArrayString
const &)*arg2
,arg3
);
5820 wxPyEndAllowThreads(__tstate
);
5821 if (PyErr_Occurred()) SWIG_fail
;
5823 Py_INCREF(Py_None
); resultobj
= Py_None
;
5825 if (temp2
) delete arg2
;
5830 if (temp2
) delete arg2
;
5836 static PyObject
*_wrap_ListBox_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5837 PyObject
*resultobj
;
5838 wxListBox
*arg1
= (wxListBox
*) 0 ;
5839 wxArrayString
*arg2
= 0 ;
5840 bool temp2
= False
;
5841 PyObject
* obj0
= 0 ;
5842 PyObject
* obj1
= 0 ;
5844 (char *) "self",(char *) "items", NULL
5847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Set",kwnames
,&obj0
,&obj1
)) goto fail
;
5848 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5849 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5851 if (! PySequence_Check(obj1
)) {
5852 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5855 arg2
= new wxArrayString
;
5857 int i
, len
=PySequence_Length(obj1
);
5858 for (i
=0; i
<len
; i
++) {
5859 PyObject
* item
= PySequence_GetItem(obj1
, i
);
5861 PyObject
* str
= PyObject_Unicode(item
);
5863 PyObject
* str
= PyObject_Str(item
);
5865 if (PyErr_Occurred()) SWIG_fail
;
5866 arg2
->Add(Py2wxString(str
));
5872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5873 (arg1
)->Set((wxArrayString
const &)*arg2
);
5875 wxPyEndAllowThreads(__tstate
);
5876 if (PyErr_Occurred()) SWIG_fail
;
5878 Py_INCREF(Py_None
); resultobj
= Py_None
;
5880 if (temp2
) delete arg2
;
5885 if (temp2
) delete arg2
;
5891 static PyObject
*_wrap_ListBox_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5892 PyObject
*resultobj
;
5893 wxListBox
*arg1
= (wxListBox
*) 0 ;
5896 PyObject
* obj0
= 0 ;
5897 PyObject
* obj1
= 0 ;
5899 (char *) "self",(char *) "n", NULL
5902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
5903 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5904 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5905 arg2
= (int) SWIG_AsInt(obj1
);
5906 if (PyErr_Occurred()) SWIG_fail
;
5908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5909 result
= (bool)((wxListBox
const *)arg1
)->IsSelected(arg2
);
5911 wxPyEndAllowThreads(__tstate
);
5912 if (PyErr_Occurred()) SWIG_fail
;
5915 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5923 static PyObject
*_wrap_ListBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5924 PyObject
*resultobj
;
5925 wxListBox
*arg1
= (wxListBox
*) 0 ;
5927 bool arg3
= (bool) True
;
5928 PyObject
* obj0
= 0 ;
5929 PyObject
* obj1
= 0 ;
5930 PyObject
* obj2
= 0 ;
5932 (char *) "self",(char *) "n",(char *) "select", NULL
5935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5936 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5937 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5938 arg2
= (int) SWIG_AsInt(obj1
);
5939 if (PyErr_Occurred()) SWIG_fail
;
5941 arg3
= (bool) SWIG_AsBool(obj2
);
5942 if (PyErr_Occurred()) SWIG_fail
;
5945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5946 (arg1
)->SetSelection(arg2
,arg3
);
5948 wxPyEndAllowThreads(__tstate
);
5949 if (PyErr_Occurred()) SWIG_fail
;
5951 Py_INCREF(Py_None
); resultobj
= Py_None
;
5958 static PyObject
*_wrap_ListBox_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5959 PyObject
*resultobj
;
5960 wxListBox
*arg1
= (wxListBox
*) 0 ;
5962 PyObject
* obj0
= 0 ;
5963 PyObject
* obj1
= 0 ;
5965 (char *) "self",(char *) "n", NULL
5968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
5969 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5971 arg2
= (int) SWIG_AsInt(obj1
);
5972 if (PyErr_Occurred()) SWIG_fail
;
5974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5975 (arg1
)->Select(arg2
);
5977 wxPyEndAllowThreads(__tstate
);
5978 if (PyErr_Occurred()) SWIG_fail
;
5980 Py_INCREF(Py_None
); resultobj
= Py_None
;
5987 static PyObject
*_wrap_ListBox_Deselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5988 PyObject
*resultobj
;
5989 wxListBox
*arg1
= (wxListBox
*) 0 ;
5991 PyObject
* obj0
= 0 ;
5992 PyObject
* obj1
= 0 ;
5994 (char *) "self",(char *) "n", NULL
5997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Deselect",kwnames
,&obj0
,&obj1
)) goto fail
;
5998 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6000 arg2
= (int) SWIG_AsInt(obj1
);
6001 if (PyErr_Occurred()) SWIG_fail
;
6003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6004 (arg1
)->Deselect(arg2
);
6006 wxPyEndAllowThreads(__tstate
);
6007 if (PyErr_Occurred()) SWIG_fail
;
6009 Py_INCREF(Py_None
); resultobj
= Py_None
;
6016 static PyObject
*_wrap_ListBox_DeselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6017 PyObject
*resultobj
;
6018 wxListBox
*arg1
= (wxListBox
*) 0 ;
6019 int arg2
= (int) -1 ;
6020 PyObject
* obj0
= 0 ;
6021 PyObject
* obj1
= 0 ;
6023 (char *) "self",(char *) "itemToLeaveSelected", NULL
6026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListBox_DeselectAll",kwnames
,&obj0
,&obj1
)) goto fail
;
6027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6030 arg2
= (int) SWIG_AsInt(obj1
);
6031 if (PyErr_Occurred()) SWIG_fail
;
6034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6035 (arg1
)->DeselectAll(arg2
);
6037 wxPyEndAllowThreads(__tstate
);
6038 if (PyErr_Occurred()) SWIG_fail
;
6040 Py_INCREF(Py_None
); resultobj
= Py_None
;
6047 static PyObject
*_wrap_ListBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6048 PyObject
*resultobj
;
6049 wxListBox
*arg1
= (wxListBox
*) 0 ;
6050 wxString
*arg2
= 0 ;
6051 bool arg3
= (bool) True
;
6053 bool temp2
= False
;
6054 PyObject
* obj0
= 0 ;
6055 PyObject
* obj1
= 0 ;
6056 PyObject
* obj2
= 0 ;
6058 (char *) "self",(char *) "s",(char *) "select", NULL
6061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetStringSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6062 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6065 arg2
= wxString_in_helper(obj1
);
6066 if (arg2
== NULL
) SWIG_fail
;
6070 arg3
= (bool) SWIG_AsBool(obj2
);
6071 if (PyErr_Occurred()) SWIG_fail
;
6074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6075 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
,arg3
);
6077 wxPyEndAllowThreads(__tstate
);
6078 if (PyErr_Occurred()) SWIG_fail
;
6081 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6097 static PyObject
*_wrap_ListBox_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6098 PyObject
*resultobj
;
6099 wxListBox
*arg1
= (wxListBox
*) 0 ;
6101 PyObject
* obj0
= 0 ;
6103 (char *) "self", NULL
6106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_GetSelections",kwnames
,&obj0
)) goto fail
;
6107 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6108 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6111 result
= (PyObject
*)wxListBox_GetSelections(arg1
);
6113 wxPyEndAllowThreads(__tstate
);
6114 if (PyErr_Occurred()) SWIG_fail
;
6123 static PyObject
*_wrap_ListBox_SetFirstItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6124 PyObject
*resultobj
;
6125 wxListBox
*arg1
= (wxListBox
*) 0 ;
6127 PyObject
* obj0
= 0 ;
6128 PyObject
* obj1
= 0 ;
6130 (char *) "self",(char *) "n", NULL
6133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItem",kwnames
,&obj0
,&obj1
)) goto fail
;
6134 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6136 arg2
= (int) SWIG_AsInt(obj1
);
6137 if (PyErr_Occurred()) SWIG_fail
;
6139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6140 (arg1
)->SetFirstItem(arg2
);
6142 wxPyEndAllowThreads(__tstate
);
6143 if (PyErr_Occurred()) SWIG_fail
;
6145 Py_INCREF(Py_None
); resultobj
= Py_None
;
6152 static PyObject
*_wrap_ListBox_SetFirstItemStr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6153 PyObject
*resultobj
;
6154 wxListBox
*arg1
= (wxListBox
*) 0 ;
6155 wxString
*arg2
= 0 ;
6156 bool temp2
= False
;
6157 PyObject
* obj0
= 0 ;
6158 PyObject
* obj1
= 0 ;
6160 (char *) "self",(char *) "s", NULL
6163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItemStr",kwnames
,&obj0
,&obj1
)) goto fail
;
6164 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6167 arg2
= wxString_in_helper(obj1
);
6168 if (arg2
== NULL
) SWIG_fail
;
6172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6173 (arg1
)->SetFirstItem((wxString
const &)*arg2
);
6175 wxPyEndAllowThreads(__tstate
);
6176 if (PyErr_Occurred()) SWIG_fail
;
6178 Py_INCREF(Py_None
); resultobj
= Py_None
;
6193 static PyObject
*_wrap_ListBox_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6194 PyObject
*resultobj
;
6195 wxListBox
*arg1
= (wxListBox
*) 0 ;
6197 PyObject
* obj0
= 0 ;
6198 PyObject
* obj1
= 0 ;
6200 (char *) "self",(char *) "n", NULL
6203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
6204 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6206 arg2
= (int) SWIG_AsInt(obj1
);
6207 if (PyErr_Occurred()) SWIG_fail
;
6209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6210 (arg1
)->EnsureVisible(arg2
);
6212 wxPyEndAllowThreads(__tstate
);
6213 if (PyErr_Occurred()) SWIG_fail
;
6215 Py_INCREF(Py_None
); resultobj
= Py_None
;
6222 static PyObject
*_wrap_ListBox_AppendAndEnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6223 PyObject
*resultobj
;
6224 wxListBox
*arg1
= (wxListBox
*) 0 ;
6225 wxString
*arg2
= 0 ;
6226 bool temp2
= False
;
6227 PyObject
* obj0
= 0 ;
6228 PyObject
* obj1
= 0 ;
6230 (char *) "self",(char *) "s", NULL
6233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
6234 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6237 arg2
= wxString_in_helper(obj1
);
6238 if (arg2
== NULL
) SWIG_fail
;
6242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6243 (arg1
)->AppendAndEnsureVisible((wxString
const &)*arg2
);
6245 wxPyEndAllowThreads(__tstate
);
6246 if (PyErr_Occurred()) SWIG_fail
;
6248 Py_INCREF(Py_None
); resultobj
= Py_None
;
6263 static PyObject
*_wrap_ListBox_IsSorted(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6264 PyObject
*resultobj
;
6265 wxListBox
*arg1
= (wxListBox
*) 0 ;
6267 PyObject
* obj0
= 0 ;
6269 (char *) "self", NULL
6272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_IsSorted",kwnames
,&obj0
)) goto fail
;
6273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6277 result
= (bool)((wxListBox
const *)arg1
)->IsSorted();
6279 wxPyEndAllowThreads(__tstate
);
6280 if (PyErr_Occurred()) SWIG_fail
;
6283 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6291 static PyObject
*_wrap_ListBox_SetItemForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6292 PyObject
*resultobj
;
6293 wxListBox
*arg1
= (wxListBox
*) 0 ;
6295 wxColour
*arg3
= 0 ;
6297 PyObject
* obj0
= 0 ;
6298 PyObject
* obj1
= 0 ;
6299 PyObject
* obj2
= 0 ;
6301 (char *) "self",(char *) "item",(char *) "c", NULL
6304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6307 arg2
= (int) SWIG_AsInt(obj1
);
6308 if (PyErr_Occurred()) SWIG_fail
;
6311 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
6314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6315 wxListBox_SetItemForegroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
6317 wxPyEndAllowThreads(__tstate
);
6318 if (PyErr_Occurred()) SWIG_fail
;
6320 Py_INCREF(Py_None
); resultobj
= Py_None
;
6327 static PyObject
*_wrap_ListBox_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6328 PyObject
*resultobj
;
6329 wxListBox
*arg1
= (wxListBox
*) 0 ;
6331 wxColour
*arg3
= 0 ;
6333 PyObject
* obj0
= 0 ;
6334 PyObject
* obj1
= 0 ;
6335 PyObject
* obj2
= 0 ;
6337 (char *) "self",(char *) "item",(char *) "c", NULL
6340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6343 arg2
= (int) SWIG_AsInt(obj1
);
6344 if (PyErr_Occurred()) SWIG_fail
;
6347 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
6350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6351 wxListBox_SetItemBackgroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
6353 wxPyEndAllowThreads(__tstate
);
6354 if (PyErr_Occurred()) SWIG_fail
;
6356 Py_INCREF(Py_None
); resultobj
= Py_None
;
6363 static PyObject
*_wrap_ListBox_SetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6364 PyObject
*resultobj
;
6365 wxListBox
*arg1
= (wxListBox
*) 0 ;
6368 PyObject
* obj0
= 0 ;
6369 PyObject
* obj1
= 0 ;
6370 PyObject
* obj2
= 0 ;
6372 (char *) "self",(char *) "item",(char *) "f", NULL
6375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6378 arg2
= (int) SWIG_AsInt(obj1
);
6379 if (PyErr_Occurred()) SWIG_fail
;
6380 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
6381 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6384 PyErr_SetString(PyExc_TypeError
,"null reference");
6388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6389 wxListBox_SetItemFont(arg1
,arg2
,(wxFont
const &)*arg3
);
6391 wxPyEndAllowThreads(__tstate
);
6392 if (PyErr_Occurred()) SWIG_fail
;
6394 Py_INCREF(Py_None
); resultobj
= Py_None
;
6401 static PyObject
*_wrap_ListBox_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6402 PyObject
*resultobj
;
6403 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
6404 wxVisualAttributes result
;
6405 PyObject
* obj0
= 0 ;
6407 (char *) "variant", NULL
6410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6412 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
6413 if (PyErr_Occurred()) SWIG_fail
;
6416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6417 result
= wxListBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
6419 wxPyEndAllowThreads(__tstate
);
6420 if (PyErr_Occurred()) SWIG_fail
;
6423 wxVisualAttributes
* resultptr
;
6424 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
6425 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6433 static PyObject
* ListBox_swigregister(PyObject
*self
, PyObject
*args
) {
6435 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6436 SWIG_TypeClientData(SWIGTYPE_p_wxListBox
, obj
);
6438 return Py_BuildValue((char *)"");
6440 static PyObject
*_wrap_new_CheckListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6441 PyObject
*resultobj
;
6442 wxWindow
*arg1
= (wxWindow
*) 0 ;
6444 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
6445 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
6446 wxSize
const &arg4_defvalue
= wxDefaultSize
;
6447 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
6448 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
6449 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
6450 long arg6
= (long) 0 ;
6451 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
6452 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
6453 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
6454 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6455 wxCheckListBox
*result
;
6458 bool temp5
= False
;
6459 bool temp8
= False
;
6460 PyObject
* obj0
= 0 ;
6461 PyObject
* obj1
= 0 ;
6462 PyObject
* obj2
= 0 ;
6463 PyObject
* obj3
= 0 ;
6464 PyObject
* obj4
= 0 ;
6465 PyObject
* obj5
= 0 ;
6466 PyObject
* obj6
= 0 ;
6467 PyObject
* obj7
= 0 ;
6469 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
6472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:new_CheckListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
6474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6475 arg2
= (int) SWIG_AsInt(obj1
);
6476 if (PyErr_Occurred()) SWIG_fail
;
6480 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
6486 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
6491 if (! PySequence_Check(obj4
)) {
6492 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
6495 arg5
= new wxArrayString
;
6497 int i
, len
=PySequence_Length(obj4
);
6498 for (i
=0; i
<len
; i
++) {
6499 PyObject
* item
= PySequence_GetItem(obj4
, i
);
6501 PyObject
* str
= PyObject_Unicode(item
);
6503 PyObject
* str
= PyObject_Str(item
);
6505 if (PyErr_Occurred()) SWIG_fail
;
6506 arg5
->Add(Py2wxString(str
));
6513 arg6
= (long) SWIG_AsLong(obj5
);
6514 if (PyErr_Occurred()) SWIG_fail
;
6517 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
6518 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6521 PyErr_SetString(PyExc_TypeError
,"null reference");
6527 arg8
= wxString_in_helper(obj7
);
6528 if (arg8
== NULL
) SWIG_fail
;
6533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6534 result
= (wxCheckListBox
*)new wxCheckListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
6536 wxPyEndAllowThreads(__tstate
);
6537 if (PyErr_Occurred()) SWIG_fail
;
6539 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckListBox
, 1);
6541 if (temp5
) delete arg5
;
6550 if (temp5
) delete arg5
;
6560 static PyObject
*_wrap_new_PreCheckListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6561 PyObject
*resultobj
;
6562 wxCheckListBox
*result
;
6567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckListBox",kwnames
)) goto fail
;
6569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6570 result
= (wxCheckListBox
*)new wxCheckListBox();
6572 wxPyEndAllowThreads(__tstate
);
6573 if (PyErr_Occurred()) SWIG_fail
;
6575 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckListBox
, 1);
6582 static PyObject
*_wrap_CheckListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6583 PyObject
*resultobj
;
6584 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6585 wxWindow
*arg2
= (wxWindow
*) 0 ;
6587 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6588 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6589 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6590 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6591 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
6592 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
6593 long arg7
= (long) 0 ;
6594 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
6595 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
6596 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
6597 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
6601 bool temp6
= False
;
6602 bool temp9
= False
;
6603 PyObject
* obj0
= 0 ;
6604 PyObject
* obj1
= 0 ;
6605 PyObject
* obj2
= 0 ;
6606 PyObject
* obj3
= 0 ;
6607 PyObject
* obj4
= 0 ;
6608 PyObject
* obj5
= 0 ;
6609 PyObject
* obj6
= 0 ;
6610 PyObject
* obj7
= 0 ;
6611 PyObject
* obj8
= 0 ;
6613 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
6616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:CheckListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
6617 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6619 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6621 arg3
= (int) SWIG_AsInt(obj2
);
6622 if (PyErr_Occurred()) SWIG_fail
;
6626 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6632 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6637 if (! PySequence_Check(obj5
)) {
6638 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
6641 arg6
= new wxArrayString
;
6643 int i
, len
=PySequence_Length(obj5
);
6644 for (i
=0; i
<len
; i
++) {
6645 PyObject
* item
= PySequence_GetItem(obj5
, i
);
6647 PyObject
* str
= PyObject_Unicode(item
);
6649 PyObject
* str
= PyObject_Str(item
);
6651 if (PyErr_Occurred()) SWIG_fail
;
6652 arg6
->Add(Py2wxString(str
));
6659 arg7
= (long) SWIG_AsLong(obj6
);
6660 if (PyErr_Occurred()) SWIG_fail
;
6663 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
6664 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6667 PyErr_SetString(PyExc_TypeError
,"null reference");
6673 arg9
= wxString_in_helper(obj8
);
6674 if (arg9
== NULL
) SWIG_fail
;
6679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6680 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
6682 wxPyEndAllowThreads(__tstate
);
6683 if (PyErr_Occurred()) SWIG_fail
;
6686 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6689 if (temp6
) delete arg6
;
6698 if (temp6
) delete arg6
;
6708 static PyObject
*_wrap_CheckListBox_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6709 PyObject
*resultobj
;
6710 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6713 PyObject
* obj0
= 0 ;
6714 PyObject
* obj1
= 0 ;
6716 (char *) "self",(char *) "index", NULL
6719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
6720 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6722 arg2
= (int) SWIG_AsInt(obj1
);
6723 if (PyErr_Occurred()) SWIG_fail
;
6725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6726 result
= (bool)(arg1
)->IsChecked(arg2
);
6728 wxPyEndAllowThreads(__tstate
);
6729 if (PyErr_Occurred()) SWIG_fail
;
6732 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6740 static PyObject
*_wrap_CheckListBox_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6741 PyObject
*resultobj
;
6742 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6744 int arg3
= (int) True
;
6745 PyObject
* obj0
= 0 ;
6746 PyObject
* obj1
= 0 ;
6747 PyObject
* obj2
= 0 ;
6749 (char *) "self",(char *) "index",(char *) "check", NULL
6752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:CheckListBox_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6753 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6755 arg2
= (int) SWIG_AsInt(obj1
);
6756 if (PyErr_Occurred()) SWIG_fail
;
6758 arg3
= (int) SWIG_AsInt(obj2
);
6759 if (PyErr_Occurred()) SWIG_fail
;
6762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6763 (arg1
)->Check(arg2
,arg3
);
6765 wxPyEndAllowThreads(__tstate
);
6766 if (PyErr_Occurred()) SWIG_fail
;
6768 Py_INCREF(Py_None
); resultobj
= Py_None
;
6775 static PyObject
*_wrap_CheckListBox_GetItemHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6776 PyObject
*resultobj
;
6777 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6779 PyObject
* obj0
= 0 ;
6781 (char *) "self", NULL
6784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckListBox_GetItemHeight",kwnames
,&obj0
)) goto fail
;
6785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6789 result
= (int)(arg1
)->GetItemHeight();
6791 wxPyEndAllowThreads(__tstate
);
6792 if (PyErr_Occurred()) SWIG_fail
;
6794 resultobj
= SWIG_FromInt((int)result
);
6801 static PyObject
*_wrap_CheckListBox_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6802 PyObject
*resultobj
;
6803 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6807 PyObject
* obj0
= 0 ;
6808 PyObject
* obj1
= 0 ;
6810 (char *) "self",(char *) "pt", NULL
6813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
6814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6818 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6822 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
6824 wxPyEndAllowThreads(__tstate
);
6825 if (PyErr_Occurred()) SWIG_fail
;
6827 resultobj
= SWIG_FromInt((int)result
);
6834 static PyObject
*_wrap_CheckListBox_HitTestXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6835 PyObject
*resultobj
;
6836 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6840 PyObject
* obj0
= 0 ;
6841 PyObject
* obj1
= 0 ;
6842 PyObject
* obj2
= 0 ;
6844 (char *) "self",(char *) "x",(char *) "y", NULL
6847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:CheckListBox_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6848 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6849 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6850 arg2
= (int) SWIG_AsInt(obj1
);
6851 if (PyErr_Occurred()) SWIG_fail
;
6852 arg3
= (int) SWIG_AsInt(obj2
);
6853 if (PyErr_Occurred()) SWIG_fail
;
6855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6856 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest(arg2
,arg3
);
6858 wxPyEndAllowThreads(__tstate
);
6859 if (PyErr_Occurred()) SWIG_fail
;
6861 resultobj
= SWIG_FromInt((int)result
);
6868 static PyObject
* CheckListBox_swigregister(PyObject
*self
, PyObject
*args
) {
6870 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6871 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox
, obj
);
6873 return Py_BuildValue((char *)"");
6875 static int _wrap_TextCtrlNameStr_set(PyObject
*_val
) {
6876 PyErr_SetString(PyExc_TypeError
,"Variable TextCtrlNameStr is read-only.");
6881 static PyObject
*_wrap_TextCtrlNameStr_get() {
6886 pyobj
= PyUnicode_FromWideChar((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
6888 pyobj
= PyString_FromStringAndSize((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
6895 static PyObject
*_wrap_new_TextAttr__SWIG_0(PyObject
*self
, PyObject
*args
) {
6896 PyObject
*resultobj
;
6899 if(!PyArg_ParseTuple(args
,(char *)":new_TextAttr")) goto fail
;
6901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6902 result
= (wxTextAttr
*)new wxTextAttr();
6904 wxPyEndAllowThreads(__tstate
);
6905 if (PyErr_Occurred()) SWIG_fail
;
6907 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 1);
6914 static PyObject
*_wrap_new_TextAttr__SWIG_1(PyObject
*self
, PyObject
*args
) {
6915 PyObject
*resultobj
;
6916 wxColour
*arg1
= 0 ;
6917 wxColour
const &arg2_defvalue
= wxNullColour
;
6918 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
6919 wxFont
const &arg3_defvalue
= wxNullFont
;
6920 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
6921 int arg4
= (int) wxTEXT_ALIGNMENT_DEFAULT
;
6925 PyObject
* obj0
= 0 ;
6926 PyObject
* obj1
= 0 ;
6927 PyObject
* obj2
= 0 ;
6928 PyObject
* obj3
= 0 ;
6930 if(!PyArg_ParseTuple(args
,(char *)"O|OOO:new_TextAttr",&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6933 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
6938 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6942 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
6943 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6946 PyErr_SetString(PyExc_TypeError
,"null reference");
6951 arg4
= (wxTextAttrAlignment
) SWIG_AsInt(obj3
);
6952 if (PyErr_Occurred()) SWIG_fail
;
6955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6956 result
= (wxTextAttr
*)new wxTextAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
,(wxTextAttrAlignment
)arg4
);
6958 wxPyEndAllowThreads(__tstate
);
6959 if (PyErr_Occurred()) SWIG_fail
;
6961 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 1);
6968 static PyObject
*_wrap_new_TextAttr(PyObject
*self
, PyObject
*args
) {
6973 argc
= PyObject_Length(args
);
6974 for (ii
= 0; (ii
< argc
) && (ii
< 4); ii
++) {
6975 argv
[ii
] = PyTuple_GetItem(args
,ii
);
6978 return _wrap_new_TextAttr__SWIG_0(self
,args
);
6980 if ((argc
>= 1) && (argc
<= 4)) {
6983 _v
= wxColour_typecheck(argv
[0]);
6987 return _wrap_new_TextAttr__SWIG_1(self
,args
);
6990 _v
= wxColour_typecheck(argv
[1]);
6994 return _wrap_new_TextAttr__SWIG_1(self
,args
);
6998 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxFont
, 0) == -1) {
7007 return _wrap_new_TextAttr__SWIG_1(self
,args
);
7009 _v
= SWIG_CheckInt(argv
[3]);
7011 return _wrap_new_TextAttr__SWIG_1(self
,args
);
7018 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_TextAttr'");
7023 static PyObject
*_wrap_delete_TextAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7024 PyObject
*resultobj
;
7025 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7026 PyObject
* obj0
= 0 ;
7028 (char *) "self", NULL
7031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TextAttr",kwnames
,&obj0
)) goto fail
;
7032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7038 wxPyEndAllowThreads(__tstate
);
7039 if (PyErr_Occurred()) SWIG_fail
;
7041 Py_INCREF(Py_None
); resultobj
= Py_None
;
7048 static PyObject
*_wrap_TextAttr_Init(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7049 PyObject
*resultobj
;
7050 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7051 PyObject
* obj0
= 0 ;
7053 (char *) "self", NULL
7056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_Init",kwnames
,&obj0
)) goto fail
;
7057 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7063 wxPyEndAllowThreads(__tstate
);
7064 if (PyErr_Occurred()) SWIG_fail
;
7066 Py_INCREF(Py_None
); resultobj
= Py_None
;
7073 static PyObject
*_wrap_TextAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7074 PyObject
*resultobj
;
7075 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7076 wxColour
*arg2
= 0 ;
7078 PyObject
* obj0
= 0 ;
7079 PyObject
* obj1
= 0 ;
7081 (char *) "self",(char *) "colText", NULL
7084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
7085 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7089 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
7092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7093 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
7095 wxPyEndAllowThreads(__tstate
);
7096 if (PyErr_Occurred()) SWIG_fail
;
7098 Py_INCREF(Py_None
); resultobj
= Py_None
;
7105 static PyObject
*_wrap_TextAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7106 PyObject
*resultobj
;
7107 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7108 wxColour
*arg2
= 0 ;
7110 PyObject
* obj0
= 0 ;
7111 PyObject
* obj1
= 0 ;
7113 (char *) "self",(char *) "colBack", NULL
7116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
7117 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7121 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
7124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7125 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
7127 wxPyEndAllowThreads(__tstate
);
7128 if (PyErr_Occurred()) SWIG_fail
;
7130 Py_INCREF(Py_None
); resultobj
= Py_None
;
7137 static PyObject
*_wrap_TextAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7138 PyObject
*resultobj
;
7139 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7141 long arg3
= (long) wxTEXT_ATTR_FONT
;
7142 PyObject
* obj0
= 0 ;
7143 PyObject
* obj1
= 0 ;
7144 PyObject
* obj2
= 0 ;
7146 (char *) "self",(char *) "font",(char *) "flags", NULL
7149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7150 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7152 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
7153 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7156 PyErr_SetString(PyExc_TypeError
,"null reference");
7160 arg3
= (long) SWIG_AsLong(obj2
);
7161 if (PyErr_Occurred()) SWIG_fail
;
7164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7165 (arg1
)->SetFont((wxFont
const &)*arg2
,arg3
);
7167 wxPyEndAllowThreads(__tstate
);
7168 if (PyErr_Occurred()) SWIG_fail
;
7170 Py_INCREF(Py_None
); resultobj
= Py_None
;
7177 static PyObject
*_wrap_TextAttr_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7178 PyObject
*resultobj
;
7179 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7181 PyObject
* obj0
= 0 ;
7182 PyObject
* obj1
= 0 ;
7184 (char *) "self",(char *) "alignment", NULL
7187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
7188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7190 arg2
= (wxTextAttrAlignment
) SWIG_AsInt(obj1
);
7191 if (PyErr_Occurred()) SWIG_fail
;
7193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7194 (arg1
)->SetAlignment((wxTextAttrAlignment
)arg2
);
7196 wxPyEndAllowThreads(__tstate
);
7197 if (PyErr_Occurred()) SWIG_fail
;
7199 Py_INCREF(Py_None
); resultobj
= Py_None
;
7206 static PyObject
*_wrap_TextAttr_SetTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7207 PyObject
*resultobj
;
7208 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7209 wxArrayInt
*arg2
= 0 ;
7210 bool temp2
= False
;
7211 PyObject
* obj0
= 0 ;
7212 PyObject
* obj1
= 0 ;
7214 (char *) "self",(char *) "tabs", NULL
7217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) goto fail
;
7218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7221 if (! PySequence_Check(obj1
)) {
7222 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
7225 arg2
= new wxArrayInt
;
7227 int i
, len
=PySequence_Length(obj1
);
7228 for (i
=0; i
<len
; i
++) {
7229 PyObject
* item
= PySequence_GetItem(obj1
, i
);
7230 PyObject
* number
= PyNumber_Int(item
);
7231 arg2
->Add(PyInt_AS_LONG(number
));
7237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7238 (arg1
)->SetTabs((wxArrayInt
const &)*arg2
);
7240 wxPyEndAllowThreads(__tstate
);
7241 if (PyErr_Occurred()) SWIG_fail
;
7243 Py_INCREF(Py_None
); resultobj
= Py_None
;
7245 if (temp2
) delete arg2
;
7250 if (temp2
) delete arg2
;
7256 static PyObject
*_wrap_TextAttr_SetLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7257 PyObject
*resultobj
;
7258 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7260 PyObject
* obj0
= 0 ;
7261 PyObject
* obj1
= 0 ;
7263 (char *) "self",(char *) "indent", NULL
7266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetLeftIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
7267 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7269 arg2
= (int) SWIG_AsInt(obj1
);
7270 if (PyErr_Occurred()) SWIG_fail
;
7272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7273 (arg1
)->SetLeftIndent(arg2
);
7275 wxPyEndAllowThreads(__tstate
);
7276 if (PyErr_Occurred()) SWIG_fail
;
7278 Py_INCREF(Py_None
); resultobj
= Py_None
;
7285 static PyObject
*_wrap_TextAttr_SetRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7286 PyObject
*resultobj
;
7287 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7289 PyObject
* obj0
= 0 ;
7290 PyObject
* obj1
= 0 ;
7292 (char *) "self",(char *) "indent", NULL
7295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetRightIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
7296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7298 arg2
= (int) SWIG_AsInt(obj1
);
7299 if (PyErr_Occurred()) SWIG_fail
;
7301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7302 (arg1
)->SetRightIndent(arg2
);
7304 wxPyEndAllowThreads(__tstate
);
7305 if (PyErr_Occurred()) SWIG_fail
;
7307 Py_INCREF(Py_None
); resultobj
= Py_None
;
7314 static PyObject
*_wrap_TextAttr_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7315 PyObject
*resultobj
;
7316 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7318 PyObject
* obj0
= 0 ;
7319 PyObject
* obj1
= 0 ;
7321 (char *) "self",(char *) "flags", NULL
7324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
7325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7327 arg2
= (long) SWIG_AsLong(obj1
);
7328 if (PyErr_Occurred()) SWIG_fail
;
7330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7331 (arg1
)->SetFlags(arg2
);
7333 wxPyEndAllowThreads(__tstate
);
7334 if (PyErr_Occurred()) SWIG_fail
;
7336 Py_INCREF(Py_None
); resultobj
= Py_None
;
7343 static PyObject
*_wrap_TextAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7344 PyObject
*resultobj
;
7345 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7347 PyObject
* obj0
= 0 ;
7349 (char *) "self", NULL
7352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
7353 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7357 result
= (bool)((wxTextAttr
const *)arg1
)->HasTextColour();
7359 wxPyEndAllowThreads(__tstate
);
7360 if (PyErr_Occurred()) SWIG_fail
;
7363 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7371 static PyObject
*_wrap_TextAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7372 PyObject
*resultobj
;
7373 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7375 PyObject
* obj0
= 0 ;
7377 (char *) "self", NULL
7380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
7381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7385 result
= (bool)((wxTextAttr
const *)arg1
)->HasBackgroundColour();
7387 wxPyEndAllowThreads(__tstate
);
7388 if (PyErr_Occurred()) SWIG_fail
;
7391 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7399 static PyObject
*_wrap_TextAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7400 PyObject
*resultobj
;
7401 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7403 PyObject
* obj0
= 0 ;
7405 (char *) "self", NULL
7408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasFont",kwnames
,&obj0
)) goto fail
;
7409 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7413 result
= (bool)((wxTextAttr
const *)arg1
)->HasFont();
7415 wxPyEndAllowThreads(__tstate
);
7416 if (PyErr_Occurred()) SWIG_fail
;
7419 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7427 static PyObject
*_wrap_TextAttr_HasAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7428 PyObject
*resultobj
;
7429 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7431 PyObject
* obj0
= 0 ;
7433 (char *) "self", NULL
7436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasAlignment",kwnames
,&obj0
)) goto fail
;
7437 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7441 result
= (bool)((wxTextAttr
const *)arg1
)->HasAlignment();
7443 wxPyEndAllowThreads(__tstate
);
7444 if (PyErr_Occurred()) SWIG_fail
;
7447 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7455 static PyObject
*_wrap_TextAttr_HasTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7456 PyObject
*resultobj
;
7457 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7459 PyObject
* obj0
= 0 ;
7461 (char *) "self", NULL
7464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTabs",kwnames
,&obj0
)) goto fail
;
7465 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7469 result
= (bool)((wxTextAttr
const *)arg1
)->HasTabs();
7471 wxPyEndAllowThreads(__tstate
);
7472 if (PyErr_Occurred()) SWIG_fail
;
7475 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7483 static PyObject
*_wrap_TextAttr_HasLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7484 PyObject
*resultobj
;
7485 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7487 PyObject
* obj0
= 0 ;
7489 (char *) "self", NULL
7492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasLeftIndent",kwnames
,&obj0
)) goto fail
;
7493 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7497 result
= (bool)((wxTextAttr
const *)arg1
)->HasLeftIndent();
7499 wxPyEndAllowThreads(__tstate
);
7500 if (PyErr_Occurred()) SWIG_fail
;
7503 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7511 static PyObject
*_wrap_TextAttr_HasRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7512 PyObject
*resultobj
;
7513 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7515 PyObject
* obj0
= 0 ;
7517 (char *) "self", NULL
7520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasRightIndent",kwnames
,&obj0
)) goto fail
;
7521 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7525 result
= (bool)((wxTextAttr
const *)arg1
)->HasRightIndent();
7527 wxPyEndAllowThreads(__tstate
);
7528 if (PyErr_Occurred()) SWIG_fail
;
7531 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7539 static PyObject
*_wrap_TextAttr_HasFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7540 PyObject
*resultobj
;
7541 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7544 PyObject
* obj0
= 0 ;
7545 PyObject
* obj1
= 0 ;
7547 (char *) "self",(char *) "flag", NULL
7550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
7551 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7553 arg2
= (long) SWIG_AsLong(obj1
);
7554 if (PyErr_Occurred()) SWIG_fail
;
7556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7557 result
= (bool)((wxTextAttr
const *)arg1
)->HasFlag(arg2
);
7559 wxPyEndAllowThreads(__tstate
);
7560 if (PyErr_Occurred()) SWIG_fail
;
7563 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7571 static PyObject
*_wrap_TextAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7572 PyObject
*resultobj
;
7573 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7575 PyObject
* obj0
= 0 ;
7577 (char *) "self", NULL
7580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
7581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7586 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTextColour();
7587 result
= (wxColour
*) &_result_ref
;
7590 wxPyEndAllowThreads(__tstate
);
7591 if (PyErr_Occurred()) SWIG_fail
;
7593 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
7600 static PyObject
*_wrap_TextAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7601 PyObject
*resultobj
;
7602 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7604 PyObject
* obj0
= 0 ;
7606 (char *) "self", NULL
7609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
7610 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7615 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetBackgroundColour();
7616 result
= (wxColour
*) &_result_ref
;
7619 wxPyEndAllowThreads(__tstate
);
7620 if (PyErr_Occurred()) SWIG_fail
;
7622 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
7629 static PyObject
*_wrap_TextAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7630 PyObject
*resultobj
;
7631 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7633 PyObject
* obj0
= 0 ;
7635 (char *) "self", NULL
7638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFont",kwnames
,&obj0
)) goto fail
;
7639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7644 wxFont
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetFont();
7645 result
= (wxFont
*) &_result_ref
;
7648 wxPyEndAllowThreads(__tstate
);
7649 if (PyErr_Occurred()) SWIG_fail
;
7652 wxFont
* resultptr
= new wxFont(*result
);
7653 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
7661 static PyObject
*_wrap_TextAttr_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7662 PyObject
*resultobj
;
7663 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7665 PyObject
* obj0
= 0 ;
7667 (char *) "self", NULL
7670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetAlignment",kwnames
,&obj0
)) goto fail
;
7671 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7675 result
= (int)((wxTextAttr
const *)arg1
)->GetAlignment();
7677 wxPyEndAllowThreads(__tstate
);
7678 if (PyErr_Occurred()) SWIG_fail
;
7680 resultobj
= SWIG_FromInt((int)result
);
7687 static PyObject
*_wrap_TextAttr_GetTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7688 PyObject
*resultobj
;
7689 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7691 PyObject
* obj0
= 0 ;
7693 (char *) "self", NULL
7696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTabs",kwnames
,&obj0
)) goto fail
;
7697 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7702 wxArrayInt
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTabs();
7703 result
= (wxArrayInt
*) &_result_ref
;
7706 wxPyEndAllowThreads(__tstate
);
7707 if (PyErr_Occurred()) SWIG_fail
;
7710 resultobj
= PyList_New(0);
7712 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
7713 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
7714 PyList_Append(resultobj
, val
);
7724 static PyObject
*_wrap_TextAttr_GetLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7725 PyObject
*resultobj
;
7726 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7728 PyObject
* obj0
= 0 ;
7730 (char *) "self", NULL
7733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetLeftIndent",kwnames
,&obj0
)) goto fail
;
7734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7738 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftIndent();
7740 wxPyEndAllowThreads(__tstate
);
7741 if (PyErr_Occurred()) SWIG_fail
;
7743 resultobj
= SWIG_FromLong((long)result
);
7750 static PyObject
*_wrap_TextAttr_GetRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7751 PyObject
*resultobj
;
7752 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7754 PyObject
* obj0
= 0 ;
7756 (char *) "self", NULL
7759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetRightIndent",kwnames
,&obj0
)) goto fail
;
7760 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7764 result
= (long)((wxTextAttr
const *)arg1
)->GetRightIndent();
7766 wxPyEndAllowThreads(__tstate
);
7767 if (PyErr_Occurred()) SWIG_fail
;
7769 resultobj
= SWIG_FromLong((long)result
);
7776 static PyObject
*_wrap_TextAttr_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7777 PyObject
*resultobj
;
7778 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7780 PyObject
* obj0
= 0 ;
7782 (char *) "self", NULL
7785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFlags",kwnames
,&obj0
)) goto fail
;
7786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7790 result
= (long)((wxTextAttr
const *)arg1
)->GetFlags();
7792 wxPyEndAllowThreads(__tstate
);
7793 if (PyErr_Occurred()) SWIG_fail
;
7795 resultobj
= SWIG_FromLong((long)result
);
7802 static PyObject
*_wrap_TextAttr_IsDefault(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7803 PyObject
*resultobj
;
7804 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7806 PyObject
* obj0
= 0 ;
7808 (char *) "self", NULL
7811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_IsDefault",kwnames
,&obj0
)) goto fail
;
7812 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7813 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7816 result
= (bool)((wxTextAttr
const *)arg1
)->IsDefault();
7818 wxPyEndAllowThreads(__tstate
);
7819 if (PyErr_Occurred()) SWIG_fail
;
7822 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7830 static PyObject
*_wrap_TextAttr_Combine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7831 PyObject
*resultobj
;
7832 wxTextAttr
*arg1
= 0 ;
7833 wxTextAttr
*arg2
= 0 ;
7834 wxTextCtrl
*arg3
= (wxTextCtrl
*) 0 ;
7836 PyObject
* obj0
= 0 ;
7837 PyObject
* obj1
= 0 ;
7838 PyObject
* obj2
= 0 ;
7840 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
7843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextAttr_Combine",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7844 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7845 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7848 PyErr_SetString(PyExc_TypeError
,"null reference");
7851 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTextAttr
,
7852 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7855 PyErr_SetString(PyExc_TypeError
,"null reference");
7858 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTextCtrl
,
7859 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7862 result
= wxTextAttr::Combine((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
,(wxTextCtrl
const *)arg3
);
7864 wxPyEndAllowThreads(__tstate
);
7865 if (PyErr_Occurred()) SWIG_fail
;
7868 wxTextAttr
* resultptr
;
7869 resultptr
= new wxTextAttr((wxTextAttr
&) result
);
7870 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTextAttr
, 1);
7878 static PyObject
* TextAttr_swigregister(PyObject
*self
, PyObject
*args
) {
7880 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7881 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr
, obj
);
7883 return Py_BuildValue((char *)"");
7885 static PyObject
*_wrap_new_TextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7886 PyObject
*resultobj
;
7887 wxWindow
*arg1
= (wxWindow
*) 0 ;
7889 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7890 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7891 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7892 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7893 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7894 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7895 long arg6
= (long) 0 ;
7896 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
7897 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
7898 wxString
const &arg8_defvalue
= wxPyTextCtrlNameStr
;
7899 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7901 bool temp3
= False
;
7904 bool temp8
= False
;
7905 PyObject
* obj0
= 0 ;
7906 PyObject
* obj1
= 0 ;
7907 PyObject
* obj2
= 0 ;
7908 PyObject
* obj3
= 0 ;
7909 PyObject
* obj4
= 0 ;
7910 PyObject
* obj5
= 0 ;
7911 PyObject
* obj6
= 0 ;
7912 PyObject
* obj7
= 0 ;
7914 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
7917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:new_TextCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
7918 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
7919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7920 arg2
= (int) SWIG_AsInt(obj1
);
7921 if (PyErr_Occurred()) SWIG_fail
;
7924 arg3
= wxString_in_helper(obj2
);
7925 if (arg3
== NULL
) SWIG_fail
;
7932 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7938 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7942 arg6
= (long) SWIG_AsLong(obj5
);
7943 if (PyErr_Occurred()) SWIG_fail
;
7946 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
7947 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7950 PyErr_SetString(PyExc_TypeError
,"null reference");
7956 arg8
= wxString_in_helper(obj7
);
7957 if (arg8
== NULL
) SWIG_fail
;
7962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7963 result
= (wxTextCtrl
*)new wxTextCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
7965 wxPyEndAllowThreads(__tstate
);
7966 if (PyErr_Occurred()) SWIG_fail
;
7969 resultobj
= wxPyMake_wxObject(result
);
7993 static PyObject
*_wrap_new_PreTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7994 PyObject
*resultobj
;
8000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTextCtrl",kwnames
)) goto fail
;
8002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8003 result
= (wxTextCtrl
*)new wxTextCtrl();
8005 wxPyEndAllowThreads(__tstate
);
8006 if (PyErr_Occurred()) SWIG_fail
;
8009 resultobj
= wxPyMake_wxObject(result
);
8017 static PyObject
*_wrap_TextCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8018 PyObject
*resultobj
;
8019 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8020 wxWindow
*arg2
= (wxWindow
*) 0 ;
8022 wxString
const &arg4_defvalue
= wxPyEmptyString
;
8023 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8024 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8025 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8026 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8027 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8028 long arg7
= (long) 0 ;
8029 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
8030 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
8031 wxString
const &arg9_defvalue
= wxPyTextCtrlNameStr
;
8032 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
8034 bool temp4
= False
;
8037 bool temp9
= False
;
8038 PyObject
* obj0
= 0 ;
8039 PyObject
* obj1
= 0 ;
8040 PyObject
* obj2
= 0 ;
8041 PyObject
* obj3
= 0 ;
8042 PyObject
* obj4
= 0 ;
8043 PyObject
* obj5
= 0 ;
8044 PyObject
* obj6
= 0 ;
8045 PyObject
* obj7
= 0 ;
8046 PyObject
* obj8
= 0 ;
8048 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
8051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:TextCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
8052 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8054 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8056 arg3
= (int) SWIG_AsInt(obj2
);
8057 if (PyErr_Occurred()) SWIG_fail
;
8060 arg4
= wxString_in_helper(obj3
);
8061 if (arg4
== NULL
) SWIG_fail
;
8068 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8074 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8078 arg7
= (long) SWIG_AsLong(obj6
);
8079 if (PyErr_Occurred()) SWIG_fail
;
8082 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
8083 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8086 PyErr_SetString(PyExc_TypeError
,"null reference");
8092 arg9
= wxString_in_helper(obj8
);
8093 if (arg9
== NULL
) SWIG_fail
;
8098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8099 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
8101 wxPyEndAllowThreads(__tstate
);
8102 if (PyErr_Occurred()) SWIG_fail
;
8105 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8129 static PyObject
*_wrap_TextCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8130 PyObject
*resultobj
;
8131 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8133 PyObject
* obj0
= 0 ;
8135 (char *) "self", NULL
8138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
8139 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8143 result
= ((wxTextCtrl
const *)arg1
)->GetValue();
8145 wxPyEndAllowThreads(__tstate
);
8146 if (PyErr_Occurred()) SWIG_fail
;
8150 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8152 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8161 static PyObject
*_wrap_TextCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8162 PyObject
*resultobj
;
8163 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8164 wxString
*arg2
= 0 ;
8165 bool temp2
= False
;
8166 PyObject
* obj0
= 0 ;
8167 PyObject
* obj1
= 0 ;
8169 (char *) "self",(char *) "value", NULL
8172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
8173 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8174 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8176 arg2
= wxString_in_helper(obj1
);
8177 if (arg2
== NULL
) SWIG_fail
;
8181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8182 (arg1
)->SetValue((wxString
const &)*arg2
);
8184 wxPyEndAllowThreads(__tstate
);
8185 if (PyErr_Occurred()) SWIG_fail
;
8187 Py_INCREF(Py_None
); resultobj
= Py_None
;
8202 static PyObject
*_wrap_TextCtrl_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8203 PyObject
*resultobj
;
8204 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8208 PyObject
* obj0
= 0 ;
8209 PyObject
* obj1
= 0 ;
8210 PyObject
* obj2
= 0 ;
8212 (char *) "self",(char *) "from",(char *) "to", NULL
8215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8216 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8218 arg2
= (long) SWIG_AsLong(obj1
);
8219 if (PyErr_Occurred()) SWIG_fail
;
8220 arg3
= (long) SWIG_AsLong(obj2
);
8221 if (PyErr_Occurred()) SWIG_fail
;
8223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8224 result
= ((wxTextCtrl
const *)arg1
)->GetRange(arg2
,arg3
);
8226 wxPyEndAllowThreads(__tstate
);
8227 if (PyErr_Occurred()) SWIG_fail
;
8231 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8233 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8242 static PyObject
*_wrap_TextCtrl_GetLineLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8243 PyObject
*resultobj
;
8244 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8247 PyObject
* obj0
= 0 ;
8248 PyObject
* obj1
= 0 ;
8250 (char *) "self",(char *) "lineNo", NULL
8253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineLength",kwnames
,&obj0
,&obj1
)) goto fail
;
8254 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8256 arg2
= (long) SWIG_AsLong(obj1
);
8257 if (PyErr_Occurred()) SWIG_fail
;
8259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8260 result
= (int)((wxTextCtrl
const *)arg1
)->GetLineLength(arg2
);
8262 wxPyEndAllowThreads(__tstate
);
8263 if (PyErr_Occurred()) SWIG_fail
;
8265 resultobj
= SWIG_FromInt((int)result
);
8272 static PyObject
*_wrap_TextCtrl_GetLineText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8273 PyObject
*resultobj
;
8274 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8277 PyObject
* obj0
= 0 ;
8278 PyObject
* obj1
= 0 ;
8280 (char *) "self",(char *) "lineNo", NULL
8283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineText",kwnames
,&obj0
,&obj1
)) goto fail
;
8284 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8286 arg2
= (long) SWIG_AsLong(obj1
);
8287 if (PyErr_Occurred()) SWIG_fail
;
8289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8290 result
= ((wxTextCtrl
const *)arg1
)->GetLineText(arg2
);
8292 wxPyEndAllowThreads(__tstate
);
8293 if (PyErr_Occurred()) SWIG_fail
;
8297 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8299 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8308 static PyObject
*_wrap_TextCtrl_GetNumberOfLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8309 PyObject
*resultobj
;
8310 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8312 PyObject
* obj0
= 0 ;
8314 (char *) "self", NULL
8317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetNumberOfLines",kwnames
,&obj0
)) goto fail
;
8318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8322 result
= (int)((wxTextCtrl
const *)arg1
)->GetNumberOfLines();
8324 wxPyEndAllowThreads(__tstate
);
8325 if (PyErr_Occurred()) SWIG_fail
;
8327 resultobj
= SWIG_FromInt((int)result
);
8334 static PyObject
*_wrap_TextCtrl_IsModified(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8335 PyObject
*resultobj
;
8336 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8338 PyObject
* obj0
= 0 ;
8340 (char *) "self", NULL
8343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsModified",kwnames
,&obj0
)) goto fail
;
8344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8348 result
= (bool)((wxTextCtrl
const *)arg1
)->IsModified();
8350 wxPyEndAllowThreads(__tstate
);
8351 if (PyErr_Occurred()) SWIG_fail
;
8354 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8362 static PyObject
*_wrap_TextCtrl_IsEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8363 PyObject
*resultobj
;
8364 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8366 PyObject
* obj0
= 0 ;
8368 (char *) "self", NULL
8371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsEditable",kwnames
,&obj0
)) goto fail
;
8372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8376 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEditable();
8378 wxPyEndAllowThreads(__tstate
);
8379 if (PyErr_Occurred()) SWIG_fail
;
8382 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8390 static PyObject
*_wrap_TextCtrl_IsSingleLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8391 PyObject
*resultobj
;
8392 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8394 PyObject
* obj0
= 0 ;
8396 (char *) "self", NULL
8399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsSingleLine",kwnames
,&obj0
)) goto fail
;
8400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8404 result
= (bool)((wxTextCtrl
const *)arg1
)->IsSingleLine();
8406 wxPyEndAllowThreads(__tstate
);
8407 if (PyErr_Occurred()) SWIG_fail
;
8410 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8418 static PyObject
*_wrap_TextCtrl_IsMultiLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8419 PyObject
*resultobj
;
8420 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8422 PyObject
* obj0
= 0 ;
8424 (char *) "self", NULL
8427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsMultiLine",kwnames
,&obj0
)) goto fail
;
8428 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8432 result
= (bool)((wxTextCtrl
const *)arg1
)->IsMultiLine();
8434 wxPyEndAllowThreads(__tstate
);
8435 if (PyErr_Occurred()) SWIG_fail
;
8438 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8446 static PyObject
*_wrap_TextCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8447 PyObject
*resultobj
;
8448 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8449 long *arg2
= (long *) 0 ;
8450 long *arg3
= (long *) 0 ;
8453 PyObject
* obj0
= 0 ;
8455 (char *) "self", NULL
8460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
8461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8465 ((wxTextCtrl
const *)arg1
)->GetSelection(arg2
,arg3
);
8467 wxPyEndAllowThreads(__tstate
);
8468 if (PyErr_Occurred()) SWIG_fail
;
8470 Py_INCREF(Py_None
); resultobj
= Py_None
;
8472 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
8473 resultobj
= t_output_helper(resultobj
,o
);
8476 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
8477 resultobj
= t_output_helper(resultobj
,o
);
8485 static PyObject
*_wrap_TextCtrl_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8486 PyObject
*resultobj
;
8487 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8489 PyObject
* obj0
= 0 ;
8491 (char *) "self", NULL
8494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetStringSelection",kwnames
,&obj0
)) goto fail
;
8495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8499 result
= ((wxTextCtrl
const *)arg1
)->GetStringSelection();
8501 wxPyEndAllowThreads(__tstate
);
8502 if (PyErr_Occurred()) SWIG_fail
;
8506 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8508 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8517 static PyObject
*_wrap_TextCtrl_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8518 PyObject
*resultobj
;
8519 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8520 PyObject
* obj0
= 0 ;
8522 (char *) "self", NULL
8525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Clear",kwnames
,&obj0
)) goto fail
;
8526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8532 wxPyEndAllowThreads(__tstate
);
8533 if (PyErr_Occurred()) SWIG_fail
;
8535 Py_INCREF(Py_None
); resultobj
= Py_None
;
8542 static PyObject
*_wrap_TextCtrl_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8543 PyObject
*resultobj
;
8544 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8547 wxString
*arg4
= 0 ;
8548 bool temp4
= False
;
8549 PyObject
* obj0
= 0 ;
8550 PyObject
* obj1
= 0 ;
8551 PyObject
* obj2
= 0 ;
8552 PyObject
* obj3
= 0 ;
8554 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
8557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8560 arg2
= (long) SWIG_AsLong(obj1
);
8561 if (PyErr_Occurred()) SWIG_fail
;
8562 arg3
= (long) SWIG_AsLong(obj2
);
8563 if (PyErr_Occurred()) SWIG_fail
;
8565 arg4
= wxString_in_helper(obj3
);
8566 if (arg4
== NULL
) SWIG_fail
;
8570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8571 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
8573 wxPyEndAllowThreads(__tstate
);
8574 if (PyErr_Occurred()) SWIG_fail
;
8576 Py_INCREF(Py_None
); resultobj
= Py_None
;
8591 static PyObject
*_wrap_TextCtrl_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8592 PyObject
*resultobj
;
8593 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8596 PyObject
* obj0
= 0 ;
8597 PyObject
* obj1
= 0 ;
8598 PyObject
* obj2
= 0 ;
8600 (char *) "self",(char *) "from",(char *) "to", NULL
8603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8606 arg2
= (long) SWIG_AsLong(obj1
);
8607 if (PyErr_Occurred()) SWIG_fail
;
8608 arg3
= (long) SWIG_AsLong(obj2
);
8609 if (PyErr_Occurred()) SWIG_fail
;
8611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8612 (arg1
)->Remove(arg2
,arg3
);
8614 wxPyEndAllowThreads(__tstate
);
8615 if (PyErr_Occurred()) SWIG_fail
;
8617 Py_INCREF(Py_None
); resultobj
= Py_None
;
8624 static PyObject
*_wrap_TextCtrl_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8625 PyObject
*resultobj
;
8626 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8627 wxString
*arg2
= 0 ;
8629 bool temp2
= False
;
8630 PyObject
* obj0
= 0 ;
8631 PyObject
* obj1
= 0 ;
8633 (char *) "self",(char *) "file", NULL
8636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_LoadFile",kwnames
,&obj0
,&obj1
)) goto fail
;
8637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8640 arg2
= wxString_in_helper(obj1
);
8641 if (arg2
== NULL
) SWIG_fail
;
8645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8646 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
);
8648 wxPyEndAllowThreads(__tstate
);
8649 if (PyErr_Occurred()) SWIG_fail
;
8652 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8668 static PyObject
*_wrap_TextCtrl_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8669 PyObject
*resultobj
;
8670 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8671 wxString
const &arg2_defvalue
= wxPyEmptyString
;
8672 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
8674 bool temp2
= False
;
8675 PyObject
* obj0
= 0 ;
8676 PyObject
* obj1
= 0 ;
8678 (char *) "self",(char *) "file", NULL
8681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_SaveFile",kwnames
,&obj0
,&obj1
)) goto fail
;
8682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8686 arg2
= wxString_in_helper(obj1
);
8687 if (arg2
== NULL
) SWIG_fail
;
8692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8693 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
);
8695 wxPyEndAllowThreads(__tstate
);
8696 if (PyErr_Occurred()) SWIG_fail
;
8699 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8715 static PyObject
*_wrap_TextCtrl_MarkDirty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8716 PyObject
*resultobj
;
8717 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8718 PyObject
* obj0
= 0 ;
8720 (char *) "self", NULL
8723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_MarkDirty",kwnames
,&obj0
)) goto fail
;
8724 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8728 (arg1
)->MarkDirty();
8730 wxPyEndAllowThreads(__tstate
);
8731 if (PyErr_Occurred()) SWIG_fail
;
8733 Py_INCREF(Py_None
); resultobj
= Py_None
;
8740 static PyObject
*_wrap_TextCtrl_DiscardEdits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8741 PyObject
*resultobj
;
8742 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8743 PyObject
* obj0
= 0 ;
8745 (char *) "self", NULL
8748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_DiscardEdits",kwnames
,&obj0
)) goto fail
;
8749 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8750 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8753 (arg1
)->DiscardEdits();
8755 wxPyEndAllowThreads(__tstate
);
8756 if (PyErr_Occurred()) SWIG_fail
;
8758 Py_INCREF(Py_None
); resultobj
= Py_None
;
8765 static PyObject
*_wrap_TextCtrl_SetMaxLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8766 PyObject
*resultobj
;
8767 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8768 unsigned long arg2
;
8769 PyObject
* obj0
= 0 ;
8770 PyObject
* obj1
= 0 ;
8772 (char *) "self",(char *) "len", NULL
8775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) goto fail
;
8776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8778 arg2
= (unsigned long) SWIG_AsUnsignedLong(obj1
);
8779 if (PyErr_Occurred()) SWIG_fail
;
8781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8782 (arg1
)->SetMaxLength(arg2
);
8784 wxPyEndAllowThreads(__tstate
);
8785 if (PyErr_Occurred()) SWIG_fail
;
8787 Py_INCREF(Py_None
); resultobj
= Py_None
;
8794 static PyObject
*_wrap_TextCtrl_WriteText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8795 PyObject
*resultobj
;
8796 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8797 wxString
*arg2
= 0 ;
8798 bool temp2
= False
;
8799 PyObject
* obj0
= 0 ;
8800 PyObject
* obj1
= 0 ;
8802 (char *) "self",(char *) "text", NULL
8805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) goto fail
;
8806 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8807 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8809 arg2
= wxString_in_helper(obj1
);
8810 if (arg2
== NULL
) SWIG_fail
;
8814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8815 (arg1
)->WriteText((wxString
const &)*arg2
);
8817 wxPyEndAllowThreads(__tstate
);
8818 if (PyErr_Occurred()) SWIG_fail
;
8820 Py_INCREF(Py_None
); resultobj
= Py_None
;
8835 static PyObject
*_wrap_TextCtrl_AppendText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8836 PyObject
*resultobj
;
8837 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8838 wxString
*arg2
= 0 ;
8839 bool temp2
= False
;
8840 PyObject
* obj0
= 0 ;
8841 PyObject
* obj1
= 0 ;
8843 (char *) "self",(char *) "text", NULL
8846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) goto fail
;
8847 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8850 arg2
= wxString_in_helper(obj1
);
8851 if (arg2
== NULL
) SWIG_fail
;
8855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8856 (arg1
)->AppendText((wxString
const &)*arg2
);
8858 wxPyEndAllowThreads(__tstate
);
8859 if (PyErr_Occurred()) SWIG_fail
;
8861 Py_INCREF(Py_None
); resultobj
= Py_None
;
8876 static PyObject
*_wrap_TextCtrl_EmulateKeyPress(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8877 PyObject
*resultobj
;
8878 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8879 wxKeyEvent
*arg2
= 0 ;
8881 PyObject
* obj0
= 0 ;
8882 PyObject
* obj1
= 0 ;
8884 (char *) "self",(char *) "event", NULL
8887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames
,&obj0
,&obj1
)) goto fail
;
8888 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8890 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxKeyEvent
,
8891 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8894 PyErr_SetString(PyExc_TypeError
,"null reference");
8898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8899 result
= (bool)(arg1
)->EmulateKeyPress((wxKeyEvent
const &)*arg2
);
8901 wxPyEndAllowThreads(__tstate
);
8902 if (PyErr_Occurred()) SWIG_fail
;
8905 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8913 static PyObject
*_wrap_TextCtrl_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8914 PyObject
*resultobj
;
8915 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8918 wxTextAttr
*arg4
= 0 ;
8920 PyObject
* obj0
= 0 ;
8921 PyObject
* obj1
= 0 ;
8922 PyObject
* obj2
= 0 ;
8923 PyObject
* obj3
= 0 ;
8925 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
8928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_SetStyle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8929 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8930 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8931 arg2
= (long) SWIG_AsLong(obj1
);
8932 if (PyErr_Occurred()) SWIG_fail
;
8933 arg3
= (long) SWIG_AsLong(obj2
);
8934 if (PyErr_Occurred()) SWIG_fail
;
8935 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxTextAttr
,
8936 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8939 PyErr_SetString(PyExc_TypeError
,"null reference");
8943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8944 result
= (bool)(arg1
)->SetStyle(arg2
,arg3
,(wxTextAttr
const &)*arg4
);
8946 wxPyEndAllowThreads(__tstate
);
8947 if (PyErr_Occurred()) SWIG_fail
;
8950 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8958 static PyObject
*_wrap_TextCtrl_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8959 PyObject
*resultobj
;
8960 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8962 wxTextAttr
*arg3
= 0 ;
8964 PyObject
* obj0
= 0 ;
8965 PyObject
* obj1
= 0 ;
8966 PyObject
* obj2
= 0 ;
8968 (char *) "self",(char *) "position",(char *) "style", NULL
8971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8972 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8974 arg2
= (long) SWIG_AsLong(obj1
);
8975 if (PyErr_Occurred()) SWIG_fail
;
8976 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTextAttr
,
8977 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8980 PyErr_SetString(PyExc_TypeError
,"null reference");
8984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8985 result
= (bool)(arg1
)->GetStyle(arg2
,*arg3
);
8987 wxPyEndAllowThreads(__tstate
);
8988 if (PyErr_Occurred()) SWIG_fail
;
8991 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8999 static PyObject
*_wrap_TextCtrl_SetDefaultStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9000 PyObject
*resultobj
;
9001 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9002 wxTextAttr
*arg2
= 0 ;
9004 PyObject
* obj0
= 0 ;
9005 PyObject
* obj1
= 0 ;
9007 (char *) "self",(char *) "style", NULL
9010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
9011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9013 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTextAttr
,
9014 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9017 PyErr_SetString(PyExc_TypeError
,"null reference");
9021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9022 result
= (bool)(arg1
)->SetDefaultStyle((wxTextAttr
const &)*arg2
);
9024 wxPyEndAllowThreads(__tstate
);
9025 if (PyErr_Occurred()) SWIG_fail
;
9028 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9036 static PyObject
*_wrap_TextCtrl_GetDefaultStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9037 PyObject
*resultobj
;
9038 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9040 PyObject
* obj0
= 0 ;
9042 (char *) "self", NULL
9045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetDefaultStyle",kwnames
,&obj0
)) goto fail
;
9046 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9047 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9051 wxTextAttr
const &_result_ref
= ((wxTextCtrl
const *)arg1
)->GetDefaultStyle();
9052 result
= (wxTextAttr
*) &_result_ref
;
9055 wxPyEndAllowThreads(__tstate
);
9056 if (PyErr_Occurred()) SWIG_fail
;
9058 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 0);
9065 static PyObject
*_wrap_TextCtrl_XYToPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9066 PyObject
*resultobj
;
9067 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9071 PyObject
* obj0
= 0 ;
9072 PyObject
* obj1
= 0 ;
9073 PyObject
* obj2
= 0 ;
9075 (char *) "self",(char *) "x",(char *) "y", NULL
9078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_XYToPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9081 arg2
= (long) SWIG_AsLong(obj1
);
9082 if (PyErr_Occurred()) SWIG_fail
;
9083 arg3
= (long) SWIG_AsLong(obj2
);
9084 if (PyErr_Occurred()) SWIG_fail
;
9086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9087 result
= (long)((wxTextCtrl
const *)arg1
)->XYToPosition(arg2
,arg3
);
9089 wxPyEndAllowThreads(__tstate
);
9090 if (PyErr_Occurred()) SWIG_fail
;
9092 resultobj
= SWIG_FromLong((long)result
);
9099 static PyObject
*_wrap_TextCtrl_PositionToXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9100 PyObject
*resultobj
;
9101 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9103 long *arg3
= (long *) 0 ;
9104 long *arg4
= (long *) 0 ;
9107 PyObject
* obj0
= 0 ;
9108 PyObject
* obj1
= 0 ;
9110 (char *) "self",(char *) "pos", NULL
9115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_PositionToXY",kwnames
,&obj0
,&obj1
)) goto fail
;
9116 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9118 arg2
= (long) SWIG_AsLong(obj1
);
9119 if (PyErr_Occurred()) SWIG_fail
;
9121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9122 ((wxTextCtrl
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
);
9124 wxPyEndAllowThreads(__tstate
);
9125 if (PyErr_Occurred()) SWIG_fail
;
9127 Py_INCREF(Py_None
); resultobj
= Py_None
;
9129 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
9130 resultobj
= t_output_helper(resultobj
,o
);
9133 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
9134 resultobj
= t_output_helper(resultobj
,o
);
9142 static PyObject
*_wrap_TextCtrl_ShowPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9143 PyObject
*resultobj
;
9144 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9146 PyObject
* obj0
= 0 ;
9147 PyObject
* obj1
= 0 ;
9149 (char *) "self",(char *) "pos", NULL
9152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ShowPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
9153 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9155 arg2
= (long) SWIG_AsLong(obj1
);
9156 if (PyErr_Occurred()) SWIG_fail
;
9158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9159 (arg1
)->ShowPosition(arg2
);
9161 wxPyEndAllowThreads(__tstate
);
9162 if (PyErr_Occurred()) SWIG_fail
;
9164 Py_INCREF(Py_None
); resultobj
= Py_None
;
9171 static PyObject
*_wrap_TextCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9172 PyObject
*resultobj
;
9173 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9175 long *arg3
= (long *) 0 ;
9176 long *arg4
= (long *) 0 ;
9181 PyObject
* obj0
= 0 ;
9182 PyObject
* obj1
= 0 ;
9184 (char *) "self",(char *) "pt", NULL
9189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
9190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9194 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9198 result
= (int)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
,arg4
);
9200 wxPyEndAllowThreads(__tstate
);
9201 if (PyErr_Occurred()) SWIG_fail
;
9203 resultobj
= SWIG_FromInt((int)result
);
9205 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
9206 resultobj
= t_output_helper(resultobj
,o
);
9209 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
9210 resultobj
= t_output_helper(resultobj
,o
);
9218 static PyObject
*_wrap_TextCtrl_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9219 PyObject
*resultobj
;
9220 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9221 PyObject
* obj0
= 0 ;
9223 (char *) "self", NULL
9226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Copy",kwnames
,&obj0
)) goto fail
;
9227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9233 wxPyEndAllowThreads(__tstate
);
9234 if (PyErr_Occurred()) SWIG_fail
;
9236 Py_INCREF(Py_None
); resultobj
= Py_None
;
9243 static PyObject
*_wrap_TextCtrl_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9244 PyObject
*resultobj
;
9245 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9246 PyObject
* obj0
= 0 ;
9248 (char *) "self", NULL
9251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Cut",kwnames
,&obj0
)) goto fail
;
9252 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9258 wxPyEndAllowThreads(__tstate
);
9259 if (PyErr_Occurred()) SWIG_fail
;
9261 Py_INCREF(Py_None
); resultobj
= Py_None
;
9268 static PyObject
*_wrap_TextCtrl_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9269 PyObject
*resultobj
;
9270 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9271 PyObject
* obj0
= 0 ;
9273 (char *) "self", NULL
9276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Paste",kwnames
,&obj0
)) goto fail
;
9277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9283 wxPyEndAllowThreads(__tstate
);
9284 if (PyErr_Occurred()) SWIG_fail
;
9286 Py_INCREF(Py_None
); resultobj
= Py_None
;
9293 static PyObject
*_wrap_TextCtrl_CanCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9294 PyObject
*resultobj
;
9295 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9297 PyObject
* obj0
= 0 ;
9299 (char *) "self", NULL
9302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCopy",kwnames
,&obj0
)) goto fail
;
9303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9307 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCopy();
9309 wxPyEndAllowThreads(__tstate
);
9310 if (PyErr_Occurred()) SWIG_fail
;
9313 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9321 static PyObject
*_wrap_TextCtrl_CanCut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9322 PyObject
*resultobj
;
9323 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9325 PyObject
* obj0
= 0 ;
9327 (char *) "self", NULL
9330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCut",kwnames
,&obj0
)) goto fail
;
9331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9335 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCut();
9337 wxPyEndAllowThreads(__tstate
);
9338 if (PyErr_Occurred()) SWIG_fail
;
9341 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9349 static PyObject
*_wrap_TextCtrl_CanPaste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9350 PyObject
*resultobj
;
9351 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9353 PyObject
* obj0
= 0 ;
9355 (char *) "self", NULL
9358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanPaste",kwnames
,&obj0
)) goto fail
;
9359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9363 result
= (bool)((wxTextCtrl
const *)arg1
)->CanPaste();
9365 wxPyEndAllowThreads(__tstate
);
9366 if (PyErr_Occurred()) SWIG_fail
;
9369 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9377 static PyObject
*_wrap_TextCtrl_Undo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9378 PyObject
*resultobj
;
9379 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9380 PyObject
* obj0
= 0 ;
9382 (char *) "self", NULL
9385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Undo",kwnames
,&obj0
)) goto fail
;
9386 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9387 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9392 wxPyEndAllowThreads(__tstate
);
9393 if (PyErr_Occurred()) SWIG_fail
;
9395 Py_INCREF(Py_None
); resultobj
= Py_None
;
9402 static PyObject
*_wrap_TextCtrl_Redo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9403 PyObject
*resultobj
;
9404 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9405 PyObject
* obj0
= 0 ;
9407 (char *) "self", NULL
9410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Redo",kwnames
,&obj0
)) goto fail
;
9411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9417 wxPyEndAllowThreads(__tstate
);
9418 if (PyErr_Occurred()) SWIG_fail
;
9420 Py_INCREF(Py_None
); resultobj
= Py_None
;
9427 static PyObject
*_wrap_TextCtrl_CanUndo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9428 PyObject
*resultobj
;
9429 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9431 PyObject
* obj0
= 0 ;
9433 (char *) "self", NULL
9436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanUndo",kwnames
,&obj0
)) goto fail
;
9437 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9441 result
= (bool)((wxTextCtrl
const *)arg1
)->CanUndo();
9443 wxPyEndAllowThreads(__tstate
);
9444 if (PyErr_Occurred()) SWIG_fail
;
9447 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9455 static PyObject
*_wrap_TextCtrl_CanRedo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9456 PyObject
*resultobj
;
9457 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9459 PyObject
* obj0
= 0 ;
9461 (char *) "self", NULL
9464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanRedo",kwnames
,&obj0
)) goto fail
;
9465 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9469 result
= (bool)((wxTextCtrl
const *)arg1
)->CanRedo();
9471 wxPyEndAllowThreads(__tstate
);
9472 if (PyErr_Occurred()) SWIG_fail
;
9475 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9483 static PyObject
*_wrap_TextCtrl_SetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9484 PyObject
*resultobj
;
9485 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9487 PyObject
* obj0
= 0 ;
9488 PyObject
* obj1
= 0 ;
9490 (char *) "self",(char *) "pos", NULL
9493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
9494 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9496 arg2
= (long) SWIG_AsLong(obj1
);
9497 if (PyErr_Occurred()) SWIG_fail
;
9499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9500 (arg1
)->SetInsertionPoint(arg2
);
9502 wxPyEndAllowThreads(__tstate
);
9503 if (PyErr_Occurred()) SWIG_fail
;
9505 Py_INCREF(Py_None
); resultobj
= Py_None
;
9512 static PyObject
*_wrap_TextCtrl_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9513 PyObject
*resultobj
;
9514 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9515 PyObject
* obj0
= 0 ;
9517 (char *) "self", NULL
9520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
9521 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9525 (arg1
)->SetInsertionPointEnd();
9527 wxPyEndAllowThreads(__tstate
);
9528 if (PyErr_Occurred()) SWIG_fail
;
9530 Py_INCREF(Py_None
); resultobj
= Py_None
;
9537 static PyObject
*_wrap_TextCtrl_GetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9538 PyObject
*resultobj
;
9539 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9541 PyObject
* obj0
= 0 ;
9543 (char *) "self", NULL
9546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
9547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9551 result
= (long)((wxTextCtrl
const *)arg1
)->GetInsertionPoint();
9553 wxPyEndAllowThreads(__tstate
);
9554 if (PyErr_Occurred()) SWIG_fail
;
9556 resultobj
= SWIG_FromLong((long)result
);
9563 static PyObject
*_wrap_TextCtrl_GetLastPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9564 PyObject
*resultobj
;
9565 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9567 PyObject
* obj0
= 0 ;
9569 (char *) "self", NULL
9572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetLastPosition",kwnames
,&obj0
)) goto fail
;
9573 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9577 result
= (long)((wxTextCtrl
const *)arg1
)->GetLastPosition();
9579 wxPyEndAllowThreads(__tstate
);
9580 if (PyErr_Occurred()) SWIG_fail
;
9582 resultobj
= SWIG_FromLong((long)result
);
9589 static PyObject
*_wrap_TextCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9590 PyObject
*resultobj
;
9591 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9594 PyObject
* obj0
= 0 ;
9595 PyObject
* obj1
= 0 ;
9596 PyObject
* obj2
= 0 ;
9598 (char *) "self",(char *) "from",(char *) "to", NULL
9601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9602 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9604 arg2
= (long) SWIG_AsLong(obj1
);
9605 if (PyErr_Occurred()) SWIG_fail
;
9606 arg3
= (long) SWIG_AsLong(obj2
);
9607 if (PyErr_Occurred()) SWIG_fail
;
9609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9610 (arg1
)->SetSelection(arg2
,arg3
);
9612 wxPyEndAllowThreads(__tstate
);
9613 if (PyErr_Occurred()) SWIG_fail
;
9615 Py_INCREF(Py_None
); resultobj
= Py_None
;
9622 static PyObject
*_wrap_TextCtrl_SelectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9623 PyObject
*resultobj
;
9624 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9625 PyObject
* obj0
= 0 ;
9627 (char *) "self", NULL
9630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SelectAll",kwnames
,&obj0
)) goto fail
;
9631 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9632 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9635 (arg1
)->SelectAll();
9637 wxPyEndAllowThreads(__tstate
);
9638 if (PyErr_Occurred()) SWIG_fail
;
9640 Py_INCREF(Py_None
); resultobj
= Py_None
;
9647 static PyObject
*_wrap_TextCtrl_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9648 PyObject
*resultobj
;
9649 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9651 PyObject
* obj0
= 0 ;
9652 PyObject
* obj1
= 0 ;
9654 (char *) "self",(char *) "editable", NULL
9657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
9658 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9660 arg2
= (bool) SWIG_AsBool(obj1
);
9661 if (PyErr_Occurred()) SWIG_fail
;
9663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9664 (arg1
)->SetEditable(arg2
);
9666 wxPyEndAllowThreads(__tstate
);
9667 if (PyErr_Occurred()) SWIG_fail
;
9669 Py_INCREF(Py_None
); resultobj
= Py_None
;
9676 static PyObject
*_wrap_TextCtrl_ShowNativeCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9677 PyObject
*resultobj
;
9678 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9679 bool arg2
= (bool) True
;
9681 PyObject
* obj0
= 0 ;
9682 PyObject
* obj1
= 0 ;
9684 (char *) "self",(char *) "show", NULL
9687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_ShowNativeCaret",kwnames
,&obj0
,&obj1
)) goto fail
;
9688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9691 arg2
= (bool) SWIG_AsBool(obj1
);
9692 if (PyErr_Occurred()) SWIG_fail
;
9695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9696 result
= (bool)(arg1
)->ShowNativeCaret(arg2
);
9698 wxPyEndAllowThreads(__tstate
);
9699 if (PyErr_Occurred()) SWIG_fail
;
9702 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9710 static PyObject
*_wrap_TextCtrl_HideNativeCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9711 PyObject
*resultobj
;
9712 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9714 PyObject
* obj0
= 0 ;
9716 (char *) "self", NULL
9719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_HideNativeCaret",kwnames
,&obj0
)) goto fail
;
9720 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9724 result
= (bool)(arg1
)->HideNativeCaret();
9726 wxPyEndAllowThreads(__tstate
);
9727 if (PyErr_Occurred()) SWIG_fail
;
9730 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9738 static PyObject
*_wrap_TextCtrl_write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9739 PyObject
*resultobj
;
9740 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9741 wxString
*arg2
= 0 ;
9742 bool temp2
= False
;
9743 PyObject
* obj0
= 0 ;
9744 PyObject
* obj1
= 0 ;
9746 (char *) "self",(char *) "text", NULL
9749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_write",kwnames
,&obj0
,&obj1
)) goto fail
;
9750 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9753 arg2
= wxString_in_helper(obj1
);
9754 if (arg2
== NULL
) SWIG_fail
;
9758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9759 wxTextCtrl_write(arg1
,(wxString
const &)*arg2
);
9761 wxPyEndAllowThreads(__tstate
);
9762 if (PyErr_Occurred()) SWIG_fail
;
9764 Py_INCREF(Py_None
); resultobj
= Py_None
;
9779 static PyObject
*_wrap_TextCtrl_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9780 PyObject
*resultobj
;
9781 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9785 PyObject
* obj0
= 0 ;
9786 PyObject
* obj1
= 0 ;
9787 PyObject
* obj2
= 0 ;
9789 (char *) "self",(char *) "from",(char *) "to", NULL
9792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9793 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9795 arg2
= (long) SWIG_AsLong(obj1
);
9796 if (PyErr_Occurred()) SWIG_fail
;
9797 arg3
= (long) SWIG_AsLong(obj2
);
9798 if (PyErr_Occurred()) SWIG_fail
;
9800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9801 result
= wxTextCtrl_GetString(arg1
,arg2
,arg3
);
9803 wxPyEndAllowThreads(__tstate
);
9804 if (PyErr_Occurred()) SWIG_fail
;
9808 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9810 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9819 static PyObject
*_wrap_TextCtrl_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9820 PyObject
*resultobj
;
9821 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
9822 wxVisualAttributes result
;
9823 PyObject
* obj0
= 0 ;
9825 (char *) "variant", NULL
9828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
9830 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
9831 if (PyErr_Occurred()) SWIG_fail
;
9834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9835 result
= wxTextCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
9837 wxPyEndAllowThreads(__tstate
);
9838 if (PyErr_Occurred()) SWIG_fail
;
9841 wxVisualAttributes
* resultptr
;
9842 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
9843 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
9851 static PyObject
* TextCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
9853 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9854 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl
, obj
);
9856 return Py_BuildValue((char *)"");
9858 static PyObject
*_wrap_new_TextUrlEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9859 PyObject
*resultobj
;
9861 wxMouseEvent
*arg2
= 0 ;
9864 wxTextUrlEvent
*result
;
9865 PyObject
* obj0
= 0 ;
9866 PyObject
* obj1
= 0 ;
9867 PyObject
* obj2
= 0 ;
9868 PyObject
* obj3
= 0 ;
9870 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
9873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_TextUrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9874 arg1
= (int) SWIG_AsInt(obj0
);
9875 if (PyErr_Occurred()) SWIG_fail
;
9876 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMouseEvent
,
9877 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9880 PyErr_SetString(PyExc_TypeError
,"null reference");
9883 arg3
= (long) SWIG_AsLong(obj2
);
9884 if (PyErr_Occurred()) SWIG_fail
;
9885 arg4
= (long) SWIG_AsLong(obj3
);
9886 if (PyErr_Occurred()) SWIG_fail
;
9888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9889 result
= (wxTextUrlEvent
*)new wxTextUrlEvent(arg1
,(wxMouseEvent
const &)*arg2
,arg3
,arg4
);
9891 wxPyEndAllowThreads(__tstate
);
9892 if (PyErr_Occurred()) SWIG_fail
;
9894 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextUrlEvent
, 1);
9901 static PyObject
*_wrap_TextUrlEvent_GetMouseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9902 PyObject
*resultobj
;
9903 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
9904 wxMouseEvent
*result
;
9905 PyObject
* obj0
= 0 ;
9907 (char *) "self", NULL
9910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames
,&obj0
)) goto fail
;
9911 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextUrlEvent
,
9912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9916 wxMouseEvent
const &_result_ref
= (arg1
)->GetMouseEvent();
9917 result
= (wxMouseEvent
*) &_result_ref
;
9920 wxPyEndAllowThreads(__tstate
);
9921 if (PyErr_Occurred()) SWIG_fail
;
9923 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseEvent
, 0);
9930 static PyObject
*_wrap_TextUrlEvent_GetURLStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9931 PyObject
*resultobj
;
9932 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
9934 PyObject
* obj0
= 0 ;
9936 (char *) "self", NULL
9939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLStart",kwnames
,&obj0
)) goto fail
;
9940 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextUrlEvent
,
9941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9944 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLStart();
9946 wxPyEndAllowThreads(__tstate
);
9947 if (PyErr_Occurred()) SWIG_fail
;
9949 resultobj
= SWIG_FromLong((long)result
);
9956 static PyObject
*_wrap_TextUrlEvent_GetURLEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9957 PyObject
*resultobj
;
9958 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
9960 PyObject
* obj0
= 0 ;
9962 (char *) "self", NULL
9965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLEnd",kwnames
,&obj0
)) goto fail
;
9966 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextUrlEvent
,
9967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9970 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLEnd();
9972 wxPyEndAllowThreads(__tstate
);
9973 if (PyErr_Occurred()) SWIG_fail
;
9975 resultobj
= SWIG_FromLong((long)result
);
9982 static PyObject
* TextUrlEvent_swigregister(PyObject
*self
, PyObject
*args
) {
9984 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9985 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent
, obj
);
9987 return Py_BuildValue((char *)"");
9989 static int _wrap_ScrollBarNameStr_set(PyObject
*_val
) {
9990 PyErr_SetString(PyExc_TypeError
,"Variable ScrollBarNameStr is read-only.");
9995 static PyObject
*_wrap_ScrollBarNameStr_get() {
10000 pyobj
= PyUnicode_FromWideChar((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
10002 pyobj
= PyString_FromStringAndSize((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
10009 static PyObject
*_wrap_new_ScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10010 PyObject
*resultobj
;
10011 wxWindow
*arg1
= (wxWindow
*) 0 ;
10012 int arg2
= (int) -1 ;
10013 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10014 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10015 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10016 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10017 long arg5
= (long) wxSB_HORIZONTAL
;
10018 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
10019 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
10020 wxString
const &arg7_defvalue
= wxPyScrollBarNameStr
;
10021 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10022 wxScrollBar
*result
;
10025 bool temp7
= False
;
10026 PyObject
* obj0
= 0 ;
10027 PyObject
* obj1
= 0 ;
10028 PyObject
* obj2
= 0 ;
10029 PyObject
* obj3
= 0 ;
10030 PyObject
* obj4
= 0 ;
10031 PyObject
* obj5
= 0 ;
10032 PyObject
* obj6
= 0 ;
10033 char *kwnames
[] = {
10034 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ScrollBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10041 arg2
= (int) SWIG_AsInt(obj1
);
10042 if (PyErr_Occurred()) SWIG_fail
;
10047 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10053 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10057 arg5
= (long) SWIG_AsLong(obj4
);
10058 if (PyErr_Occurred()) SWIG_fail
;
10061 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
10062 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10064 if (arg6
== NULL
) {
10065 PyErr_SetString(PyExc_TypeError
,"null reference");
10071 arg7
= wxString_in_helper(obj6
);
10072 if (arg7
== NULL
) SWIG_fail
;
10077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10078 result
= (wxScrollBar
*)new wxScrollBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
10080 wxPyEndAllowThreads(__tstate
);
10081 if (PyErr_Occurred()) SWIG_fail
;
10083 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollBar
, 1);
10098 static PyObject
*_wrap_new_PreScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10099 PyObject
*resultobj
;
10100 wxScrollBar
*result
;
10101 char *kwnames
[] = {
10105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrollBar",kwnames
)) goto fail
;
10107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10108 result
= (wxScrollBar
*)new wxScrollBar();
10110 wxPyEndAllowThreads(__tstate
);
10111 if (PyErr_Occurred()) SWIG_fail
;
10113 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollBar
, 1);
10120 static PyObject
*_wrap_ScrollBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10121 PyObject
*resultobj
;
10122 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10123 wxWindow
*arg2
= (wxWindow
*) 0 ;
10124 int arg3
= (int) -1 ;
10125 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10126 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10127 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10128 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10129 long arg6
= (long) wxSB_HORIZONTAL
;
10130 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
10131 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
10132 wxString
const &arg8_defvalue
= wxPyScrollBarNameStr
;
10133 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
10137 bool temp8
= False
;
10138 PyObject
* obj0
= 0 ;
10139 PyObject
* obj1
= 0 ;
10140 PyObject
* obj2
= 0 ;
10141 PyObject
* obj3
= 0 ;
10142 PyObject
* obj4
= 0 ;
10143 PyObject
* obj5
= 0 ;
10144 PyObject
* obj6
= 0 ;
10145 PyObject
* obj7
= 0 ;
10146 char *kwnames
[] = {
10147 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
10151 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10153 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10156 arg3
= (int) SWIG_AsInt(obj2
);
10157 if (PyErr_Occurred()) SWIG_fail
;
10162 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10168 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10172 arg6
= (long) SWIG_AsLong(obj5
);
10173 if (PyErr_Occurred()) SWIG_fail
;
10176 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
10177 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10179 if (arg7
== NULL
) {
10180 PyErr_SetString(PyExc_TypeError
,"null reference");
10186 arg8
= wxString_in_helper(obj7
);
10187 if (arg8
== NULL
) SWIG_fail
;
10192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10193 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
10195 wxPyEndAllowThreads(__tstate
);
10196 if (PyErr_Occurred()) SWIG_fail
;
10199 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10215 static PyObject
*_wrap_ScrollBar_GetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10216 PyObject
*resultobj
;
10217 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10219 PyObject
* obj0
= 0 ;
10220 char *kwnames
[] = {
10221 (char *) "self", NULL
10224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbPosition",kwnames
,&obj0
)) goto fail
;
10225 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10226 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10229 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbPosition();
10231 wxPyEndAllowThreads(__tstate
);
10232 if (PyErr_Occurred()) SWIG_fail
;
10234 resultobj
= SWIG_FromInt((int)result
);
10241 static PyObject
*_wrap_ScrollBar_GetThumbSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10242 PyObject
*resultobj
;
10243 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10245 PyObject
* obj0
= 0 ;
10246 char *kwnames
[] = {
10247 (char *) "self", NULL
10250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbSize",kwnames
,&obj0
)) goto fail
;
10251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10255 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbSize();
10257 wxPyEndAllowThreads(__tstate
);
10258 if (PyErr_Occurred()) SWIG_fail
;
10260 resultobj
= SWIG_FromInt((int)result
);
10267 static PyObject
*_wrap_ScrollBar_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10268 PyObject
*resultobj
;
10269 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10271 PyObject
* obj0
= 0 ;
10272 char *kwnames
[] = {
10273 (char *) "self", NULL
10276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetPageSize",kwnames
,&obj0
)) goto fail
;
10277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10281 result
= (int)((wxScrollBar
const *)arg1
)->GetPageSize();
10283 wxPyEndAllowThreads(__tstate
);
10284 if (PyErr_Occurred()) SWIG_fail
;
10286 resultobj
= SWIG_FromInt((int)result
);
10293 static PyObject
*_wrap_ScrollBar_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10294 PyObject
*resultobj
;
10295 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10297 PyObject
* obj0
= 0 ;
10298 char *kwnames
[] = {
10299 (char *) "self", NULL
10302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetRange",kwnames
,&obj0
)) goto fail
;
10303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10307 result
= (int)((wxScrollBar
const *)arg1
)->GetRange();
10309 wxPyEndAllowThreads(__tstate
);
10310 if (PyErr_Occurred()) SWIG_fail
;
10312 resultobj
= SWIG_FromInt((int)result
);
10319 static PyObject
*_wrap_ScrollBar_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10320 PyObject
*resultobj
;
10321 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10323 PyObject
* obj0
= 0 ;
10324 char *kwnames
[] = {
10325 (char *) "self", NULL
10328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_IsVertical",kwnames
,&obj0
)) goto fail
;
10329 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10333 result
= (bool)((wxScrollBar
const *)arg1
)->IsVertical();
10335 wxPyEndAllowThreads(__tstate
);
10336 if (PyErr_Occurred()) SWIG_fail
;
10339 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10347 static PyObject
*_wrap_ScrollBar_SetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10348 PyObject
*resultobj
;
10349 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10351 PyObject
* obj0
= 0 ;
10352 PyObject
* obj1
= 0 ;
10353 char *kwnames
[] = {
10354 (char *) "self",(char *) "viewStart", NULL
10357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollBar_SetThumbPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
10358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10360 arg2
= (int) SWIG_AsInt(obj1
);
10361 if (PyErr_Occurred()) SWIG_fail
;
10363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10364 (arg1
)->SetThumbPosition(arg2
);
10366 wxPyEndAllowThreads(__tstate
);
10367 if (PyErr_Occurred()) SWIG_fail
;
10369 Py_INCREF(Py_None
); resultobj
= Py_None
;
10376 static PyObject
*_wrap_ScrollBar_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10377 PyObject
*resultobj
;
10378 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10383 bool arg6
= (bool) True
;
10384 PyObject
* obj0
= 0 ;
10385 PyObject
* obj1
= 0 ;
10386 PyObject
* obj2
= 0 ;
10387 PyObject
* obj3
= 0 ;
10388 PyObject
* obj4
= 0 ;
10389 PyObject
* obj5
= 0 ;
10390 char *kwnames
[] = {
10391 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
10394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:ScrollBar_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10395 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10397 arg2
= (int) SWIG_AsInt(obj1
);
10398 if (PyErr_Occurred()) SWIG_fail
;
10399 arg3
= (int) SWIG_AsInt(obj2
);
10400 if (PyErr_Occurred()) SWIG_fail
;
10401 arg4
= (int) SWIG_AsInt(obj3
);
10402 if (PyErr_Occurred()) SWIG_fail
;
10403 arg5
= (int) SWIG_AsInt(obj4
);
10404 if (PyErr_Occurred()) SWIG_fail
;
10406 arg6
= (bool) SWIG_AsBool(obj5
);
10407 if (PyErr_Occurred()) SWIG_fail
;
10410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10411 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
10413 wxPyEndAllowThreads(__tstate
);
10414 if (PyErr_Occurred()) SWIG_fail
;
10416 Py_INCREF(Py_None
); resultobj
= Py_None
;
10423 static PyObject
*_wrap_ScrollBar_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10424 PyObject
*resultobj
;
10425 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
10426 wxVisualAttributes result
;
10427 PyObject
* obj0
= 0 ;
10428 char *kwnames
[] = {
10429 (char *) "variant", NULL
10432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
10434 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
10435 if (PyErr_Occurred()) SWIG_fail
;
10438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10439 result
= wxScrollBar::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
10441 wxPyEndAllowThreads(__tstate
);
10442 if (PyErr_Occurred()) SWIG_fail
;
10445 wxVisualAttributes
* resultptr
;
10446 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
10447 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
10455 static PyObject
* ScrollBar_swigregister(PyObject
*self
, PyObject
*args
) {
10457 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10458 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar
, obj
);
10460 return Py_BuildValue((char *)"");
10462 static int _wrap_SPIN_BUTTON_NAME_set(PyObject
*_val
) {
10463 PyErr_SetString(PyExc_TypeError
,"Variable SPIN_BUTTON_NAME is read-only.");
10468 static PyObject
*_wrap_SPIN_BUTTON_NAME_get() {
10473 pyobj
= PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
10475 pyobj
= PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
10482 static int _wrap_SpinCtrlNameStr_set(PyObject
*_val
) {
10483 PyErr_SetString(PyExc_TypeError
,"Variable SpinCtrlNameStr is read-only.");
10488 static PyObject
*_wrap_SpinCtrlNameStr_get() {
10493 pyobj
= PyUnicode_FromWideChar((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
10495 pyobj
= PyString_FromStringAndSize((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
10502 static PyObject
*_wrap_new_SpinButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10503 PyObject
*resultobj
;
10504 wxWindow
*arg1
= (wxWindow
*) 0 ;
10505 int arg2
= (int) -1 ;
10506 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10507 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10508 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10509 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10510 long arg5
= (long) wxSP_HORIZONTAL
;
10511 wxString
const &arg6_defvalue
= wxPySPIN_BUTTON_NAME
;
10512 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10513 wxSpinButton
*result
;
10516 bool temp6
= False
;
10517 PyObject
* obj0
= 0 ;
10518 PyObject
* obj1
= 0 ;
10519 PyObject
* obj2
= 0 ;
10520 PyObject
* obj3
= 0 ;
10521 PyObject
* obj4
= 0 ;
10522 PyObject
* obj5
= 0 ;
10523 char *kwnames
[] = {
10524 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SpinButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10531 arg2
= (int) SWIG_AsInt(obj1
);
10532 if (PyErr_Occurred()) SWIG_fail
;
10537 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10543 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10547 arg5
= (long) SWIG_AsLong(obj4
);
10548 if (PyErr_Occurred()) SWIG_fail
;
10552 arg6
= wxString_in_helper(obj5
);
10553 if (arg6
== NULL
) SWIG_fail
;
10558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10559 result
= (wxSpinButton
*)new wxSpinButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10561 wxPyEndAllowThreads(__tstate
);
10562 if (PyErr_Occurred()) SWIG_fail
;
10564 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinButton
, 1);
10579 static PyObject
*_wrap_new_PreSpinButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10580 PyObject
*resultobj
;
10581 wxSpinButton
*result
;
10582 char *kwnames
[] = {
10586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinButton",kwnames
)) goto fail
;
10588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10589 result
= (wxSpinButton
*)new wxSpinButton();
10591 wxPyEndAllowThreads(__tstate
);
10592 if (PyErr_Occurred()) SWIG_fail
;
10594 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinButton
, 1);
10601 static PyObject
*_wrap_SpinButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10602 PyObject
*resultobj
;
10603 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10604 wxWindow
*arg2
= (wxWindow
*) 0 ;
10605 int arg3
= (int) -1 ;
10606 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10607 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10608 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10609 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10610 long arg6
= (long) wxSP_HORIZONTAL
;
10611 wxString
const &arg7_defvalue
= wxPySPIN_BUTTON_NAME
;
10612 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10616 bool temp7
= False
;
10617 PyObject
* obj0
= 0 ;
10618 PyObject
* obj1
= 0 ;
10619 PyObject
* obj2
= 0 ;
10620 PyObject
* obj3
= 0 ;
10621 PyObject
* obj4
= 0 ;
10622 PyObject
* obj5
= 0 ;
10623 PyObject
* obj6
= 0 ;
10624 char *kwnames
[] = {
10625 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SpinButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10629 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10631 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10632 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10634 arg3
= (int) SWIG_AsInt(obj2
);
10635 if (PyErr_Occurred()) SWIG_fail
;
10640 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10646 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10650 arg6
= (long) SWIG_AsLong(obj5
);
10651 if (PyErr_Occurred()) SWIG_fail
;
10655 arg7
= wxString_in_helper(obj6
);
10656 if (arg7
== NULL
) SWIG_fail
;
10661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10662 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
10664 wxPyEndAllowThreads(__tstate
);
10665 if (PyErr_Occurred()) SWIG_fail
;
10668 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10684 static PyObject
*_wrap_SpinButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10685 PyObject
*resultobj
;
10686 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10688 PyObject
* obj0
= 0 ;
10689 char *kwnames
[] = {
10690 (char *) "self", NULL
10693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetValue",kwnames
,&obj0
)) goto fail
;
10694 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10695 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10698 result
= (int)((wxSpinButton
const *)arg1
)->GetValue();
10700 wxPyEndAllowThreads(__tstate
);
10701 if (PyErr_Occurred()) SWIG_fail
;
10703 resultobj
= SWIG_FromInt((int)result
);
10710 static PyObject
*_wrap_SpinButton_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10711 PyObject
*resultobj
;
10712 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10714 PyObject
* obj0
= 0 ;
10715 char *kwnames
[] = {
10716 (char *) "self", NULL
10719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMin",kwnames
,&obj0
)) goto fail
;
10720 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10724 result
= (int)((wxSpinButton
const *)arg1
)->GetMin();
10726 wxPyEndAllowThreads(__tstate
);
10727 if (PyErr_Occurred()) SWIG_fail
;
10729 resultobj
= SWIG_FromInt((int)result
);
10736 static PyObject
*_wrap_SpinButton_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10737 PyObject
*resultobj
;
10738 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10740 PyObject
* obj0
= 0 ;
10741 char *kwnames
[] = {
10742 (char *) "self", NULL
10745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMax",kwnames
,&obj0
)) goto fail
;
10746 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10750 result
= (int)((wxSpinButton
const *)arg1
)->GetMax();
10752 wxPyEndAllowThreads(__tstate
);
10753 if (PyErr_Occurred()) SWIG_fail
;
10755 resultobj
= SWIG_FromInt((int)result
);
10762 static PyObject
*_wrap_SpinButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10763 PyObject
*resultobj
;
10764 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10766 PyObject
* obj0
= 0 ;
10767 PyObject
* obj1
= 0 ;
10768 char *kwnames
[] = {
10769 (char *) "self",(char *) "val", NULL
10772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
10773 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10774 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10775 arg2
= (int) SWIG_AsInt(obj1
);
10776 if (PyErr_Occurred()) SWIG_fail
;
10778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10779 (arg1
)->SetValue(arg2
);
10781 wxPyEndAllowThreads(__tstate
);
10782 if (PyErr_Occurred()) SWIG_fail
;
10784 Py_INCREF(Py_None
); resultobj
= Py_None
;
10791 static PyObject
*_wrap_SpinButton_SetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10792 PyObject
*resultobj
;
10793 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10795 PyObject
* obj0
= 0 ;
10796 PyObject
* obj1
= 0 ;
10797 char *kwnames
[] = {
10798 (char *) "self",(char *) "minVal", NULL
10801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
10802 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10804 arg2
= (int) SWIG_AsInt(obj1
);
10805 if (PyErr_Occurred()) SWIG_fail
;
10807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10808 (arg1
)->SetMin(arg2
);
10810 wxPyEndAllowThreads(__tstate
);
10811 if (PyErr_Occurred()) SWIG_fail
;
10813 Py_INCREF(Py_None
); resultobj
= Py_None
;
10820 static PyObject
*_wrap_SpinButton_SetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10821 PyObject
*resultobj
;
10822 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10824 PyObject
* obj0
= 0 ;
10825 PyObject
* obj1
= 0 ;
10826 char *kwnames
[] = {
10827 (char *) "self",(char *) "maxVal", NULL
10830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
10831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10833 arg2
= (int) SWIG_AsInt(obj1
);
10834 if (PyErr_Occurred()) SWIG_fail
;
10836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10837 (arg1
)->SetMax(arg2
);
10839 wxPyEndAllowThreads(__tstate
);
10840 if (PyErr_Occurred()) SWIG_fail
;
10842 Py_INCREF(Py_None
); resultobj
= Py_None
;
10849 static PyObject
*_wrap_SpinButton_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10850 PyObject
*resultobj
;
10851 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10854 PyObject
* obj0
= 0 ;
10855 PyObject
* obj1
= 0 ;
10856 PyObject
* obj2
= 0 ;
10857 char *kwnames
[] = {
10858 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
10861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinButton_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10862 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10863 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10864 arg2
= (int) SWIG_AsInt(obj1
);
10865 if (PyErr_Occurred()) SWIG_fail
;
10866 arg3
= (int) SWIG_AsInt(obj2
);
10867 if (PyErr_Occurred()) SWIG_fail
;
10869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10870 (arg1
)->SetRange(arg2
,arg3
);
10872 wxPyEndAllowThreads(__tstate
);
10873 if (PyErr_Occurred()) SWIG_fail
;
10875 Py_INCREF(Py_None
); resultobj
= Py_None
;
10882 static PyObject
*_wrap_SpinButton_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10883 PyObject
*resultobj
;
10884 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10886 PyObject
* obj0
= 0 ;
10887 char *kwnames
[] = {
10888 (char *) "self", NULL
10891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_IsVertical",kwnames
,&obj0
)) goto fail
;
10892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10896 result
= (bool)((wxSpinButton
const *)arg1
)->IsVertical();
10898 wxPyEndAllowThreads(__tstate
);
10899 if (PyErr_Occurred()) SWIG_fail
;
10902 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10910 static PyObject
*_wrap_SpinButton_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10911 PyObject
*resultobj
;
10912 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
10913 wxVisualAttributes result
;
10914 PyObject
* obj0
= 0 ;
10915 char *kwnames
[] = {
10916 (char *) "variant", NULL
10919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
10921 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
10922 if (PyErr_Occurred()) SWIG_fail
;
10925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10926 result
= wxSpinButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
10928 wxPyEndAllowThreads(__tstate
);
10929 if (PyErr_Occurred()) SWIG_fail
;
10932 wxVisualAttributes
* resultptr
;
10933 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
10934 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
10942 static PyObject
* SpinButton_swigregister(PyObject
*self
, PyObject
*args
) {
10944 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10945 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton
, obj
);
10947 return Py_BuildValue((char *)"");
10949 static PyObject
*_wrap_new_SpinCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10950 PyObject
*resultobj
;
10951 wxWindow
*arg1
= (wxWindow
*) 0 ;
10952 int arg2
= (int) -1 ;
10953 wxString
const &arg3_defvalue
= wxPyEmptyString
;
10954 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
10955 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10956 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10957 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10958 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10959 long arg6
= (long) wxSP_ARROW_KEYS
;
10960 int arg7
= (int) 0 ;
10961 int arg8
= (int) 100 ;
10962 int arg9
= (int) 0 ;
10963 wxString
const &arg10_defvalue
= wxPySpinCtrlNameStr
;
10964 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
10965 wxSpinCtrl
*result
;
10966 bool temp3
= False
;
10969 bool temp10
= False
;
10970 PyObject
* obj0
= 0 ;
10971 PyObject
* obj1
= 0 ;
10972 PyObject
* obj2
= 0 ;
10973 PyObject
* obj3
= 0 ;
10974 PyObject
* obj4
= 0 ;
10975 PyObject
* obj5
= 0 ;
10976 PyObject
* obj6
= 0 ;
10977 PyObject
* obj7
= 0 ;
10978 PyObject
* obj8
= 0 ;
10979 PyObject
* obj9
= 0 ;
10980 char *kwnames
[] = {
10981 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
10984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
10985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10988 arg2
= (int) SWIG_AsInt(obj1
);
10989 if (PyErr_Occurred()) SWIG_fail
;
10993 arg3
= wxString_in_helper(obj2
);
10994 if (arg3
== NULL
) SWIG_fail
;
11001 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11007 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11011 arg6
= (long) SWIG_AsLong(obj5
);
11012 if (PyErr_Occurred()) SWIG_fail
;
11015 arg7
= (int) SWIG_AsInt(obj6
);
11016 if (PyErr_Occurred()) SWIG_fail
;
11019 arg8
= (int) SWIG_AsInt(obj7
);
11020 if (PyErr_Occurred()) SWIG_fail
;
11023 arg9
= (int) SWIG_AsInt(obj8
);
11024 if (PyErr_Occurred()) SWIG_fail
;
11028 arg10
= wxString_in_helper(obj9
);
11029 if (arg10
== NULL
) SWIG_fail
;
11034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11035 result
= (wxSpinCtrl
*)new wxSpinCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,(wxString
const &)*arg10
);
11037 wxPyEndAllowThreads(__tstate
);
11038 if (PyErr_Occurred()) SWIG_fail
;
11040 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinCtrl
, 1);
11063 static PyObject
*_wrap_new_PreSpinCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11064 PyObject
*resultobj
;
11065 wxSpinCtrl
*result
;
11066 char *kwnames
[] = {
11070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinCtrl",kwnames
)) goto fail
;
11072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11073 result
= (wxSpinCtrl
*)new wxSpinCtrl();
11075 wxPyEndAllowThreads(__tstate
);
11076 if (PyErr_Occurred()) SWIG_fail
;
11078 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinCtrl
, 1);
11085 static PyObject
*_wrap_SpinCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11086 PyObject
*resultobj
;
11087 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11088 wxWindow
*arg2
= (wxWindow
*) 0 ;
11089 int arg3
= (int) -1 ;
11090 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11091 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11092 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11093 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11094 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11095 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11096 long arg7
= (long) wxSP_ARROW_KEYS
;
11097 int arg8
= (int) 0 ;
11098 int arg9
= (int) 100 ;
11099 int arg10
= (int) 0 ;
11100 wxString
const &arg11_defvalue
= wxPySpinCtrlNameStr
;
11101 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
11103 bool temp4
= False
;
11106 bool temp11
= False
;
11107 PyObject
* obj0
= 0 ;
11108 PyObject
* obj1
= 0 ;
11109 PyObject
* obj2
= 0 ;
11110 PyObject
* obj3
= 0 ;
11111 PyObject
* obj4
= 0 ;
11112 PyObject
* obj5
= 0 ;
11113 PyObject
* obj6
= 0 ;
11114 PyObject
* obj7
= 0 ;
11115 PyObject
* obj8
= 0 ;
11116 PyObject
* obj9
= 0 ;
11117 PyObject
* obj10
= 0 ;
11118 char *kwnames
[] = {
11119 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
11122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
11123 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11125 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
11126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11128 arg3
= (int) SWIG_AsInt(obj2
);
11129 if (PyErr_Occurred()) SWIG_fail
;
11133 arg4
= wxString_in_helper(obj3
);
11134 if (arg4
== NULL
) SWIG_fail
;
11141 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11147 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11151 arg7
= (long) SWIG_AsLong(obj6
);
11152 if (PyErr_Occurred()) SWIG_fail
;
11155 arg8
= (int) SWIG_AsInt(obj7
);
11156 if (PyErr_Occurred()) SWIG_fail
;
11159 arg9
= (int) SWIG_AsInt(obj8
);
11160 if (PyErr_Occurred()) SWIG_fail
;
11163 arg10
= (int) SWIG_AsInt(obj9
);
11164 if (PyErr_Occurred()) SWIG_fail
;
11168 arg11
= wxString_in_helper(obj10
);
11169 if (arg11
== NULL
) SWIG_fail
;
11174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11175 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,arg10
,(wxString
const &)*arg11
);
11177 wxPyEndAllowThreads(__tstate
);
11178 if (PyErr_Occurred()) SWIG_fail
;
11181 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11205 static PyObject
*_wrap_SpinCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11206 PyObject
*resultobj
;
11207 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11209 PyObject
* obj0
= 0 ;
11210 char *kwnames
[] = {
11211 (char *) "self", NULL
11214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
11215 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11216 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11219 result
= (int)((wxSpinCtrl
const *)arg1
)->GetValue();
11221 wxPyEndAllowThreads(__tstate
);
11222 if (PyErr_Occurred()) SWIG_fail
;
11224 resultobj
= SWIG_FromInt((int)result
);
11231 static PyObject
*_wrap_SpinCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11232 PyObject
*resultobj
;
11233 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11235 PyObject
* obj0
= 0 ;
11236 PyObject
* obj1
= 0 ;
11237 char *kwnames
[] = {
11238 (char *) "self",(char *) "value", NULL
11241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
11242 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11244 arg2
= (int) SWIG_AsInt(obj1
);
11245 if (PyErr_Occurred()) SWIG_fail
;
11247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11248 (arg1
)->SetValue(arg2
);
11250 wxPyEndAllowThreads(__tstate
);
11251 if (PyErr_Occurred()) SWIG_fail
;
11253 Py_INCREF(Py_None
); resultobj
= Py_None
;
11260 static PyObject
*_wrap_SpinCtrl_SetValueString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11261 PyObject
*resultobj
;
11262 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11263 wxString
*arg2
= 0 ;
11264 bool temp2
= False
;
11265 PyObject
* obj0
= 0 ;
11266 PyObject
* obj1
= 0 ;
11267 char *kwnames
[] = {
11268 (char *) "self",(char *) "text", NULL
11271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValueString",kwnames
,&obj0
,&obj1
)) goto fail
;
11272 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11275 arg2
= wxString_in_helper(obj1
);
11276 if (arg2
== NULL
) SWIG_fail
;
11280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11281 (arg1
)->SetValue((wxString
const &)*arg2
);
11283 wxPyEndAllowThreads(__tstate
);
11284 if (PyErr_Occurred()) SWIG_fail
;
11286 Py_INCREF(Py_None
); resultobj
= Py_None
;
11301 static PyObject
*_wrap_SpinCtrl_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11302 PyObject
*resultobj
;
11303 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11306 PyObject
* obj0
= 0 ;
11307 PyObject
* obj1
= 0 ;
11308 PyObject
* obj2
= 0 ;
11309 char *kwnames
[] = {
11310 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
11313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11314 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11316 arg2
= (int) SWIG_AsInt(obj1
);
11317 if (PyErr_Occurred()) SWIG_fail
;
11318 arg3
= (int) SWIG_AsInt(obj2
);
11319 if (PyErr_Occurred()) SWIG_fail
;
11321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11322 (arg1
)->SetRange(arg2
,arg3
);
11324 wxPyEndAllowThreads(__tstate
);
11325 if (PyErr_Occurred()) SWIG_fail
;
11327 Py_INCREF(Py_None
); resultobj
= Py_None
;
11334 static PyObject
*_wrap_SpinCtrl_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11335 PyObject
*resultobj
;
11336 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11338 PyObject
* obj0
= 0 ;
11339 char *kwnames
[] = {
11340 (char *) "self", NULL
11343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMin",kwnames
,&obj0
)) goto fail
;
11344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11348 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMin();
11350 wxPyEndAllowThreads(__tstate
);
11351 if (PyErr_Occurred()) SWIG_fail
;
11353 resultobj
= SWIG_FromInt((int)result
);
11360 static PyObject
*_wrap_SpinCtrl_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11361 PyObject
*resultobj
;
11362 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11364 PyObject
* obj0
= 0 ;
11365 char *kwnames
[] = {
11366 (char *) "self", NULL
11369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMax",kwnames
,&obj0
)) goto fail
;
11370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11374 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMax();
11376 wxPyEndAllowThreads(__tstate
);
11377 if (PyErr_Occurred()) SWIG_fail
;
11379 resultobj
= SWIG_FromInt((int)result
);
11386 static PyObject
*_wrap_SpinCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11387 PyObject
*resultobj
;
11388 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11391 PyObject
* obj0
= 0 ;
11392 PyObject
* obj1
= 0 ;
11393 PyObject
* obj2
= 0 ;
11394 char *kwnames
[] = {
11395 (char *) "self",(char *) "from",(char *) "to", NULL
11398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11401 arg2
= (long) SWIG_AsLong(obj1
);
11402 if (PyErr_Occurred()) SWIG_fail
;
11403 arg3
= (long) SWIG_AsLong(obj2
);
11404 if (PyErr_Occurred()) SWIG_fail
;
11406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11407 (arg1
)->SetSelection(arg2
,arg3
);
11409 wxPyEndAllowThreads(__tstate
);
11410 if (PyErr_Occurred()) SWIG_fail
;
11412 Py_INCREF(Py_None
); resultobj
= Py_None
;
11419 static PyObject
*_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11420 PyObject
*resultobj
;
11421 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
11422 wxVisualAttributes result
;
11423 PyObject
* obj0
= 0 ;
11424 char *kwnames
[] = {
11425 (char *) "variant", NULL
11428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
11430 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
11431 if (PyErr_Occurred()) SWIG_fail
;
11434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11435 result
= wxSpinCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
11437 wxPyEndAllowThreads(__tstate
);
11438 if (PyErr_Occurred()) SWIG_fail
;
11441 wxVisualAttributes
* resultptr
;
11442 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
11443 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
11451 static PyObject
* SpinCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
11453 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11454 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl
, obj
);
11456 return Py_BuildValue((char *)"");
11458 static PyObject
*_wrap_new_SpinEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11459 PyObject
*resultobj
;
11460 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
11461 int arg2
= (int) 0 ;
11462 wxSpinEvent
*result
;
11463 PyObject
* obj0
= 0 ;
11464 PyObject
* obj1
= 0 ;
11465 char *kwnames
[] = {
11466 (char *) "commandType",(char *) "winid", NULL
11469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SpinEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
11471 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
11472 if (PyErr_Occurred()) SWIG_fail
;
11475 arg2
= (int) SWIG_AsInt(obj1
);
11476 if (PyErr_Occurred()) SWIG_fail
;
11479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11480 result
= (wxSpinEvent
*)new wxSpinEvent(arg1
,arg2
);
11482 wxPyEndAllowThreads(__tstate
);
11483 if (PyErr_Occurred()) SWIG_fail
;
11485 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinEvent
, 1);
11492 static PyObject
*_wrap_SpinEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11493 PyObject
*resultobj
;
11494 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
11496 PyObject
* obj0
= 0 ;
11497 char *kwnames
[] = {
11498 (char *) "self", NULL
11501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
11502 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinEvent
,
11503 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11506 result
= (int)((wxSpinEvent
const *)arg1
)->GetPosition();
11508 wxPyEndAllowThreads(__tstate
);
11509 if (PyErr_Occurred()) SWIG_fail
;
11511 resultobj
= SWIG_FromInt((int)result
);
11518 static PyObject
*_wrap_SpinEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11519 PyObject
*resultobj
;
11520 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
11522 PyObject
* obj0
= 0 ;
11523 PyObject
* obj1
= 0 ;
11524 char *kwnames
[] = {
11525 (char *) "self",(char *) "pos", NULL
11528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
11529 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinEvent
,
11530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11531 arg2
= (int) SWIG_AsInt(obj1
);
11532 if (PyErr_Occurred()) SWIG_fail
;
11534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11535 (arg1
)->SetPosition(arg2
);
11537 wxPyEndAllowThreads(__tstate
);
11538 if (PyErr_Occurred()) SWIG_fail
;
11540 Py_INCREF(Py_None
); resultobj
= Py_None
;
11547 static PyObject
* SpinEvent_swigregister(PyObject
*self
, PyObject
*args
) {
11549 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11550 SWIG_TypeClientData(SWIGTYPE_p_wxSpinEvent
, obj
);
11552 return Py_BuildValue((char *)"");
11554 static int _wrap_RadioBoxNameStr_set(PyObject
*_val
) {
11555 PyErr_SetString(PyExc_TypeError
,"Variable RadioBoxNameStr is read-only.");
11560 static PyObject
*_wrap_RadioBoxNameStr_get() {
11565 pyobj
= PyUnicode_FromWideChar((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
11567 pyobj
= PyString_FromStringAndSize((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
11574 static int _wrap_RadioButtonNameStr_set(PyObject
*_val
) {
11575 PyErr_SetString(PyExc_TypeError
,"Variable RadioButtonNameStr is read-only.");
11580 static PyObject
*_wrap_RadioButtonNameStr_get() {
11585 pyobj
= PyUnicode_FromWideChar((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
11587 pyobj
= PyString_FromStringAndSize((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
11594 static PyObject
*_wrap_new_RadioBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11595 PyObject
*resultobj
;
11596 wxWindow
*arg1
= (wxWindow
*) 0 ;
11598 wxString
*arg3
= 0 ;
11599 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11600 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11601 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11602 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11603 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
11604 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
11605 int arg7
= (int) 0 ;
11606 long arg8
= (long) wxRA_HORIZONTAL
;
11607 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
11608 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
11609 wxString
const &arg10_defvalue
= wxPyRadioBoxNameStr
;
11610 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
11611 wxRadioBox
*result
;
11612 bool temp3
= False
;
11615 bool temp6
= False
;
11616 bool temp10
= False
;
11617 PyObject
* obj0
= 0 ;
11618 PyObject
* obj1
= 0 ;
11619 PyObject
* obj2
= 0 ;
11620 PyObject
* obj3
= 0 ;
11621 PyObject
* obj4
= 0 ;
11622 PyObject
* obj5
= 0 ;
11623 PyObject
* obj6
= 0 ;
11624 PyObject
* obj7
= 0 ;
11625 PyObject
* obj8
= 0 ;
11626 PyObject
* obj9
= 0 ;
11627 char *kwnames
[] = {
11628 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
11631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOOO:new_RadioBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
11632 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11633 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11634 arg2
= (int) SWIG_AsInt(obj1
);
11635 if (PyErr_Occurred()) SWIG_fail
;
11637 arg3
= wxString_in_helper(obj2
);
11638 if (arg3
== NULL
) SWIG_fail
;
11644 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11650 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11655 if (! PySequence_Check(obj5
)) {
11656 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
11659 arg6
= new wxArrayString
;
11661 int i
, len
=PySequence_Length(obj5
);
11662 for (i
=0; i
<len
; i
++) {
11663 PyObject
* item
= PySequence_GetItem(obj5
, i
);
11665 PyObject
* str
= PyObject_Unicode(item
);
11667 PyObject
* str
= PyObject_Str(item
);
11669 if (PyErr_Occurred()) SWIG_fail
;
11670 arg6
->Add(Py2wxString(str
));
11677 arg7
= (int) SWIG_AsInt(obj6
);
11678 if (PyErr_Occurred()) SWIG_fail
;
11681 arg8
= (long) SWIG_AsLong(obj7
);
11682 if (PyErr_Occurred()) SWIG_fail
;
11685 if ((SWIG_ConvertPtr(obj8
,(void **)(&arg9
),SWIGTYPE_p_wxValidator
,
11686 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11688 if (arg9
== NULL
) {
11689 PyErr_SetString(PyExc_TypeError
,"null reference");
11695 arg10
= wxString_in_helper(obj9
);
11696 if (arg10
== NULL
) SWIG_fail
;
11701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11702 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
);
11704 wxPyEndAllowThreads(__tstate
);
11705 if (PyErr_Occurred()) SWIG_fail
;
11707 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioBox
, 1);
11713 if (temp6
) delete arg6
;
11726 if (temp6
) delete arg6
;
11736 static PyObject
*_wrap_new_PreRadioBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11737 PyObject
*resultobj
;
11738 wxRadioBox
*result
;
11739 char *kwnames
[] = {
11743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioBox",kwnames
)) goto fail
;
11745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11746 result
= (wxRadioBox
*)new wxRadioBox();
11748 wxPyEndAllowThreads(__tstate
);
11749 if (PyErr_Occurred()) SWIG_fail
;
11751 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioBox
, 1);
11758 static PyObject
*_wrap_RadioBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11759 PyObject
*resultobj
;
11760 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11761 wxWindow
*arg2
= (wxWindow
*) 0 ;
11763 wxString
*arg4
= 0 ;
11764 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11765 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11766 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11767 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11768 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
11769 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
11770 int arg8
= (int) 0 ;
11771 long arg9
= (long) wxRA_HORIZONTAL
;
11772 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
11773 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
11774 wxString
const &arg11_defvalue
= wxPyRadioBoxNameStr
;
11775 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
11777 bool temp4
= False
;
11780 bool temp7
= False
;
11781 bool temp11
= False
;
11782 PyObject
* obj0
= 0 ;
11783 PyObject
* obj1
= 0 ;
11784 PyObject
* obj2
= 0 ;
11785 PyObject
* obj3
= 0 ;
11786 PyObject
* obj4
= 0 ;
11787 PyObject
* obj5
= 0 ;
11788 PyObject
* obj6
= 0 ;
11789 PyObject
* obj7
= 0 ;
11790 PyObject
* obj8
= 0 ;
11791 PyObject
* obj9
= 0 ;
11792 PyObject
* obj10
= 0 ;
11793 char *kwnames
[] = {
11794 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
11797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOOOO:RadioBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
11798 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11800 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
11801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11802 arg3
= (int) SWIG_AsInt(obj2
);
11803 if (PyErr_Occurred()) SWIG_fail
;
11805 arg4
= wxString_in_helper(obj3
);
11806 if (arg4
== NULL
) SWIG_fail
;
11812 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11818 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11823 if (! PySequence_Check(obj6
)) {
11824 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
11827 arg7
= new wxArrayString
;
11829 int i
, len
=PySequence_Length(obj6
);
11830 for (i
=0; i
<len
; i
++) {
11831 PyObject
* item
= PySequence_GetItem(obj6
, i
);
11833 PyObject
* str
= PyObject_Unicode(item
);
11835 PyObject
* str
= PyObject_Str(item
);
11837 if (PyErr_Occurred()) SWIG_fail
;
11838 arg7
->Add(Py2wxString(str
));
11845 arg8
= (int) SWIG_AsInt(obj7
);
11846 if (PyErr_Occurred()) SWIG_fail
;
11849 arg9
= (long) SWIG_AsLong(obj8
);
11850 if (PyErr_Occurred()) SWIG_fail
;
11853 if ((SWIG_ConvertPtr(obj9
,(void **)(&arg10
),SWIGTYPE_p_wxValidator
,
11854 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11856 if (arg10
== NULL
) {
11857 PyErr_SetString(PyExc_TypeError
,"null reference");
11863 arg11
= wxString_in_helper(obj10
);
11864 if (arg11
== NULL
) SWIG_fail
;
11869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11870 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
);
11872 wxPyEndAllowThreads(__tstate
);
11873 if (PyErr_Occurred()) SWIG_fail
;
11876 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11883 if (temp7
) delete arg7
;
11896 if (temp7
) delete arg7
;
11906 static PyObject
*_wrap_RadioBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11907 PyObject
*resultobj
;
11908 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11910 PyObject
* obj0
= 0 ;
11911 PyObject
* obj1
= 0 ;
11912 char *kwnames
[] = {
11913 (char *) "self",(char *) "n", NULL
11916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
11917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11919 arg2
= (int) SWIG_AsInt(obj1
);
11920 if (PyErr_Occurred()) SWIG_fail
;
11922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11923 (arg1
)->SetSelection(arg2
);
11925 wxPyEndAllowThreads(__tstate
);
11926 if (PyErr_Occurred()) SWIG_fail
;
11928 Py_INCREF(Py_None
); resultobj
= Py_None
;
11935 static PyObject
*_wrap_RadioBox_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11936 PyObject
*resultobj
;
11937 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11939 PyObject
* obj0
= 0 ;
11940 char *kwnames
[] = {
11941 (char *) "self", NULL
11944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetSelection",kwnames
,&obj0
)) goto fail
;
11945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11949 result
= (int)((wxRadioBox
const *)arg1
)->GetSelection();
11951 wxPyEndAllowThreads(__tstate
);
11952 if (PyErr_Occurred()) SWIG_fail
;
11954 resultobj
= SWIG_FromInt((int)result
);
11961 static PyObject
*_wrap_RadioBox_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11962 PyObject
*resultobj
;
11963 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11965 PyObject
* obj0
= 0 ;
11966 char *kwnames
[] = {
11967 (char *) "self", NULL
11970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetStringSelection",kwnames
,&obj0
)) goto fail
;
11971 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11975 result
= ((wxRadioBox
const *)arg1
)->GetStringSelection();
11977 wxPyEndAllowThreads(__tstate
);
11978 if (PyErr_Occurred()) SWIG_fail
;
11982 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11984 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11993 static PyObject
*_wrap_RadioBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11994 PyObject
*resultobj
;
11995 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11996 wxString
*arg2
= 0 ;
11998 bool temp2
= False
;
11999 PyObject
* obj0
= 0 ;
12000 PyObject
* obj1
= 0 ;
12001 char *kwnames
[] = {
12002 (char *) "self",(char *) "s", NULL
12005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
12006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12009 arg2
= wxString_in_helper(obj1
);
12010 if (arg2
== NULL
) SWIG_fail
;
12014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12015 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
12017 wxPyEndAllowThreads(__tstate
);
12018 if (PyErr_Occurred()) SWIG_fail
;
12021 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12037 static PyObject
*_wrap_RadioBox_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12038 PyObject
*resultobj
;
12039 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12041 PyObject
* obj0
= 0 ;
12042 char *kwnames
[] = {
12043 (char *) "self", NULL
12046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetCount",kwnames
,&obj0
)) goto fail
;
12047 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12048 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12051 result
= (int)((wxRadioBox
const *)arg1
)->GetCount();
12053 wxPyEndAllowThreads(__tstate
);
12054 if (PyErr_Occurred()) SWIG_fail
;
12056 resultobj
= SWIG_FromInt((int)result
);
12063 static PyObject
*_wrap_RadioBox_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12064 PyObject
*resultobj
;
12065 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12066 wxString
*arg2
= 0 ;
12068 bool temp2
= False
;
12069 PyObject
* obj0
= 0 ;
12070 PyObject
* obj1
= 0 ;
12071 char *kwnames
[] = {
12072 (char *) "self",(char *) "s", NULL
12075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
12076 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12079 arg2
= wxString_in_helper(obj1
);
12080 if (arg2
== NULL
) SWIG_fail
;
12084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12085 result
= (int)((wxRadioBox
const *)arg1
)->FindString((wxString
const &)*arg2
);
12087 wxPyEndAllowThreads(__tstate
);
12088 if (PyErr_Occurred()) SWIG_fail
;
12090 resultobj
= SWIG_FromInt((int)result
);
12105 static PyObject
*_wrap_RadioBox_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12106 PyObject
*resultobj
;
12107 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12110 PyObject
* obj0
= 0 ;
12111 PyObject
* obj1
= 0 ;
12112 char *kwnames
[] = {
12113 (char *) "self",(char *) "n", NULL
12116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
12117 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12119 arg2
= (int) SWIG_AsInt(obj1
);
12120 if (PyErr_Occurred()) SWIG_fail
;
12122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12123 result
= ((wxRadioBox
const *)arg1
)->GetString(arg2
);
12125 wxPyEndAllowThreads(__tstate
);
12126 if (PyErr_Occurred()) SWIG_fail
;
12130 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12132 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12141 static PyObject
*_wrap_RadioBox_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12142 PyObject
*resultobj
;
12143 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12145 wxString
*arg3
= 0 ;
12146 bool temp3
= False
;
12147 PyObject
* obj0
= 0 ;
12148 PyObject
* obj1
= 0 ;
12149 PyObject
* obj2
= 0 ;
12150 char *kwnames
[] = {
12151 (char *) "self",(char *) "n",(char *) "label", NULL
12154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12157 arg2
= (int) SWIG_AsInt(obj1
);
12158 if (PyErr_Occurred()) SWIG_fail
;
12160 arg3
= wxString_in_helper(obj2
);
12161 if (arg3
== NULL
) SWIG_fail
;
12165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12166 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
12168 wxPyEndAllowThreads(__tstate
);
12169 if (PyErr_Occurred()) SWIG_fail
;
12171 Py_INCREF(Py_None
); resultobj
= Py_None
;
12186 static PyObject
*_wrap_RadioBox_EnableItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12187 PyObject
*resultobj
;
12188 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12190 bool arg3
= (bool) True
;
12191 PyObject
* obj0
= 0 ;
12192 PyObject
* obj1
= 0 ;
12193 PyObject
* obj2
= 0 ;
12194 char *kwnames
[] = {
12195 (char *) "self",(char *) "n",(char *) "enable", NULL
12198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_EnableItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12199 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12200 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12201 arg2
= (int) SWIG_AsInt(obj1
);
12202 if (PyErr_Occurred()) SWIG_fail
;
12204 arg3
= (bool) SWIG_AsBool(obj2
);
12205 if (PyErr_Occurred()) SWIG_fail
;
12208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12209 (arg1
)->Enable(arg2
,arg3
);
12211 wxPyEndAllowThreads(__tstate
);
12212 if (PyErr_Occurred()) SWIG_fail
;
12214 Py_INCREF(Py_None
); resultobj
= Py_None
;
12221 static PyObject
*_wrap_RadioBox_ShowItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12222 PyObject
*resultobj
;
12223 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12225 bool arg3
= (bool) True
;
12226 PyObject
* obj0
= 0 ;
12227 PyObject
* obj1
= 0 ;
12228 PyObject
* obj2
= 0 ;
12229 char *kwnames
[] = {
12230 (char *) "self",(char *) "n",(char *) "show", NULL
12233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_ShowItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12234 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12236 arg2
= (int) SWIG_AsInt(obj1
);
12237 if (PyErr_Occurred()) SWIG_fail
;
12239 arg3
= (bool) SWIG_AsBool(obj2
);
12240 if (PyErr_Occurred()) SWIG_fail
;
12243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12244 (arg1
)->Show(arg2
,arg3
);
12246 wxPyEndAllowThreads(__tstate
);
12247 if (PyErr_Occurred()) SWIG_fail
;
12249 Py_INCREF(Py_None
); resultobj
= Py_None
;
12256 static PyObject
*_wrap_RadioBox_GetColumnCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12257 PyObject
*resultobj
;
12258 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12260 PyObject
* obj0
= 0 ;
12261 char *kwnames
[] = {
12262 (char *) "self", NULL
12265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetColumnCount",kwnames
,&obj0
)) goto fail
;
12266 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12270 result
= (int)((wxRadioBox
const *)arg1
)->GetColumnCount();
12272 wxPyEndAllowThreads(__tstate
);
12273 if (PyErr_Occurred()) SWIG_fail
;
12275 resultobj
= SWIG_FromInt((int)result
);
12282 static PyObject
*_wrap_RadioBox_GetRowCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12283 PyObject
*resultobj
;
12284 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12286 PyObject
* obj0
= 0 ;
12287 char *kwnames
[] = {
12288 (char *) "self", NULL
12291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetRowCount",kwnames
,&obj0
)) goto fail
;
12292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12296 result
= (int)((wxRadioBox
const *)arg1
)->GetRowCount();
12298 wxPyEndAllowThreads(__tstate
);
12299 if (PyErr_Occurred()) SWIG_fail
;
12301 resultobj
= SWIG_FromInt((int)result
);
12308 static PyObject
*_wrap_RadioBox_GetNextItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12309 PyObject
*resultobj
;
12310 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12315 PyObject
* obj0
= 0 ;
12316 PyObject
* obj1
= 0 ;
12317 PyObject
* obj2
= 0 ;
12318 PyObject
* obj3
= 0 ;
12319 char *kwnames
[] = {
12320 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
12323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RadioBox_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12326 arg2
= (int) SWIG_AsInt(obj1
);
12327 if (PyErr_Occurred()) SWIG_fail
;
12328 arg3
= (wxDirection
) SWIG_AsInt(obj2
);
12329 if (PyErr_Occurred()) SWIG_fail
;
12330 arg4
= (long) SWIG_AsLong(obj3
);
12331 if (PyErr_Occurred()) SWIG_fail
;
12333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12334 result
= (int)((wxRadioBox
const *)arg1
)->GetNextItem(arg2
,(wxDirection
)arg3
,arg4
);
12336 wxPyEndAllowThreads(__tstate
);
12337 if (PyErr_Occurred()) SWIG_fail
;
12339 resultobj
= SWIG_FromInt((int)result
);
12346 static PyObject
*_wrap_RadioBox_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12347 PyObject
*resultobj
;
12348 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
12349 wxVisualAttributes result
;
12350 PyObject
* obj0
= 0 ;
12351 char *kwnames
[] = {
12352 (char *) "variant", NULL
12355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
12357 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
12358 if (PyErr_Occurred()) SWIG_fail
;
12361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12362 result
= wxRadioBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
12364 wxPyEndAllowThreads(__tstate
);
12365 if (PyErr_Occurred()) SWIG_fail
;
12368 wxVisualAttributes
* resultptr
;
12369 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
12370 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
12378 static PyObject
* RadioBox_swigregister(PyObject
*self
, PyObject
*args
) {
12380 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12381 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox
, obj
);
12383 return Py_BuildValue((char *)"");
12385 static PyObject
*_wrap_new_RadioButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12386 PyObject
*resultobj
;
12387 wxWindow
*arg1
= (wxWindow
*) 0 ;
12389 wxString
*arg3
= 0 ;
12390 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12391 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12392 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12393 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12394 long arg6
= (long) 0 ;
12395 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
12396 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
12397 wxString
const &arg8_defvalue
= wxPyRadioButtonNameStr
;
12398 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
12399 wxRadioButton
*result
;
12400 bool temp3
= False
;
12403 bool temp8
= False
;
12404 PyObject
* obj0
= 0 ;
12405 PyObject
* obj1
= 0 ;
12406 PyObject
* obj2
= 0 ;
12407 PyObject
* obj3
= 0 ;
12408 PyObject
* obj4
= 0 ;
12409 PyObject
* obj5
= 0 ;
12410 PyObject
* obj6
= 0 ;
12411 PyObject
* obj7
= 0 ;
12412 char *kwnames
[] = {
12413 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_RadioButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
12417 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12419 arg2
= (int) SWIG_AsInt(obj1
);
12420 if (PyErr_Occurred()) SWIG_fail
;
12422 arg3
= wxString_in_helper(obj2
);
12423 if (arg3
== NULL
) SWIG_fail
;
12429 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12435 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12439 arg6
= (long) SWIG_AsLong(obj5
);
12440 if (PyErr_Occurred()) SWIG_fail
;
12443 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
12444 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12446 if (arg7
== NULL
) {
12447 PyErr_SetString(PyExc_TypeError
,"null reference");
12453 arg8
= wxString_in_helper(obj7
);
12454 if (arg8
== NULL
) SWIG_fail
;
12459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12460 result
= (wxRadioButton
*)new wxRadioButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
12462 wxPyEndAllowThreads(__tstate
);
12463 if (PyErr_Occurred()) SWIG_fail
;
12465 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioButton
, 1);
12488 static PyObject
*_wrap_new_PreRadioButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12489 PyObject
*resultobj
;
12490 wxRadioButton
*result
;
12491 char *kwnames
[] = {
12495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioButton",kwnames
)) goto fail
;
12497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12498 result
= (wxRadioButton
*)new wxRadioButton();
12500 wxPyEndAllowThreads(__tstate
);
12501 if (PyErr_Occurred()) SWIG_fail
;
12503 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioButton
, 1);
12510 static PyObject
*_wrap_RadioButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12511 PyObject
*resultobj
;
12512 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
12513 wxWindow
*arg2
= (wxWindow
*) 0 ;
12515 wxString
*arg4
= 0 ;
12516 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
12517 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
12518 wxSize
const &arg6_defvalue
= wxDefaultSize
;
12519 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
12520 long arg7
= (long) 0 ;
12521 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
12522 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
12523 wxString
const &arg9_defvalue
= wxPyRadioButtonNameStr
;
12524 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
12526 bool temp4
= False
;
12529 bool temp9
= False
;
12530 PyObject
* obj0
= 0 ;
12531 PyObject
* obj1
= 0 ;
12532 PyObject
* obj2
= 0 ;
12533 PyObject
* obj3
= 0 ;
12534 PyObject
* obj4
= 0 ;
12535 PyObject
* obj5
= 0 ;
12536 PyObject
* obj6
= 0 ;
12537 PyObject
* obj7
= 0 ;
12538 PyObject
* obj8
= 0 ;
12539 char *kwnames
[] = {
12540 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:RadioButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
12544 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioButton
,
12545 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12546 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
12547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12548 arg3
= (int) SWIG_AsInt(obj2
);
12549 if (PyErr_Occurred()) SWIG_fail
;
12551 arg4
= wxString_in_helper(obj3
);
12552 if (arg4
== NULL
) SWIG_fail
;
12558 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
12564 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
12568 arg7
= (long) SWIG_AsLong(obj6
);
12569 if (PyErr_Occurred()) SWIG_fail
;
12572 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
12573 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12575 if (arg8
== NULL
) {
12576 PyErr_SetString(PyExc_TypeError
,"null reference");
12582 arg9
= wxString_in_helper(obj8
);
12583 if (arg9
== NULL
) SWIG_fail
;
12588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12589 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
12591 wxPyEndAllowThreads(__tstate
);
12592 if (PyErr_Occurred()) SWIG_fail
;
12595 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12619 static PyObject
*_wrap_RadioButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12620 PyObject
*resultobj
;
12621 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
12623 PyObject
* obj0
= 0 ;
12624 char *kwnames
[] = {
12625 (char *) "self", NULL
12628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioButton_GetValue",kwnames
,&obj0
)) goto fail
;
12629 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioButton
,
12630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12633 result
= (bool)(arg1
)->GetValue();
12635 wxPyEndAllowThreads(__tstate
);
12636 if (PyErr_Occurred()) SWIG_fail
;
12639 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12647 static PyObject
*_wrap_RadioButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12648 PyObject
*resultobj
;
12649 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
12651 PyObject
* obj0
= 0 ;
12652 PyObject
* obj1
= 0 ;
12653 char *kwnames
[] = {
12654 (char *) "self",(char *) "value", NULL
12657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
12658 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioButton
,
12659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12660 arg2
= (bool) SWIG_AsBool(obj1
);
12661 if (PyErr_Occurred()) SWIG_fail
;
12663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12664 (arg1
)->SetValue(arg2
);
12666 wxPyEndAllowThreads(__tstate
);
12667 if (PyErr_Occurred()) SWIG_fail
;
12669 Py_INCREF(Py_None
); resultobj
= Py_None
;
12676 static PyObject
*_wrap_RadioButton_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12677 PyObject
*resultobj
;
12678 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
12679 wxVisualAttributes result
;
12680 PyObject
* obj0
= 0 ;
12681 char *kwnames
[] = {
12682 (char *) "variant", NULL
12685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
12687 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
12688 if (PyErr_Occurred()) SWIG_fail
;
12691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12692 result
= wxRadioButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
12694 wxPyEndAllowThreads(__tstate
);
12695 if (PyErr_Occurred()) SWIG_fail
;
12698 wxVisualAttributes
* resultptr
;
12699 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
12700 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
12708 static PyObject
* RadioButton_swigregister(PyObject
*self
, PyObject
*args
) {
12710 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12711 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton
, obj
);
12713 return Py_BuildValue((char *)"");
12715 static int _wrap_SliderNameStr_set(PyObject
*_val
) {
12716 PyErr_SetString(PyExc_TypeError
,"Variable SliderNameStr is read-only.");
12721 static PyObject
*_wrap_SliderNameStr_get() {
12726 pyobj
= PyUnicode_FromWideChar((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
12728 pyobj
= PyString_FromStringAndSize((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
12735 static PyObject
*_wrap_new_Slider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12736 PyObject
*resultobj
;
12737 wxWindow
*arg1
= (wxWindow
*) 0 ;
12742 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
12743 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
12744 wxSize
const &arg7_defvalue
= wxDefaultSize
;
12745 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
12746 long arg8
= (long) wxSL_HORIZONTAL
;
12747 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
12748 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
12749 wxString
const &arg10_defvalue
= wxPySliderNameStr
;
12750 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
12754 bool temp10
= False
;
12755 PyObject
* obj0
= 0 ;
12756 PyObject
* obj1
= 0 ;
12757 PyObject
* obj2
= 0 ;
12758 PyObject
* obj3
= 0 ;
12759 PyObject
* obj4
= 0 ;
12760 PyObject
* obj5
= 0 ;
12761 PyObject
* obj6
= 0 ;
12762 PyObject
* obj7
= 0 ;
12763 PyObject
* obj8
= 0 ;
12764 PyObject
* obj9
= 0 ;
12765 char *kwnames
[] = {
12766 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:new_Slider",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
12770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12772 arg2
= (int) SWIG_AsInt(obj1
);
12773 if (PyErr_Occurred()) SWIG_fail
;
12774 arg3
= (int) SWIG_AsInt(obj2
);
12775 if (PyErr_Occurred()) SWIG_fail
;
12776 arg4
= (int) SWIG_AsInt(obj3
);
12777 if (PyErr_Occurred()) SWIG_fail
;
12778 arg5
= (int) SWIG_AsInt(obj4
);
12779 if (PyErr_Occurred()) SWIG_fail
;
12783 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
12789 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
12793 arg8
= (long) SWIG_AsLong(obj7
);
12794 if (PyErr_Occurred()) SWIG_fail
;
12797 if ((SWIG_ConvertPtr(obj8
,(void **)(&arg9
),SWIGTYPE_p_wxValidator
,
12798 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12800 if (arg9
== NULL
) {
12801 PyErr_SetString(PyExc_TypeError
,"null reference");
12807 arg10
= wxString_in_helper(obj9
);
12808 if (arg10
== NULL
) SWIG_fail
;
12813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12814 result
= (wxSlider
*)new wxSlider(arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
12816 wxPyEndAllowThreads(__tstate
);
12817 if (PyErr_Occurred()) SWIG_fail
;
12819 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSlider
, 1);
12834 static PyObject
*_wrap_new_PreSlider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12835 PyObject
*resultobj
;
12837 char *kwnames
[] = {
12841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSlider",kwnames
)) goto fail
;
12843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12844 result
= (wxSlider
*)new wxSlider();
12846 wxPyEndAllowThreads(__tstate
);
12847 if (PyErr_Occurred()) SWIG_fail
;
12849 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSlider
, 1);
12856 static PyObject
*_wrap_Slider_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12857 PyObject
*resultobj
;
12858 wxSlider
*arg1
= (wxSlider
*) 0 ;
12859 wxWindow
*arg2
= (wxWindow
*) 0 ;
12864 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
12865 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
12866 wxSize
const &arg8_defvalue
= wxDefaultSize
;
12867 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
12868 long arg9
= (long) wxSL_HORIZONTAL
;
12869 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
12870 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
12871 wxString
const &arg11_defvalue
= wxPySliderNameStr
;
12872 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
12876 bool temp11
= False
;
12877 PyObject
* obj0
= 0 ;
12878 PyObject
* obj1
= 0 ;
12879 PyObject
* obj2
= 0 ;
12880 PyObject
* obj3
= 0 ;
12881 PyObject
* obj4
= 0 ;
12882 PyObject
* obj5
= 0 ;
12883 PyObject
* obj6
= 0 ;
12884 PyObject
* obj7
= 0 ;
12885 PyObject
* obj8
= 0 ;
12886 PyObject
* obj9
= 0 ;
12887 PyObject
* obj10
= 0 ;
12888 char *kwnames
[] = {
12889 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|OOOOO:Slider_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
12893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12895 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
12896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12897 arg3
= (int) SWIG_AsInt(obj2
);
12898 if (PyErr_Occurred()) SWIG_fail
;
12899 arg4
= (int) SWIG_AsInt(obj3
);
12900 if (PyErr_Occurred()) SWIG_fail
;
12901 arg5
= (int) SWIG_AsInt(obj4
);
12902 if (PyErr_Occurred()) SWIG_fail
;
12903 arg6
= (int) SWIG_AsInt(obj5
);
12904 if (PyErr_Occurred()) SWIG_fail
;
12908 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
12914 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
12918 arg9
= (long) SWIG_AsLong(obj8
);
12919 if (PyErr_Occurred()) SWIG_fail
;
12922 if ((SWIG_ConvertPtr(obj9
,(void **)(&arg10
),SWIGTYPE_p_wxValidator
,
12923 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12925 if (arg10
== NULL
) {
12926 PyErr_SetString(PyExc_TypeError
,"null reference");
12932 arg11
= wxString_in_helper(obj10
);
12933 if (arg11
== NULL
) SWIG_fail
;
12938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12939 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
,(wxSize
const &)*arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
12941 wxPyEndAllowThreads(__tstate
);
12942 if (PyErr_Occurred()) SWIG_fail
;
12945 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12961 static PyObject
*_wrap_Slider_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12962 PyObject
*resultobj
;
12963 wxSlider
*arg1
= (wxSlider
*) 0 ;
12965 PyObject
* obj0
= 0 ;
12966 char *kwnames
[] = {
12967 (char *) "self", NULL
12970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetValue",kwnames
,&obj0
)) goto fail
;
12971 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12975 result
= (int)((wxSlider
const *)arg1
)->GetValue();
12977 wxPyEndAllowThreads(__tstate
);
12978 if (PyErr_Occurred()) SWIG_fail
;
12980 resultobj
= SWIG_FromInt((int)result
);
12987 static PyObject
*_wrap_Slider_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12988 PyObject
*resultobj
;
12989 wxSlider
*arg1
= (wxSlider
*) 0 ;
12991 PyObject
* obj0
= 0 ;
12992 PyObject
* obj1
= 0 ;
12993 char *kwnames
[] = {
12994 (char *) "self",(char *) "value", NULL
12997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
12998 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13000 arg2
= (int) SWIG_AsInt(obj1
);
13001 if (PyErr_Occurred()) SWIG_fail
;
13003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13004 (arg1
)->SetValue(arg2
);
13006 wxPyEndAllowThreads(__tstate
);
13007 if (PyErr_Occurred()) SWIG_fail
;
13009 Py_INCREF(Py_None
); resultobj
= Py_None
;
13016 static PyObject
*_wrap_Slider_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13017 PyObject
*resultobj
;
13018 wxSlider
*arg1
= (wxSlider
*) 0 ;
13021 PyObject
* obj0
= 0 ;
13022 PyObject
* obj1
= 0 ;
13023 PyObject
* obj2
= 0 ;
13024 char *kwnames
[] = {
13025 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
13028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13029 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13031 arg2
= (int) SWIG_AsInt(obj1
);
13032 if (PyErr_Occurred()) SWIG_fail
;
13033 arg3
= (int) SWIG_AsInt(obj2
);
13034 if (PyErr_Occurred()) SWIG_fail
;
13036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13037 (arg1
)->SetRange(arg2
,arg3
);
13039 wxPyEndAllowThreads(__tstate
);
13040 if (PyErr_Occurred()) SWIG_fail
;
13042 Py_INCREF(Py_None
); resultobj
= Py_None
;
13049 static PyObject
*_wrap_Slider_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13050 PyObject
*resultobj
;
13051 wxSlider
*arg1
= (wxSlider
*) 0 ;
13053 PyObject
* obj0
= 0 ;
13054 char *kwnames
[] = {
13055 (char *) "self", NULL
13058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMin",kwnames
,&obj0
)) goto fail
;
13059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13063 result
= (int)((wxSlider
const *)arg1
)->GetMin();
13065 wxPyEndAllowThreads(__tstate
);
13066 if (PyErr_Occurred()) SWIG_fail
;
13068 resultobj
= SWIG_FromInt((int)result
);
13075 static PyObject
*_wrap_Slider_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13076 PyObject
*resultobj
;
13077 wxSlider
*arg1
= (wxSlider
*) 0 ;
13079 PyObject
* obj0
= 0 ;
13080 char *kwnames
[] = {
13081 (char *) "self", NULL
13084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMax",kwnames
,&obj0
)) goto fail
;
13085 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13089 result
= (int)((wxSlider
const *)arg1
)->GetMax();
13091 wxPyEndAllowThreads(__tstate
);
13092 if (PyErr_Occurred()) SWIG_fail
;
13094 resultobj
= SWIG_FromInt((int)result
);
13101 static PyObject
*_wrap_Slider_SetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13102 PyObject
*resultobj
;
13103 wxSlider
*arg1
= (wxSlider
*) 0 ;
13105 PyObject
* obj0
= 0 ;
13106 PyObject
* obj1
= 0 ;
13107 char *kwnames
[] = {
13108 (char *) "self",(char *) "minValue", NULL
13111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
13112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13114 arg2
= (int) SWIG_AsInt(obj1
);
13115 if (PyErr_Occurred()) SWIG_fail
;
13117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13118 (arg1
)->SetMin(arg2
);
13120 wxPyEndAllowThreads(__tstate
);
13121 if (PyErr_Occurred()) SWIG_fail
;
13123 Py_INCREF(Py_None
); resultobj
= Py_None
;
13130 static PyObject
*_wrap_Slider_SetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13131 PyObject
*resultobj
;
13132 wxSlider
*arg1
= (wxSlider
*) 0 ;
13134 PyObject
* obj0
= 0 ;
13135 PyObject
* obj1
= 0 ;
13136 char *kwnames
[] = {
13137 (char *) "self",(char *) "maxValue", NULL
13140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
13141 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13143 arg2
= (int) SWIG_AsInt(obj1
);
13144 if (PyErr_Occurred()) SWIG_fail
;
13146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13147 (arg1
)->SetMax(arg2
);
13149 wxPyEndAllowThreads(__tstate
);
13150 if (PyErr_Occurred()) SWIG_fail
;
13152 Py_INCREF(Py_None
); resultobj
= Py_None
;
13159 static PyObject
*_wrap_Slider_SetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13160 PyObject
*resultobj
;
13161 wxSlider
*arg1
= (wxSlider
*) 0 ;
13163 PyObject
* obj0
= 0 ;
13164 PyObject
* obj1
= 0 ;
13165 char *kwnames
[] = {
13166 (char *) "self",(char *) "lineSize", NULL
13169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetLineSize",kwnames
,&obj0
,&obj1
)) goto fail
;
13170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13172 arg2
= (int) SWIG_AsInt(obj1
);
13173 if (PyErr_Occurred()) SWIG_fail
;
13175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13176 (arg1
)->SetLineSize(arg2
);
13178 wxPyEndAllowThreads(__tstate
);
13179 if (PyErr_Occurred()) SWIG_fail
;
13181 Py_INCREF(Py_None
); resultobj
= Py_None
;
13188 static PyObject
*_wrap_Slider_SetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13189 PyObject
*resultobj
;
13190 wxSlider
*arg1
= (wxSlider
*) 0 ;
13192 PyObject
* obj0
= 0 ;
13193 PyObject
* obj1
= 0 ;
13194 char *kwnames
[] = {
13195 (char *) "self",(char *) "pageSize", NULL
13198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
13199 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13200 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13201 arg2
= (int) SWIG_AsInt(obj1
);
13202 if (PyErr_Occurred()) SWIG_fail
;
13204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13205 (arg1
)->SetPageSize(arg2
);
13207 wxPyEndAllowThreads(__tstate
);
13208 if (PyErr_Occurred()) SWIG_fail
;
13210 Py_INCREF(Py_None
); resultobj
= Py_None
;
13217 static PyObject
*_wrap_Slider_GetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13218 PyObject
*resultobj
;
13219 wxSlider
*arg1
= (wxSlider
*) 0 ;
13221 PyObject
* obj0
= 0 ;
13222 char *kwnames
[] = {
13223 (char *) "self", NULL
13226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetLineSize",kwnames
,&obj0
)) goto fail
;
13227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13231 result
= (int)((wxSlider
const *)arg1
)->GetLineSize();
13233 wxPyEndAllowThreads(__tstate
);
13234 if (PyErr_Occurred()) SWIG_fail
;
13236 resultobj
= SWIG_FromInt((int)result
);
13243 static PyObject
*_wrap_Slider_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13244 PyObject
*resultobj
;
13245 wxSlider
*arg1
= (wxSlider
*) 0 ;
13247 PyObject
* obj0
= 0 ;
13248 char *kwnames
[] = {
13249 (char *) "self", NULL
13252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetPageSize",kwnames
,&obj0
)) goto fail
;
13253 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13257 result
= (int)((wxSlider
const *)arg1
)->GetPageSize();
13259 wxPyEndAllowThreads(__tstate
);
13260 if (PyErr_Occurred()) SWIG_fail
;
13262 resultobj
= SWIG_FromInt((int)result
);
13269 static PyObject
*_wrap_Slider_SetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13270 PyObject
*resultobj
;
13271 wxSlider
*arg1
= (wxSlider
*) 0 ;
13273 PyObject
* obj0
= 0 ;
13274 PyObject
* obj1
= 0 ;
13275 char *kwnames
[] = {
13276 (char *) "self",(char *) "lenPixels", NULL
13279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetThumbLength",kwnames
,&obj0
,&obj1
)) goto fail
;
13280 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13281 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13282 arg2
= (int) SWIG_AsInt(obj1
);
13283 if (PyErr_Occurred()) SWIG_fail
;
13285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13286 (arg1
)->SetThumbLength(arg2
);
13288 wxPyEndAllowThreads(__tstate
);
13289 if (PyErr_Occurred()) SWIG_fail
;
13291 Py_INCREF(Py_None
); resultobj
= Py_None
;
13298 static PyObject
*_wrap_Slider_GetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13299 PyObject
*resultobj
;
13300 wxSlider
*arg1
= (wxSlider
*) 0 ;
13302 PyObject
* obj0
= 0 ;
13303 char *kwnames
[] = {
13304 (char *) "self", NULL
13307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetThumbLength",kwnames
,&obj0
)) goto fail
;
13308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13312 result
= (int)((wxSlider
const *)arg1
)->GetThumbLength();
13314 wxPyEndAllowThreads(__tstate
);
13315 if (PyErr_Occurred()) SWIG_fail
;
13317 resultobj
= SWIG_FromInt((int)result
);
13324 static PyObject
*_wrap_Slider_SetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13325 PyObject
*resultobj
;
13326 wxSlider
*arg1
= (wxSlider
*) 0 ;
13328 int arg3
= (int) 1 ;
13329 PyObject
* obj0
= 0 ;
13330 PyObject
* obj1
= 0 ;
13331 PyObject
* obj2
= 0 ;
13332 char *kwnames
[] = {
13333 (char *) "self",(char *) "n",(char *) "pos", NULL
13336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Slider_SetTickFreq",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13337 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13339 arg2
= (int) SWIG_AsInt(obj1
);
13340 if (PyErr_Occurred()) SWIG_fail
;
13342 arg3
= (int) SWIG_AsInt(obj2
);
13343 if (PyErr_Occurred()) SWIG_fail
;
13346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13347 (arg1
)->SetTickFreq(arg2
,arg3
);
13349 wxPyEndAllowThreads(__tstate
);
13350 if (PyErr_Occurred()) SWIG_fail
;
13352 Py_INCREF(Py_None
); resultobj
= Py_None
;
13359 static PyObject
*_wrap_Slider_GetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13360 PyObject
*resultobj
;
13361 wxSlider
*arg1
= (wxSlider
*) 0 ;
13363 PyObject
* obj0
= 0 ;
13364 char *kwnames
[] = {
13365 (char *) "self", NULL
13368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetTickFreq",kwnames
,&obj0
)) goto fail
;
13369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13373 result
= (int)((wxSlider
const *)arg1
)->GetTickFreq();
13375 wxPyEndAllowThreads(__tstate
);
13376 if (PyErr_Occurred()) SWIG_fail
;
13378 resultobj
= SWIG_FromInt((int)result
);
13385 static PyObject
*_wrap_Slider_ClearTicks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13386 PyObject
*resultobj
;
13387 wxSlider
*arg1
= (wxSlider
*) 0 ;
13388 PyObject
* obj0
= 0 ;
13389 char *kwnames
[] = {
13390 (char *) "self", NULL
13393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearTicks",kwnames
,&obj0
)) goto fail
;
13394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13398 (arg1
)->ClearTicks();
13400 wxPyEndAllowThreads(__tstate
);
13401 if (PyErr_Occurred()) SWIG_fail
;
13403 Py_INCREF(Py_None
); resultobj
= Py_None
;
13410 static PyObject
*_wrap_Slider_SetTick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13411 PyObject
*resultobj
;
13412 wxSlider
*arg1
= (wxSlider
*) 0 ;
13414 PyObject
* obj0
= 0 ;
13415 PyObject
* obj1
= 0 ;
13416 char *kwnames
[] = {
13417 (char *) "self",(char *) "tickPos", NULL
13420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetTick",kwnames
,&obj0
,&obj1
)) goto fail
;
13421 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13423 arg2
= (int) SWIG_AsInt(obj1
);
13424 if (PyErr_Occurred()) SWIG_fail
;
13426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13427 (arg1
)->SetTick(arg2
);
13429 wxPyEndAllowThreads(__tstate
);
13430 if (PyErr_Occurred()) SWIG_fail
;
13432 Py_INCREF(Py_None
); resultobj
= Py_None
;
13439 static PyObject
*_wrap_Slider_ClearSel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13440 PyObject
*resultobj
;
13441 wxSlider
*arg1
= (wxSlider
*) 0 ;
13442 PyObject
* obj0
= 0 ;
13443 char *kwnames
[] = {
13444 (char *) "self", NULL
13447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearSel",kwnames
,&obj0
)) goto fail
;
13448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13452 (arg1
)->ClearSel();
13454 wxPyEndAllowThreads(__tstate
);
13455 if (PyErr_Occurred()) SWIG_fail
;
13457 Py_INCREF(Py_None
); resultobj
= Py_None
;
13464 static PyObject
*_wrap_Slider_GetSelEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13465 PyObject
*resultobj
;
13466 wxSlider
*arg1
= (wxSlider
*) 0 ;
13468 PyObject
* obj0
= 0 ;
13469 char *kwnames
[] = {
13470 (char *) "self", NULL
13473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelEnd",kwnames
,&obj0
)) goto fail
;
13474 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13478 result
= (int)((wxSlider
const *)arg1
)->GetSelEnd();
13480 wxPyEndAllowThreads(__tstate
);
13481 if (PyErr_Occurred()) SWIG_fail
;
13483 resultobj
= SWIG_FromInt((int)result
);
13490 static PyObject
*_wrap_Slider_GetSelStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13491 PyObject
*resultobj
;
13492 wxSlider
*arg1
= (wxSlider
*) 0 ;
13494 PyObject
* obj0
= 0 ;
13495 char *kwnames
[] = {
13496 (char *) "self", NULL
13499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelStart",kwnames
,&obj0
)) goto fail
;
13500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13504 result
= (int)((wxSlider
const *)arg1
)->GetSelStart();
13506 wxPyEndAllowThreads(__tstate
);
13507 if (PyErr_Occurred()) SWIG_fail
;
13509 resultobj
= SWIG_FromInt((int)result
);
13516 static PyObject
*_wrap_Slider_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13517 PyObject
*resultobj
;
13518 wxSlider
*arg1
= (wxSlider
*) 0 ;
13521 PyObject
* obj0
= 0 ;
13522 PyObject
* obj1
= 0 ;
13523 PyObject
* obj2
= 0 ;
13524 char *kwnames
[] = {
13525 (char *) "self",(char *) "min",(char *) "max", NULL
13528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13529 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13531 arg2
= (int) SWIG_AsInt(obj1
);
13532 if (PyErr_Occurred()) SWIG_fail
;
13533 arg3
= (int) SWIG_AsInt(obj2
);
13534 if (PyErr_Occurred()) SWIG_fail
;
13536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13537 (arg1
)->SetSelection(arg2
,arg3
);
13539 wxPyEndAllowThreads(__tstate
);
13540 if (PyErr_Occurred()) SWIG_fail
;
13542 Py_INCREF(Py_None
); resultobj
= Py_None
;
13549 static PyObject
*_wrap_Slider_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13550 PyObject
*resultobj
;
13551 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
13552 wxVisualAttributes result
;
13553 PyObject
* obj0
= 0 ;
13554 char *kwnames
[] = {
13555 (char *) "variant", NULL
13558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
13560 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
13561 if (PyErr_Occurred()) SWIG_fail
;
13564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13565 result
= wxSlider::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
13567 wxPyEndAllowThreads(__tstate
);
13568 if (PyErr_Occurred()) SWIG_fail
;
13571 wxVisualAttributes
* resultptr
;
13572 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
13573 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
13581 static PyObject
* Slider_swigregister(PyObject
*self
, PyObject
*args
) {
13583 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13584 SWIG_TypeClientData(SWIGTYPE_p_wxSlider
, obj
);
13586 return Py_BuildValue((char *)"");
13588 static int _wrap_ToggleButtonNameStr_set(PyObject
*_val
) {
13589 PyErr_SetString(PyExc_TypeError
,"Variable ToggleButtonNameStr is read-only.");
13594 static PyObject
*_wrap_ToggleButtonNameStr_get() {
13599 pyobj
= PyUnicode_FromWideChar((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
13601 pyobj
= PyString_FromStringAndSize((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
13608 static PyObject
*_wrap_new_ToggleButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13609 PyObject
*resultobj
;
13610 wxWindow
*arg1
= (wxWindow
*) 0 ;
13612 wxString
*arg3
= 0 ;
13613 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
13614 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
13615 wxSize
const &arg5_defvalue
= wxDefaultSize
;
13616 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
13617 long arg6
= (long) 0 ;
13618 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
13619 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
13620 wxString
const &arg8_defvalue
= wxPyToggleButtonNameStr
;
13621 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
13622 wxToggleButton
*result
;
13623 bool temp3
= False
;
13626 bool temp8
= False
;
13627 PyObject
* obj0
= 0 ;
13628 PyObject
* obj1
= 0 ;
13629 PyObject
* obj2
= 0 ;
13630 PyObject
* obj3
= 0 ;
13631 PyObject
* obj4
= 0 ;
13632 PyObject
* obj5
= 0 ;
13633 PyObject
* obj6
= 0 ;
13634 PyObject
* obj7
= 0 ;
13635 char *kwnames
[] = {
13636 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
13639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_ToggleButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
13640 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
13641 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13642 arg2
= (int) SWIG_AsInt(obj1
);
13643 if (PyErr_Occurred()) SWIG_fail
;
13645 arg3
= wxString_in_helper(obj2
);
13646 if (arg3
== NULL
) SWIG_fail
;
13652 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
13658 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
13662 arg6
= (long) SWIG_AsLong(obj5
);
13663 if (PyErr_Occurred()) SWIG_fail
;
13666 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
13667 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13669 if (arg7
== NULL
) {
13670 PyErr_SetString(PyExc_TypeError
,"null reference");
13676 arg8
= wxString_in_helper(obj7
);
13677 if (arg8
== NULL
) SWIG_fail
;
13682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13683 result
= (wxToggleButton
*)new wxToggleButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
13685 wxPyEndAllowThreads(__tstate
);
13686 if (PyErr_Occurred()) SWIG_fail
;
13688 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToggleButton
, 1);
13711 static PyObject
*_wrap_new_PreToggleButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13712 PyObject
*resultobj
;
13713 wxToggleButton
*result
;
13714 char *kwnames
[] = {
13718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToggleButton",kwnames
)) goto fail
;
13720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13721 result
= (wxToggleButton
*)new wxToggleButton();
13723 wxPyEndAllowThreads(__tstate
);
13724 if (PyErr_Occurred()) SWIG_fail
;
13726 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToggleButton
, 1);
13733 static PyObject
*_wrap_ToggleButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13734 PyObject
*resultobj
;
13735 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
13736 wxWindow
*arg2
= (wxWindow
*) 0 ;
13738 wxString
*arg4
= 0 ;
13739 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
13740 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
13741 wxSize
const &arg6_defvalue
= wxDefaultSize
;
13742 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
13743 long arg7
= (long) 0 ;
13744 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
13745 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
13746 wxString
const &arg9_defvalue
= wxPyToggleButtonNameStr
;
13747 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
13749 bool temp4
= False
;
13752 bool temp9
= False
;
13753 PyObject
* obj0
= 0 ;
13754 PyObject
* obj1
= 0 ;
13755 PyObject
* obj2
= 0 ;
13756 PyObject
* obj3
= 0 ;
13757 PyObject
* obj4
= 0 ;
13758 PyObject
* obj5
= 0 ;
13759 PyObject
* obj6
= 0 ;
13760 PyObject
* obj7
= 0 ;
13761 PyObject
* obj8
= 0 ;
13762 char *kwnames
[] = {
13763 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
13766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToggleButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
13767 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
13768 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13769 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
13770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13771 arg3
= (int) SWIG_AsInt(obj2
);
13772 if (PyErr_Occurred()) SWIG_fail
;
13774 arg4
= wxString_in_helper(obj3
);
13775 if (arg4
== NULL
) SWIG_fail
;
13781 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
13787 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
13791 arg7
= (long) SWIG_AsLong(obj6
);
13792 if (PyErr_Occurred()) SWIG_fail
;
13795 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
13796 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13798 if (arg8
== NULL
) {
13799 PyErr_SetString(PyExc_TypeError
,"null reference");
13805 arg9
= wxString_in_helper(obj8
);
13806 if (arg9
== NULL
) SWIG_fail
;
13811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13812 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
13814 wxPyEndAllowThreads(__tstate
);
13815 if (PyErr_Occurred()) SWIG_fail
;
13818 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13842 static PyObject
*_wrap_ToggleButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13843 PyObject
*resultobj
;
13844 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
13846 PyObject
* obj0
= 0 ;
13847 PyObject
* obj1
= 0 ;
13848 char *kwnames
[] = {
13849 (char *) "self",(char *) "value", NULL
13852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
13853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
13854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13855 arg2
= (bool) SWIG_AsBool(obj1
);
13856 if (PyErr_Occurred()) SWIG_fail
;
13858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13859 (arg1
)->SetValue(arg2
);
13861 wxPyEndAllowThreads(__tstate
);
13862 if (PyErr_Occurred()) SWIG_fail
;
13864 Py_INCREF(Py_None
); resultobj
= Py_None
;
13871 static PyObject
*_wrap_ToggleButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13872 PyObject
*resultobj
;
13873 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
13875 PyObject
* obj0
= 0 ;
13876 char *kwnames
[] = {
13877 (char *) "self", NULL
13880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToggleButton_GetValue",kwnames
,&obj0
)) goto fail
;
13881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
13882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13885 result
= (bool)((wxToggleButton
const *)arg1
)->GetValue();
13887 wxPyEndAllowThreads(__tstate
);
13888 if (PyErr_Occurred()) SWIG_fail
;
13891 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13899 static PyObject
*_wrap_ToggleButton_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13900 PyObject
*resultobj
;
13901 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
13902 wxString
*arg2
= 0 ;
13903 bool temp2
= False
;
13904 PyObject
* obj0
= 0 ;
13905 PyObject
* obj1
= 0 ;
13906 char *kwnames
[] = {
13907 (char *) "self",(char *) "label", NULL
13910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
13911 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
13912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13914 arg2
= wxString_in_helper(obj1
);
13915 if (arg2
== NULL
) SWIG_fail
;
13919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13920 (arg1
)->SetLabel((wxString
const &)*arg2
);
13922 wxPyEndAllowThreads(__tstate
);
13923 if (PyErr_Occurred()) SWIG_fail
;
13925 Py_INCREF(Py_None
); resultobj
= Py_None
;
13940 static PyObject
*_wrap_ToggleButton_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13941 PyObject
*resultobj
;
13942 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
13943 wxVisualAttributes result
;
13944 PyObject
* obj0
= 0 ;
13945 char *kwnames
[] = {
13946 (char *) "variant", NULL
13949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
13951 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
13952 if (PyErr_Occurred()) SWIG_fail
;
13955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13956 result
= wxToggleButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
13958 wxPyEndAllowThreads(__tstate
);
13959 if (PyErr_Occurred()) SWIG_fail
;
13962 wxVisualAttributes
* resultptr
;
13963 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
13964 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
13972 static PyObject
* ToggleButton_swigregister(PyObject
*self
, PyObject
*args
) {
13974 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13975 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton
, obj
);
13977 return Py_BuildValue((char *)"");
13979 static int _wrap_NOTEBOOK_NAME_set(PyObject
*_val
) {
13980 PyErr_SetString(PyExc_TypeError
,"Variable NOTEBOOK_NAME is read-only.");
13985 static PyObject
*_wrap_NOTEBOOK_NAME_get() {
13990 pyobj
= PyUnicode_FromWideChar((&wxPyNOTEBOOK_NAME
)->c_str(), (&wxPyNOTEBOOK_NAME
)->Len());
13992 pyobj
= PyString_FromStringAndSize((&wxPyNOTEBOOK_NAME
)->c_str(), (&wxPyNOTEBOOK_NAME
)->Len());
13999 static PyObject
*_wrap_BookCtrl_GetPageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14000 PyObject
*resultobj
;
14001 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14003 PyObject
* obj0
= 0 ;
14004 char *kwnames
[] = {
14005 (char *) "self", NULL
14008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetPageCount",kwnames
,&obj0
)) goto fail
;
14009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14013 result
= (size_t)((wxBookCtrl
const *)arg1
)->GetPageCount();
14015 wxPyEndAllowThreads(__tstate
);
14016 if (PyErr_Occurred()) SWIG_fail
;
14018 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
14025 static PyObject
*_wrap_BookCtrl_GetPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14026 PyObject
*resultobj
;
14027 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14030 PyObject
* obj0
= 0 ;
14031 PyObject
* obj1
= 0 ;
14032 char *kwnames
[] = {
14033 (char *) "self",(char *) "n", NULL
14036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPage",kwnames
,&obj0
,&obj1
)) goto fail
;
14037 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14039 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14040 if (PyErr_Occurred()) SWIG_fail
;
14042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14043 result
= (wxWindow
*)(arg1
)->GetPage(arg2
);
14045 wxPyEndAllowThreads(__tstate
);
14046 if (PyErr_Occurred()) SWIG_fail
;
14049 resultobj
= wxPyMake_wxObject(result
);
14057 static PyObject
*_wrap_BookCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14058 PyObject
*resultobj
;
14059 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14061 PyObject
* obj0
= 0 ;
14062 char *kwnames
[] = {
14063 (char *) "self", NULL
14066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
14067 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14071 result
= (int)((wxBookCtrl
const *)arg1
)->GetSelection();
14073 wxPyEndAllowThreads(__tstate
);
14074 if (PyErr_Occurred()) SWIG_fail
;
14076 resultobj
= SWIG_FromInt((int)result
);
14083 static PyObject
*_wrap_BookCtrl_SetPageText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14084 PyObject
*resultobj
;
14085 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14087 wxString
*arg3
= 0 ;
14089 bool temp3
= False
;
14090 PyObject
* obj0
= 0 ;
14091 PyObject
* obj1
= 0 ;
14092 PyObject
* obj2
= 0 ;
14093 char *kwnames
[] = {
14094 (char *) "self",(char *) "n",(char *) "strText", NULL
14097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrl_SetPageText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14098 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14100 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14101 if (PyErr_Occurred()) SWIG_fail
;
14103 arg3
= wxString_in_helper(obj2
);
14104 if (arg3
== NULL
) SWIG_fail
;
14108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14109 result
= (bool)(arg1
)->SetPageText(arg2
,(wxString
const &)*arg3
);
14111 wxPyEndAllowThreads(__tstate
);
14112 if (PyErr_Occurred()) SWIG_fail
;
14115 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14131 static PyObject
*_wrap_BookCtrl_GetPageText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14132 PyObject
*resultobj
;
14133 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14136 PyObject
* obj0
= 0 ;
14137 PyObject
* obj1
= 0 ;
14138 char *kwnames
[] = {
14139 (char *) "self",(char *) "n", NULL
14142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPageText",kwnames
,&obj0
,&obj1
)) goto fail
;
14143 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14144 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14145 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14146 if (PyErr_Occurred()) SWIG_fail
;
14148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14149 result
= ((wxBookCtrl
const *)arg1
)->GetPageText(arg2
);
14151 wxPyEndAllowThreads(__tstate
);
14152 if (PyErr_Occurred()) SWIG_fail
;
14156 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14158 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14167 static PyObject
*_wrap_BookCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14168 PyObject
*resultobj
;
14169 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14170 wxImageList
*arg2
= (wxImageList
*) 0 ;
14171 PyObject
* obj0
= 0 ;
14172 PyObject
* obj1
= 0 ;
14173 char *kwnames
[] = {
14174 (char *) "self",(char *) "imageList", NULL
14177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
14178 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14179 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14180 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
14181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14184 (arg1
)->SetImageList(arg2
);
14186 wxPyEndAllowThreads(__tstate
);
14187 if (PyErr_Occurred()) SWIG_fail
;
14189 Py_INCREF(Py_None
); resultobj
= Py_None
;
14196 static PyObject
*_wrap_BookCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14197 PyObject
*resultobj
;
14198 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14199 wxImageList
*arg2
= (wxImageList
*) 0 ;
14200 PyObject
* obj0
= 0 ;
14201 PyObject
* obj1
= 0 ;
14202 char *kwnames
[] = {
14203 (char *) "self",(char *) "imageList", NULL
14206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
14207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14209 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
14210 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
14212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14213 (arg1
)->AssignImageList(arg2
);
14215 wxPyEndAllowThreads(__tstate
);
14216 if (PyErr_Occurred()) SWIG_fail
;
14218 Py_INCREF(Py_None
); resultobj
= Py_None
;
14225 static PyObject
*_wrap_BookCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14226 PyObject
*resultobj
;
14227 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14228 wxImageList
*result
;
14229 PyObject
* obj0
= 0 ;
14230 char *kwnames
[] = {
14231 (char *) "self", NULL
14234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
14235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14239 result
= (wxImageList
*)((wxBookCtrl
const *)arg1
)->GetImageList();
14241 wxPyEndAllowThreads(__tstate
);
14242 if (PyErr_Occurred()) SWIG_fail
;
14245 resultobj
= wxPyMake_wxObject(result
);
14253 static PyObject
*_wrap_BookCtrl_GetPageImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14254 PyObject
*resultobj
;
14255 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14258 PyObject
* obj0
= 0 ;
14259 PyObject
* obj1
= 0 ;
14260 char *kwnames
[] = {
14261 (char *) "self",(char *) "n", NULL
14264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPageImage",kwnames
,&obj0
,&obj1
)) goto fail
;
14265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14267 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14268 if (PyErr_Occurred()) SWIG_fail
;
14270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14271 result
= (int)((wxBookCtrl
const *)arg1
)->GetPageImage(arg2
);
14273 wxPyEndAllowThreads(__tstate
);
14274 if (PyErr_Occurred()) SWIG_fail
;
14276 resultobj
= SWIG_FromInt((int)result
);
14283 static PyObject
*_wrap_BookCtrl_SetPageImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14284 PyObject
*resultobj
;
14285 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14289 PyObject
* obj0
= 0 ;
14290 PyObject
* obj1
= 0 ;
14291 PyObject
* obj2
= 0 ;
14292 char *kwnames
[] = {
14293 (char *) "self",(char *) "n",(char *) "imageId", NULL
14296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrl_SetPageImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14299 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14300 if (PyErr_Occurred()) SWIG_fail
;
14301 arg3
= (int) SWIG_AsInt(obj2
);
14302 if (PyErr_Occurred()) SWIG_fail
;
14304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14305 result
= (bool)(arg1
)->SetPageImage(arg2
,arg3
);
14307 wxPyEndAllowThreads(__tstate
);
14308 if (PyErr_Occurred()) SWIG_fail
;
14311 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14319 static PyObject
*_wrap_BookCtrl_SetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14320 PyObject
*resultobj
;
14321 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14324 PyObject
* obj0
= 0 ;
14325 PyObject
* obj1
= 0 ;
14326 char *kwnames
[] = {
14327 (char *) "self",(char *) "size", NULL
14330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
14331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14335 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14339 (arg1
)->SetPageSize((wxSize
const &)*arg2
);
14341 wxPyEndAllowThreads(__tstate
);
14342 if (PyErr_Occurred()) SWIG_fail
;
14344 Py_INCREF(Py_None
); resultobj
= Py_None
;
14351 static PyObject
*_wrap_BookCtrl_CalcSizeFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14352 PyObject
*resultobj
;
14353 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14357 PyObject
* obj0
= 0 ;
14358 PyObject
* obj1
= 0 ;
14359 char *kwnames
[] = {
14360 (char *) "self",(char *) "sizePage", NULL
14363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
14364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14368 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14372 result
= ((wxBookCtrl
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
14374 wxPyEndAllowThreads(__tstate
);
14375 if (PyErr_Occurred()) SWIG_fail
;
14378 wxSize
* resultptr
;
14379 resultptr
= new wxSize((wxSize
&) result
);
14380 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
14388 static PyObject
*_wrap_BookCtrl_DeletePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14389 PyObject
*resultobj
;
14390 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14393 PyObject
* obj0
= 0 ;
14394 PyObject
* obj1
= 0 ;
14395 char *kwnames
[] = {
14396 (char *) "self",(char *) "n", NULL
14399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_DeletePage",kwnames
,&obj0
,&obj1
)) goto fail
;
14400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14402 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14403 if (PyErr_Occurred()) SWIG_fail
;
14405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14406 result
= (bool)(arg1
)->DeletePage(arg2
);
14408 wxPyEndAllowThreads(__tstate
);
14409 if (PyErr_Occurred()) SWIG_fail
;
14412 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14420 static PyObject
*_wrap_BookCtrl_RemovePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14421 PyObject
*resultobj
;
14422 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14425 PyObject
* obj0
= 0 ;
14426 PyObject
* obj1
= 0 ;
14427 char *kwnames
[] = {
14428 (char *) "self",(char *) "n", NULL
14431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_RemovePage",kwnames
,&obj0
,&obj1
)) goto fail
;
14432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14434 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14435 if (PyErr_Occurred()) SWIG_fail
;
14437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14438 result
= (bool)(arg1
)->RemovePage(arg2
);
14440 wxPyEndAllowThreads(__tstate
);
14441 if (PyErr_Occurred()) SWIG_fail
;
14444 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14452 static PyObject
*_wrap_BookCtrl_DeleteAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14453 PyObject
*resultobj
;
14454 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14456 PyObject
* obj0
= 0 ;
14457 char *kwnames
[] = {
14458 (char *) "self", NULL
14461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_DeleteAllPages",kwnames
,&obj0
)) goto fail
;
14462 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14466 result
= (bool)(arg1
)->DeleteAllPages();
14468 wxPyEndAllowThreads(__tstate
);
14469 if (PyErr_Occurred()) SWIG_fail
;
14472 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14480 static PyObject
*_wrap_BookCtrl_AddPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14481 PyObject
*resultobj
;
14482 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14483 wxWindow
*arg2
= (wxWindow
*) 0 ;
14484 wxString
*arg3
= 0 ;
14485 bool arg4
= (bool) False
;
14486 int arg5
= (int) -1 ;
14488 bool temp3
= False
;
14489 PyObject
* obj0
= 0 ;
14490 PyObject
* obj1
= 0 ;
14491 PyObject
* obj2
= 0 ;
14492 PyObject
* obj3
= 0 ;
14493 PyObject
* obj4
= 0 ;
14494 char *kwnames
[] = {
14495 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
14498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:BookCtrl_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14501 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
14502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14504 arg3
= wxString_in_helper(obj2
);
14505 if (arg3
== NULL
) SWIG_fail
;
14509 arg4
= (bool) SWIG_AsBool(obj3
);
14510 if (PyErr_Occurred()) SWIG_fail
;
14513 arg5
= (int) SWIG_AsInt(obj4
);
14514 if (PyErr_Occurred()) SWIG_fail
;
14517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14518 result
= (bool)(arg1
)->AddPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
14520 wxPyEndAllowThreads(__tstate
);
14521 if (PyErr_Occurred()) SWIG_fail
;
14524 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14540 static PyObject
*_wrap_BookCtrl_InsertPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14541 PyObject
*resultobj
;
14542 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14544 wxWindow
*arg3
= (wxWindow
*) 0 ;
14545 wxString
*arg4
= 0 ;
14546 bool arg5
= (bool) False
;
14547 int arg6
= (int) -1 ;
14549 bool temp4
= False
;
14550 PyObject
* obj0
= 0 ;
14551 PyObject
* obj1
= 0 ;
14552 PyObject
* obj2
= 0 ;
14553 PyObject
* obj3
= 0 ;
14554 PyObject
* obj4
= 0 ;
14555 PyObject
* obj5
= 0 ;
14556 char *kwnames
[] = {
14557 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
14560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:BookCtrl_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14561 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14563 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14564 if (PyErr_Occurred()) SWIG_fail
;
14565 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
14566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14568 arg4
= wxString_in_helper(obj3
);
14569 if (arg4
== NULL
) SWIG_fail
;
14573 arg5
= (bool) SWIG_AsBool(obj4
);
14574 if (PyErr_Occurred()) SWIG_fail
;
14577 arg6
= (int) SWIG_AsInt(obj5
);
14578 if (PyErr_Occurred()) SWIG_fail
;
14581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14582 result
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
14584 wxPyEndAllowThreads(__tstate
);
14585 if (PyErr_Occurred()) SWIG_fail
;
14588 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14604 static PyObject
*_wrap_BookCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14605 PyObject
*resultobj
;
14606 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14609 PyObject
* obj0
= 0 ;
14610 PyObject
* obj1
= 0 ;
14611 char *kwnames
[] = {
14612 (char *) "self",(char *) "n", NULL
14615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
14616 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14618 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14619 if (PyErr_Occurred()) SWIG_fail
;
14621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14622 result
= (int)(arg1
)->SetSelection(arg2
);
14624 wxPyEndAllowThreads(__tstate
);
14625 if (PyErr_Occurred()) SWIG_fail
;
14627 resultobj
= SWIG_FromInt((int)result
);
14634 static PyObject
*_wrap_BookCtrl_AdvanceSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14635 PyObject
*resultobj
;
14636 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14637 bool arg2
= (bool) True
;
14638 PyObject
* obj0
= 0 ;
14639 PyObject
* obj1
= 0 ;
14640 char *kwnames
[] = {
14641 (char *) "self",(char *) "forward", NULL
14644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:BookCtrl_AdvanceSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
14645 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14646 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14648 arg2
= (bool) SWIG_AsBool(obj1
);
14649 if (PyErr_Occurred()) SWIG_fail
;
14652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14653 (arg1
)->AdvanceSelection(arg2
);
14655 wxPyEndAllowThreads(__tstate
);
14656 if (PyErr_Occurred()) SWIG_fail
;
14658 Py_INCREF(Py_None
); resultobj
= Py_None
;
14665 static PyObject
*_wrap_BookCtrl_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14666 PyObject
*resultobj
;
14667 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
14668 wxVisualAttributes result
;
14669 PyObject
* obj0
= 0 ;
14670 char *kwnames
[] = {
14671 (char *) "variant", NULL
14674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BookCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
14676 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
14677 if (PyErr_Occurred()) SWIG_fail
;
14680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14681 result
= wxBookCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
14683 wxPyEndAllowThreads(__tstate
);
14684 if (PyErr_Occurred()) SWIG_fail
;
14687 wxVisualAttributes
* resultptr
;
14688 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
14689 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
14697 static PyObject
* BookCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
14699 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14700 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrl
, obj
);
14702 return Py_BuildValue((char *)"");
14704 static PyObject
*_wrap_new_BookCtrlEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14705 PyObject
*resultobj
;
14706 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
14707 int arg2
= (int) 0 ;
14708 int arg3
= (int) -1 ;
14709 int arg4
= (int) -1 ;
14710 wxBookCtrlEvent
*result
;
14711 PyObject
* obj0
= 0 ;
14712 PyObject
* obj1
= 0 ;
14713 PyObject
* obj2
= 0 ;
14714 PyObject
* obj3
= 0 ;
14715 char *kwnames
[] = {
14716 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
14719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_BookCtrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14721 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
14722 if (PyErr_Occurred()) SWIG_fail
;
14725 arg2
= (int) SWIG_AsInt(obj1
);
14726 if (PyErr_Occurred()) SWIG_fail
;
14729 arg3
= (int) SWIG_AsInt(obj2
);
14730 if (PyErr_Occurred()) SWIG_fail
;
14733 arg4
= (int) SWIG_AsInt(obj3
);
14734 if (PyErr_Occurred()) SWIG_fail
;
14737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14738 result
= (wxBookCtrlEvent
*)new wxBookCtrlEvent(arg1
,arg2
,arg3
,arg4
);
14740 wxPyEndAllowThreads(__tstate
);
14741 if (PyErr_Occurred()) SWIG_fail
;
14743 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlEvent
, 1);
14750 static PyObject
*_wrap_BookCtrlEvent_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14751 PyObject
*resultobj
;
14752 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
14754 PyObject
* obj0
= 0 ;
14755 char *kwnames
[] = {
14756 (char *) "self", NULL
14759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
14760 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
14761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14764 result
= (int)((wxBookCtrlEvent
const *)arg1
)->GetSelection();
14766 wxPyEndAllowThreads(__tstate
);
14767 if (PyErr_Occurred()) SWIG_fail
;
14769 resultobj
= SWIG_FromInt((int)result
);
14776 static PyObject
*_wrap_BookCtrlEvent_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14777 PyObject
*resultobj
;
14778 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
14780 PyObject
* obj0
= 0 ;
14781 PyObject
* obj1
= 0 ;
14782 char *kwnames
[] = {
14783 (char *) "self",(char *) "nSel", NULL
14786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlEvent_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
14787 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
14788 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14789 arg2
= (int) SWIG_AsInt(obj1
);
14790 if (PyErr_Occurred()) SWIG_fail
;
14792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14793 (arg1
)->SetSelection(arg2
);
14795 wxPyEndAllowThreads(__tstate
);
14796 if (PyErr_Occurred()) SWIG_fail
;
14798 Py_INCREF(Py_None
); resultobj
= Py_None
;
14805 static PyObject
*_wrap_BookCtrlEvent_GetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14806 PyObject
*resultobj
;
14807 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
14809 PyObject
* obj0
= 0 ;
14810 char *kwnames
[] = {
14811 (char *) "self", NULL
14814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlEvent_GetOldSelection",kwnames
,&obj0
)) goto fail
;
14815 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
14816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14819 result
= (int)((wxBookCtrlEvent
const *)arg1
)->GetOldSelection();
14821 wxPyEndAllowThreads(__tstate
);
14822 if (PyErr_Occurred()) SWIG_fail
;
14824 resultobj
= SWIG_FromInt((int)result
);
14831 static PyObject
*_wrap_BookCtrlEvent_SetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14832 PyObject
*resultobj
;
14833 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
14835 PyObject
* obj0
= 0 ;
14836 PyObject
* obj1
= 0 ;
14837 char *kwnames
[] = {
14838 (char *) "self",(char *) "nOldSel", NULL
14841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlEvent_SetOldSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
14842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
14843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14844 arg2
= (int) SWIG_AsInt(obj1
);
14845 if (PyErr_Occurred()) SWIG_fail
;
14847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14848 (arg1
)->SetOldSelection(arg2
);
14850 wxPyEndAllowThreads(__tstate
);
14851 if (PyErr_Occurred()) SWIG_fail
;
14853 Py_INCREF(Py_None
); resultobj
= Py_None
;
14860 static PyObject
* BookCtrlEvent_swigregister(PyObject
*self
, PyObject
*args
) {
14862 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14863 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlEvent
, obj
);
14865 return Py_BuildValue((char *)"");
14867 static PyObject
*_wrap_new_Notebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14868 PyObject
*resultobj
;
14869 wxWindow
*arg1
= (wxWindow
*) 0 ;
14870 int arg2
= (int) -1 ;
14871 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14872 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14873 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14874 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14875 long arg5
= (long) 0 ;
14876 wxString
const &arg6_defvalue
= wxPyNOTEBOOK_NAME
;
14877 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14878 wxNotebook
*result
;
14881 bool temp6
= False
;
14882 PyObject
* obj0
= 0 ;
14883 PyObject
* obj1
= 0 ;
14884 PyObject
* obj2
= 0 ;
14885 PyObject
* obj3
= 0 ;
14886 PyObject
* obj4
= 0 ;
14887 PyObject
* obj5
= 0 ;
14888 char *kwnames
[] = {
14889 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Notebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
14894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14896 arg2
= (int) SWIG_AsInt(obj1
);
14897 if (PyErr_Occurred()) SWIG_fail
;
14902 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14908 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14912 arg5
= (long) SWIG_AsLong(obj4
);
14913 if (PyErr_Occurred()) SWIG_fail
;
14917 arg6
= wxString_in_helper(obj5
);
14918 if (arg6
== NULL
) SWIG_fail
;
14923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14924 result
= (wxNotebook
*)new wxNotebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14926 wxPyEndAllowThreads(__tstate
);
14927 if (PyErr_Occurred()) SWIG_fail
;
14930 resultobj
= wxPyMake_wxObject(result
);
14946 static PyObject
*_wrap_new_PreNotebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14947 PyObject
*resultobj
;
14948 wxNotebook
*result
;
14949 char *kwnames
[] = {
14953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreNotebook",kwnames
)) goto fail
;
14955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14956 result
= (wxNotebook
*)new wxNotebook();
14958 wxPyEndAllowThreads(__tstate
);
14959 if (PyErr_Occurred()) SWIG_fail
;
14962 resultobj
= wxPyMake_wxObject(result
);
14970 static PyObject
*_wrap_Notebook_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14971 PyObject
*resultobj
;
14972 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14973 wxWindow
*arg2
= (wxWindow
*) 0 ;
14975 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14976 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14977 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14978 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14979 long arg6
= (long) 0 ;
14980 wxString
const &arg7_defvalue
= wxPyNOTEBOOK_NAME
;
14981 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14985 bool temp7
= False
;
14986 PyObject
* obj0
= 0 ;
14987 PyObject
* obj1
= 0 ;
14988 PyObject
* obj2
= 0 ;
14989 PyObject
* obj3
= 0 ;
14990 PyObject
* obj4
= 0 ;
14991 PyObject
* obj5
= 0 ;
14992 PyObject
* obj6
= 0 ;
14993 char *kwnames
[] = {
14994 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Notebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14998 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
14999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15000 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
15001 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15002 arg3
= (int) SWIG_AsInt(obj2
);
15003 if (PyErr_Occurred()) SWIG_fail
;
15007 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15013 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15017 arg6
= (long) SWIG_AsLong(obj5
);
15018 if (PyErr_Occurred()) SWIG_fail
;
15022 arg7
= wxString_in_helper(obj6
);
15023 if (arg7
== NULL
) SWIG_fail
;
15028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15029 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
15031 wxPyEndAllowThreads(__tstate
);
15032 if (PyErr_Occurred()) SWIG_fail
;
15035 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15051 static PyObject
*_wrap_Notebook_GetRowCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15052 PyObject
*resultobj
;
15053 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15055 PyObject
* obj0
= 0 ;
15056 char *kwnames
[] = {
15057 (char *) "self", NULL
15060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Notebook_GetRowCount",kwnames
,&obj0
)) goto fail
;
15061 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15065 result
= (int)((wxNotebook
const *)arg1
)->GetRowCount();
15067 wxPyEndAllowThreads(__tstate
);
15068 if (PyErr_Occurred()) SWIG_fail
;
15070 resultobj
= SWIG_FromInt((int)result
);
15077 static PyObject
*_wrap_Notebook_SetPadding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15078 PyObject
*resultobj
;
15079 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15082 PyObject
* obj0
= 0 ;
15083 PyObject
* obj1
= 0 ;
15084 char *kwnames
[] = {
15085 (char *) "self",(char *) "padding", NULL
15088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetPadding",kwnames
,&obj0
,&obj1
)) goto fail
;
15089 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15093 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15097 (arg1
)->SetPadding((wxSize
const &)*arg2
);
15099 wxPyEndAllowThreads(__tstate
);
15100 if (PyErr_Occurred()) SWIG_fail
;
15102 Py_INCREF(Py_None
); resultobj
= Py_None
;
15109 static PyObject
*_wrap_Notebook_SetTabSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15110 PyObject
*resultobj
;
15111 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15114 PyObject
* obj0
= 0 ;
15115 PyObject
* obj1
= 0 ;
15116 char *kwnames
[] = {
15117 (char *) "self",(char *) "sz", NULL
15120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetTabSize",kwnames
,&obj0
,&obj1
)) goto fail
;
15121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15125 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15129 (arg1
)->SetTabSize((wxSize
const &)*arg2
);
15131 wxPyEndAllowThreads(__tstate
);
15132 if (PyErr_Occurred()) SWIG_fail
;
15134 Py_INCREF(Py_None
); resultobj
= Py_None
;
15141 static PyObject
*_wrap_Notebook_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15142 PyObject
*resultobj
;
15143 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15144 wxPoint
*arg2
= 0 ;
15145 long *arg3
= (long *) 0 ;
15149 PyObject
* obj0
= 0 ;
15150 PyObject
* obj1
= 0 ;
15151 char *kwnames
[] = {
15152 (char *) "self",(char *) "pt", NULL
15156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_HitTest",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 ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15165 result
= (int)((wxNotebook
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
15167 wxPyEndAllowThreads(__tstate
);
15168 if (PyErr_Occurred()) SWIG_fail
;
15170 resultobj
= SWIG_FromInt((int)result
);
15172 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15173 resultobj
= t_output_helper(resultobj
,o
);
15181 static PyObject
*_wrap_Notebook_CalcSizeFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15182 PyObject
*resultobj
;
15183 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15187 PyObject
* obj0
= 0 ;
15188 PyObject
* obj1
= 0 ;
15189 char *kwnames
[] = {
15190 (char *) "self",(char *) "sizePage", NULL
15193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
15194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15198 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15202 result
= ((wxNotebook
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
15204 wxPyEndAllowThreads(__tstate
);
15205 if (PyErr_Occurred()) SWIG_fail
;
15208 wxSize
* resultptr
;
15209 resultptr
= new wxSize((wxSize
&) result
);
15210 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15218 static PyObject
*_wrap_Notebook_ApplyThemeBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15219 PyObject
*resultobj
;
15220 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15221 wxWindow
*arg2
= (wxWindow
*) 0 ;
15222 wxColour
*arg3
= 0 ;
15224 PyObject
* obj0
= 0 ;
15225 PyObject
* obj1
= 0 ;
15226 PyObject
* obj2
= 0 ;
15227 char *kwnames
[] = {
15228 (char *) "self",(char *) "window",(char *) "colour", NULL
15231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Notebook_ApplyThemeBackground",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15232 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15234 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
15235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15238 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
15241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15242 (arg1
)->ApplyThemeBackground(arg2
,(wxColour
const &)*arg3
);
15244 wxPyEndAllowThreads(__tstate
);
15245 if (PyErr_Occurred()) SWIG_fail
;
15247 Py_INCREF(Py_None
); resultobj
= Py_None
;
15254 static PyObject
*_wrap_Notebook_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15255 PyObject
*resultobj
;
15256 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
15257 wxVisualAttributes result
;
15258 PyObject
* obj0
= 0 ;
15259 char *kwnames
[] = {
15260 (char *) "variant", NULL
15263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
15265 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
15266 if (PyErr_Occurred()) SWIG_fail
;
15269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15270 result
= wxNotebook::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
15272 wxPyEndAllowThreads(__tstate
);
15273 if (PyErr_Occurred()) SWIG_fail
;
15276 wxVisualAttributes
* resultptr
;
15277 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
15278 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
15286 static PyObject
* Notebook_swigregister(PyObject
*self
, PyObject
*args
) {
15288 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15289 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook
, obj
);
15291 return Py_BuildValue((char *)"");
15293 static PyObject
*_wrap_new_NotebookEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15294 PyObject
*resultobj
;
15295 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15296 int arg2
= (int) 0 ;
15297 int arg3
= (int) -1 ;
15298 int arg4
= (int) -1 ;
15299 wxNotebookEvent
*result
;
15300 PyObject
* obj0
= 0 ;
15301 PyObject
* obj1
= 0 ;
15302 PyObject
* obj2
= 0 ;
15303 PyObject
* obj3
= 0 ;
15304 char *kwnames
[] = {
15305 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
15308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_NotebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15310 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
15311 if (PyErr_Occurred()) SWIG_fail
;
15314 arg2
= (int) SWIG_AsInt(obj1
);
15315 if (PyErr_Occurred()) SWIG_fail
;
15318 arg3
= (int) SWIG_AsInt(obj2
);
15319 if (PyErr_Occurred()) SWIG_fail
;
15322 arg4
= (int) SWIG_AsInt(obj3
);
15323 if (PyErr_Occurred()) SWIG_fail
;
15326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15327 result
= (wxNotebookEvent
*)new wxNotebookEvent(arg1
,arg2
,arg3
,arg4
);
15329 wxPyEndAllowThreads(__tstate
);
15330 if (PyErr_Occurred()) SWIG_fail
;
15332 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebookEvent
, 1);
15339 static PyObject
* NotebookEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15341 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15342 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent
, obj
);
15344 return Py_BuildValue((char *)"");
15346 static PyObject
*_wrap_new_Listbook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15347 PyObject
*resultobj
;
15348 wxWindow
*arg1
= (wxWindow
*) 0 ;
15349 int arg2
= (int) -1 ;
15350 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15351 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15352 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15353 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15354 long arg5
= (long) 0 ;
15355 wxString
const &arg6_defvalue
= wxPyEmptyString
;
15356 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15357 wxListbook
*result
;
15360 bool temp6
= False
;
15361 PyObject
* obj0
= 0 ;
15362 PyObject
* obj1
= 0 ;
15363 PyObject
* obj2
= 0 ;
15364 PyObject
* obj3
= 0 ;
15365 PyObject
* obj4
= 0 ;
15366 PyObject
* obj5
= 0 ;
15367 char *kwnames
[] = {
15368 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Listbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15375 arg2
= (int) SWIG_AsInt(obj1
);
15376 if (PyErr_Occurred()) SWIG_fail
;
15381 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15387 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15391 arg5
= (long) SWIG_AsLong(obj4
);
15392 if (PyErr_Occurred()) SWIG_fail
;
15396 arg6
= wxString_in_helper(obj5
);
15397 if (arg6
== NULL
) SWIG_fail
;
15402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15403 result
= (wxListbook
*)new wxListbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15405 wxPyEndAllowThreads(__tstate
);
15406 if (PyErr_Occurred()) SWIG_fail
;
15408 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1);
15423 static PyObject
*_wrap_new_PreListbook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15424 PyObject
*resultobj
;
15425 wxListbook
*result
;
15426 char *kwnames
[] = {
15430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListbook",kwnames
)) goto fail
;
15432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15433 result
= (wxListbook
*)new wxListbook();
15435 wxPyEndAllowThreads(__tstate
);
15436 if (PyErr_Occurred()) SWIG_fail
;
15438 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1);
15445 static PyObject
*_wrap_Listbook_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15446 PyObject
*resultobj
;
15447 wxListbook
*arg1
= (wxListbook
*) 0 ;
15448 wxWindow
*arg2
= (wxWindow
*) 0 ;
15450 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15451 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15452 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15453 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15454 long arg6
= (long) 0 ;
15455 wxString
const &arg7_defvalue
= wxPyEmptyString
;
15456 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15460 bool temp7
= False
;
15461 PyObject
* obj0
= 0 ;
15462 PyObject
* obj1
= 0 ;
15463 PyObject
* obj2
= 0 ;
15464 PyObject
* obj3
= 0 ;
15465 PyObject
* obj4
= 0 ;
15466 PyObject
* obj5
= 0 ;
15467 PyObject
* obj6
= 0 ;
15468 char *kwnames
[] = {
15469 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Listbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
15473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListbook
,
15474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15475 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
15476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15477 arg3
= (int) SWIG_AsInt(obj2
);
15478 if (PyErr_Occurred()) SWIG_fail
;
15482 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15488 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15492 arg6
= (long) SWIG_AsLong(obj5
);
15493 if (PyErr_Occurred()) SWIG_fail
;
15497 arg7
= wxString_in_helper(obj6
);
15498 if (arg7
== NULL
) SWIG_fail
;
15503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15504 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
15506 wxPyEndAllowThreads(__tstate
);
15507 if (PyErr_Occurred()) SWIG_fail
;
15510 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15526 static PyObject
*_wrap_Listbook_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15527 PyObject
*resultobj
;
15528 wxListbook
*arg1
= (wxListbook
*) 0 ;
15530 PyObject
* obj0
= 0 ;
15531 char *kwnames
[] = {
15532 (char *) "self", NULL
15535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Listbook_IsVertical",kwnames
,&obj0
)) goto fail
;
15536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListbook
,
15537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15540 result
= (bool)((wxListbook
const *)arg1
)->IsVertical();
15542 wxPyEndAllowThreads(__tstate
);
15543 if (PyErr_Occurred()) SWIG_fail
;
15546 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15554 static PyObject
* Listbook_swigregister(PyObject
*self
, PyObject
*args
) {
15556 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15557 SWIG_TypeClientData(SWIGTYPE_p_wxListbook
, obj
);
15559 return Py_BuildValue((char *)"");
15561 static PyObject
*_wrap_new_ListbookEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15562 PyObject
*resultobj
;
15563 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15564 int arg2
= (int) 0 ;
15565 int arg3
= (int) -1 ;
15566 int arg4
= (int) -1 ;
15567 wxListbookEvent
*result
;
15568 PyObject
* obj0
= 0 ;
15569 PyObject
* obj1
= 0 ;
15570 PyObject
* obj2
= 0 ;
15571 PyObject
* obj3
= 0 ;
15572 char *kwnames
[] = {
15573 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
15576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ListbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15578 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
15579 if (PyErr_Occurred()) SWIG_fail
;
15582 arg2
= (int) SWIG_AsInt(obj1
);
15583 if (PyErr_Occurred()) SWIG_fail
;
15586 arg3
= (int) SWIG_AsInt(obj2
);
15587 if (PyErr_Occurred()) SWIG_fail
;
15590 arg4
= (int) SWIG_AsInt(obj3
);
15591 if (PyErr_Occurred()) SWIG_fail
;
15594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15595 result
= (wxListbookEvent
*)new wxListbookEvent(arg1
,arg2
,arg3
,arg4
);
15597 wxPyEndAllowThreads(__tstate
);
15598 if (PyErr_Occurred()) SWIG_fail
;
15600 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbookEvent
, 1);
15607 static PyObject
* ListbookEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15609 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15610 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent
, obj
);
15612 return Py_BuildValue((char *)"");
15614 static PyObject
*_wrap_new_BookCtrlSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15615 PyObject
*resultobj
;
15616 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
15617 wxBookCtrlSizer
*result
;
15618 PyObject
* obj0
= 0 ;
15619 char *kwnames
[] = {
15620 (char *) "nb", NULL
15623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BookCtrlSizer",kwnames
,&obj0
)) goto fail
;
15624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
15625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15628 result
= (wxBookCtrlSizer
*)new wxBookCtrlSizer(arg1
);
15630 wxPyEndAllowThreads(__tstate
);
15631 if (PyErr_Occurred()) SWIG_fail
;
15633 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlSizer
, 1);
15640 static PyObject
*_wrap_BookCtrlSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15641 PyObject
*resultobj
;
15642 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
15643 PyObject
* obj0
= 0 ;
15644 char *kwnames
[] = {
15645 (char *) "self", NULL
15648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
15649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlSizer
,
15650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15653 (arg1
)->RecalcSizes();
15655 wxPyEndAllowThreads(__tstate
);
15656 if (PyErr_Occurred()) SWIG_fail
;
15658 Py_INCREF(Py_None
); resultobj
= Py_None
;
15665 static PyObject
*_wrap_BookCtrlSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15666 PyObject
*resultobj
;
15667 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
15669 PyObject
* obj0
= 0 ;
15670 char *kwnames
[] = {
15671 (char *) "self", NULL
15674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
15675 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlSizer
,
15676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15679 result
= (arg1
)->CalcMin();
15681 wxPyEndAllowThreads(__tstate
);
15682 if (PyErr_Occurred()) SWIG_fail
;
15685 wxSize
* resultptr
;
15686 resultptr
= new wxSize((wxSize
&) result
);
15687 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15695 static PyObject
*_wrap_BookCtrlSizer_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15696 PyObject
*resultobj
;
15697 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
15698 wxBookCtrl
*result
;
15699 PyObject
* obj0
= 0 ;
15700 char *kwnames
[] = {
15701 (char *) "self", NULL
15704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_GetControl",kwnames
,&obj0
)) goto fail
;
15705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlSizer
,
15706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15709 result
= (wxBookCtrl
*)(arg1
)->GetControl();
15711 wxPyEndAllowThreads(__tstate
);
15712 if (PyErr_Occurred()) SWIG_fail
;
15714 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrl
, 0);
15721 static PyObject
* BookCtrlSizer_swigregister(PyObject
*self
, PyObject
*args
) {
15723 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15724 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer
, obj
);
15726 return Py_BuildValue((char *)"");
15728 static PyObject
*_wrap_new_NotebookSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15729 PyObject
*resultobj
;
15730 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15731 wxNotebookSizer
*result
;
15732 PyObject
* obj0
= 0 ;
15733 char *kwnames
[] = {
15734 (char *) "nb", NULL
15737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NotebookSizer",kwnames
,&obj0
)) goto fail
;
15738 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15739 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15742 result
= (wxNotebookSizer
*)new wxNotebookSizer(arg1
);
15744 wxPyEndAllowThreads(__tstate
);
15745 if (PyErr_Occurred()) SWIG_fail
;
15747 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebookSizer
, 1);
15754 static PyObject
*_wrap_NotebookSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15755 PyObject
*resultobj
;
15756 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
15757 PyObject
* obj0
= 0 ;
15758 char *kwnames
[] = {
15759 (char *) "self", NULL
15762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
15763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebookSizer
,
15764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15767 (arg1
)->RecalcSizes();
15769 wxPyEndAllowThreads(__tstate
);
15770 if (PyErr_Occurred()) SWIG_fail
;
15772 Py_INCREF(Py_None
); resultobj
= Py_None
;
15779 static PyObject
*_wrap_NotebookSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15780 PyObject
*resultobj
;
15781 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
15783 PyObject
* obj0
= 0 ;
15784 char *kwnames
[] = {
15785 (char *) "self", NULL
15788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
15789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebookSizer
,
15790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15793 result
= (arg1
)->CalcMin();
15795 wxPyEndAllowThreads(__tstate
);
15796 if (PyErr_Occurred()) SWIG_fail
;
15799 wxSize
* resultptr
;
15800 resultptr
= new wxSize((wxSize
&) result
);
15801 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15809 static PyObject
*_wrap_NotebookSizer_GetNotebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15810 PyObject
*resultobj
;
15811 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
15812 wxNotebook
*result
;
15813 PyObject
* obj0
= 0 ;
15814 char *kwnames
[] = {
15815 (char *) "self", NULL
15818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_GetNotebook",kwnames
,&obj0
)) goto fail
;
15819 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebookSizer
,
15820 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15823 result
= (wxNotebook
*)(arg1
)->GetNotebook();
15825 wxPyEndAllowThreads(__tstate
);
15826 if (PyErr_Occurred()) SWIG_fail
;
15829 resultobj
= wxPyMake_wxObject(result
);
15837 static PyObject
* NotebookSizer_swigregister(PyObject
*self
, PyObject
*args
) {
15839 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15840 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer
, obj
);
15842 return Py_BuildValue((char *)"");
15844 static PyObject
*_wrap_ToolBarToolBase_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15845 PyObject
*resultobj
;
15846 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15848 PyObject
* obj0
= 0 ;
15849 char *kwnames
[] = {
15850 (char *) "self", NULL
15853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetId",kwnames
,&obj0
)) goto fail
;
15854 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15858 result
= (int)(arg1
)->GetId();
15860 wxPyEndAllowThreads(__tstate
);
15861 if (PyErr_Occurred()) SWIG_fail
;
15863 resultobj
= SWIG_FromInt((int)result
);
15870 static PyObject
*_wrap_ToolBarToolBase_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15871 PyObject
*resultobj
;
15872 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15874 PyObject
* obj0
= 0 ;
15875 char *kwnames
[] = {
15876 (char *) "self", NULL
15879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetControl",kwnames
,&obj0
)) goto fail
;
15880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15884 result
= (wxControl
*)(arg1
)->GetControl();
15886 wxPyEndAllowThreads(__tstate
);
15887 if (PyErr_Occurred()) SWIG_fail
;
15890 resultobj
= wxPyMake_wxObject(result
);
15898 static PyObject
*_wrap_ToolBarToolBase_GetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15899 PyObject
*resultobj
;
15900 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15901 wxToolBarBase
*result
;
15902 PyObject
* obj0
= 0 ;
15903 char *kwnames
[] = {
15904 (char *) "self", NULL
15907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetToolBar",kwnames
,&obj0
)) goto fail
;
15908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15912 result
= (wxToolBarBase
*)(arg1
)->GetToolBar();
15914 wxPyEndAllowThreads(__tstate
);
15915 if (PyErr_Occurred()) SWIG_fail
;
15918 resultobj
= wxPyMake_wxObject(result
);
15926 static PyObject
*_wrap_ToolBarToolBase_IsButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15927 PyObject
*resultobj
;
15928 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15930 PyObject
* obj0
= 0 ;
15931 char *kwnames
[] = {
15932 (char *) "self", NULL
15935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsButton",kwnames
,&obj0
)) goto fail
;
15936 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15937 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15940 result
= (int)(arg1
)->IsButton();
15942 wxPyEndAllowThreads(__tstate
);
15943 if (PyErr_Occurred()) SWIG_fail
;
15945 resultobj
= SWIG_FromInt((int)result
);
15952 static PyObject
*_wrap_ToolBarToolBase_IsControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15953 PyObject
*resultobj
;
15954 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15956 PyObject
* obj0
= 0 ;
15957 char *kwnames
[] = {
15958 (char *) "self", NULL
15961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsControl",kwnames
,&obj0
)) goto fail
;
15962 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15966 result
= (int)(arg1
)->IsControl();
15968 wxPyEndAllowThreads(__tstate
);
15969 if (PyErr_Occurred()) SWIG_fail
;
15971 resultobj
= SWIG_FromInt((int)result
);
15978 static PyObject
*_wrap_ToolBarToolBase_IsSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15979 PyObject
*resultobj
;
15980 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15982 PyObject
* obj0
= 0 ;
15983 char *kwnames
[] = {
15984 (char *) "self", NULL
15987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsSeparator",kwnames
,&obj0
)) goto fail
;
15988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15992 result
= (int)(arg1
)->IsSeparator();
15994 wxPyEndAllowThreads(__tstate
);
15995 if (PyErr_Occurred()) SWIG_fail
;
15997 resultobj
= SWIG_FromInt((int)result
);
16004 static PyObject
*_wrap_ToolBarToolBase_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16005 PyObject
*resultobj
;
16006 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16008 PyObject
* obj0
= 0 ;
16009 char *kwnames
[] = {
16010 (char *) "self", NULL
16013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetStyle",kwnames
,&obj0
)) goto fail
;
16014 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16018 result
= (int)(arg1
)->GetStyle();
16020 wxPyEndAllowThreads(__tstate
);
16021 if (PyErr_Occurred()) SWIG_fail
;
16023 resultobj
= SWIG_FromInt((int)result
);
16030 static PyObject
*_wrap_ToolBarToolBase_GetKind(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16031 PyObject
*resultobj
;
16032 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16034 PyObject
* obj0
= 0 ;
16035 char *kwnames
[] = {
16036 (char *) "self", NULL
16039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetKind",kwnames
,&obj0
)) goto fail
;
16040 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16044 result
= (int)(arg1
)->GetKind();
16046 wxPyEndAllowThreads(__tstate
);
16047 if (PyErr_Occurred()) SWIG_fail
;
16049 resultobj
= SWIG_FromInt((int)result
);
16056 static PyObject
*_wrap_ToolBarToolBase_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16057 PyObject
*resultobj
;
16058 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16060 PyObject
* obj0
= 0 ;
16061 char *kwnames
[] = {
16062 (char *) "self", NULL
16065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsEnabled",kwnames
,&obj0
)) goto fail
;
16066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16070 result
= (bool)(arg1
)->IsEnabled();
16072 wxPyEndAllowThreads(__tstate
);
16073 if (PyErr_Occurred()) SWIG_fail
;
16076 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16084 static PyObject
*_wrap_ToolBarToolBase_IsToggled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16085 PyObject
*resultobj
;
16086 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16088 PyObject
* obj0
= 0 ;
16089 char *kwnames
[] = {
16090 (char *) "self", NULL
16093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsToggled",kwnames
,&obj0
)) goto fail
;
16094 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16098 result
= (bool)(arg1
)->IsToggled();
16100 wxPyEndAllowThreads(__tstate
);
16101 if (PyErr_Occurred()) SWIG_fail
;
16104 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16112 static PyObject
*_wrap_ToolBarToolBase_CanBeToggled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16113 PyObject
*resultobj
;
16114 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16116 PyObject
* obj0
= 0 ;
16117 char *kwnames
[] = {
16118 (char *) "self", NULL
16121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames
,&obj0
)) goto fail
;
16122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16126 result
= (bool)(arg1
)->CanBeToggled();
16128 wxPyEndAllowThreads(__tstate
);
16129 if (PyErr_Occurred()) SWIG_fail
;
16132 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16140 static PyObject
*_wrap_ToolBarToolBase_GetNormalBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16141 PyObject
*resultobj
;
16142 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16144 PyObject
* obj0
= 0 ;
16145 char *kwnames
[] = {
16146 (char *) "self", NULL
16149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames
,&obj0
)) goto fail
;
16150 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16155 wxBitmap
const &_result_ref
= (arg1
)->GetNormalBitmap();
16156 result
= (wxBitmap
*) &_result_ref
;
16159 wxPyEndAllowThreads(__tstate
);
16160 if (PyErr_Occurred()) SWIG_fail
;
16163 wxBitmap
* resultptr
= new wxBitmap(*result
);
16164 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
16172 static PyObject
*_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16173 PyObject
*resultobj
;
16174 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16176 PyObject
* obj0
= 0 ;
16177 char *kwnames
[] = {
16178 (char *) "self", NULL
16181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
;
16182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16187 wxBitmap
const &_result_ref
= (arg1
)->GetDisabledBitmap();
16188 result
= (wxBitmap
*) &_result_ref
;
16191 wxPyEndAllowThreads(__tstate
);
16192 if (PyErr_Occurred()) SWIG_fail
;
16195 wxBitmap
* resultptr
= new wxBitmap(*result
);
16196 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
16204 static PyObject
*_wrap_ToolBarToolBase_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16205 PyObject
*resultobj
;
16206 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16208 PyObject
* obj0
= 0 ;
16209 char *kwnames
[] = {
16210 (char *) "self", NULL
16213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetBitmap",kwnames
,&obj0
)) goto fail
;
16214 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16218 result
= (arg1
)->GetBitmap();
16220 wxPyEndAllowThreads(__tstate
);
16221 if (PyErr_Occurred()) SWIG_fail
;
16224 wxBitmap
* resultptr
;
16225 resultptr
= new wxBitmap((wxBitmap
&) result
);
16226 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
16234 static PyObject
*_wrap_ToolBarToolBase_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16235 PyObject
*resultobj
;
16236 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16238 PyObject
* obj0
= 0 ;
16239 char *kwnames
[] = {
16240 (char *) "self", NULL
16243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLabel",kwnames
,&obj0
)) goto fail
;
16244 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16245 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16248 result
= (arg1
)->GetLabel();
16250 wxPyEndAllowThreads(__tstate
);
16251 if (PyErr_Occurred()) SWIG_fail
;
16255 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16257 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16266 static PyObject
*_wrap_ToolBarToolBase_GetShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16267 PyObject
*resultobj
;
16268 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16270 PyObject
* obj0
= 0 ;
16271 char *kwnames
[] = {
16272 (char *) "self", NULL
16275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames
,&obj0
)) goto fail
;
16276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16280 result
= (arg1
)->GetShortHelp();
16282 wxPyEndAllowThreads(__tstate
);
16283 if (PyErr_Occurred()) SWIG_fail
;
16287 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16289 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16298 static PyObject
*_wrap_ToolBarToolBase_GetLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16299 PyObject
*resultobj
;
16300 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16302 PyObject
* obj0
= 0 ;
16303 char *kwnames
[] = {
16304 (char *) "self", NULL
16307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames
,&obj0
)) goto fail
;
16308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16312 result
= (arg1
)->GetLongHelp();
16314 wxPyEndAllowThreads(__tstate
);
16315 if (PyErr_Occurred()) SWIG_fail
;
16319 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16321 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16330 static PyObject
*_wrap_ToolBarToolBase_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16331 PyObject
*resultobj
;
16332 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16335 PyObject
* obj0
= 0 ;
16336 PyObject
* obj1
= 0 ;
16337 char *kwnames
[] = {
16338 (char *) "self",(char *) "enable", NULL
16341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
16342 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16344 arg2
= (bool) SWIG_AsBool(obj1
);
16345 if (PyErr_Occurred()) SWIG_fail
;
16347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16348 result
= (bool)(arg1
)->Enable(arg2
);
16350 wxPyEndAllowThreads(__tstate
);
16351 if (PyErr_Occurred()) SWIG_fail
;
16354 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16362 static PyObject
*_wrap_ToolBarToolBase_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16363 PyObject
*resultobj
;
16364 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16365 PyObject
* obj0
= 0 ;
16366 char *kwnames
[] = {
16367 (char *) "self", NULL
16370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Toggle",kwnames
,&obj0
)) goto fail
;
16371 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16372 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16377 wxPyEndAllowThreads(__tstate
);
16378 if (PyErr_Occurred()) SWIG_fail
;
16380 Py_INCREF(Py_None
); resultobj
= Py_None
;
16387 static PyObject
*_wrap_ToolBarToolBase_SetToggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16388 PyObject
*resultobj
;
16389 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16392 PyObject
* obj0
= 0 ;
16393 PyObject
* obj1
= 0 ;
16394 char *kwnames
[] = {
16395 (char *) "self",(char *) "toggle", NULL
16398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetToggle",kwnames
,&obj0
,&obj1
)) goto fail
;
16399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16401 arg2
= (bool) SWIG_AsBool(obj1
);
16402 if (PyErr_Occurred()) SWIG_fail
;
16404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16405 result
= (bool)(arg1
)->SetToggle(arg2
);
16407 wxPyEndAllowThreads(__tstate
);
16408 if (PyErr_Occurred()) SWIG_fail
;
16411 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16419 static PyObject
*_wrap_ToolBarToolBase_SetShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16420 PyObject
*resultobj
;
16421 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16422 wxString
*arg2
= 0 ;
16424 bool temp2
= False
;
16425 PyObject
* obj0
= 0 ;
16426 PyObject
* obj1
= 0 ;
16427 char *kwnames
[] = {
16428 (char *) "self",(char *) "help", NULL
16431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
16432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16435 arg2
= wxString_in_helper(obj1
);
16436 if (arg2
== NULL
) SWIG_fail
;
16440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16441 result
= (bool)(arg1
)->SetShortHelp((wxString
const &)*arg2
);
16443 wxPyEndAllowThreads(__tstate
);
16444 if (PyErr_Occurred()) SWIG_fail
;
16447 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16463 static PyObject
*_wrap_ToolBarToolBase_SetLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16464 PyObject
*resultobj
;
16465 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16466 wxString
*arg2
= 0 ;
16468 bool temp2
= False
;
16469 PyObject
* obj0
= 0 ;
16470 PyObject
* obj1
= 0 ;
16471 char *kwnames
[] = {
16472 (char *) "self",(char *) "help", NULL
16475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
16476 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16479 arg2
= wxString_in_helper(obj1
);
16480 if (arg2
== NULL
) SWIG_fail
;
16484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16485 result
= (bool)(arg1
)->SetLongHelp((wxString
const &)*arg2
);
16487 wxPyEndAllowThreads(__tstate
);
16488 if (PyErr_Occurred()) SWIG_fail
;
16491 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16507 static PyObject
*_wrap_ToolBarToolBase_SetNormalBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16508 PyObject
*resultobj
;
16509 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16510 wxBitmap
*arg2
= 0 ;
16511 PyObject
* obj0
= 0 ;
16512 PyObject
* obj1
= 0 ;
16513 char *kwnames
[] = {
16514 (char *) "self",(char *) "bmp", NULL
16517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
16518 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16519 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16520 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
16521 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16523 if (arg2
== NULL
) {
16524 PyErr_SetString(PyExc_TypeError
,"null reference");
16528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16529 (arg1
)->SetNormalBitmap((wxBitmap
const &)*arg2
);
16531 wxPyEndAllowThreads(__tstate
);
16532 if (PyErr_Occurred()) SWIG_fail
;
16534 Py_INCREF(Py_None
); resultobj
= Py_None
;
16541 static PyObject
*_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16542 PyObject
*resultobj
;
16543 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16544 wxBitmap
*arg2
= 0 ;
16545 PyObject
* obj0
= 0 ;
16546 PyObject
* obj1
= 0 ;
16547 char *kwnames
[] = {
16548 (char *) "self",(char *) "bmp", NULL
16551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
16552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16554 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
16555 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16557 if (arg2
== NULL
) {
16558 PyErr_SetString(PyExc_TypeError
,"null reference");
16562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16563 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
16565 wxPyEndAllowThreads(__tstate
);
16566 if (PyErr_Occurred()) SWIG_fail
;
16568 Py_INCREF(Py_None
); resultobj
= Py_None
;
16575 static PyObject
*_wrap_ToolBarToolBase_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16576 PyObject
*resultobj
;
16577 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16578 wxString
*arg2
= 0 ;
16579 bool temp2
= False
;
16580 PyObject
* obj0
= 0 ;
16581 PyObject
* obj1
= 0 ;
16582 char *kwnames
[] = {
16583 (char *) "self",(char *) "label", NULL
16586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
16587 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16590 arg2
= wxString_in_helper(obj1
);
16591 if (arg2
== NULL
) SWIG_fail
;
16595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16596 (arg1
)->SetLabel((wxString
const &)*arg2
);
16598 wxPyEndAllowThreads(__tstate
);
16599 if (PyErr_Occurred()) SWIG_fail
;
16601 Py_INCREF(Py_None
); resultobj
= Py_None
;
16616 static PyObject
*_wrap_ToolBarToolBase_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16617 PyObject
*resultobj
;
16618 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16619 PyObject
* obj0
= 0 ;
16620 char *kwnames
[] = {
16621 (char *) "self", NULL
16624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Detach",kwnames
,&obj0
)) goto fail
;
16625 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16631 wxPyEndAllowThreads(__tstate
);
16632 if (PyErr_Occurred()) SWIG_fail
;
16634 Py_INCREF(Py_None
); resultobj
= Py_None
;
16641 static PyObject
*_wrap_ToolBarToolBase_Attach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16642 PyObject
*resultobj
;
16643 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16644 wxToolBarBase
*arg2
= (wxToolBarBase
*) 0 ;
16645 PyObject
* obj0
= 0 ;
16646 PyObject
* obj1
= 0 ;
16647 char *kwnames
[] = {
16648 (char *) "self",(char *) "tbar", NULL
16651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
16652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16654 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBarBase
,
16655 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16658 (arg1
)->Attach(arg2
);
16660 wxPyEndAllowThreads(__tstate
);
16661 if (PyErr_Occurred()) SWIG_fail
;
16663 Py_INCREF(Py_None
); resultobj
= Py_None
;
16670 static PyObject
*_wrap_ToolBarToolBase_GetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16671 PyObject
*resultobj
;
16672 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16674 PyObject
* obj0
= 0 ;
16675 char *kwnames
[] = {
16676 (char *) "self", NULL
16679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetClientData",kwnames
,&obj0
)) goto fail
;
16680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16684 result
= (PyObject
*)wxToolBarToolBase_GetClientData(arg1
);
16686 wxPyEndAllowThreads(__tstate
);
16687 if (PyErr_Occurred()) SWIG_fail
;
16689 resultobj
= result
;
16696 static PyObject
*_wrap_ToolBarToolBase_SetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16697 PyObject
*resultobj
;
16698 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16699 PyObject
*arg2
= (PyObject
*) 0 ;
16700 PyObject
* obj0
= 0 ;
16701 PyObject
* obj1
= 0 ;
16702 char *kwnames
[] = {
16703 (char *) "self",(char *) "clientData", NULL
16706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
16707 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16712 wxToolBarToolBase_SetClientData(arg1
,arg2
);
16714 wxPyEndAllowThreads(__tstate
);
16715 if (PyErr_Occurred()) SWIG_fail
;
16717 Py_INCREF(Py_None
); resultobj
= Py_None
;
16724 static PyObject
* ToolBarToolBase_swigregister(PyObject
*self
, PyObject
*args
) {
16726 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16727 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase
, obj
);
16729 return Py_BuildValue((char *)"");
16731 static PyObject
*_wrap_ToolBarBase_DoAddTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16732 PyObject
*resultobj
;
16733 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16735 wxString
*arg3
= 0 ;
16736 wxBitmap
*arg4
= 0 ;
16737 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
16738 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
16739 int arg6
= (int) wxITEM_NORMAL
;
16740 wxString
const &arg7_defvalue
= wxPyEmptyString
;
16741 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
16742 wxString
const &arg8_defvalue
= wxPyEmptyString
;
16743 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
16744 PyObject
*arg9
= (PyObject
*) NULL
;
16745 wxToolBarToolBase
*result
;
16746 bool temp3
= False
;
16747 bool temp7
= False
;
16748 bool temp8
= False
;
16749 PyObject
* obj0
= 0 ;
16750 PyObject
* obj1
= 0 ;
16751 PyObject
* obj2
= 0 ;
16752 PyObject
* obj3
= 0 ;
16753 PyObject
* obj4
= 0 ;
16754 PyObject
* obj5
= 0 ;
16755 PyObject
* obj6
= 0 ;
16756 PyObject
* obj7
= 0 ;
16757 PyObject
* obj8
= 0 ;
16758 char *kwnames
[] = {
16759 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
16762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
16763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16765 arg2
= (int) SWIG_AsInt(obj1
);
16766 if (PyErr_Occurred()) SWIG_fail
;
16768 arg3
= wxString_in_helper(obj2
);
16769 if (arg3
== NULL
) SWIG_fail
;
16772 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
16773 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16775 if (arg4
== NULL
) {
16776 PyErr_SetString(PyExc_TypeError
,"null reference");
16780 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxBitmap
,
16781 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16783 if (arg5
== NULL
) {
16784 PyErr_SetString(PyExc_TypeError
,"null reference");
16789 arg6
= (wxItemKind
) SWIG_AsInt(obj5
);
16790 if (PyErr_Occurred()) SWIG_fail
;
16794 arg7
= wxString_in_helper(obj6
);
16795 if (arg7
== NULL
) SWIG_fail
;
16801 arg8
= wxString_in_helper(obj7
);
16802 if (arg8
== NULL
) SWIG_fail
;
16810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16811 result
= (wxToolBarToolBase
*)wxToolBarBase_DoAddTool(arg1
,arg2
,(wxString
const &)*arg3
,(wxBitmap
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxItemKind
)arg6
,(wxString
const &)*arg7
,(wxString
const &)*arg8
,arg9
);
16813 wxPyEndAllowThreads(__tstate
);
16814 if (PyErr_Occurred()) SWIG_fail
;
16817 resultobj
= wxPyMake_wxObject(result
);
16849 static PyObject
*_wrap_ToolBarBase_DoInsertTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16850 PyObject
*resultobj
;
16851 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16854 wxString
*arg4
= 0 ;
16855 wxBitmap
*arg5
= 0 ;
16856 wxBitmap
const &arg6_defvalue
= wxNullBitmap
;
16857 wxBitmap
*arg6
= (wxBitmap
*) &arg6_defvalue
;
16858 int arg7
= (int) wxITEM_NORMAL
;
16859 wxString
const &arg8_defvalue
= wxPyEmptyString
;
16860 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
16861 wxString
const &arg9_defvalue
= wxPyEmptyString
;
16862 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
16863 PyObject
*arg10
= (PyObject
*) NULL
;
16864 wxToolBarToolBase
*result
;
16865 bool temp4
= False
;
16866 bool temp8
= False
;
16867 bool temp9
= False
;
16868 PyObject
* obj0
= 0 ;
16869 PyObject
* obj1
= 0 ;
16870 PyObject
* obj2
= 0 ;
16871 PyObject
* obj3
= 0 ;
16872 PyObject
* obj4
= 0 ;
16873 PyObject
* obj5
= 0 ;
16874 PyObject
* obj6
= 0 ;
16875 PyObject
* obj7
= 0 ;
16876 PyObject
* obj8
= 0 ;
16877 PyObject
* obj9
= 0 ;
16878 char *kwnames
[] = {
16879 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
16882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
16883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16885 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
16886 if (PyErr_Occurred()) SWIG_fail
;
16887 arg3
= (int) SWIG_AsInt(obj2
);
16888 if (PyErr_Occurred()) SWIG_fail
;
16890 arg4
= wxString_in_helper(obj3
);
16891 if (arg4
== NULL
) SWIG_fail
;
16894 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxBitmap
,
16895 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16897 if (arg5
== NULL
) {
16898 PyErr_SetString(PyExc_TypeError
,"null reference");
16902 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxBitmap
,
16903 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16905 if (arg6
== NULL
) {
16906 PyErr_SetString(PyExc_TypeError
,"null reference");
16911 arg7
= (wxItemKind
) SWIG_AsInt(obj6
);
16912 if (PyErr_Occurred()) SWIG_fail
;
16916 arg8
= wxString_in_helper(obj7
);
16917 if (arg8
== NULL
) SWIG_fail
;
16923 arg9
= wxString_in_helper(obj8
);
16924 if (arg9
== NULL
) SWIG_fail
;
16932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16933 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
);
16935 wxPyEndAllowThreads(__tstate
);
16936 if (PyErr_Occurred()) SWIG_fail
;
16939 resultobj
= wxPyMake_wxObject(result
);
16971 static PyObject
*_wrap_ToolBarBase_AddToolItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16972 PyObject
*resultobj
;
16973 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16974 wxToolBarToolBase
*arg2
= (wxToolBarToolBase
*) 0 ;
16975 wxToolBarToolBase
*result
;
16976 PyObject
* obj0
= 0 ;
16977 PyObject
* obj1
= 0 ;
16978 char *kwnames
[] = {
16979 (char *) "self",(char *) "tool", NULL
16982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddToolItem",kwnames
,&obj0
,&obj1
)) goto fail
;
16983 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16985 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBarToolBase
,
16986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16989 result
= (wxToolBarToolBase
*)(arg1
)->AddTool(arg2
);
16991 wxPyEndAllowThreads(__tstate
);
16992 if (PyErr_Occurred()) SWIG_fail
;
16995 resultobj
= wxPyMake_wxObject(result
);
17003 static PyObject
*_wrap_ToolBarBase_InsertToolItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17004 PyObject
*resultobj
;
17005 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17007 wxToolBarToolBase
*arg3
= (wxToolBarToolBase
*) 0 ;
17008 wxToolBarToolBase
*result
;
17009 PyObject
* obj0
= 0 ;
17010 PyObject
* obj1
= 0 ;
17011 PyObject
* obj2
= 0 ;
17012 char *kwnames
[] = {
17013 (char *) "self",(char *) "pos",(char *) "tool", NULL
17016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17019 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
17020 if (PyErr_Occurred()) SWIG_fail
;
17021 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxToolBarToolBase
,
17022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17025 result
= (wxToolBarToolBase
*)(arg1
)->InsertTool(arg2
,arg3
);
17027 wxPyEndAllowThreads(__tstate
);
17028 if (PyErr_Occurred()) SWIG_fail
;
17031 resultobj
= wxPyMake_wxObject(result
);
17039 static PyObject
*_wrap_ToolBarBase_AddControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17040 PyObject
*resultobj
;
17041 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17042 wxControl
*arg2
= (wxControl
*) 0 ;
17043 wxToolBarToolBase
*result
;
17044 PyObject
* obj0
= 0 ;
17045 PyObject
* obj1
= 0 ;
17046 char *kwnames
[] = {
17047 (char *) "self",(char *) "control", NULL
17050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddControl",kwnames
,&obj0
,&obj1
)) goto fail
;
17051 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17053 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxControl
,
17054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17057 result
= (wxToolBarToolBase
*)(arg1
)->AddControl(arg2
);
17059 wxPyEndAllowThreads(__tstate
);
17060 if (PyErr_Occurred()) SWIG_fail
;
17063 resultobj
= wxPyMake_wxObject(result
);
17071 static PyObject
*_wrap_ToolBarBase_InsertControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17072 PyObject
*resultobj
;
17073 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17075 wxControl
*arg3
= (wxControl
*) 0 ;
17076 wxToolBarToolBase
*result
;
17077 PyObject
* obj0
= 0 ;
17078 PyObject
* obj1
= 0 ;
17079 PyObject
* obj2
= 0 ;
17080 char *kwnames
[] = {
17081 (char *) "self",(char *) "pos",(char *) "control", NULL
17084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertControl",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17085 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17087 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
17088 if (PyErr_Occurred()) SWIG_fail
;
17089 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxControl
,
17090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17093 result
= (wxToolBarToolBase
*)(arg1
)->InsertControl(arg2
,arg3
);
17095 wxPyEndAllowThreads(__tstate
);
17096 if (PyErr_Occurred()) SWIG_fail
;
17099 resultobj
= wxPyMake_wxObject(result
);
17107 static PyObject
*_wrap_ToolBarBase_FindControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17108 PyObject
*resultobj
;
17109 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17112 PyObject
* obj0
= 0 ;
17113 PyObject
* obj1
= 0 ;
17114 char *kwnames
[] = {
17115 (char *) "self",(char *) "id", NULL
17118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindControl",kwnames
,&obj0
,&obj1
)) goto fail
;
17119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17121 arg2
= (int) SWIG_AsInt(obj1
);
17122 if (PyErr_Occurred()) SWIG_fail
;
17124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17125 result
= (wxControl
*)(arg1
)->FindControl(arg2
);
17127 wxPyEndAllowThreads(__tstate
);
17128 if (PyErr_Occurred()) SWIG_fail
;
17131 resultobj
= wxPyMake_wxObject(result
);
17139 static PyObject
*_wrap_ToolBarBase_AddSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17140 PyObject
*resultobj
;
17141 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17142 wxToolBarToolBase
*result
;
17143 PyObject
* obj0
= 0 ;
17144 char *kwnames
[] = {
17145 (char *) "self", NULL
17148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_AddSeparator",kwnames
,&obj0
)) goto fail
;
17149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17153 result
= (wxToolBarToolBase
*)(arg1
)->AddSeparator();
17155 wxPyEndAllowThreads(__tstate
);
17156 if (PyErr_Occurred()) SWIG_fail
;
17159 resultobj
= wxPyMake_wxObject(result
);
17167 static PyObject
*_wrap_ToolBarBase_InsertSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17168 PyObject
*resultobj
;
17169 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17171 wxToolBarToolBase
*result
;
17172 PyObject
* obj0
= 0 ;
17173 PyObject
* obj1
= 0 ;
17174 char *kwnames
[] = {
17175 (char *) "self",(char *) "pos", NULL
17178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
17179 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17181 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
17182 if (PyErr_Occurred()) SWIG_fail
;
17184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17185 result
= (wxToolBarToolBase
*)(arg1
)->InsertSeparator(arg2
);
17187 wxPyEndAllowThreads(__tstate
);
17188 if (PyErr_Occurred()) SWIG_fail
;
17191 resultobj
= wxPyMake_wxObject(result
);
17199 static PyObject
*_wrap_ToolBarBase_RemoveTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17200 PyObject
*resultobj
;
17201 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17203 wxToolBarToolBase
*result
;
17204 PyObject
* obj0
= 0 ;
17205 PyObject
* obj1
= 0 ;
17206 char *kwnames
[] = {
17207 (char *) "self",(char *) "id", NULL
17210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_RemoveTool",kwnames
,&obj0
,&obj1
)) goto fail
;
17211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17213 arg2
= (int) SWIG_AsInt(obj1
);
17214 if (PyErr_Occurred()) SWIG_fail
;
17216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17217 result
= (wxToolBarToolBase
*)(arg1
)->RemoveTool(arg2
);
17219 wxPyEndAllowThreads(__tstate
);
17220 if (PyErr_Occurred()) SWIG_fail
;
17223 resultobj
= wxPyMake_wxObject(result
);
17231 static PyObject
*_wrap_ToolBarBase_DeleteToolByPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17232 PyObject
*resultobj
;
17233 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17236 PyObject
* obj0
= 0 ;
17237 PyObject
* obj1
= 0 ;
17238 char *kwnames
[] = {
17239 (char *) "self",(char *) "pos", NULL
17242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames
,&obj0
,&obj1
)) goto fail
;
17243 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17245 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
17246 if (PyErr_Occurred()) SWIG_fail
;
17248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17249 result
= (bool)(arg1
)->DeleteToolByPos(arg2
);
17251 wxPyEndAllowThreads(__tstate
);
17252 if (PyErr_Occurred()) SWIG_fail
;
17255 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17263 static PyObject
*_wrap_ToolBarBase_DeleteTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17264 PyObject
*resultobj
;
17265 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17268 PyObject
* obj0
= 0 ;
17269 PyObject
* obj1
= 0 ;
17270 char *kwnames
[] = {
17271 (char *) "self",(char *) "id", NULL
17274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteTool",kwnames
,&obj0
,&obj1
)) goto fail
;
17275 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17277 arg2
= (int) SWIG_AsInt(obj1
);
17278 if (PyErr_Occurred()) SWIG_fail
;
17280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17281 result
= (bool)(arg1
)->DeleteTool(arg2
);
17283 wxPyEndAllowThreads(__tstate
);
17284 if (PyErr_Occurred()) SWIG_fail
;
17287 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17295 static PyObject
*_wrap_ToolBarBase_ClearTools(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17296 PyObject
*resultobj
;
17297 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17298 PyObject
* obj0
= 0 ;
17299 char *kwnames
[] = {
17300 (char *) "self", NULL
17303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_ClearTools",kwnames
,&obj0
)) goto fail
;
17304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17308 (arg1
)->ClearTools();
17310 wxPyEndAllowThreads(__tstate
);
17311 if (PyErr_Occurred()) SWIG_fail
;
17313 Py_INCREF(Py_None
); resultobj
= Py_None
;
17320 static PyObject
*_wrap_ToolBarBase_Realize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17321 PyObject
*resultobj
;
17322 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17324 PyObject
* obj0
= 0 ;
17325 char *kwnames
[] = {
17326 (char *) "self", NULL
17329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_Realize",kwnames
,&obj0
)) goto fail
;
17330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17334 result
= (bool)(arg1
)->Realize();
17336 wxPyEndAllowThreads(__tstate
);
17337 if (PyErr_Occurred()) SWIG_fail
;
17340 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17348 static PyObject
*_wrap_ToolBarBase_EnableTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17349 PyObject
*resultobj
;
17350 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17353 PyObject
* obj0
= 0 ;
17354 PyObject
* obj1
= 0 ;
17355 PyObject
* obj2
= 0 ;
17356 char *kwnames
[] = {
17357 (char *) "self",(char *) "id",(char *) "enable", NULL
17360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_EnableTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17361 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17363 arg2
= (int) SWIG_AsInt(obj1
);
17364 if (PyErr_Occurred()) SWIG_fail
;
17365 arg3
= (bool) SWIG_AsBool(obj2
);
17366 if (PyErr_Occurred()) SWIG_fail
;
17368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17369 (arg1
)->EnableTool(arg2
,arg3
);
17371 wxPyEndAllowThreads(__tstate
);
17372 if (PyErr_Occurred()) SWIG_fail
;
17374 Py_INCREF(Py_None
); resultobj
= Py_None
;
17381 static PyObject
*_wrap_ToolBarBase_ToggleTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17382 PyObject
*resultobj
;
17383 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17386 PyObject
* obj0
= 0 ;
17387 PyObject
* obj1
= 0 ;
17388 PyObject
* obj2
= 0 ;
17389 char *kwnames
[] = {
17390 (char *) "self",(char *) "id",(char *) "toggle", NULL
17393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_ToggleTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17396 arg2
= (int) SWIG_AsInt(obj1
);
17397 if (PyErr_Occurred()) SWIG_fail
;
17398 arg3
= (bool) SWIG_AsBool(obj2
);
17399 if (PyErr_Occurred()) SWIG_fail
;
17401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17402 (arg1
)->ToggleTool(arg2
,arg3
);
17404 wxPyEndAllowThreads(__tstate
);
17405 if (PyErr_Occurred()) SWIG_fail
;
17407 Py_INCREF(Py_None
); resultobj
= Py_None
;
17414 static PyObject
*_wrap_ToolBarBase_SetToggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17415 PyObject
*resultobj
;
17416 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17419 PyObject
* obj0
= 0 ;
17420 PyObject
* obj1
= 0 ;
17421 PyObject
* obj2
= 0 ;
17422 char *kwnames
[] = {
17423 (char *) "self",(char *) "id",(char *) "toggle", NULL
17426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToggle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17427 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17429 arg2
= (int) SWIG_AsInt(obj1
);
17430 if (PyErr_Occurred()) SWIG_fail
;
17431 arg3
= (bool) SWIG_AsBool(obj2
);
17432 if (PyErr_Occurred()) SWIG_fail
;
17434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17435 (arg1
)->SetToggle(arg2
,arg3
);
17437 wxPyEndAllowThreads(__tstate
);
17438 if (PyErr_Occurred()) SWIG_fail
;
17440 Py_INCREF(Py_None
); resultobj
= Py_None
;
17447 static PyObject
*_wrap_ToolBarBase_GetToolClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17448 PyObject
*resultobj
;
17449 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17452 PyObject
* obj0
= 0 ;
17453 PyObject
* obj1
= 0 ;
17454 char *kwnames
[] = {
17455 (char *) "self",(char *) "id", NULL
17458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
17459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17461 arg2
= (int) SWIG_AsInt(obj1
);
17462 if (PyErr_Occurred()) SWIG_fail
;
17464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17465 result
= (PyObject
*)wxToolBarBase_GetToolClientData(arg1
,arg2
);
17467 wxPyEndAllowThreads(__tstate
);
17468 if (PyErr_Occurred()) SWIG_fail
;
17470 resultobj
= result
;
17477 static PyObject
*_wrap_ToolBarBase_SetToolClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17478 PyObject
*resultobj
;
17479 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17481 PyObject
*arg3
= (PyObject
*) 0 ;
17482 PyObject
* obj0
= 0 ;
17483 PyObject
* obj1
= 0 ;
17484 PyObject
* obj2
= 0 ;
17485 char *kwnames
[] = {
17486 (char *) "self",(char *) "id",(char *) "clientData", NULL
17489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17490 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17492 arg2
= (int) SWIG_AsInt(obj1
);
17493 if (PyErr_Occurred()) SWIG_fail
;
17496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17497 wxToolBarBase_SetToolClientData(arg1
,arg2
,arg3
);
17499 wxPyEndAllowThreads(__tstate
);
17500 if (PyErr_Occurred()) SWIG_fail
;
17502 Py_INCREF(Py_None
); resultobj
= Py_None
;
17509 static PyObject
*_wrap_ToolBarBase_GetToolPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17510 PyObject
*resultobj
;
17511 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17514 PyObject
* obj0
= 0 ;
17515 PyObject
* obj1
= 0 ;
17516 char *kwnames
[] = {
17517 (char *) "self",(char *) "id", NULL
17520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolPos",kwnames
,&obj0
,&obj1
)) goto fail
;
17521 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17523 arg2
= (int) SWIG_AsInt(obj1
);
17524 if (PyErr_Occurred()) SWIG_fail
;
17526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17527 result
= (int)((wxToolBarBase
const *)arg1
)->GetToolPos(arg2
);
17529 wxPyEndAllowThreads(__tstate
);
17530 if (PyErr_Occurred()) SWIG_fail
;
17532 resultobj
= SWIG_FromInt((int)result
);
17539 static PyObject
*_wrap_ToolBarBase_GetToolState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17540 PyObject
*resultobj
;
17541 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17544 PyObject
* obj0
= 0 ;
17545 PyObject
* obj1
= 0 ;
17546 char *kwnames
[] = {
17547 (char *) "self",(char *) "id", NULL
17550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolState",kwnames
,&obj0
,&obj1
)) goto fail
;
17551 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17553 arg2
= (int) SWIG_AsInt(obj1
);
17554 if (PyErr_Occurred()) SWIG_fail
;
17556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17557 result
= (bool)(arg1
)->GetToolState(arg2
);
17559 wxPyEndAllowThreads(__tstate
);
17560 if (PyErr_Occurred()) SWIG_fail
;
17563 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17571 static PyObject
*_wrap_ToolBarBase_GetToolEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17572 PyObject
*resultobj
;
17573 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17576 PyObject
* obj0
= 0 ;
17577 PyObject
* obj1
= 0 ;
17578 char *kwnames
[] = {
17579 (char *) "self",(char *) "id", NULL
17582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
17583 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17585 arg2
= (int) SWIG_AsInt(obj1
);
17586 if (PyErr_Occurred()) SWIG_fail
;
17588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17589 result
= (bool)(arg1
)->GetToolEnabled(arg2
);
17591 wxPyEndAllowThreads(__tstate
);
17592 if (PyErr_Occurred()) SWIG_fail
;
17595 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17603 static PyObject
*_wrap_ToolBarBase_SetToolShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17604 PyObject
*resultobj
;
17605 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17607 wxString
*arg3
= 0 ;
17608 bool temp3
= False
;
17609 PyObject
* obj0
= 0 ;
17610 PyObject
* obj1
= 0 ;
17611 PyObject
* obj2
= 0 ;
17612 char *kwnames
[] = {
17613 (char *) "self",(char *) "id",(char *) "helpString", NULL
17616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17617 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17619 arg2
= (int) SWIG_AsInt(obj1
);
17620 if (PyErr_Occurred()) SWIG_fail
;
17622 arg3
= wxString_in_helper(obj2
);
17623 if (arg3
== NULL
) SWIG_fail
;
17627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17628 (arg1
)->SetToolShortHelp(arg2
,(wxString
const &)*arg3
);
17630 wxPyEndAllowThreads(__tstate
);
17631 if (PyErr_Occurred()) SWIG_fail
;
17633 Py_INCREF(Py_None
); resultobj
= Py_None
;
17648 static PyObject
*_wrap_ToolBarBase_GetToolShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17649 PyObject
*resultobj
;
17650 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17653 PyObject
* obj0
= 0 ;
17654 PyObject
* obj1
= 0 ;
17655 char *kwnames
[] = {
17656 (char *) "self",(char *) "id", NULL
17659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
17660 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17662 arg2
= (int) SWIG_AsInt(obj1
);
17663 if (PyErr_Occurred()) SWIG_fail
;
17665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17666 result
= (arg1
)->GetToolShortHelp(arg2
);
17668 wxPyEndAllowThreads(__tstate
);
17669 if (PyErr_Occurred()) SWIG_fail
;
17673 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17675 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17684 static PyObject
*_wrap_ToolBarBase_SetToolLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17685 PyObject
*resultobj
;
17686 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17688 wxString
*arg3
= 0 ;
17689 bool temp3
= False
;
17690 PyObject
* obj0
= 0 ;
17691 PyObject
* obj1
= 0 ;
17692 PyObject
* obj2
= 0 ;
17693 char *kwnames
[] = {
17694 (char *) "self",(char *) "id",(char *) "helpString", NULL
17697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17698 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17700 arg2
= (int) SWIG_AsInt(obj1
);
17701 if (PyErr_Occurred()) SWIG_fail
;
17703 arg3
= wxString_in_helper(obj2
);
17704 if (arg3
== NULL
) SWIG_fail
;
17708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17709 (arg1
)->SetToolLongHelp(arg2
,(wxString
const &)*arg3
);
17711 wxPyEndAllowThreads(__tstate
);
17712 if (PyErr_Occurred()) SWIG_fail
;
17714 Py_INCREF(Py_None
); resultobj
= Py_None
;
17729 static PyObject
*_wrap_ToolBarBase_GetToolLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17730 PyObject
*resultobj
;
17731 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17734 PyObject
* obj0
= 0 ;
17735 PyObject
* obj1
= 0 ;
17736 char *kwnames
[] = {
17737 (char *) "self",(char *) "id", NULL
17740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
17741 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17743 arg2
= (int) SWIG_AsInt(obj1
);
17744 if (PyErr_Occurred()) SWIG_fail
;
17746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17747 result
= (arg1
)->GetToolLongHelp(arg2
);
17749 wxPyEndAllowThreads(__tstate
);
17750 if (PyErr_Occurred()) SWIG_fail
;
17754 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17756 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17765 static PyObject
*_wrap_ToolBarBase_SetMarginsXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17766 PyObject
*resultobj
;
17767 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17770 PyObject
* obj0
= 0 ;
17771 PyObject
* obj1
= 0 ;
17772 PyObject
* obj2
= 0 ;
17773 char *kwnames
[] = {
17774 (char *) "self",(char *) "x",(char *) "y", NULL
17777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17778 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17780 arg2
= (int) SWIG_AsInt(obj1
);
17781 if (PyErr_Occurred()) SWIG_fail
;
17782 arg3
= (int) SWIG_AsInt(obj2
);
17783 if (PyErr_Occurred()) SWIG_fail
;
17785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17786 (arg1
)->SetMargins(arg2
,arg3
);
17788 wxPyEndAllowThreads(__tstate
);
17789 if (PyErr_Occurred()) SWIG_fail
;
17791 Py_INCREF(Py_None
); resultobj
= Py_None
;
17798 static PyObject
*_wrap_ToolBarBase_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17799 PyObject
*resultobj
;
17800 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17803 PyObject
* obj0
= 0 ;
17804 PyObject
* obj1
= 0 ;
17805 char *kwnames
[] = {
17806 (char *) "self",(char *) "size", NULL
17809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
17810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17814 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17818 (arg1
)->SetMargins((wxSize
const &)*arg2
);
17820 wxPyEndAllowThreads(__tstate
);
17821 if (PyErr_Occurred()) SWIG_fail
;
17823 Py_INCREF(Py_None
); resultobj
= Py_None
;
17830 static PyObject
*_wrap_ToolBarBase_SetToolPacking(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17831 PyObject
*resultobj
;
17832 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17834 PyObject
* obj0
= 0 ;
17835 PyObject
* obj1
= 0 ;
17836 char *kwnames
[] = {
17837 (char *) "self",(char *) "packing", NULL
17840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolPacking",kwnames
,&obj0
,&obj1
)) goto fail
;
17841 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17843 arg2
= (int) SWIG_AsInt(obj1
);
17844 if (PyErr_Occurred()) SWIG_fail
;
17846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17847 (arg1
)->SetToolPacking(arg2
);
17849 wxPyEndAllowThreads(__tstate
);
17850 if (PyErr_Occurred()) SWIG_fail
;
17852 Py_INCREF(Py_None
); resultobj
= Py_None
;
17859 static PyObject
*_wrap_ToolBarBase_SetToolSeparation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17860 PyObject
*resultobj
;
17861 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17863 PyObject
* obj0
= 0 ;
17864 PyObject
* obj1
= 0 ;
17865 char *kwnames
[] = {
17866 (char *) "self",(char *) "separation", NULL
17869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames
,&obj0
,&obj1
)) goto fail
;
17870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17872 arg2
= (int) SWIG_AsInt(obj1
);
17873 if (PyErr_Occurred()) SWIG_fail
;
17875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17876 (arg1
)->SetToolSeparation(arg2
);
17878 wxPyEndAllowThreads(__tstate
);
17879 if (PyErr_Occurred()) SWIG_fail
;
17881 Py_INCREF(Py_None
); resultobj
= Py_None
;
17888 static PyObject
*_wrap_ToolBarBase_GetToolMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17889 PyObject
*resultobj
;
17890 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17892 PyObject
* obj0
= 0 ;
17893 char *kwnames
[] = {
17894 (char *) "self", NULL
17897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolMargins",kwnames
,&obj0
)) goto fail
;
17898 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17902 result
= (arg1
)->GetToolMargins();
17904 wxPyEndAllowThreads(__tstate
);
17905 if (PyErr_Occurred()) SWIG_fail
;
17908 wxSize
* resultptr
;
17909 resultptr
= new wxSize((wxSize
&) result
);
17910 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17918 static PyObject
*_wrap_ToolBarBase_GetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17919 PyObject
*resultobj
;
17920 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17922 PyObject
* obj0
= 0 ;
17923 char *kwnames
[] = {
17924 (char *) "self", NULL
17927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMargins",kwnames
,&obj0
)) goto fail
;
17928 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17929 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17932 result
= (arg1
)->GetMargins();
17934 wxPyEndAllowThreads(__tstate
);
17935 if (PyErr_Occurred()) SWIG_fail
;
17938 wxSize
* resultptr
;
17939 resultptr
= new wxSize((wxSize
&) result
);
17940 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17948 static PyObject
*_wrap_ToolBarBase_GetToolPacking(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17949 PyObject
*resultobj
;
17950 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17952 PyObject
* obj0
= 0 ;
17953 char *kwnames
[] = {
17954 (char *) "self", NULL
17957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolPacking",kwnames
,&obj0
)) goto fail
;
17958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17962 result
= (int)(arg1
)->GetToolPacking();
17964 wxPyEndAllowThreads(__tstate
);
17965 if (PyErr_Occurred()) SWIG_fail
;
17967 resultobj
= SWIG_FromInt((int)result
);
17974 static PyObject
*_wrap_ToolBarBase_GetToolSeparation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17975 PyObject
*resultobj
;
17976 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17978 PyObject
* obj0
= 0 ;
17979 char *kwnames
[] = {
17980 (char *) "self", NULL
17983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSeparation",kwnames
,&obj0
)) goto fail
;
17984 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17988 result
= (int)(arg1
)->GetToolSeparation();
17990 wxPyEndAllowThreads(__tstate
);
17991 if (PyErr_Occurred()) SWIG_fail
;
17993 resultobj
= SWIG_FromInt((int)result
);
18000 static PyObject
*_wrap_ToolBarBase_SetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18001 PyObject
*resultobj
;
18002 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18004 PyObject
* obj0
= 0 ;
18005 PyObject
* obj1
= 0 ;
18006 char *kwnames
[] = {
18007 (char *) "self",(char *) "nRows", NULL
18010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
18011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18013 arg2
= (int) SWIG_AsInt(obj1
);
18014 if (PyErr_Occurred()) SWIG_fail
;
18016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18017 (arg1
)->SetRows(arg2
);
18019 wxPyEndAllowThreads(__tstate
);
18020 if (PyErr_Occurred()) SWIG_fail
;
18022 Py_INCREF(Py_None
); resultobj
= Py_None
;
18029 static PyObject
*_wrap_ToolBarBase_SetMaxRowsCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18030 PyObject
*resultobj
;
18031 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18034 PyObject
* obj0
= 0 ;
18035 PyObject
* obj1
= 0 ;
18036 PyObject
* obj2
= 0 ;
18037 char *kwnames
[] = {
18038 (char *) "self",(char *) "rows",(char *) "cols", NULL
18041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18044 arg2
= (int) SWIG_AsInt(obj1
);
18045 if (PyErr_Occurred()) SWIG_fail
;
18046 arg3
= (int) SWIG_AsInt(obj2
);
18047 if (PyErr_Occurred()) SWIG_fail
;
18049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18050 (arg1
)->SetMaxRowsCols(arg2
,arg3
);
18052 wxPyEndAllowThreads(__tstate
);
18053 if (PyErr_Occurred()) SWIG_fail
;
18055 Py_INCREF(Py_None
); resultobj
= Py_None
;
18062 static PyObject
*_wrap_ToolBarBase_GetMaxRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18063 PyObject
*resultobj
;
18064 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18066 PyObject
* obj0
= 0 ;
18067 char *kwnames
[] = {
18068 (char *) "self", NULL
18071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxRows",kwnames
,&obj0
)) goto fail
;
18072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18076 result
= (int)(arg1
)->GetMaxRows();
18078 wxPyEndAllowThreads(__tstate
);
18079 if (PyErr_Occurred()) SWIG_fail
;
18081 resultobj
= SWIG_FromInt((int)result
);
18088 static PyObject
*_wrap_ToolBarBase_GetMaxCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18089 PyObject
*resultobj
;
18090 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18092 PyObject
* obj0
= 0 ;
18093 char *kwnames
[] = {
18094 (char *) "self", NULL
18097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxCols",kwnames
,&obj0
)) goto fail
;
18098 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18102 result
= (int)(arg1
)->GetMaxCols();
18104 wxPyEndAllowThreads(__tstate
);
18105 if (PyErr_Occurred()) SWIG_fail
;
18107 resultobj
= SWIG_FromInt((int)result
);
18114 static PyObject
*_wrap_ToolBarBase_SetToolBitmapSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18115 PyObject
*resultobj
;
18116 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18119 PyObject
* obj0
= 0 ;
18120 PyObject
* obj1
= 0 ;
18121 char *kwnames
[] = {
18122 (char *) "self",(char *) "size", NULL
18125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames
,&obj0
,&obj1
)) goto fail
;
18126 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18130 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
18133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18134 (arg1
)->SetToolBitmapSize((wxSize
const &)*arg2
);
18136 wxPyEndAllowThreads(__tstate
);
18137 if (PyErr_Occurred()) SWIG_fail
;
18139 Py_INCREF(Py_None
); resultobj
= Py_None
;
18146 static PyObject
*_wrap_ToolBarBase_GetToolBitmapSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18147 PyObject
*resultobj
;
18148 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18150 PyObject
* obj0
= 0 ;
18151 char *kwnames
[] = {
18152 (char *) "self", NULL
18155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames
,&obj0
)) goto fail
;
18156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18160 result
= (arg1
)->GetToolBitmapSize();
18162 wxPyEndAllowThreads(__tstate
);
18163 if (PyErr_Occurred()) SWIG_fail
;
18166 wxSize
* resultptr
;
18167 resultptr
= new wxSize((wxSize
&) result
);
18168 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18176 static PyObject
*_wrap_ToolBarBase_GetToolSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18177 PyObject
*resultobj
;
18178 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18180 PyObject
* obj0
= 0 ;
18181 char *kwnames
[] = {
18182 (char *) "self", NULL
18185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSize",kwnames
,&obj0
)) goto fail
;
18186 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18190 result
= (arg1
)->GetToolSize();
18192 wxPyEndAllowThreads(__tstate
);
18193 if (PyErr_Occurred()) SWIG_fail
;
18196 wxSize
* resultptr
;
18197 resultptr
= new wxSize((wxSize
&) result
);
18198 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18206 static PyObject
*_wrap_ToolBarBase_FindToolForPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18207 PyObject
*resultobj
;
18208 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18211 wxToolBarToolBase
*result
;
18212 PyObject
* obj0
= 0 ;
18213 PyObject
* obj1
= 0 ;
18214 PyObject
* obj2
= 0 ;
18215 char *kwnames
[] = {
18216 (char *) "self",(char *) "x",(char *) "y", NULL
18219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18220 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18222 arg2
= (int) SWIG_AsInt(obj1
);
18223 if (PyErr_Occurred()) SWIG_fail
;
18224 arg3
= (int) SWIG_AsInt(obj2
);
18225 if (PyErr_Occurred()) SWIG_fail
;
18227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18228 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
18230 wxPyEndAllowThreads(__tstate
);
18231 if (PyErr_Occurred()) SWIG_fail
;
18234 resultobj
= wxPyMake_wxObject(result
);
18242 static PyObject
*_wrap_ToolBarBase_FindById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18243 PyObject
*resultobj
;
18244 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18246 wxToolBarToolBase
*result
;
18247 PyObject
* obj0
= 0 ;
18248 PyObject
* obj1
= 0 ;
18249 char *kwnames
[] = {
18250 (char *) "self",(char *) "toolid", NULL
18253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindById",kwnames
,&obj0
,&obj1
)) goto fail
;
18254 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18256 arg2
= (int) SWIG_AsInt(obj1
);
18257 if (PyErr_Occurred()) SWIG_fail
;
18259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18260 result
= (wxToolBarToolBase
*)((wxToolBarBase
const *)arg1
)->FindById(arg2
);
18262 wxPyEndAllowThreads(__tstate
);
18263 if (PyErr_Occurred()) SWIG_fail
;
18266 resultobj
= wxPyMake_wxObject(result
);
18274 static PyObject
*_wrap_ToolBarBase_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18275 PyObject
*resultobj
;
18276 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18278 PyObject
* obj0
= 0 ;
18279 char *kwnames
[] = {
18280 (char *) "self", NULL
18283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_IsVertical",kwnames
,&obj0
)) goto fail
;
18284 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18288 result
= (bool)(arg1
)->IsVertical();
18290 wxPyEndAllowThreads(__tstate
);
18291 if (PyErr_Occurred()) SWIG_fail
;
18294 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18302 static PyObject
* ToolBarBase_swigregister(PyObject
*self
, PyObject
*args
) {
18304 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18305 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase
, obj
);
18307 return Py_BuildValue((char *)"");
18309 static PyObject
*_wrap_new_ToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18310 PyObject
*resultobj
;
18311 wxWindow
*arg1
= (wxWindow
*) 0 ;
18313 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
18314 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
18315 wxSize
const &arg4_defvalue
= wxDefaultSize
;
18316 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
18317 long arg5
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
18318 wxString
const &arg6_defvalue
= wxPyToolBarNameStr
;
18319 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
18323 bool temp6
= False
;
18324 PyObject
* obj0
= 0 ;
18325 PyObject
* obj1
= 0 ;
18326 PyObject
* obj2
= 0 ;
18327 PyObject
* obj3
= 0 ;
18328 PyObject
* obj4
= 0 ;
18329 PyObject
* obj5
= 0 ;
18330 char *kwnames
[] = {
18331 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_ToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
18336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18337 arg2
= (int) SWIG_AsInt(obj1
);
18338 if (PyErr_Occurred()) SWIG_fail
;
18342 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18348 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
18352 arg5
= (long) SWIG_AsLong(obj4
);
18353 if (PyErr_Occurred()) SWIG_fail
;
18357 arg6
= wxString_in_helper(obj5
);
18358 if (arg6
== NULL
) SWIG_fail
;
18363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18364 result
= (wxToolBar
*)new wxToolBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
18366 wxPyEndAllowThreads(__tstate
);
18367 if (PyErr_Occurred()) SWIG_fail
;
18370 resultobj
= wxPyMake_wxObject(result
);
18386 static PyObject
*_wrap_new_PreToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18387 PyObject
*resultobj
;
18389 char *kwnames
[] = {
18393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToolBar",kwnames
)) goto fail
;
18395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18396 result
= (wxToolBar
*)new wxToolBar();
18398 wxPyEndAllowThreads(__tstate
);
18399 if (PyErr_Occurred()) SWIG_fail
;
18402 resultobj
= wxPyMake_wxObject(result
);
18410 static PyObject
*_wrap_ToolBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18411 PyObject
*resultobj
;
18412 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
18413 wxWindow
*arg2
= (wxWindow
*) 0 ;
18415 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
18416 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
18417 wxSize
const &arg5_defvalue
= wxDefaultSize
;
18418 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
18419 long arg6
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
18420 wxString
const &arg7_defvalue
= wxPyToolBarNameStr
;
18421 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
18425 bool temp7
= False
;
18426 PyObject
* obj0
= 0 ;
18427 PyObject
* obj1
= 0 ;
18428 PyObject
* obj2
= 0 ;
18429 PyObject
* obj3
= 0 ;
18430 PyObject
* obj4
= 0 ;
18431 PyObject
* obj5
= 0 ;
18432 PyObject
* obj6
= 0 ;
18433 char *kwnames
[] = {
18434 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:ToolBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
18438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBar
,
18439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18440 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18442 arg3
= (int) SWIG_AsInt(obj2
);
18443 if (PyErr_Occurred()) SWIG_fail
;
18447 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18453 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
18457 arg6
= (long) SWIG_AsLong(obj5
);
18458 if (PyErr_Occurred()) SWIG_fail
;
18462 arg7
= wxString_in_helper(obj6
);
18463 if (arg7
== NULL
) SWIG_fail
;
18468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18469 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
18471 wxPyEndAllowThreads(__tstate
);
18472 if (PyErr_Occurred()) SWIG_fail
;
18475 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18491 static PyObject
*_wrap_ToolBar_FindToolForPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18492 PyObject
*resultobj
;
18493 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
18496 wxToolBarToolBase
*result
;
18497 PyObject
* obj0
= 0 ;
18498 PyObject
* obj1
= 0 ;
18499 PyObject
* obj2
= 0 ;
18500 char *kwnames
[] = {
18501 (char *) "self",(char *) "x",(char *) "y", NULL
18504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBar_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBar
,
18506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18507 arg2
= (int) SWIG_AsInt(obj1
);
18508 if (PyErr_Occurred()) SWIG_fail
;
18509 arg3
= (int) SWIG_AsInt(obj2
);
18510 if (PyErr_Occurred()) SWIG_fail
;
18512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18513 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
18515 wxPyEndAllowThreads(__tstate
);
18516 if (PyErr_Occurred()) SWIG_fail
;
18519 resultobj
= wxPyMake_wxObject(result
);
18527 static PyObject
*_wrap_ToolBar_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18528 PyObject
*resultobj
;
18529 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
18530 wxVisualAttributes result
;
18531 PyObject
* obj0
= 0 ;
18532 char *kwnames
[] = {
18533 (char *) "variant", NULL
18536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
18538 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
18539 if (PyErr_Occurred()) SWIG_fail
;
18542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18543 result
= wxToolBar::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
18545 wxPyEndAllowThreads(__tstate
);
18546 if (PyErr_Occurred()) SWIG_fail
;
18549 wxVisualAttributes
* resultptr
;
18550 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
18551 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
18559 static PyObject
* ToolBar_swigregister(PyObject
*self
, PyObject
*args
) {
18561 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18562 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar
, obj
);
18564 return Py_BuildValue((char *)"");
18566 static int _wrap_ListCtrlNameStr_set(PyObject
*_val
) {
18567 PyErr_SetString(PyExc_TypeError
,"Variable ListCtrlNameStr is read-only.");
18572 static PyObject
*_wrap_ListCtrlNameStr_get() {
18577 pyobj
= PyUnicode_FromWideChar((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
18579 pyobj
= PyString_FromStringAndSize((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
18586 static PyObject
*_wrap_new_ListItemAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18587 PyObject
*resultobj
;
18588 wxColour
const &arg1_defvalue
= wxNullColour
;
18589 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
18590 wxColour
const &arg2_defvalue
= wxNullColour
;
18591 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
18592 wxFont
const &arg3_defvalue
= wxNullFont
;
18593 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
18594 wxListItemAttr
*result
;
18597 PyObject
* obj0
= 0 ;
18598 PyObject
* obj1
= 0 ;
18599 PyObject
* obj2
= 0 ;
18600 char *kwnames
[] = {
18601 (char *) "colText",(char *) "colBack",(char *) "font", NULL
18604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ListItemAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18608 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
18614 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18618 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
18619 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18621 if (arg3
== NULL
) {
18622 PyErr_SetString(PyExc_TypeError
,"null reference");
18627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18628 result
= (wxListItemAttr
*)new wxListItemAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
);
18630 wxPyEndAllowThreads(__tstate
);
18631 if (PyErr_Occurred()) SWIG_fail
;
18633 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 1);
18640 static PyObject
*_wrap_ListItemAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18641 PyObject
*resultobj
;
18642 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18643 wxColour
*arg2
= 0 ;
18645 PyObject
* obj0
= 0 ;
18646 PyObject
* obj1
= 0 ;
18647 char *kwnames
[] = {
18648 (char *) "self",(char *) "colText", NULL
18651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18656 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18660 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
18662 wxPyEndAllowThreads(__tstate
);
18663 if (PyErr_Occurred()) SWIG_fail
;
18665 Py_INCREF(Py_None
); resultobj
= Py_None
;
18672 static PyObject
*_wrap_ListItemAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18673 PyObject
*resultobj
;
18674 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18675 wxColour
*arg2
= 0 ;
18677 PyObject
* obj0
= 0 ;
18678 PyObject
* obj1
= 0 ;
18679 char *kwnames
[] = {
18680 (char *) "self",(char *) "colBack", NULL
18683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18684 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18688 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18692 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
18694 wxPyEndAllowThreads(__tstate
);
18695 if (PyErr_Occurred()) SWIG_fail
;
18697 Py_INCREF(Py_None
); resultobj
= Py_None
;
18704 static PyObject
*_wrap_ListItemAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18705 PyObject
*resultobj
;
18706 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18708 PyObject
* obj0
= 0 ;
18709 PyObject
* obj1
= 0 ;
18710 char *kwnames
[] = {
18711 (char *) "self",(char *) "font", NULL
18714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
18715 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18717 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
18718 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18720 if (arg2
== NULL
) {
18721 PyErr_SetString(PyExc_TypeError
,"null reference");
18725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18726 (arg1
)->SetFont((wxFont
const &)*arg2
);
18728 wxPyEndAllowThreads(__tstate
);
18729 if (PyErr_Occurred()) SWIG_fail
;
18731 Py_INCREF(Py_None
); resultobj
= Py_None
;
18738 static PyObject
*_wrap_ListItemAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18739 PyObject
*resultobj
;
18740 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18742 PyObject
* obj0
= 0 ;
18743 char *kwnames
[] = {
18744 (char *) "self", NULL
18747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
18748 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18752 result
= (bool)(arg1
)->HasTextColour();
18754 wxPyEndAllowThreads(__tstate
);
18755 if (PyErr_Occurred()) SWIG_fail
;
18758 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18766 static PyObject
*_wrap_ListItemAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18767 PyObject
*resultobj
;
18768 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18770 PyObject
* obj0
= 0 ;
18771 char *kwnames
[] = {
18772 (char *) "self", NULL
18775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
18776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18780 result
= (bool)(arg1
)->HasBackgroundColour();
18782 wxPyEndAllowThreads(__tstate
);
18783 if (PyErr_Occurred()) SWIG_fail
;
18786 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18794 static PyObject
*_wrap_ListItemAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18795 PyObject
*resultobj
;
18796 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18798 PyObject
* obj0
= 0 ;
18799 char *kwnames
[] = {
18800 (char *) "self", NULL
18803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasFont",kwnames
,&obj0
)) goto fail
;
18804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18808 result
= (bool)(arg1
)->HasFont();
18810 wxPyEndAllowThreads(__tstate
);
18811 if (PyErr_Occurred()) SWIG_fail
;
18814 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18822 static PyObject
*_wrap_ListItemAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18823 PyObject
*resultobj
;
18824 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18826 PyObject
* obj0
= 0 ;
18827 char *kwnames
[] = {
18828 (char *) "self", NULL
18831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
18832 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18833 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18836 result
= (arg1
)->GetTextColour();
18838 wxPyEndAllowThreads(__tstate
);
18839 if (PyErr_Occurred()) SWIG_fail
;
18842 wxColour
* resultptr
;
18843 resultptr
= new wxColour((wxColour
&) result
);
18844 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18852 static PyObject
*_wrap_ListItemAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18853 PyObject
*resultobj
;
18854 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18856 PyObject
* obj0
= 0 ;
18857 char *kwnames
[] = {
18858 (char *) "self", NULL
18861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
18862 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18863 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18866 result
= (arg1
)->GetBackgroundColour();
18868 wxPyEndAllowThreads(__tstate
);
18869 if (PyErr_Occurred()) SWIG_fail
;
18872 wxColour
* resultptr
;
18873 resultptr
= new wxColour((wxColour
&) result
);
18874 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18882 static PyObject
*_wrap_ListItemAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18883 PyObject
*resultobj
;
18884 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18886 PyObject
* obj0
= 0 ;
18887 char *kwnames
[] = {
18888 (char *) "self", NULL
18891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetFont",kwnames
,&obj0
)) goto fail
;
18892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18896 result
= (arg1
)->GetFont();
18898 wxPyEndAllowThreads(__tstate
);
18899 if (PyErr_Occurred()) SWIG_fail
;
18902 wxFont
* resultptr
;
18903 resultptr
= new wxFont((wxFont
&) result
);
18904 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
18912 static PyObject
*_wrap_ListItemAttr_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18913 PyObject
*resultobj
;
18914 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18915 PyObject
* obj0
= 0 ;
18916 char *kwnames
[] = {
18917 (char *) "self", NULL
18920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_Destroy",kwnames
,&obj0
)) goto fail
;
18921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18925 wxListItemAttr_Destroy(arg1
);
18927 wxPyEndAllowThreads(__tstate
);
18928 if (PyErr_Occurred()) SWIG_fail
;
18930 Py_INCREF(Py_None
); resultobj
= Py_None
;
18937 static PyObject
* ListItemAttr_swigregister(PyObject
*self
, PyObject
*args
) {
18939 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18940 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr
, obj
);
18942 return Py_BuildValue((char *)"");
18944 static PyObject
*_wrap_new_ListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18945 PyObject
*resultobj
;
18946 wxListItem
*result
;
18947 char *kwnames
[] = {
18951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ListItem",kwnames
)) goto fail
;
18953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18954 result
= (wxListItem
*)new wxListItem();
18956 wxPyEndAllowThreads(__tstate
);
18957 if (PyErr_Occurred()) SWIG_fail
;
18960 resultobj
= wxPyMake_wxObject(result
);
18968 static PyObject
*_wrap_delete_ListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18969 PyObject
*resultobj
;
18970 wxListItem
*arg1
= (wxListItem
*) 0 ;
18971 PyObject
* obj0
= 0 ;
18972 char *kwnames
[] = {
18973 (char *) "self", NULL
18976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ListItem",kwnames
,&obj0
)) goto fail
;
18977 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18983 wxPyEndAllowThreads(__tstate
);
18984 if (PyErr_Occurred()) SWIG_fail
;
18986 Py_INCREF(Py_None
); resultobj
= Py_None
;
18993 static PyObject
*_wrap_ListItem_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18994 PyObject
*resultobj
;
18995 wxListItem
*arg1
= (wxListItem
*) 0 ;
18996 PyObject
* obj0
= 0 ;
18997 char *kwnames
[] = {
18998 (char *) "self", NULL
19001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_Clear",kwnames
,&obj0
)) goto fail
;
19002 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19003 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19008 wxPyEndAllowThreads(__tstate
);
19009 if (PyErr_Occurred()) SWIG_fail
;
19011 Py_INCREF(Py_None
); resultobj
= Py_None
;
19018 static PyObject
*_wrap_ListItem_ClearAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19019 PyObject
*resultobj
;
19020 wxListItem
*arg1
= (wxListItem
*) 0 ;
19021 PyObject
* obj0
= 0 ;
19022 char *kwnames
[] = {
19023 (char *) "self", NULL
19026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_ClearAttributes",kwnames
,&obj0
)) goto fail
;
19027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19031 (arg1
)->ClearAttributes();
19033 wxPyEndAllowThreads(__tstate
);
19034 if (PyErr_Occurred()) SWIG_fail
;
19036 Py_INCREF(Py_None
); resultobj
= Py_None
;
19043 static PyObject
*_wrap_ListItem_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19044 PyObject
*resultobj
;
19045 wxListItem
*arg1
= (wxListItem
*) 0 ;
19047 PyObject
* obj0
= 0 ;
19048 PyObject
* obj1
= 0 ;
19049 char *kwnames
[] = {
19050 (char *) "self",(char *) "mask", NULL
19053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
19054 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19056 arg2
= (long) SWIG_AsLong(obj1
);
19057 if (PyErr_Occurred()) SWIG_fail
;
19059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19060 (arg1
)->SetMask(arg2
);
19062 wxPyEndAllowThreads(__tstate
);
19063 if (PyErr_Occurred()) SWIG_fail
;
19065 Py_INCREF(Py_None
); resultobj
= Py_None
;
19072 static PyObject
*_wrap_ListItem_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19073 PyObject
*resultobj
;
19074 wxListItem
*arg1
= (wxListItem
*) 0 ;
19076 PyObject
* obj0
= 0 ;
19077 PyObject
* obj1
= 0 ;
19078 char *kwnames
[] = {
19079 (char *) "self",(char *) "id", NULL
19082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
19083 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19085 arg2
= (long) SWIG_AsLong(obj1
);
19086 if (PyErr_Occurred()) SWIG_fail
;
19088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19089 (arg1
)->SetId(arg2
);
19091 wxPyEndAllowThreads(__tstate
);
19092 if (PyErr_Occurred()) SWIG_fail
;
19094 Py_INCREF(Py_None
); resultobj
= Py_None
;
19101 static PyObject
*_wrap_ListItem_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19102 PyObject
*resultobj
;
19103 wxListItem
*arg1
= (wxListItem
*) 0 ;
19105 PyObject
* obj0
= 0 ;
19106 PyObject
* obj1
= 0 ;
19107 char *kwnames
[] = {
19108 (char *) "self",(char *) "col", NULL
19111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
19112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19114 arg2
= (int) SWIG_AsInt(obj1
);
19115 if (PyErr_Occurred()) SWIG_fail
;
19117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19118 (arg1
)->SetColumn(arg2
);
19120 wxPyEndAllowThreads(__tstate
);
19121 if (PyErr_Occurred()) SWIG_fail
;
19123 Py_INCREF(Py_None
); resultobj
= Py_None
;
19130 static PyObject
*_wrap_ListItem_SetState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19131 PyObject
*resultobj
;
19132 wxListItem
*arg1
= (wxListItem
*) 0 ;
19134 PyObject
* obj0
= 0 ;
19135 PyObject
* obj1
= 0 ;
19136 char *kwnames
[] = {
19137 (char *) "self",(char *) "state", NULL
19140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetState",kwnames
,&obj0
,&obj1
)) goto fail
;
19141 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19143 arg2
= (long) SWIG_AsLong(obj1
);
19144 if (PyErr_Occurred()) SWIG_fail
;
19146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19147 (arg1
)->SetState(arg2
);
19149 wxPyEndAllowThreads(__tstate
);
19150 if (PyErr_Occurred()) SWIG_fail
;
19152 Py_INCREF(Py_None
); resultobj
= Py_None
;
19159 static PyObject
*_wrap_ListItem_SetStateMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19160 PyObject
*resultobj
;
19161 wxListItem
*arg1
= (wxListItem
*) 0 ;
19163 PyObject
* obj0
= 0 ;
19164 PyObject
* obj1
= 0 ;
19165 char *kwnames
[] = {
19166 (char *) "self",(char *) "stateMask", NULL
19169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetStateMask",kwnames
,&obj0
,&obj1
)) goto fail
;
19170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19172 arg2
= (long) SWIG_AsLong(obj1
);
19173 if (PyErr_Occurred()) SWIG_fail
;
19175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19176 (arg1
)->SetStateMask(arg2
);
19178 wxPyEndAllowThreads(__tstate
);
19179 if (PyErr_Occurred()) SWIG_fail
;
19181 Py_INCREF(Py_None
); resultobj
= Py_None
;
19188 static PyObject
*_wrap_ListItem_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19189 PyObject
*resultobj
;
19190 wxListItem
*arg1
= (wxListItem
*) 0 ;
19191 wxString
*arg2
= 0 ;
19192 bool temp2
= False
;
19193 PyObject
* obj0
= 0 ;
19194 PyObject
* obj1
= 0 ;
19195 char *kwnames
[] = {
19196 (char *) "self",(char *) "text", NULL
19199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
19200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19203 arg2
= wxString_in_helper(obj1
);
19204 if (arg2
== NULL
) SWIG_fail
;
19208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19209 (arg1
)->SetText((wxString
const &)*arg2
);
19211 wxPyEndAllowThreads(__tstate
);
19212 if (PyErr_Occurred()) SWIG_fail
;
19214 Py_INCREF(Py_None
); resultobj
= Py_None
;
19229 static PyObject
*_wrap_ListItem_SetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19230 PyObject
*resultobj
;
19231 wxListItem
*arg1
= (wxListItem
*) 0 ;
19233 PyObject
* obj0
= 0 ;
19234 PyObject
* obj1
= 0 ;
19235 char *kwnames
[] = {
19236 (char *) "self",(char *) "image", NULL
19239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetImage",kwnames
,&obj0
,&obj1
)) goto fail
;
19240 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19241 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19242 arg2
= (int) SWIG_AsInt(obj1
);
19243 if (PyErr_Occurred()) SWIG_fail
;
19245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19246 (arg1
)->SetImage(arg2
);
19248 wxPyEndAllowThreads(__tstate
);
19249 if (PyErr_Occurred()) SWIG_fail
;
19251 Py_INCREF(Py_None
); resultobj
= Py_None
;
19258 static PyObject
*_wrap_ListItem_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19259 PyObject
*resultobj
;
19260 wxListItem
*arg1
= (wxListItem
*) 0 ;
19262 PyObject
* obj0
= 0 ;
19263 PyObject
* obj1
= 0 ;
19264 char *kwnames
[] = {
19265 (char *) "self",(char *) "data", NULL
19268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
19269 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19271 arg2
= (long) SWIG_AsLong(obj1
);
19272 if (PyErr_Occurred()) SWIG_fail
;
19274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19275 (arg1
)->SetData(arg2
);
19277 wxPyEndAllowThreads(__tstate
);
19278 if (PyErr_Occurred()) SWIG_fail
;
19280 Py_INCREF(Py_None
); resultobj
= Py_None
;
19287 static PyObject
*_wrap_ListItem_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19288 PyObject
*resultobj
;
19289 wxListItem
*arg1
= (wxListItem
*) 0 ;
19291 PyObject
* obj0
= 0 ;
19292 PyObject
* obj1
= 0 ;
19293 char *kwnames
[] = {
19294 (char *) "self",(char *) "width", NULL
19297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
19298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19300 arg2
= (int) SWIG_AsInt(obj1
);
19301 if (PyErr_Occurred()) SWIG_fail
;
19303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19304 (arg1
)->SetWidth(arg2
);
19306 wxPyEndAllowThreads(__tstate
);
19307 if (PyErr_Occurred()) SWIG_fail
;
19309 Py_INCREF(Py_None
); resultobj
= Py_None
;
19316 static PyObject
*_wrap_ListItem_SetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19317 PyObject
*resultobj
;
19318 wxListItem
*arg1
= (wxListItem
*) 0 ;
19320 PyObject
* obj0
= 0 ;
19321 PyObject
* obj1
= 0 ;
19322 char *kwnames
[] = {
19323 (char *) "self",(char *) "align", NULL
19326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetAlign",kwnames
,&obj0
,&obj1
)) goto fail
;
19327 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19328 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19329 arg2
= (wxListColumnFormat
) SWIG_AsInt(obj1
);
19330 if (PyErr_Occurred()) SWIG_fail
;
19332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19333 (arg1
)->SetAlign((wxListColumnFormat
)arg2
);
19335 wxPyEndAllowThreads(__tstate
);
19336 if (PyErr_Occurred()) SWIG_fail
;
19338 Py_INCREF(Py_None
); resultobj
= Py_None
;
19345 static PyObject
*_wrap_ListItem_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19346 PyObject
*resultobj
;
19347 wxListItem
*arg1
= (wxListItem
*) 0 ;
19348 wxColour
*arg2
= 0 ;
19350 PyObject
* obj0
= 0 ;
19351 PyObject
* obj1
= 0 ;
19352 char *kwnames
[] = {
19353 (char *) "self",(char *) "colText", NULL
19356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
19357 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19358 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19361 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19365 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
19367 wxPyEndAllowThreads(__tstate
);
19368 if (PyErr_Occurred()) SWIG_fail
;
19370 Py_INCREF(Py_None
); resultobj
= Py_None
;
19377 static PyObject
*_wrap_ListItem_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19378 PyObject
*resultobj
;
19379 wxListItem
*arg1
= (wxListItem
*) 0 ;
19380 wxColour
*arg2
= 0 ;
19382 PyObject
* obj0
= 0 ;
19383 PyObject
* obj1
= 0 ;
19384 char *kwnames
[] = {
19385 (char *) "self",(char *) "colBack", NULL
19388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
19389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19393 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19397 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
19399 wxPyEndAllowThreads(__tstate
);
19400 if (PyErr_Occurred()) SWIG_fail
;
19402 Py_INCREF(Py_None
); resultobj
= Py_None
;
19409 static PyObject
*_wrap_ListItem_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19410 PyObject
*resultobj
;
19411 wxListItem
*arg1
= (wxListItem
*) 0 ;
19413 PyObject
* obj0
= 0 ;
19414 PyObject
* obj1
= 0 ;
19415 char *kwnames
[] = {
19416 (char *) "self",(char *) "font", NULL
19419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
19420 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19421 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19422 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
19423 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19425 if (arg2
== NULL
) {
19426 PyErr_SetString(PyExc_TypeError
,"null reference");
19430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19431 (arg1
)->SetFont((wxFont
const &)*arg2
);
19433 wxPyEndAllowThreads(__tstate
);
19434 if (PyErr_Occurred()) SWIG_fail
;
19436 Py_INCREF(Py_None
); resultobj
= Py_None
;
19443 static PyObject
*_wrap_ListItem_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19444 PyObject
*resultobj
;
19445 wxListItem
*arg1
= (wxListItem
*) 0 ;
19447 PyObject
* obj0
= 0 ;
19448 char *kwnames
[] = {
19449 (char *) "self", NULL
19452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetMask",kwnames
,&obj0
)) goto fail
;
19453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19457 result
= (long)(arg1
)->GetMask();
19459 wxPyEndAllowThreads(__tstate
);
19460 if (PyErr_Occurred()) SWIG_fail
;
19462 resultobj
= SWIG_FromLong((long)result
);
19469 static PyObject
*_wrap_ListItem_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19470 PyObject
*resultobj
;
19471 wxListItem
*arg1
= (wxListItem
*) 0 ;
19473 PyObject
* obj0
= 0 ;
19474 char *kwnames
[] = {
19475 (char *) "self", NULL
19478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetId",kwnames
,&obj0
)) goto fail
;
19479 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19480 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19483 result
= (long)(arg1
)->GetId();
19485 wxPyEndAllowThreads(__tstate
);
19486 if (PyErr_Occurred()) SWIG_fail
;
19488 resultobj
= SWIG_FromLong((long)result
);
19495 static PyObject
*_wrap_ListItem_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19496 PyObject
*resultobj
;
19497 wxListItem
*arg1
= (wxListItem
*) 0 ;
19499 PyObject
* obj0
= 0 ;
19500 char *kwnames
[] = {
19501 (char *) "self", NULL
19504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetColumn",kwnames
,&obj0
)) goto fail
;
19505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19509 result
= (int)(arg1
)->GetColumn();
19511 wxPyEndAllowThreads(__tstate
);
19512 if (PyErr_Occurred()) SWIG_fail
;
19514 resultobj
= SWIG_FromInt((int)result
);
19521 static PyObject
*_wrap_ListItem_GetState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19522 PyObject
*resultobj
;
19523 wxListItem
*arg1
= (wxListItem
*) 0 ;
19525 PyObject
* obj0
= 0 ;
19526 char *kwnames
[] = {
19527 (char *) "self", NULL
19530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetState",kwnames
,&obj0
)) goto fail
;
19531 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19535 result
= (long)(arg1
)->GetState();
19537 wxPyEndAllowThreads(__tstate
);
19538 if (PyErr_Occurred()) SWIG_fail
;
19540 resultobj
= SWIG_FromLong((long)result
);
19547 static PyObject
*_wrap_ListItem_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19548 PyObject
*resultobj
;
19549 wxListItem
*arg1
= (wxListItem
*) 0 ;
19551 PyObject
* obj0
= 0 ;
19552 char *kwnames
[] = {
19553 (char *) "self", NULL
19556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetText",kwnames
,&obj0
)) goto fail
;
19557 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19562 wxString
const &_result_ref
= (arg1
)->GetText();
19563 result
= (wxString
*) &_result_ref
;
19566 wxPyEndAllowThreads(__tstate
);
19567 if (PyErr_Occurred()) SWIG_fail
;
19571 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19573 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19582 static PyObject
*_wrap_ListItem_GetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19583 PyObject
*resultobj
;
19584 wxListItem
*arg1
= (wxListItem
*) 0 ;
19586 PyObject
* obj0
= 0 ;
19587 char *kwnames
[] = {
19588 (char *) "self", NULL
19591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetImage",kwnames
,&obj0
)) goto fail
;
19592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19596 result
= (int)(arg1
)->GetImage();
19598 wxPyEndAllowThreads(__tstate
);
19599 if (PyErr_Occurred()) SWIG_fail
;
19601 resultobj
= SWIG_FromInt((int)result
);
19608 static PyObject
*_wrap_ListItem_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19609 PyObject
*resultobj
;
19610 wxListItem
*arg1
= (wxListItem
*) 0 ;
19612 PyObject
* obj0
= 0 ;
19613 char *kwnames
[] = {
19614 (char *) "self", NULL
19617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetData",kwnames
,&obj0
)) goto fail
;
19618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19622 result
= (long)(arg1
)->GetData();
19624 wxPyEndAllowThreads(__tstate
);
19625 if (PyErr_Occurred()) SWIG_fail
;
19627 resultobj
= SWIG_FromLong((long)result
);
19634 static PyObject
*_wrap_ListItem_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19635 PyObject
*resultobj
;
19636 wxListItem
*arg1
= (wxListItem
*) 0 ;
19638 PyObject
* obj0
= 0 ;
19639 char *kwnames
[] = {
19640 (char *) "self", NULL
19643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetWidth",kwnames
,&obj0
)) goto fail
;
19644 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19645 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19648 result
= (int)(arg1
)->GetWidth();
19650 wxPyEndAllowThreads(__tstate
);
19651 if (PyErr_Occurred()) SWIG_fail
;
19653 resultobj
= SWIG_FromInt((int)result
);
19660 static PyObject
*_wrap_ListItem_GetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19661 PyObject
*resultobj
;
19662 wxListItem
*arg1
= (wxListItem
*) 0 ;
19664 PyObject
* obj0
= 0 ;
19665 char *kwnames
[] = {
19666 (char *) "self", NULL
19669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAlign",kwnames
,&obj0
)) goto fail
;
19670 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19674 result
= (int)(arg1
)->GetAlign();
19676 wxPyEndAllowThreads(__tstate
);
19677 if (PyErr_Occurred()) SWIG_fail
;
19679 resultobj
= SWIG_FromInt((int)result
);
19686 static PyObject
*_wrap_ListItem_GetAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19687 PyObject
*resultobj
;
19688 wxListItem
*arg1
= (wxListItem
*) 0 ;
19689 wxListItemAttr
*result
;
19690 PyObject
* obj0
= 0 ;
19691 char *kwnames
[] = {
19692 (char *) "self", NULL
19695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAttributes",kwnames
,&obj0
)) goto fail
;
19696 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19700 result
= (wxListItemAttr
*)(arg1
)->GetAttributes();
19702 wxPyEndAllowThreads(__tstate
);
19703 if (PyErr_Occurred()) SWIG_fail
;
19705 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 0);
19712 static PyObject
*_wrap_ListItem_HasAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19713 PyObject
*resultobj
;
19714 wxListItem
*arg1
= (wxListItem
*) 0 ;
19716 PyObject
* obj0
= 0 ;
19717 char *kwnames
[] = {
19718 (char *) "self", NULL
19721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_HasAttributes",kwnames
,&obj0
)) goto fail
;
19722 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19726 result
= (bool)(arg1
)->HasAttributes();
19728 wxPyEndAllowThreads(__tstate
);
19729 if (PyErr_Occurred()) SWIG_fail
;
19732 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19740 static PyObject
*_wrap_ListItem_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19741 PyObject
*resultobj
;
19742 wxListItem
*arg1
= (wxListItem
*) 0 ;
19744 PyObject
* obj0
= 0 ;
19745 char *kwnames
[] = {
19746 (char *) "self", NULL
19749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetTextColour",kwnames
,&obj0
)) goto fail
;
19750 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19754 result
= ((wxListItem
const *)arg1
)->GetTextColour();
19756 wxPyEndAllowThreads(__tstate
);
19757 if (PyErr_Occurred()) SWIG_fail
;
19760 wxColour
* resultptr
;
19761 resultptr
= new wxColour((wxColour
&) result
);
19762 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
19770 static PyObject
*_wrap_ListItem_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19771 PyObject
*resultobj
;
19772 wxListItem
*arg1
= (wxListItem
*) 0 ;
19774 PyObject
* obj0
= 0 ;
19775 char *kwnames
[] = {
19776 (char *) "self", NULL
19779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
19780 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19784 result
= ((wxListItem
const *)arg1
)->GetBackgroundColour();
19786 wxPyEndAllowThreads(__tstate
);
19787 if (PyErr_Occurred()) SWIG_fail
;
19790 wxColour
* resultptr
;
19791 resultptr
= new wxColour((wxColour
&) result
);
19792 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
19800 static PyObject
*_wrap_ListItem_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19801 PyObject
*resultobj
;
19802 wxListItem
*arg1
= (wxListItem
*) 0 ;
19804 PyObject
* obj0
= 0 ;
19805 char *kwnames
[] = {
19806 (char *) "self", NULL
19809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetFont",kwnames
,&obj0
)) goto fail
;
19810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19814 result
= ((wxListItem
const *)arg1
)->GetFont();
19816 wxPyEndAllowThreads(__tstate
);
19817 if (PyErr_Occurred()) SWIG_fail
;
19820 wxFont
* resultptr
;
19821 resultptr
= new wxFont((wxFont
&) result
);
19822 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
19830 static PyObject
*_wrap_ListItem_m_mask_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19831 PyObject
*resultobj
;
19832 wxListItem
*arg1
= (wxListItem
*) 0 ;
19834 PyObject
* obj0
= 0 ;
19835 PyObject
* obj1
= 0 ;
19836 char *kwnames
[] = {
19837 (char *) "self",(char *) "m_mask", NULL
19840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_mask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19841 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19843 arg2
= (long) SWIG_AsLong(obj1
);
19844 if (PyErr_Occurred()) SWIG_fail
;
19845 if (arg1
) (arg1
)->m_mask
= arg2
;
19847 Py_INCREF(Py_None
); resultobj
= Py_None
;
19854 static PyObject
*_wrap_ListItem_m_mask_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19855 PyObject
*resultobj
;
19856 wxListItem
*arg1
= (wxListItem
*) 0 ;
19858 PyObject
* obj0
= 0 ;
19859 char *kwnames
[] = {
19860 (char *) "self", NULL
19863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_mask_get",kwnames
,&obj0
)) goto fail
;
19864 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19866 result
= (long) ((arg1
)->m_mask
);
19868 resultobj
= SWIG_FromLong((long)result
);
19875 static PyObject
*_wrap_ListItem_m_itemId_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19876 PyObject
*resultobj
;
19877 wxListItem
*arg1
= (wxListItem
*) 0 ;
19879 PyObject
* obj0
= 0 ;
19880 PyObject
* obj1
= 0 ;
19881 char *kwnames
[] = {
19882 (char *) "self",(char *) "m_itemId", NULL
19885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_itemId_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19886 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19888 arg2
= (long) SWIG_AsLong(obj1
);
19889 if (PyErr_Occurred()) SWIG_fail
;
19890 if (arg1
) (arg1
)->m_itemId
= arg2
;
19892 Py_INCREF(Py_None
); resultobj
= Py_None
;
19899 static PyObject
*_wrap_ListItem_m_itemId_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19900 PyObject
*resultobj
;
19901 wxListItem
*arg1
= (wxListItem
*) 0 ;
19903 PyObject
* obj0
= 0 ;
19904 char *kwnames
[] = {
19905 (char *) "self", NULL
19908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_itemId_get",kwnames
,&obj0
)) goto fail
;
19909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19911 result
= (long) ((arg1
)->m_itemId
);
19913 resultobj
= SWIG_FromLong((long)result
);
19920 static PyObject
*_wrap_ListItem_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19921 PyObject
*resultobj
;
19922 wxListItem
*arg1
= (wxListItem
*) 0 ;
19924 PyObject
* obj0
= 0 ;
19925 PyObject
* obj1
= 0 ;
19926 char *kwnames
[] = {
19927 (char *) "self",(char *) "m_col", NULL
19930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19933 arg2
= (int) SWIG_AsInt(obj1
);
19934 if (PyErr_Occurred()) SWIG_fail
;
19935 if (arg1
) (arg1
)->m_col
= arg2
;
19937 Py_INCREF(Py_None
); resultobj
= Py_None
;
19944 static PyObject
*_wrap_ListItem_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19945 PyObject
*resultobj
;
19946 wxListItem
*arg1
= (wxListItem
*) 0 ;
19948 PyObject
* obj0
= 0 ;
19949 char *kwnames
[] = {
19950 (char *) "self", NULL
19953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_col_get",kwnames
,&obj0
)) goto fail
;
19954 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19956 result
= (int) ((arg1
)->m_col
);
19958 resultobj
= SWIG_FromInt((int)result
);
19965 static PyObject
*_wrap_ListItem_m_state_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19966 PyObject
*resultobj
;
19967 wxListItem
*arg1
= (wxListItem
*) 0 ;
19969 PyObject
* obj0
= 0 ;
19970 PyObject
* obj1
= 0 ;
19971 char *kwnames
[] = {
19972 (char *) "self",(char *) "m_state", NULL
19975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_state_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19978 arg2
= (long) SWIG_AsLong(obj1
);
19979 if (PyErr_Occurred()) SWIG_fail
;
19980 if (arg1
) (arg1
)->m_state
= arg2
;
19982 Py_INCREF(Py_None
); resultobj
= Py_None
;
19989 static PyObject
*_wrap_ListItem_m_state_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19990 PyObject
*resultobj
;
19991 wxListItem
*arg1
= (wxListItem
*) 0 ;
19993 PyObject
* obj0
= 0 ;
19994 char *kwnames
[] = {
19995 (char *) "self", NULL
19998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_state_get",kwnames
,&obj0
)) goto fail
;
19999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20001 result
= (long) ((arg1
)->m_state
);
20003 resultobj
= SWIG_FromLong((long)result
);
20010 static PyObject
*_wrap_ListItem_m_stateMask_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20011 PyObject
*resultobj
;
20012 wxListItem
*arg1
= (wxListItem
*) 0 ;
20014 PyObject
* obj0
= 0 ;
20015 PyObject
* obj1
= 0 ;
20016 char *kwnames
[] = {
20017 (char *) "self",(char *) "m_stateMask", NULL
20020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_stateMask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20023 arg2
= (long) SWIG_AsLong(obj1
);
20024 if (PyErr_Occurred()) SWIG_fail
;
20025 if (arg1
) (arg1
)->m_stateMask
= arg2
;
20027 Py_INCREF(Py_None
); resultobj
= Py_None
;
20034 static PyObject
*_wrap_ListItem_m_stateMask_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20035 PyObject
*resultobj
;
20036 wxListItem
*arg1
= (wxListItem
*) 0 ;
20038 PyObject
* obj0
= 0 ;
20039 char *kwnames
[] = {
20040 (char *) "self", NULL
20043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_stateMask_get",kwnames
,&obj0
)) goto fail
;
20044 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20046 result
= (long) ((arg1
)->m_stateMask
);
20048 resultobj
= SWIG_FromLong((long)result
);
20055 static PyObject
*_wrap_ListItem_m_text_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20056 PyObject
*resultobj
;
20057 wxListItem
*arg1
= (wxListItem
*) 0 ;
20058 wxString
*arg2
= (wxString
*) 0 ;
20059 bool temp2
= False
;
20060 PyObject
* obj0
= 0 ;
20061 PyObject
* obj1
= 0 ;
20062 char *kwnames
[] = {
20063 (char *) "self",(char *) "m_text", NULL
20066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_text_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20067 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20070 arg2
= wxString_in_helper(obj1
);
20071 if (arg2
== NULL
) SWIG_fail
;
20074 if (arg1
) (arg1
)->m_text
= *arg2
;
20076 Py_INCREF(Py_None
); resultobj
= Py_None
;
20091 static PyObject
*_wrap_ListItem_m_text_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20092 PyObject
*resultobj
;
20093 wxListItem
*arg1
= (wxListItem
*) 0 ;
20095 PyObject
* obj0
= 0 ;
20096 char *kwnames
[] = {
20097 (char *) "self", NULL
20100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_text_get",kwnames
,&obj0
)) goto fail
;
20101 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20103 result
= (wxString
*)& ((arg1
)->m_text
);
20107 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20109 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20118 static PyObject
*_wrap_ListItem_m_image_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20119 PyObject
*resultobj
;
20120 wxListItem
*arg1
= (wxListItem
*) 0 ;
20122 PyObject
* obj0
= 0 ;
20123 PyObject
* obj1
= 0 ;
20124 char *kwnames
[] = {
20125 (char *) "self",(char *) "m_image", NULL
20128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_image_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20131 arg2
= (int) SWIG_AsInt(obj1
);
20132 if (PyErr_Occurred()) SWIG_fail
;
20133 if (arg1
) (arg1
)->m_image
= arg2
;
20135 Py_INCREF(Py_None
); resultobj
= Py_None
;
20142 static PyObject
*_wrap_ListItem_m_image_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20143 PyObject
*resultobj
;
20144 wxListItem
*arg1
= (wxListItem
*) 0 ;
20146 PyObject
* obj0
= 0 ;
20147 char *kwnames
[] = {
20148 (char *) "self", NULL
20151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_image_get",kwnames
,&obj0
)) goto fail
;
20152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20154 result
= (int) ((arg1
)->m_image
);
20156 resultobj
= SWIG_FromInt((int)result
);
20163 static PyObject
*_wrap_ListItem_m_data_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20164 PyObject
*resultobj
;
20165 wxListItem
*arg1
= (wxListItem
*) 0 ;
20167 PyObject
* obj0
= 0 ;
20168 PyObject
* obj1
= 0 ;
20169 char *kwnames
[] = {
20170 (char *) "self",(char *) "m_data", NULL
20173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_data_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20174 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20175 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20176 arg2
= (long) SWIG_AsLong(obj1
);
20177 if (PyErr_Occurred()) SWIG_fail
;
20178 if (arg1
) (arg1
)->m_data
= arg2
;
20180 Py_INCREF(Py_None
); resultobj
= Py_None
;
20187 static PyObject
*_wrap_ListItem_m_data_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20188 PyObject
*resultobj
;
20189 wxListItem
*arg1
= (wxListItem
*) 0 ;
20191 PyObject
* obj0
= 0 ;
20192 char *kwnames
[] = {
20193 (char *) "self", NULL
20196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_data_get",kwnames
,&obj0
)) goto fail
;
20197 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20199 result
= (long) ((arg1
)->m_data
);
20201 resultobj
= SWIG_FromLong((long)result
);
20208 static PyObject
*_wrap_ListItem_m_format_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20209 PyObject
*resultobj
;
20210 wxListItem
*arg1
= (wxListItem
*) 0 ;
20212 PyObject
* obj0
= 0 ;
20213 PyObject
* obj1
= 0 ;
20214 char *kwnames
[] = {
20215 (char *) "self",(char *) "m_format", NULL
20218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_format_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20219 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20220 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20221 arg2
= (int) SWIG_AsInt(obj1
);
20222 if (PyErr_Occurred()) SWIG_fail
;
20223 if (arg1
) (arg1
)->m_format
= arg2
;
20225 Py_INCREF(Py_None
); resultobj
= Py_None
;
20232 static PyObject
*_wrap_ListItem_m_format_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20233 PyObject
*resultobj
;
20234 wxListItem
*arg1
= (wxListItem
*) 0 ;
20236 PyObject
* obj0
= 0 ;
20237 char *kwnames
[] = {
20238 (char *) "self", NULL
20241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_format_get",kwnames
,&obj0
)) goto fail
;
20242 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20244 result
= (int) ((arg1
)->m_format
);
20246 resultobj
= SWIG_FromInt((int)result
);
20253 static PyObject
*_wrap_ListItem_m_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20254 PyObject
*resultobj
;
20255 wxListItem
*arg1
= (wxListItem
*) 0 ;
20257 PyObject
* obj0
= 0 ;
20258 PyObject
* obj1
= 0 ;
20259 char *kwnames
[] = {
20260 (char *) "self",(char *) "m_width", NULL
20263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20266 arg2
= (int) SWIG_AsInt(obj1
);
20267 if (PyErr_Occurred()) SWIG_fail
;
20268 if (arg1
) (arg1
)->m_width
= arg2
;
20270 Py_INCREF(Py_None
); resultobj
= Py_None
;
20277 static PyObject
*_wrap_ListItem_m_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20278 PyObject
*resultobj
;
20279 wxListItem
*arg1
= (wxListItem
*) 0 ;
20281 PyObject
* obj0
= 0 ;
20282 char *kwnames
[] = {
20283 (char *) "self", NULL
20286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_width_get",kwnames
,&obj0
)) goto fail
;
20287 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20289 result
= (int) ((arg1
)->m_width
);
20291 resultobj
= SWIG_FromInt((int)result
);
20298 static PyObject
* ListItem_swigregister(PyObject
*self
, PyObject
*args
) {
20300 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20301 SWIG_TypeClientData(SWIGTYPE_p_wxListItem
, obj
);
20303 return Py_BuildValue((char *)"");
20305 static PyObject
*_wrap_new_ListEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20306 PyObject
*resultobj
;
20307 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20308 int arg2
= (int) 0 ;
20309 wxListEvent
*result
;
20310 PyObject
* obj0
= 0 ;
20311 PyObject
* obj1
= 0 ;
20312 char *kwnames
[] = {
20313 (char *) "commandType",(char *) "id", NULL
20316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ListEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20318 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
20319 if (PyErr_Occurred()) SWIG_fail
;
20322 arg2
= (int) SWIG_AsInt(obj1
);
20323 if (PyErr_Occurred()) SWIG_fail
;
20326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20327 result
= (wxListEvent
*)new wxListEvent(arg1
,arg2
);
20329 wxPyEndAllowThreads(__tstate
);
20330 if (PyErr_Occurred()) SWIG_fail
;
20332 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListEvent
, 1);
20339 static PyObject
*_wrap_ListEvent_m_code_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20340 PyObject
*resultobj
;
20341 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20343 PyObject
* obj0
= 0 ;
20344 PyObject
* obj1
= 0 ;
20345 char *kwnames
[] = {
20346 (char *) "self",(char *) "m_code", NULL
20349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_code_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20350 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20352 arg2
= (int) SWIG_AsInt(obj1
);
20353 if (PyErr_Occurred()) SWIG_fail
;
20354 if (arg1
) (arg1
)->m_code
= arg2
;
20356 Py_INCREF(Py_None
); resultobj
= Py_None
;
20363 static PyObject
*_wrap_ListEvent_m_code_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20364 PyObject
*resultobj
;
20365 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20367 PyObject
* obj0
= 0 ;
20368 char *kwnames
[] = {
20369 (char *) "self", NULL
20372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_code_get",kwnames
,&obj0
)) goto fail
;
20373 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20375 result
= (int) ((arg1
)->m_code
);
20377 resultobj
= SWIG_FromInt((int)result
);
20384 static PyObject
*_wrap_ListEvent_m_oldItemIndex_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20385 PyObject
*resultobj
;
20386 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20388 PyObject
* obj0
= 0 ;
20389 PyObject
* obj1
= 0 ;
20390 char *kwnames
[] = {
20391 (char *) "self",(char *) "m_oldItemIndex", NULL
20394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_oldItemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20395 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20397 arg2
= (long) SWIG_AsLong(obj1
);
20398 if (PyErr_Occurred()) SWIG_fail
;
20399 if (arg1
) (arg1
)->m_oldItemIndex
= arg2
;
20401 Py_INCREF(Py_None
); resultobj
= Py_None
;
20408 static PyObject
*_wrap_ListEvent_m_oldItemIndex_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20409 PyObject
*resultobj
;
20410 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20412 PyObject
* obj0
= 0 ;
20413 char *kwnames
[] = {
20414 (char *) "self", NULL
20417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames
,&obj0
)) goto fail
;
20418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20420 result
= (long) ((arg1
)->m_oldItemIndex
);
20422 resultobj
= SWIG_FromLong((long)result
);
20429 static PyObject
*_wrap_ListEvent_m_itemIndex_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20430 PyObject
*resultobj
;
20431 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20433 PyObject
* obj0
= 0 ;
20434 PyObject
* obj1
= 0 ;
20435 char *kwnames
[] = {
20436 (char *) "self",(char *) "m_itemIndex", NULL
20439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_itemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20440 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20442 arg2
= (long) SWIG_AsLong(obj1
);
20443 if (PyErr_Occurred()) SWIG_fail
;
20444 if (arg1
) (arg1
)->m_itemIndex
= arg2
;
20446 Py_INCREF(Py_None
); resultobj
= Py_None
;
20453 static PyObject
*_wrap_ListEvent_m_itemIndex_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20454 PyObject
*resultobj
;
20455 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20457 PyObject
* obj0
= 0 ;
20458 char *kwnames
[] = {
20459 (char *) "self", NULL
20462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_itemIndex_get",kwnames
,&obj0
)) goto fail
;
20463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20465 result
= (long) ((arg1
)->m_itemIndex
);
20467 resultobj
= SWIG_FromLong((long)result
);
20474 static PyObject
*_wrap_ListEvent_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20475 PyObject
*resultobj
;
20476 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20478 PyObject
* obj0
= 0 ;
20479 PyObject
* obj1
= 0 ;
20480 char *kwnames
[] = {
20481 (char *) "self",(char *) "m_col", NULL
20484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20485 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20487 arg2
= (int) SWIG_AsInt(obj1
);
20488 if (PyErr_Occurred()) SWIG_fail
;
20489 if (arg1
) (arg1
)->m_col
= arg2
;
20491 Py_INCREF(Py_None
); resultobj
= Py_None
;
20498 static PyObject
*_wrap_ListEvent_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20499 PyObject
*resultobj
;
20500 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20502 PyObject
* obj0
= 0 ;
20503 char *kwnames
[] = {
20504 (char *) "self", NULL
20507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_col_get",kwnames
,&obj0
)) goto fail
;
20508 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20510 result
= (int) ((arg1
)->m_col
);
20512 resultobj
= SWIG_FromInt((int)result
);
20519 static PyObject
*_wrap_ListEvent_m_pointDrag_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20520 PyObject
*resultobj
;
20521 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20522 wxPoint
*arg2
= (wxPoint
*) 0 ;
20523 PyObject
* obj0
= 0 ;
20524 PyObject
* obj1
= 0 ;
20525 char *kwnames
[] = {
20526 (char *) "self",(char *) "m_pointDrag", NULL
20529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_pointDrag_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20532 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPoint
,
20533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20534 if (arg1
) (arg1
)->m_pointDrag
= *arg2
;
20536 Py_INCREF(Py_None
); resultobj
= Py_None
;
20543 static PyObject
*_wrap_ListEvent_m_pointDrag_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20544 PyObject
*resultobj
;
20545 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20547 PyObject
* obj0
= 0 ;
20548 char *kwnames
[] = {
20549 (char *) "self", NULL
20552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_pointDrag_get",kwnames
,&obj0
)) goto fail
;
20553 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20555 result
= (wxPoint
*)& ((arg1
)->m_pointDrag
);
20557 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
20564 static PyObject
*_wrap_ListEvent_m_item_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20565 PyObject
*resultobj
;
20566 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20567 wxListItem
*result
;
20568 PyObject
* obj0
= 0 ;
20569 char *kwnames
[] = {
20570 (char *) "self", NULL
20573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_item_get",kwnames
,&obj0
)) goto fail
;
20574 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20576 result
= (wxListItem
*)& ((arg1
)->m_item
);
20579 resultobj
= wxPyMake_wxObject(result
);
20587 static PyObject
*_wrap_ListEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20588 PyObject
*resultobj
;
20589 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20591 PyObject
* obj0
= 0 ;
20592 char *kwnames
[] = {
20593 (char *) "self", NULL
20596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
20597 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20601 result
= (int)(arg1
)->GetKeyCode();
20603 wxPyEndAllowThreads(__tstate
);
20604 if (PyErr_Occurred()) SWIG_fail
;
20606 resultobj
= SWIG_FromInt((int)result
);
20613 static PyObject
*_wrap_ListEvent_GetIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20614 PyObject
*resultobj
;
20615 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20617 PyObject
* obj0
= 0 ;
20618 char *kwnames
[] = {
20619 (char *) "self", NULL
20622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetIndex",kwnames
,&obj0
)) goto fail
;
20623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20627 result
= (long)(arg1
)->GetIndex();
20629 wxPyEndAllowThreads(__tstate
);
20630 if (PyErr_Occurred()) SWIG_fail
;
20632 resultobj
= SWIG_FromLong((long)result
);
20639 static PyObject
*_wrap_ListEvent_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20640 PyObject
*resultobj
;
20641 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20643 PyObject
* obj0
= 0 ;
20644 char *kwnames
[] = {
20645 (char *) "self", NULL
20648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetColumn",kwnames
,&obj0
)) goto fail
;
20649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20653 result
= (int)(arg1
)->GetColumn();
20655 wxPyEndAllowThreads(__tstate
);
20656 if (PyErr_Occurred()) SWIG_fail
;
20658 resultobj
= SWIG_FromInt((int)result
);
20665 static PyObject
*_wrap_ListEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20666 PyObject
*resultobj
;
20667 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20669 PyObject
* obj0
= 0 ;
20670 char *kwnames
[] = {
20671 (char *) "self", NULL
20674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
20675 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20679 result
= (arg1
)->GetPoint();
20681 wxPyEndAllowThreads(__tstate
);
20682 if (PyErr_Occurred()) SWIG_fail
;
20685 wxPoint
* resultptr
;
20686 resultptr
= new wxPoint((wxPoint
&) result
);
20687 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
20695 static PyObject
*_wrap_ListEvent_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20696 PyObject
*resultobj
;
20697 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20699 PyObject
* obj0
= 0 ;
20700 char *kwnames
[] = {
20701 (char *) "self", NULL
20704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
20705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20710 wxString
const &_result_ref
= (arg1
)->GetLabel();
20711 result
= (wxString
*) &_result_ref
;
20714 wxPyEndAllowThreads(__tstate
);
20715 if (PyErr_Occurred()) SWIG_fail
;
20719 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20721 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20730 static PyObject
*_wrap_ListEvent_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20731 PyObject
*resultobj
;
20732 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20734 PyObject
* obj0
= 0 ;
20735 char *kwnames
[] = {
20736 (char *) "self", NULL
20739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetText",kwnames
,&obj0
)) goto fail
;
20740 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20745 wxString
const &_result_ref
= (arg1
)->GetText();
20746 result
= (wxString
*) &_result_ref
;
20749 wxPyEndAllowThreads(__tstate
);
20750 if (PyErr_Occurred()) SWIG_fail
;
20754 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20756 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20765 static PyObject
*_wrap_ListEvent_GetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20766 PyObject
*resultobj
;
20767 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20769 PyObject
* obj0
= 0 ;
20770 char *kwnames
[] = {
20771 (char *) "self", NULL
20774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetImage",kwnames
,&obj0
)) goto fail
;
20775 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20779 result
= (int)(arg1
)->GetImage();
20781 wxPyEndAllowThreads(__tstate
);
20782 if (PyErr_Occurred()) SWIG_fail
;
20784 resultobj
= SWIG_FromInt((int)result
);
20791 static PyObject
*_wrap_ListEvent_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20792 PyObject
*resultobj
;
20793 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20795 PyObject
* obj0
= 0 ;
20796 char *kwnames
[] = {
20797 (char *) "self", NULL
20800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetData",kwnames
,&obj0
)) goto fail
;
20801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20805 result
= (long)(arg1
)->GetData();
20807 wxPyEndAllowThreads(__tstate
);
20808 if (PyErr_Occurred()) SWIG_fail
;
20810 resultobj
= SWIG_FromLong((long)result
);
20817 static PyObject
*_wrap_ListEvent_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20818 PyObject
*resultobj
;
20819 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20821 PyObject
* obj0
= 0 ;
20822 char *kwnames
[] = {
20823 (char *) "self", NULL
20826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetMask",kwnames
,&obj0
)) goto fail
;
20827 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20831 result
= (long)(arg1
)->GetMask();
20833 wxPyEndAllowThreads(__tstate
);
20834 if (PyErr_Occurred()) SWIG_fail
;
20836 resultobj
= SWIG_FromLong((long)result
);
20843 static PyObject
*_wrap_ListEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20844 PyObject
*resultobj
;
20845 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20846 wxListItem
*result
;
20847 PyObject
* obj0
= 0 ;
20848 char *kwnames
[] = {
20849 (char *) "self", NULL
20852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetItem",kwnames
,&obj0
)) goto fail
;
20853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20858 wxListItem
const &_result_ref
= (arg1
)->GetItem();
20859 result
= (wxListItem
*) &_result_ref
;
20862 wxPyEndAllowThreads(__tstate
);
20863 if (PyErr_Occurred()) SWIG_fail
;
20865 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItem
, 0);
20872 static PyObject
*_wrap_ListEvent_GetCacheFrom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20873 PyObject
*resultobj
;
20874 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20876 PyObject
* obj0
= 0 ;
20877 char *kwnames
[] = {
20878 (char *) "self", NULL
20881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheFrom",kwnames
,&obj0
)) goto fail
;
20882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20886 result
= (long)(arg1
)->GetCacheFrom();
20888 wxPyEndAllowThreads(__tstate
);
20889 if (PyErr_Occurred()) SWIG_fail
;
20891 resultobj
= SWIG_FromLong((long)result
);
20898 static PyObject
*_wrap_ListEvent_GetCacheTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20899 PyObject
*resultobj
;
20900 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20902 PyObject
* obj0
= 0 ;
20903 char *kwnames
[] = {
20904 (char *) "self", NULL
20907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheTo",kwnames
,&obj0
)) goto fail
;
20908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20912 result
= (long)(arg1
)->GetCacheTo();
20914 wxPyEndAllowThreads(__tstate
);
20915 if (PyErr_Occurred()) SWIG_fail
;
20917 resultobj
= SWIG_FromLong((long)result
);
20924 static PyObject
*_wrap_ListEvent_IsEditCancelled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20925 PyObject
*resultobj
;
20926 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20928 PyObject
* obj0
= 0 ;
20929 char *kwnames
[] = {
20930 (char *) "self", NULL
20933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
20934 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20935 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20938 result
= (bool)((wxListEvent
const *)arg1
)->IsEditCancelled();
20940 wxPyEndAllowThreads(__tstate
);
20941 if (PyErr_Occurred()) SWIG_fail
;
20944 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20952 static PyObject
*_wrap_ListEvent_SetEditCanceled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20953 PyObject
*resultobj
;
20954 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20956 PyObject
* obj0
= 0 ;
20957 PyObject
* obj1
= 0 ;
20958 char *kwnames
[] = {
20959 (char *) "self",(char *) "editCancelled", NULL
20962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
20963 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20965 arg2
= (bool) SWIG_AsBool(obj1
);
20966 if (PyErr_Occurred()) SWIG_fail
;
20968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20969 (arg1
)->SetEditCanceled(arg2
);
20971 wxPyEndAllowThreads(__tstate
);
20972 if (PyErr_Occurred()) SWIG_fail
;
20974 Py_INCREF(Py_None
); resultobj
= Py_None
;
20981 static PyObject
* ListEvent_swigregister(PyObject
*self
, PyObject
*args
) {
20983 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20984 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent
, obj
);
20986 return Py_BuildValue((char *)"");
20988 static PyObject
*_wrap_new_ListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20989 PyObject
*resultobj
;
20990 wxWindow
*arg1
= (wxWindow
*) 0 ;
20991 int arg2
= (int) -1 ;
20992 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
20993 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
20994 wxSize
const &arg4_defvalue
= wxDefaultSize
;
20995 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
20996 long arg5
= (long) wxLC_ICON
;
20997 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
20998 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
20999 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
21000 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21001 wxPyListCtrl
*result
;
21004 bool temp7
= False
;
21005 PyObject
* obj0
= 0 ;
21006 PyObject
* obj1
= 0 ;
21007 PyObject
* obj2
= 0 ;
21008 PyObject
* obj3
= 0 ;
21009 PyObject
* obj4
= 0 ;
21010 PyObject
* obj5
= 0 ;
21011 PyObject
* obj6
= 0 ;
21012 char *kwnames
[] = {
21013 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
21016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
21017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21020 arg2
= (int) SWIG_AsInt(obj1
);
21021 if (PyErr_Occurred()) SWIG_fail
;
21026 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21032 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21036 arg5
= (long) SWIG_AsLong(obj4
);
21037 if (PyErr_Occurred()) SWIG_fail
;
21040 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
21041 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21043 if (arg6
== NULL
) {
21044 PyErr_SetString(PyExc_TypeError
,"null reference");
21050 arg7
= wxString_in_helper(obj6
);
21051 if (arg7
== NULL
) SWIG_fail
;
21056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21057 result
= (wxPyListCtrl
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
21059 wxPyEndAllowThreads(__tstate
);
21060 if (PyErr_Occurred()) SWIG_fail
;
21062 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1);
21077 static PyObject
*_wrap_new_PreListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21078 PyObject
*resultobj
;
21079 wxPyListCtrl
*result
;
21080 char *kwnames
[] = {
21084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListCtrl",kwnames
)) goto fail
;
21086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21087 result
= (wxPyListCtrl
*)new wxPyListCtrl();
21089 wxPyEndAllowThreads(__tstate
);
21090 if (PyErr_Occurred()) SWIG_fail
;
21092 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1);
21099 static PyObject
*_wrap_ListCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21100 PyObject
*resultobj
;
21101 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21102 wxWindow
*arg2
= (wxWindow
*) 0 ;
21103 int arg3
= (int) -1 ;
21104 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21105 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21106 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21107 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21108 long arg6
= (long) wxLC_ICON
;
21109 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
21110 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
21111 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
21112 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
21116 bool temp8
= False
;
21117 PyObject
* obj0
= 0 ;
21118 PyObject
* obj1
= 0 ;
21119 PyObject
* obj2
= 0 ;
21120 PyObject
* obj3
= 0 ;
21121 PyObject
* obj4
= 0 ;
21122 PyObject
* obj5
= 0 ;
21123 PyObject
* obj6
= 0 ;
21124 PyObject
* obj7
= 0 ;
21125 char *kwnames
[] = {
21126 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
21129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
21130 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21131 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21132 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21135 arg3
= (int) SWIG_AsInt(obj2
);
21136 if (PyErr_Occurred()) SWIG_fail
;
21141 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21147 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21151 arg6
= (long) SWIG_AsLong(obj5
);
21152 if (PyErr_Occurred()) SWIG_fail
;
21155 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
21156 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21158 if (arg7
== NULL
) {
21159 PyErr_SetString(PyExc_TypeError
,"null reference");
21165 arg8
= wxString_in_helper(obj7
);
21166 if (arg8
== NULL
) SWIG_fail
;
21171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21172 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
21174 wxPyEndAllowThreads(__tstate
);
21175 if (PyErr_Occurred()) SWIG_fail
;
21178 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21194 static PyObject
*_wrap_ListCtrl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21195 PyObject
*resultobj
;
21196 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21197 PyObject
*arg2
= (PyObject
*) 0 ;
21198 PyObject
*arg3
= (PyObject
*) 0 ;
21199 PyObject
* obj0
= 0 ;
21200 PyObject
* obj1
= 0 ;
21201 PyObject
* obj2
= 0 ;
21202 char *kwnames
[] = {
21203 (char *) "self",(char *) "self",(char *) "_class", NULL
21206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21213 (arg1
)->_setCallbackInfo(arg2
,arg3
);
21215 wxPyEndAllowThreads(__tstate
);
21216 if (PyErr_Occurred()) SWIG_fail
;
21218 Py_INCREF(Py_None
); resultobj
= Py_None
;
21225 static PyObject
*_wrap_ListCtrl_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21226 PyObject
*resultobj
;
21227 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21228 wxColour
*arg2
= 0 ;
21231 PyObject
* obj0
= 0 ;
21232 PyObject
* obj1
= 0 ;
21233 char *kwnames
[] = {
21234 (char *) "self",(char *) "col", NULL
21237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21238 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21242 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21246 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
21248 wxPyEndAllowThreads(__tstate
);
21249 if (PyErr_Occurred()) SWIG_fail
;
21252 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21260 static PyObject
*_wrap_ListCtrl_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21261 PyObject
*resultobj
;
21262 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21263 wxColour
*arg2
= 0 ;
21266 PyObject
* obj0
= 0 ;
21267 PyObject
* obj1
= 0 ;
21268 char *kwnames
[] = {
21269 (char *) "self",(char *) "col", NULL
21272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21277 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21281 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
21283 wxPyEndAllowThreads(__tstate
);
21284 if (PyErr_Occurred()) SWIG_fail
;
21287 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21295 static PyObject
*_wrap_ListCtrl_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21296 PyObject
*resultobj
;
21297 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21299 wxListItem
*result
;
21300 PyObject
* obj0
= 0 ;
21301 PyObject
* obj1
= 0 ;
21302 char *kwnames
[] = {
21303 (char *) "self",(char *) "col", NULL
21306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
21307 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21308 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21309 arg2
= (int) SWIG_AsInt(obj1
);
21310 if (PyErr_Occurred()) SWIG_fail
;
21312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21313 result
= (wxListItem
*)wxPyListCtrl_GetColumn(arg1
,arg2
);
21315 wxPyEndAllowThreads(__tstate
);
21316 if (PyErr_Occurred()) SWIG_fail
;
21319 resultobj
= wxPyMake_wxObject(result
);
21327 static PyObject
*_wrap_ListCtrl_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21328 PyObject
*resultobj
;
21329 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21331 wxListItem
*arg3
= 0 ;
21333 PyObject
* obj0
= 0 ;
21334 PyObject
* obj1
= 0 ;
21335 PyObject
* obj2
= 0 ;
21336 char *kwnames
[] = {
21337 (char *) "self",(char *) "col",(char *) "item", NULL
21340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumn",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21343 arg2
= (int) SWIG_AsInt(obj1
);
21344 if (PyErr_Occurred()) SWIG_fail
;
21345 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxListItem
,
21346 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21348 if (arg3
== NULL
) {
21349 PyErr_SetString(PyExc_TypeError
,"null reference");
21353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21354 result
= (bool)(arg1
)->SetColumn(arg2
,*arg3
);
21356 wxPyEndAllowThreads(__tstate
);
21357 if (PyErr_Occurred()) SWIG_fail
;
21360 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21368 static PyObject
*_wrap_ListCtrl_GetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21369 PyObject
*resultobj
;
21370 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21373 PyObject
* obj0
= 0 ;
21374 PyObject
* obj1
= 0 ;
21375 char *kwnames
[] = {
21376 (char *) "self",(char *) "col", NULL
21379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
21380 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21382 arg2
= (int) SWIG_AsInt(obj1
);
21383 if (PyErr_Occurred()) SWIG_fail
;
21385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21386 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
21388 wxPyEndAllowThreads(__tstate
);
21389 if (PyErr_Occurred()) SWIG_fail
;
21391 resultobj
= SWIG_FromInt((int)result
);
21398 static PyObject
*_wrap_ListCtrl_SetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21399 PyObject
*resultobj
;
21400 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21404 PyObject
* obj0
= 0 ;
21405 PyObject
* obj1
= 0 ;
21406 PyObject
* obj2
= 0 ;
21407 char *kwnames
[] = {
21408 (char *) "self",(char *) "col",(char *) "width", NULL
21411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21412 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21414 arg2
= (int) SWIG_AsInt(obj1
);
21415 if (PyErr_Occurred()) SWIG_fail
;
21416 arg3
= (int) SWIG_AsInt(obj2
);
21417 if (PyErr_Occurred()) SWIG_fail
;
21419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21420 result
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
);
21422 wxPyEndAllowThreads(__tstate
);
21423 if (PyErr_Occurred()) SWIG_fail
;
21426 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21434 static PyObject
*_wrap_ListCtrl_GetCountPerPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21435 PyObject
*resultobj
;
21436 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21438 PyObject
* obj0
= 0 ;
21439 char *kwnames
[] = {
21440 (char *) "self", NULL
21443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetCountPerPage",kwnames
,&obj0
)) goto fail
;
21444 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21448 result
= (int)((wxPyListCtrl
const *)arg1
)->GetCountPerPage();
21450 wxPyEndAllowThreads(__tstate
);
21451 if (PyErr_Occurred()) SWIG_fail
;
21453 resultobj
= SWIG_FromInt((int)result
);
21460 static PyObject
*_wrap_ListCtrl_GetViewRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21461 PyObject
*resultobj
;
21462 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21464 PyObject
* obj0
= 0 ;
21465 char *kwnames
[] = {
21466 (char *) "self", NULL
21469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetViewRect",kwnames
,&obj0
)) goto fail
;
21470 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21474 result
= ((wxPyListCtrl
const *)arg1
)->GetViewRect();
21476 wxPyEndAllowThreads(__tstate
);
21477 if (PyErr_Occurred()) SWIG_fail
;
21480 wxRect
* resultptr
;
21481 resultptr
= new wxRect((wxRect
&) result
);
21482 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
21490 static PyObject
*_wrap_ListCtrl_GetEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21491 PyObject
*resultobj
;
21492 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21493 wxTextCtrl
*result
;
21494 PyObject
* obj0
= 0 ;
21495 char *kwnames
[] = {
21496 (char *) "self", NULL
21499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetEditControl",kwnames
,&obj0
)) goto fail
;
21500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21504 result
= (wxTextCtrl
*)((wxPyListCtrl
const *)arg1
)->GetEditControl();
21506 wxPyEndAllowThreads(__tstate
);
21507 if (PyErr_Occurred()) SWIG_fail
;
21510 resultobj
= wxPyMake_wxObject(result
);
21518 static PyObject
*_wrap_ListCtrl_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21519 PyObject
*resultobj
;
21520 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21522 int arg3
= (int) 0 ;
21523 wxListItem
*result
;
21524 PyObject
* obj0
= 0 ;
21525 PyObject
* obj1
= 0 ;
21526 PyObject
* obj2
= 0 ;
21527 char *kwnames
[] = {
21528 (char *) "self",(char *) "itemId",(char *) "col", NULL
21531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21534 arg2
= (long) SWIG_AsLong(obj1
);
21535 if (PyErr_Occurred()) SWIG_fail
;
21537 arg3
= (int) SWIG_AsInt(obj2
);
21538 if (PyErr_Occurred()) SWIG_fail
;
21541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21542 result
= (wxListItem
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
);
21544 wxPyEndAllowThreads(__tstate
);
21545 if (PyErr_Occurred()) SWIG_fail
;
21548 resultobj
= wxPyMake_wxObject(result
);
21556 static PyObject
*_wrap_ListCtrl_SetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21557 PyObject
*resultobj
;
21558 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21559 wxListItem
*arg2
= 0 ;
21561 PyObject
* obj0
= 0 ;
21562 PyObject
* obj1
= 0 ;
21563 char *kwnames
[] = {
21564 (char *) "self",(char *) "info", NULL
21567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
21568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21570 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxListItem
,
21571 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21573 if (arg2
== NULL
) {
21574 PyErr_SetString(PyExc_TypeError
,"null reference");
21578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21579 result
= (bool)(arg1
)->SetItem(*arg2
);
21581 wxPyEndAllowThreads(__tstate
);
21582 if (PyErr_Occurred()) SWIG_fail
;
21585 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21593 static PyObject
*_wrap_ListCtrl_SetStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21594 PyObject
*resultobj
;
21595 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21598 wxString
*arg4
= 0 ;
21599 int arg5
= (int) -1 ;
21601 bool temp4
= False
;
21602 PyObject
* obj0
= 0 ;
21603 PyObject
* obj1
= 0 ;
21604 PyObject
* obj2
= 0 ;
21605 PyObject
* obj3
= 0 ;
21606 PyObject
* obj4
= 0 ;
21607 char *kwnames
[] = {
21608 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
21611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
21612 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21614 arg2
= (long) SWIG_AsLong(obj1
);
21615 if (PyErr_Occurred()) SWIG_fail
;
21616 arg3
= (int) SWIG_AsInt(obj2
);
21617 if (PyErr_Occurred()) SWIG_fail
;
21619 arg4
= wxString_in_helper(obj3
);
21620 if (arg4
== NULL
) SWIG_fail
;
21624 arg5
= (int) SWIG_AsInt(obj4
);
21625 if (PyErr_Occurred()) SWIG_fail
;
21628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21629 result
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
21631 wxPyEndAllowThreads(__tstate
);
21632 if (PyErr_Occurred()) SWIG_fail
;
21634 resultobj
= SWIG_FromLong((long)result
);
21649 static PyObject
*_wrap_ListCtrl_GetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21650 PyObject
*resultobj
;
21651 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21655 PyObject
* obj0
= 0 ;
21656 PyObject
* obj1
= 0 ;
21657 PyObject
* obj2
= 0 ;
21658 char *kwnames
[] = {
21659 (char *) "self",(char *) "item",(char *) "stateMask", NULL
21662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_GetItemState",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21663 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21665 arg2
= (long) SWIG_AsLong(obj1
);
21666 if (PyErr_Occurred()) SWIG_fail
;
21667 arg3
= (long) SWIG_AsLong(obj2
);
21668 if (PyErr_Occurred()) SWIG_fail
;
21670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21671 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemState(arg2
,arg3
);
21673 wxPyEndAllowThreads(__tstate
);
21674 if (PyErr_Occurred()) SWIG_fail
;
21676 resultobj
= SWIG_FromInt((int)result
);
21683 static PyObject
*_wrap_ListCtrl_SetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21684 PyObject
*resultobj
;
21685 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21690 PyObject
* obj0
= 0 ;
21691 PyObject
* obj1
= 0 ;
21692 PyObject
* obj2
= 0 ;
21693 PyObject
* obj3
= 0 ;
21694 char *kwnames
[] = {
21695 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
21698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemState",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) 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
;
21705 arg4
= (long) SWIG_AsLong(obj3
);
21706 if (PyErr_Occurred()) SWIG_fail
;
21708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21709 result
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
);
21711 wxPyEndAllowThreads(__tstate
);
21712 if (PyErr_Occurred()) SWIG_fail
;
21715 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21723 static PyObject
*_wrap_ListCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21724 PyObject
*resultobj
;
21725 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21730 PyObject
* obj0
= 0 ;
21731 PyObject
* obj1
= 0 ;
21732 PyObject
* obj2
= 0 ;
21733 PyObject
* obj3
= 0 ;
21734 char *kwnames
[] = {
21735 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
21738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21739 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21741 arg2
= (long) SWIG_AsLong(obj1
);
21742 if (PyErr_Occurred()) SWIG_fail
;
21743 arg3
= (int) SWIG_AsInt(obj2
);
21744 if (PyErr_Occurred()) SWIG_fail
;
21745 arg4
= (int) SWIG_AsInt(obj3
);
21746 if (PyErr_Occurred()) SWIG_fail
;
21748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21749 result
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
);
21751 wxPyEndAllowThreads(__tstate
);
21752 if (PyErr_Occurred()) SWIG_fail
;
21755 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21763 static PyObject
*_wrap_ListCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21764 PyObject
*resultobj
;
21765 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21768 PyObject
* obj0
= 0 ;
21769 PyObject
* obj1
= 0 ;
21770 char *kwnames
[] = {
21771 (char *) "self",(char *) "item", NULL
21774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) 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
;
21780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21781 result
= ((wxPyListCtrl
const *)arg1
)->GetItemText(arg2
);
21783 wxPyEndAllowThreads(__tstate
);
21784 if (PyErr_Occurred()) SWIG_fail
;
21788 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21790 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21799 static PyObject
*_wrap_ListCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21800 PyObject
*resultobj
;
21801 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21803 wxString
*arg3
= 0 ;
21804 bool temp3
= False
;
21805 PyObject
* obj0
= 0 ;
21806 PyObject
* obj1
= 0 ;
21807 PyObject
* obj2
= 0 ;
21808 char *kwnames
[] = {
21809 (char *) "self",(char *) "item",(char *) "str", NULL
21812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21813 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21815 arg2
= (long) SWIG_AsLong(obj1
);
21816 if (PyErr_Occurred()) SWIG_fail
;
21818 arg3
= wxString_in_helper(obj2
);
21819 if (arg3
== NULL
) SWIG_fail
;
21823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21824 (arg1
)->SetItemText(arg2
,(wxString
const &)*arg3
);
21826 wxPyEndAllowThreads(__tstate
);
21827 if (PyErr_Occurred()) SWIG_fail
;
21829 Py_INCREF(Py_None
); resultobj
= Py_None
;
21844 static PyObject
*_wrap_ListCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21845 PyObject
*resultobj
;
21846 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21849 PyObject
* obj0
= 0 ;
21850 PyObject
* obj1
= 0 ;
21851 char *kwnames
[] = {
21852 (char *) "self",(char *) "item", NULL
21855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
21856 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21858 arg2
= (long) SWIG_AsLong(obj1
);
21859 if (PyErr_Occurred()) SWIG_fail
;
21861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21862 result
= (long)((wxPyListCtrl
const *)arg1
)->GetItemData(arg2
);
21864 wxPyEndAllowThreads(__tstate
);
21865 if (PyErr_Occurred()) SWIG_fail
;
21867 resultobj
= SWIG_FromLong((long)result
);
21874 static PyObject
*_wrap_ListCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21875 PyObject
*resultobj
;
21876 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21880 PyObject
* obj0
= 0 ;
21881 PyObject
* obj1
= 0 ;
21882 PyObject
* obj2
= 0 ;
21883 char *kwnames
[] = {
21884 (char *) "self",(char *) "item",(char *) "data", NULL
21887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21888 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21890 arg2
= (long) SWIG_AsLong(obj1
);
21891 if (PyErr_Occurred()) SWIG_fail
;
21892 arg3
= (long) SWIG_AsLong(obj2
);
21893 if (PyErr_Occurred()) SWIG_fail
;
21895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21896 result
= (bool)(arg1
)->SetItemData(arg2
,arg3
);
21898 wxPyEndAllowThreads(__tstate
);
21899 if (PyErr_Occurred()) SWIG_fail
;
21902 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21910 static PyObject
*_wrap_ListCtrl_GetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21911 PyObject
*resultobj
;
21912 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21915 PyObject
* obj0
= 0 ;
21916 PyObject
* obj1
= 0 ;
21917 char *kwnames
[] = {
21918 (char *) "self",(char *) "item", NULL
21921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
21922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21924 arg2
= (long) SWIG_AsLong(obj1
);
21925 if (PyErr_Occurred()) SWIG_fail
;
21927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21928 result
= wxPyListCtrl_GetItemPosition(arg1
,arg2
);
21930 wxPyEndAllowThreads(__tstate
);
21931 if (PyErr_Occurred()) SWIG_fail
;
21934 wxPoint
* resultptr
;
21935 resultptr
= new wxPoint((wxPoint
&) result
);
21936 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
21944 static PyObject
*_wrap_ListCtrl_GetItemRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21945 PyObject
*resultobj
;
21946 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21948 int arg3
= (int) wxLIST_RECT_BOUNDS
;
21950 PyObject
* obj0
= 0 ;
21951 PyObject
* obj1
= 0 ;
21952 PyObject
* obj2
= 0 ;
21953 char *kwnames
[] = {
21954 (char *) "self",(char *) "item",(char *) "code", NULL
21957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItemRect",kwnames
,&obj0
,&obj1
,&obj2
)) 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 arg3
= (int) SWIG_AsInt(obj2
);
21964 if (PyErr_Occurred()) SWIG_fail
;
21967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21968 result
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
);
21970 wxPyEndAllowThreads(__tstate
);
21971 if (PyErr_Occurred()) SWIG_fail
;
21974 wxRect
* resultptr
;
21975 resultptr
= new wxRect((wxRect
&) result
);
21976 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
21984 static PyObject
*_wrap_ListCtrl_SetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21985 PyObject
*resultobj
;
21986 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21988 wxPoint
*arg3
= 0 ;
21991 PyObject
* obj0
= 0 ;
21992 PyObject
* obj1
= 0 ;
21993 PyObject
* obj2
= 0 ;
21994 char *kwnames
[] = {
21995 (char *) "self",(char *) "item",(char *) "pos", NULL
21998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22001 arg2
= (long) SWIG_AsLong(obj1
);
22002 if (PyErr_Occurred()) SWIG_fail
;
22005 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22009 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint
const &)*arg3
);
22011 wxPyEndAllowThreads(__tstate
);
22012 if (PyErr_Occurred()) SWIG_fail
;
22015 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22023 static PyObject
*_wrap_ListCtrl_GetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22024 PyObject
*resultobj
;
22025 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22027 PyObject
* obj0
= 0 ;
22028 char *kwnames
[] = {
22029 (char *) "self", NULL
22032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemCount",kwnames
,&obj0
)) goto fail
;
22033 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22037 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemCount();
22039 wxPyEndAllowThreads(__tstate
);
22040 if (PyErr_Occurred()) SWIG_fail
;
22042 resultobj
= SWIG_FromInt((int)result
);
22049 static PyObject
*_wrap_ListCtrl_GetColumnCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22050 PyObject
*resultobj
;
22051 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22053 PyObject
* obj0
= 0 ;
22054 char *kwnames
[] = {
22055 (char *) "self", NULL
22058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetColumnCount",kwnames
,&obj0
)) goto fail
;
22059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22063 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnCount();
22065 wxPyEndAllowThreads(__tstate
);
22066 if (PyErr_Occurred()) SWIG_fail
;
22068 resultobj
= SWIG_FromInt((int)result
);
22075 static PyObject
*_wrap_ListCtrl_GetItemSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22076 PyObject
*resultobj
;
22077 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22079 PyObject
* obj0
= 0 ;
22080 char *kwnames
[] = {
22081 (char *) "self", NULL
22084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemSpacing",kwnames
,&obj0
)) goto fail
;
22085 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22089 result
= ((wxPyListCtrl
const *)arg1
)->GetItemSpacing();
22091 wxPyEndAllowThreads(__tstate
);
22092 if (PyErr_Occurred()) SWIG_fail
;
22095 wxSize
* resultptr
;
22096 resultptr
= new wxSize((wxSize
&) result
);
22097 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22105 static PyObject
*_wrap_ListCtrl_GetSelectedItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22106 PyObject
*resultobj
;
22107 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22109 PyObject
* obj0
= 0 ;
22110 char *kwnames
[] = {
22111 (char *) "self", NULL
22114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames
,&obj0
)) goto fail
;
22115 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22119 result
= (int)((wxPyListCtrl
const *)arg1
)->GetSelectedItemCount();
22121 wxPyEndAllowThreads(__tstate
);
22122 if (PyErr_Occurred()) SWIG_fail
;
22124 resultobj
= SWIG_FromInt((int)result
);
22131 static PyObject
*_wrap_ListCtrl_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22132 PyObject
*resultobj
;
22133 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22135 PyObject
* obj0
= 0 ;
22136 char *kwnames
[] = {
22137 (char *) "self", NULL
22140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTextColour",kwnames
,&obj0
)) goto fail
;
22141 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22145 result
= ((wxPyListCtrl
const *)arg1
)->GetTextColour();
22147 wxPyEndAllowThreads(__tstate
);
22148 if (PyErr_Occurred()) SWIG_fail
;
22151 wxColour
* resultptr
;
22152 resultptr
= new wxColour((wxColour
&) result
);
22153 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
22161 static PyObject
*_wrap_ListCtrl_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22162 PyObject
*resultobj
;
22163 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22164 wxColour
*arg2
= 0 ;
22166 PyObject
* obj0
= 0 ;
22167 PyObject
* obj1
= 0 ;
22168 char *kwnames
[] = {
22169 (char *) "self",(char *) "col", NULL
22172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
22173 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22174 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22177 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22181 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
22183 wxPyEndAllowThreads(__tstate
);
22184 if (PyErr_Occurred()) SWIG_fail
;
22186 Py_INCREF(Py_None
); resultobj
= Py_None
;
22193 static PyObject
*_wrap_ListCtrl_GetTopItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22194 PyObject
*resultobj
;
22195 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22197 PyObject
* obj0
= 0 ;
22198 char *kwnames
[] = {
22199 (char *) "self", NULL
22202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTopItem",kwnames
,&obj0
)) goto fail
;
22203 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22207 result
= (long)((wxPyListCtrl
const *)arg1
)->GetTopItem();
22209 wxPyEndAllowThreads(__tstate
);
22210 if (PyErr_Occurred()) SWIG_fail
;
22212 resultobj
= SWIG_FromLong((long)result
);
22219 static PyObject
*_wrap_ListCtrl_SetSingleStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22220 PyObject
*resultobj
;
22221 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22223 bool arg3
= (bool) True
;
22224 PyObject
* obj0
= 0 ;
22225 PyObject
* obj1
= 0 ;
22226 PyObject
* obj2
= 0 ;
22227 char *kwnames
[] = {
22228 (char *) "self",(char *) "style",(char *) "add", NULL
22231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22232 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22234 arg2
= (long) SWIG_AsLong(obj1
);
22235 if (PyErr_Occurred()) SWIG_fail
;
22237 arg3
= (bool) SWIG_AsBool(obj2
);
22238 if (PyErr_Occurred()) SWIG_fail
;
22241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22242 (arg1
)->SetSingleStyle(arg2
,arg3
);
22244 wxPyEndAllowThreads(__tstate
);
22245 if (PyErr_Occurred()) SWIG_fail
;
22247 Py_INCREF(Py_None
); resultobj
= Py_None
;
22254 static PyObject
*_wrap_ListCtrl_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22255 PyObject
*resultobj
;
22256 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22258 PyObject
* obj0
= 0 ;
22259 PyObject
* obj1
= 0 ;
22260 char *kwnames
[] = {
22261 (char *) "self",(char *) "style", NULL
22264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
22265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22267 arg2
= (long) SWIG_AsLong(obj1
);
22268 if (PyErr_Occurred()) SWIG_fail
;
22270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22271 (arg1
)->SetWindowStyleFlag(arg2
);
22273 wxPyEndAllowThreads(__tstate
);
22274 if (PyErr_Occurred()) SWIG_fail
;
22276 Py_INCREF(Py_None
); resultobj
= Py_None
;
22283 static PyObject
*_wrap_ListCtrl_GetNextItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22284 PyObject
*resultobj
;
22285 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22287 int arg3
= (int) wxLIST_NEXT_ALL
;
22288 int arg4
= (int) wxLIST_STATE_DONTCARE
;
22290 PyObject
* obj0
= 0 ;
22291 PyObject
* obj1
= 0 ;
22292 PyObject
* obj2
= 0 ;
22293 PyObject
* obj3
= 0 ;
22294 char *kwnames
[] = {
22295 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
22298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22299 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22301 arg2
= (long) SWIG_AsLong(obj1
);
22302 if (PyErr_Occurred()) SWIG_fail
;
22304 arg3
= (int) SWIG_AsInt(obj2
);
22305 if (PyErr_Occurred()) SWIG_fail
;
22308 arg4
= (int) SWIG_AsInt(obj3
);
22309 if (PyErr_Occurred()) SWIG_fail
;
22312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22313 result
= (long)((wxPyListCtrl
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
22315 wxPyEndAllowThreads(__tstate
);
22316 if (PyErr_Occurred()) SWIG_fail
;
22318 resultobj
= SWIG_FromLong((long)result
);
22325 static PyObject
*_wrap_ListCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22326 PyObject
*resultobj
;
22327 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22329 wxImageList
*result
;
22330 PyObject
* obj0
= 0 ;
22331 PyObject
* obj1
= 0 ;
22332 char *kwnames
[] = {
22333 (char *) "self",(char *) "which", NULL
22336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
22337 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22339 arg2
= (int) SWIG_AsInt(obj1
);
22340 if (PyErr_Occurred()) SWIG_fail
;
22342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22343 result
= (wxImageList
*)((wxPyListCtrl
const *)arg1
)->GetImageList(arg2
);
22345 wxPyEndAllowThreads(__tstate
);
22346 if (PyErr_Occurred()) SWIG_fail
;
22349 resultobj
= wxPyMake_wxObject(result
);
22357 static PyObject
*_wrap_ListCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22358 PyObject
*resultobj
;
22359 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22360 wxImageList
*arg2
= (wxImageList
*) 0 ;
22362 PyObject
* obj0
= 0 ;
22363 PyObject
* obj1
= 0 ;
22364 PyObject
* obj2
= 0 ;
22365 char *kwnames
[] = {
22366 (char *) "self",(char *) "imageList",(char *) "which", NULL
22369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22372 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
22373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22374 arg3
= (int) SWIG_AsInt(obj2
);
22375 if (PyErr_Occurred()) SWIG_fail
;
22377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22378 (arg1
)->SetImageList(arg2
,arg3
);
22380 wxPyEndAllowThreads(__tstate
);
22381 if (PyErr_Occurred()) SWIG_fail
;
22383 Py_INCREF(Py_None
); resultobj
= Py_None
;
22390 static PyObject
*_wrap_ListCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22391 PyObject
*resultobj
;
22392 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22393 wxImageList
*arg2
= (wxImageList
*) 0 ;
22395 PyObject
* obj0
= 0 ;
22396 PyObject
* obj1
= 0 ;
22397 PyObject
* obj2
= 0 ;
22398 char *kwnames
[] = {
22399 (char *) "self",(char *) "imageList",(char *) "which", NULL
22402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22405 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
22406 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
22407 arg3
= (int) SWIG_AsInt(obj2
);
22408 if (PyErr_Occurred()) SWIG_fail
;
22410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22411 (arg1
)->AssignImageList(arg2
,arg3
);
22413 wxPyEndAllowThreads(__tstate
);
22414 if (PyErr_Occurred()) SWIG_fail
;
22416 Py_INCREF(Py_None
); resultobj
= Py_None
;
22423 static PyObject
*_wrap_ListCtrl_InReportView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22424 PyObject
*resultobj
;
22425 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22427 PyObject
* obj0
= 0 ;
22428 char *kwnames
[] = {
22429 (char *) "self", NULL
22432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_InReportView",kwnames
,&obj0
)) goto fail
;
22433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22437 result
= (bool)((wxPyListCtrl
const *)arg1
)->InReportView();
22439 wxPyEndAllowThreads(__tstate
);
22440 if (PyErr_Occurred()) SWIG_fail
;
22443 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22451 static PyObject
*_wrap_ListCtrl_IsVirtual(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22452 PyObject
*resultobj
;
22453 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22455 PyObject
* obj0
= 0 ;
22456 char *kwnames
[] = {
22457 (char *) "self", NULL
22460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_IsVirtual",kwnames
,&obj0
)) goto fail
;
22461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22465 result
= (bool)((wxPyListCtrl
const *)arg1
)->IsVirtual();
22467 wxPyEndAllowThreads(__tstate
);
22468 if (PyErr_Occurred()) SWIG_fail
;
22471 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22479 static PyObject
*_wrap_ListCtrl_RefreshItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22480 PyObject
*resultobj
;
22481 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22483 PyObject
* obj0
= 0 ;
22484 PyObject
* obj1
= 0 ;
22485 char *kwnames
[] = {
22486 (char *) "self",(char *) "item", NULL
22489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_RefreshItem",kwnames
,&obj0
,&obj1
)) goto fail
;
22490 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22492 arg2
= (long) SWIG_AsLong(obj1
);
22493 if (PyErr_Occurred()) SWIG_fail
;
22495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22496 (arg1
)->RefreshItem(arg2
);
22498 wxPyEndAllowThreads(__tstate
);
22499 if (PyErr_Occurred()) SWIG_fail
;
22501 Py_INCREF(Py_None
); resultobj
= Py_None
;
22508 static PyObject
*_wrap_ListCtrl_RefreshItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22509 PyObject
*resultobj
;
22510 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22513 PyObject
* obj0
= 0 ;
22514 PyObject
* obj1
= 0 ;
22515 PyObject
* obj2
= 0 ;
22516 char *kwnames
[] = {
22517 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
22520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_RefreshItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22521 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22523 arg2
= (long) SWIG_AsLong(obj1
);
22524 if (PyErr_Occurred()) SWIG_fail
;
22525 arg3
= (long) SWIG_AsLong(obj2
);
22526 if (PyErr_Occurred()) SWIG_fail
;
22528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22529 (arg1
)->RefreshItems(arg2
,arg3
);
22531 wxPyEndAllowThreads(__tstate
);
22532 if (PyErr_Occurred()) SWIG_fail
;
22534 Py_INCREF(Py_None
); resultobj
= Py_None
;
22541 static PyObject
*_wrap_ListCtrl_Arrange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22542 PyObject
*resultobj
;
22543 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22544 int arg2
= (int) wxLIST_ALIGN_DEFAULT
;
22546 PyObject
* obj0
= 0 ;
22547 PyObject
* obj1
= 0 ;
22548 char *kwnames
[] = {
22549 (char *) "self",(char *) "flag", NULL
22552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListCtrl_Arrange",kwnames
,&obj0
,&obj1
)) goto fail
;
22553 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22556 arg2
= (int) SWIG_AsInt(obj1
);
22557 if (PyErr_Occurred()) SWIG_fail
;
22560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22561 result
= (bool)(arg1
)->Arrange(arg2
);
22563 wxPyEndAllowThreads(__tstate
);
22564 if (PyErr_Occurred()) SWIG_fail
;
22567 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22575 static PyObject
*_wrap_ListCtrl_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22576 PyObject
*resultobj
;
22577 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22580 PyObject
* obj0
= 0 ;
22581 PyObject
* obj1
= 0 ;
22582 char *kwnames
[] = {
22583 (char *) "self",(char *) "item", NULL
22586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
22587 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22589 arg2
= (long) SWIG_AsLong(obj1
);
22590 if (PyErr_Occurred()) SWIG_fail
;
22592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22593 result
= (bool)(arg1
)->DeleteItem(arg2
);
22595 wxPyEndAllowThreads(__tstate
);
22596 if (PyErr_Occurred()) SWIG_fail
;
22599 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22607 static PyObject
*_wrap_ListCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22608 PyObject
*resultobj
;
22609 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22611 PyObject
* obj0
= 0 ;
22612 char *kwnames
[] = {
22613 (char *) "self", NULL
22616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
22617 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22621 result
= (bool)(arg1
)->DeleteAllItems();
22623 wxPyEndAllowThreads(__tstate
);
22624 if (PyErr_Occurred()) SWIG_fail
;
22627 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22635 static PyObject
*_wrap_ListCtrl_DeleteColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22636 PyObject
*resultobj
;
22637 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22640 PyObject
* obj0
= 0 ;
22641 PyObject
* obj1
= 0 ;
22642 char *kwnames
[] = {
22643 (char *) "self",(char *) "col", NULL
22646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
22647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22649 arg2
= (int) SWIG_AsInt(obj1
);
22650 if (PyErr_Occurred()) SWIG_fail
;
22652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22653 result
= (bool)(arg1
)->DeleteColumn(arg2
);
22655 wxPyEndAllowThreads(__tstate
);
22656 if (PyErr_Occurred()) SWIG_fail
;
22659 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22667 static PyObject
*_wrap_ListCtrl_DeleteAllColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22668 PyObject
*resultobj
;
22669 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22671 PyObject
* obj0
= 0 ;
22672 char *kwnames
[] = {
22673 (char *) "self", NULL
22676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllColumns",kwnames
,&obj0
)) goto fail
;
22677 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22681 result
= (bool)(arg1
)->DeleteAllColumns();
22683 wxPyEndAllowThreads(__tstate
);
22684 if (PyErr_Occurred()) SWIG_fail
;
22687 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22695 static PyObject
*_wrap_ListCtrl_ClearAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22696 PyObject
*resultobj
;
22697 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22698 PyObject
* obj0
= 0 ;
22699 char *kwnames
[] = {
22700 (char *) "self", NULL
22703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_ClearAll",kwnames
,&obj0
)) goto fail
;
22704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22708 (arg1
)->ClearAll();
22710 wxPyEndAllowThreads(__tstate
);
22711 if (PyErr_Occurred()) SWIG_fail
;
22713 Py_INCREF(Py_None
); resultobj
= Py_None
;
22720 static PyObject
*_wrap_ListCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22721 PyObject
*resultobj
;
22722 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22724 wxTextCtrl
*result
;
22725 PyObject
* obj0
= 0 ;
22726 PyObject
* obj1
= 0 ;
22727 char *kwnames
[] = {
22728 (char *) "self",(char *) "item", NULL
22731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
22732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22734 arg2
= (long) SWIG_AsLong(obj1
);
22735 if (PyErr_Occurred()) SWIG_fail
;
22737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22738 result
= (wxTextCtrl
*)(arg1
)->EditLabel(arg2
);
22740 wxPyEndAllowThreads(__tstate
);
22741 if (PyErr_Occurred()) SWIG_fail
;
22744 resultobj
= wxPyMake_wxObject(result
);
22752 static PyObject
*_wrap_ListCtrl_EndEditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22753 PyObject
*resultobj
;
22754 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22757 PyObject
* obj0
= 0 ;
22758 PyObject
* obj1
= 0 ;
22759 char *kwnames
[] = {
22760 (char *) "self",(char *) "cancel", NULL
22763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EndEditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
22764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22766 arg2
= (bool) SWIG_AsBool(obj1
);
22767 if (PyErr_Occurred()) SWIG_fail
;
22769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22770 result
= (bool)(arg1
)->EndEditLabel(arg2
);
22772 wxPyEndAllowThreads(__tstate
);
22773 if (PyErr_Occurred()) SWIG_fail
;
22776 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22784 static PyObject
*_wrap_ListCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22785 PyObject
*resultobj
;
22786 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22789 PyObject
* obj0
= 0 ;
22790 PyObject
* obj1
= 0 ;
22791 char *kwnames
[] = {
22792 (char *) "self",(char *) "item", NULL
22795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
22796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22798 arg2
= (long) SWIG_AsLong(obj1
);
22799 if (PyErr_Occurred()) SWIG_fail
;
22801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22802 result
= (bool)(arg1
)->EnsureVisible(arg2
);
22804 wxPyEndAllowThreads(__tstate
);
22805 if (PyErr_Occurred()) SWIG_fail
;
22808 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22816 static PyObject
*_wrap_ListCtrl_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22817 PyObject
*resultobj
;
22818 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22820 wxString
*arg3
= 0 ;
22821 bool arg4
= (bool) False
;
22823 bool temp3
= False
;
22824 PyObject
* obj0
= 0 ;
22825 PyObject
* obj1
= 0 ;
22826 PyObject
* obj2
= 0 ;
22827 PyObject
* obj3
= 0 ;
22828 char *kwnames
[] = {
22829 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
22832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_FindItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22833 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22834 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22835 arg2
= (long) SWIG_AsLong(obj1
);
22836 if (PyErr_Occurred()) SWIG_fail
;
22838 arg3
= wxString_in_helper(obj2
);
22839 if (arg3
== NULL
) SWIG_fail
;
22843 arg4
= (bool) SWIG_AsBool(obj3
);
22844 if (PyErr_Occurred()) SWIG_fail
;
22847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22848 result
= (long)(arg1
)->FindItem(arg2
,(wxString
const &)*arg3
,arg4
);
22850 wxPyEndAllowThreads(__tstate
);
22851 if (PyErr_Occurred()) SWIG_fail
;
22853 resultobj
= SWIG_FromLong((long)result
);
22868 static PyObject
*_wrap_ListCtrl_FindItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22869 PyObject
*resultobj
;
22870 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22874 PyObject
* obj0
= 0 ;
22875 PyObject
* obj1
= 0 ;
22876 PyObject
* obj2
= 0 ;
22877 char *kwnames
[] = {
22878 (char *) "self",(char *) "start",(char *) "data", NULL
22881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_FindItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22884 arg2
= (long) SWIG_AsLong(obj1
);
22885 if (PyErr_Occurred()) SWIG_fail
;
22886 arg3
= (long) SWIG_AsLong(obj2
);
22887 if (PyErr_Occurred()) SWIG_fail
;
22889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22890 result
= (long)(arg1
)->FindItem(arg2
,arg3
);
22892 wxPyEndAllowThreads(__tstate
);
22893 if (PyErr_Occurred()) SWIG_fail
;
22895 resultobj
= SWIG_FromLong((long)result
);
22902 static PyObject
*_wrap_ListCtrl_FindItemAtPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22903 PyObject
*resultobj
;
22904 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22906 wxPoint
*arg3
= 0 ;
22910 PyObject
* obj0
= 0 ;
22911 PyObject
* obj1
= 0 ;
22912 PyObject
* obj2
= 0 ;
22913 PyObject
* obj3
= 0 ;
22914 char *kwnames
[] = {
22915 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
22918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22921 arg2
= (long) SWIG_AsLong(obj1
);
22922 if (PyErr_Occurred()) SWIG_fail
;
22925 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22927 arg4
= (int) SWIG_AsInt(obj3
);
22928 if (PyErr_Occurred()) SWIG_fail
;
22930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22931 result
= (long)(arg1
)->FindItem(arg2
,(wxPoint
const &)*arg3
,arg4
);
22933 wxPyEndAllowThreads(__tstate
);
22934 if (PyErr_Occurred()) SWIG_fail
;
22936 resultobj
= SWIG_FromLong((long)result
);
22943 static PyObject
*_wrap_ListCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22944 PyObject
*resultobj
;
22945 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22946 wxPoint
*arg2
= 0 ;
22951 PyObject
* obj0
= 0 ;
22952 PyObject
* obj1
= 0 ;
22953 char *kwnames
[] = {
22954 (char *) "self",(char *) "point", NULL
22958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
22959 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22963 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22967 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
22969 wxPyEndAllowThreads(__tstate
);
22970 if (PyErr_Occurred()) SWIG_fail
;
22972 resultobj
= SWIG_FromLong((long)result
);
22974 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22975 resultobj
= t_output_helper(resultobj
,o
);
22983 static PyObject
*_wrap_ListCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22984 PyObject
*resultobj
;
22985 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22986 wxListItem
*arg2
= 0 ;
22988 PyObject
* obj0
= 0 ;
22989 PyObject
* obj1
= 0 ;
22990 char *kwnames
[] = {
22991 (char *) "self",(char *) "info", NULL
22994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) goto fail
;
22995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22997 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxListItem
,
22998 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23000 if (arg2
== NULL
) {
23001 PyErr_SetString(PyExc_TypeError
,"null reference");
23005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23006 result
= (long)(arg1
)->InsertItem(*arg2
);
23008 wxPyEndAllowThreads(__tstate
);
23009 if (PyErr_Occurred()) SWIG_fail
;
23011 resultobj
= SWIG_FromLong((long)result
);
23018 static PyObject
*_wrap_ListCtrl_InsertStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23019 PyObject
*resultobj
;
23020 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23022 wxString
*arg3
= 0 ;
23024 bool temp3
= False
;
23025 PyObject
* obj0
= 0 ;
23026 PyObject
* obj1
= 0 ;
23027 PyObject
* obj2
= 0 ;
23028 char *kwnames
[] = {
23029 (char *) "self",(char *) "index",(char *) "label", NULL
23032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertStringItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23033 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23035 arg2
= (long) SWIG_AsLong(obj1
);
23036 if (PyErr_Occurred()) SWIG_fail
;
23038 arg3
= wxString_in_helper(obj2
);
23039 if (arg3
== NULL
) SWIG_fail
;
23043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23044 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
);
23046 wxPyEndAllowThreads(__tstate
);
23047 if (PyErr_Occurred()) SWIG_fail
;
23049 resultobj
= SWIG_FromLong((long)result
);
23064 static PyObject
*_wrap_ListCtrl_InsertImageItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23065 PyObject
*resultobj
;
23066 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23070 PyObject
* obj0
= 0 ;
23071 PyObject
* obj1
= 0 ;
23072 PyObject
* obj2
= 0 ;
23073 char *kwnames
[] = {
23074 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
23077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertImageItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23078 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23079 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23080 arg2
= (long) SWIG_AsLong(obj1
);
23081 if (PyErr_Occurred()) SWIG_fail
;
23082 arg3
= (int) SWIG_AsInt(obj2
);
23083 if (PyErr_Occurred()) SWIG_fail
;
23085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23086 result
= (long)(arg1
)->InsertItem(arg2
,arg3
);
23088 wxPyEndAllowThreads(__tstate
);
23089 if (PyErr_Occurred()) SWIG_fail
;
23091 resultobj
= SWIG_FromLong((long)result
);
23098 static PyObject
*_wrap_ListCtrl_InsertImageStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23099 PyObject
*resultobj
;
23100 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23102 wxString
*arg3
= 0 ;
23105 bool temp3
= False
;
23106 PyObject
* obj0
= 0 ;
23107 PyObject
* obj1
= 0 ;
23108 PyObject
* obj2
= 0 ;
23109 PyObject
* obj3
= 0 ;
23110 char *kwnames
[] = {
23111 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
23114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23115 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23117 arg2
= (long) SWIG_AsLong(obj1
);
23118 if (PyErr_Occurred()) SWIG_fail
;
23120 arg3
= wxString_in_helper(obj2
);
23121 if (arg3
== NULL
) SWIG_fail
;
23124 arg4
= (int) SWIG_AsInt(obj3
);
23125 if (PyErr_Occurred()) SWIG_fail
;
23127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23128 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
23130 wxPyEndAllowThreads(__tstate
);
23131 if (PyErr_Occurred()) SWIG_fail
;
23133 resultobj
= SWIG_FromLong((long)result
);
23148 static PyObject
*_wrap_ListCtrl_InsertColumnInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23149 PyObject
*resultobj
;
23150 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23152 wxListItem
*arg3
= 0 ;
23154 PyObject
* obj0
= 0 ;
23155 PyObject
* obj1
= 0 ;
23156 PyObject
* obj2
= 0 ;
23157 char *kwnames
[] = {
23158 (char *) "self",(char *) "col",(char *) "info", NULL
23161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertColumnInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23164 arg2
= (long) SWIG_AsLong(obj1
);
23165 if (PyErr_Occurred()) SWIG_fail
;
23166 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxListItem
,
23167 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23169 if (arg3
== NULL
) {
23170 PyErr_SetString(PyExc_TypeError
,"null reference");
23174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23175 result
= (long)(arg1
)->InsertColumn(arg2
,*arg3
);
23177 wxPyEndAllowThreads(__tstate
);
23178 if (PyErr_Occurred()) SWIG_fail
;
23180 resultobj
= SWIG_FromLong((long)result
);
23187 static PyObject
*_wrap_ListCtrl_InsertColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23188 PyObject
*resultobj
;
23189 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23191 wxString
*arg3
= 0 ;
23192 int arg4
= (int) wxLIST_FORMAT_LEFT
;
23193 int arg5
= (int) -1 ;
23195 bool temp3
= False
;
23196 PyObject
* obj0
= 0 ;
23197 PyObject
* obj1
= 0 ;
23198 PyObject
* obj2
= 0 ;
23199 PyObject
* obj3
= 0 ;
23200 PyObject
* obj4
= 0 ;
23201 char *kwnames
[] = {
23202 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
23205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
23206 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23208 arg2
= (long) SWIG_AsLong(obj1
);
23209 if (PyErr_Occurred()) SWIG_fail
;
23211 arg3
= wxString_in_helper(obj2
);
23212 if (arg3
== NULL
) SWIG_fail
;
23216 arg4
= (int) SWIG_AsInt(obj3
);
23217 if (PyErr_Occurred()) SWIG_fail
;
23220 arg5
= (int) SWIG_AsInt(obj4
);
23221 if (PyErr_Occurred()) SWIG_fail
;
23224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23225 result
= (long)(arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
23227 wxPyEndAllowThreads(__tstate
);
23228 if (PyErr_Occurred()) SWIG_fail
;
23230 resultobj
= SWIG_FromLong((long)result
);
23245 static PyObject
*_wrap_ListCtrl_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23246 PyObject
*resultobj
;
23247 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23249 PyObject
* obj0
= 0 ;
23250 PyObject
* obj1
= 0 ;
23251 char *kwnames
[] = {
23252 (char *) "self",(char *) "count", NULL
23255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
23256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23258 arg2
= (long) SWIG_AsLong(obj1
);
23259 if (PyErr_Occurred()) SWIG_fail
;
23261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23262 (arg1
)->SetItemCount(arg2
);
23264 wxPyEndAllowThreads(__tstate
);
23265 if (PyErr_Occurred()) SWIG_fail
;
23267 Py_INCREF(Py_None
); resultobj
= Py_None
;
23274 static PyObject
*_wrap_ListCtrl_ScrollList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23275 PyObject
*resultobj
;
23276 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23280 PyObject
* obj0
= 0 ;
23281 PyObject
* obj1
= 0 ;
23282 PyObject
* obj2
= 0 ;
23283 char *kwnames
[] = {
23284 (char *) "self",(char *) "dx",(char *) "dy", NULL
23287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_ScrollList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23288 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23289 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23290 arg2
= (int) SWIG_AsInt(obj1
);
23291 if (PyErr_Occurred()) SWIG_fail
;
23292 arg3
= (int) SWIG_AsInt(obj2
);
23293 if (PyErr_Occurred()) SWIG_fail
;
23295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23296 result
= (bool)(arg1
)->ScrollList(arg2
,arg3
);
23298 wxPyEndAllowThreads(__tstate
);
23299 if (PyErr_Occurred()) SWIG_fail
;
23302 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23310 static PyObject
*_wrap_ListCtrl_SetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23311 PyObject
*resultobj
;
23312 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23314 wxColour
*arg3
= 0 ;
23316 PyObject
* obj0
= 0 ;
23317 PyObject
* obj1
= 0 ;
23318 PyObject
* obj2
= 0 ;
23319 char *kwnames
[] = {
23320 (char *) "self",(char *) "item",(char *) "col", NULL
23323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemTextColour",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
= (long) SWIG_AsLong(obj1
);
23327 if (PyErr_Occurred()) SWIG_fail
;
23330 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
23333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23334 (arg1
)->SetItemTextColour(arg2
,(wxColour
const &)*arg3
);
23336 wxPyEndAllowThreads(__tstate
);
23337 if (PyErr_Occurred()) SWIG_fail
;
23339 Py_INCREF(Py_None
); resultobj
= Py_None
;
23346 static PyObject
*_wrap_ListCtrl_GetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23347 PyObject
*resultobj
;
23348 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23351 PyObject
* obj0
= 0 ;
23352 PyObject
* obj1
= 0 ;
23353 char *kwnames
[] = {
23354 (char *) "self",(char *) "item", NULL
23357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
23358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23360 arg2
= (long) SWIG_AsLong(obj1
);
23361 if (PyErr_Occurred()) SWIG_fail
;
23363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23364 result
= ((wxPyListCtrl
const *)arg1
)->GetItemTextColour(arg2
);
23366 wxPyEndAllowThreads(__tstate
);
23367 if (PyErr_Occurred()) SWIG_fail
;
23370 wxColour
* resultptr
;
23371 resultptr
= new wxColour((wxColour
&) result
);
23372 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
23380 static PyObject
*_wrap_ListCtrl_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23381 PyObject
*resultobj
;
23382 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23384 wxColour
*arg3
= 0 ;
23386 PyObject
* obj0
= 0 ;
23387 PyObject
* obj1
= 0 ;
23388 PyObject
* obj2
= 0 ;
23389 char *kwnames
[] = {
23390 (char *) "self",(char *) "item",(char *) "col", NULL
23393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) 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
;
23400 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
23403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23404 (arg1
)->SetItemBackgroundColour(arg2
,(wxColour
const &)*arg3
);
23406 wxPyEndAllowThreads(__tstate
);
23407 if (PyErr_Occurred()) SWIG_fail
;
23409 Py_INCREF(Py_None
); resultobj
= Py_None
;
23416 static PyObject
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23417 PyObject
*resultobj
;
23418 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23421 PyObject
* obj0
= 0 ;
23422 PyObject
* obj1
= 0 ;
23423 char *kwnames
[] = {
23424 (char *) "self",(char *) "item", NULL
23427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
23428 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23430 arg2
= (long) SWIG_AsLong(obj1
);
23431 if (PyErr_Occurred()) SWIG_fail
;
23433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23434 result
= ((wxPyListCtrl
const *)arg1
)->GetItemBackgroundColour(arg2
);
23436 wxPyEndAllowThreads(__tstate
);
23437 if (PyErr_Occurred()) SWIG_fail
;
23440 wxColour
* resultptr
;
23441 resultptr
= new wxColour((wxColour
&) result
);
23442 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
23450 static PyObject
*_wrap_ListCtrl_SortItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23451 PyObject
*resultobj
;
23452 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23453 PyObject
*arg2
= (PyObject
*) 0 ;
23455 PyObject
* obj0
= 0 ;
23456 PyObject
* obj1
= 0 ;
23457 char *kwnames
[] = {
23458 (char *) "self",(char *) "func", NULL
23461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",kwnames
,&obj0
,&obj1
)) goto fail
;
23462 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23467 result
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
);
23469 wxPyEndAllowThreads(__tstate
);
23470 if (PyErr_Occurred()) SWIG_fail
;
23473 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23481 static PyObject
*_wrap_ListCtrl_GetMainWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23482 PyObject
*resultobj
;
23483 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23485 PyObject
* obj0
= 0 ;
23486 char *kwnames
[] = {
23487 (char *) "self", NULL
23490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetMainWindow",kwnames
,&obj0
)) goto fail
;
23491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23495 result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(arg1
);
23497 wxPyEndAllowThreads(__tstate
);
23498 if (PyErr_Occurred()) SWIG_fail
;
23501 resultobj
= wxPyMake_wxObject(result
);
23509 static PyObject
*_wrap_ListCtrl_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23510 PyObject
*resultobj
;
23511 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
23512 wxVisualAttributes result
;
23513 PyObject
* obj0
= 0 ;
23514 char *kwnames
[] = {
23515 (char *) "variant", NULL
23518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
23520 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
23521 if (PyErr_Occurred()) SWIG_fail
;
23524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23525 result
= wxPyListCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
23527 wxPyEndAllowThreads(__tstate
);
23528 if (PyErr_Occurred()) SWIG_fail
;
23531 wxVisualAttributes
* resultptr
;
23532 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
23533 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
23541 static PyObject
* ListCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
23543 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23544 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl
, obj
);
23546 return Py_BuildValue((char *)"");
23548 static PyObject
*_wrap_new_ListView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23549 PyObject
*resultobj
;
23550 wxWindow
*arg1
= (wxWindow
*) 0 ;
23551 int arg2
= (int) -1 ;
23552 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
23553 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
23554 wxSize
const &arg4_defvalue
= wxDefaultSize
;
23555 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
23556 long arg5
= (long) wxLC_REPORT
;
23557 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
23558 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
23559 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
23560 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23561 wxListView
*result
;
23564 bool temp7
= False
;
23565 PyObject
* obj0
= 0 ;
23566 PyObject
* obj1
= 0 ;
23567 PyObject
* obj2
= 0 ;
23568 PyObject
* obj3
= 0 ;
23569 PyObject
* obj4
= 0 ;
23570 PyObject
* obj5
= 0 ;
23571 PyObject
* obj6
= 0 ;
23572 char *kwnames
[] = {
23573 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListView",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23577 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23580 arg2
= (int) SWIG_AsInt(obj1
);
23581 if (PyErr_Occurred()) SWIG_fail
;
23586 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
23592 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
23596 arg5
= (long) SWIG_AsLong(obj4
);
23597 if (PyErr_Occurred()) SWIG_fail
;
23600 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
23601 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23603 if (arg6
== NULL
) {
23604 PyErr_SetString(PyExc_TypeError
,"null reference");
23610 arg7
= wxString_in_helper(obj6
);
23611 if (arg7
== NULL
) SWIG_fail
;
23616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23617 result
= (wxListView
*)new wxListView(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
23619 wxPyEndAllowThreads(__tstate
);
23620 if (PyErr_Occurred()) SWIG_fail
;
23622 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1);
23637 static PyObject
*_wrap_new_PreListView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23638 PyObject
*resultobj
;
23639 wxListView
*result
;
23640 char *kwnames
[] = {
23644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListView",kwnames
)) goto fail
;
23646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23647 result
= (wxListView
*)new wxListView();
23649 wxPyEndAllowThreads(__tstate
);
23650 if (PyErr_Occurred()) SWIG_fail
;
23652 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1);
23659 static PyObject
*_wrap_ListView_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23660 PyObject
*resultobj
;
23661 wxListView
*arg1
= (wxListView
*) 0 ;
23662 wxWindow
*arg2
= (wxWindow
*) 0 ;
23663 int arg3
= (int) -1 ;
23664 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
23665 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
23666 wxSize
const &arg5_defvalue
= wxDefaultSize
;
23667 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
23668 long arg6
= (long) wxLC_REPORT
;
23669 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
23670 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
23671 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
23672 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23676 bool temp8
= False
;
23677 PyObject
* obj0
= 0 ;
23678 PyObject
* obj1
= 0 ;
23679 PyObject
* obj2
= 0 ;
23680 PyObject
* obj3
= 0 ;
23681 PyObject
* obj4
= 0 ;
23682 PyObject
* obj5
= 0 ;
23683 PyObject
* obj6
= 0 ;
23684 PyObject
* obj7
= 0 ;
23685 char *kwnames
[] = {
23686 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListView_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
23690 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23692 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
23693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23695 arg3
= (int) SWIG_AsInt(obj2
);
23696 if (PyErr_Occurred()) SWIG_fail
;
23701 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
23707 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
23711 arg6
= (long) SWIG_AsLong(obj5
);
23712 if (PyErr_Occurred()) SWIG_fail
;
23715 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
23716 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23718 if (arg7
== NULL
) {
23719 PyErr_SetString(PyExc_TypeError
,"null reference");
23725 arg8
= wxString_in_helper(obj7
);
23726 if (arg8
== NULL
) SWIG_fail
;
23731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23732 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
23734 wxPyEndAllowThreads(__tstate
);
23735 if (PyErr_Occurred()) SWIG_fail
;
23738 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23754 static PyObject
*_wrap_ListView_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23755 PyObject
*resultobj
;
23756 wxListView
*arg1
= (wxListView
*) 0 ;
23758 bool arg3
= (bool) True
;
23759 PyObject
* obj0
= 0 ;
23760 PyObject
* obj1
= 0 ;
23761 PyObject
* obj2
= 0 ;
23762 char *kwnames
[] = {
23763 (char *) "self",(char *) "n",(char *) "on", NULL
23766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListView_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23767 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23768 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23769 arg2
= (long) SWIG_AsLong(obj1
);
23770 if (PyErr_Occurred()) SWIG_fail
;
23772 arg3
= (bool) SWIG_AsBool(obj2
);
23773 if (PyErr_Occurred()) SWIG_fail
;
23776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23777 (arg1
)->Select(arg2
,arg3
);
23779 wxPyEndAllowThreads(__tstate
);
23780 if (PyErr_Occurred()) SWIG_fail
;
23782 Py_INCREF(Py_None
); resultobj
= Py_None
;
23789 static PyObject
*_wrap_ListView_Focus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23790 PyObject
*resultobj
;
23791 wxListView
*arg1
= (wxListView
*) 0 ;
23793 PyObject
* obj0
= 0 ;
23794 PyObject
* obj1
= 0 ;
23795 char *kwnames
[] = {
23796 (char *) "self",(char *) "index", NULL
23799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_Focus",kwnames
,&obj0
,&obj1
)) goto fail
;
23800 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23802 arg2
= (long) SWIG_AsLong(obj1
);
23803 if (PyErr_Occurred()) SWIG_fail
;
23805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23806 (arg1
)->Focus(arg2
);
23808 wxPyEndAllowThreads(__tstate
);
23809 if (PyErr_Occurred()) SWIG_fail
;
23811 Py_INCREF(Py_None
); resultobj
= Py_None
;
23818 static PyObject
*_wrap_ListView_GetFocusedItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23819 PyObject
*resultobj
;
23820 wxListView
*arg1
= (wxListView
*) 0 ;
23822 PyObject
* obj0
= 0 ;
23823 char *kwnames
[] = {
23824 (char *) "self", NULL
23827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFocusedItem",kwnames
,&obj0
)) goto fail
;
23828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23832 result
= (long)((wxListView
const *)arg1
)->GetFocusedItem();
23834 wxPyEndAllowThreads(__tstate
);
23835 if (PyErr_Occurred()) SWIG_fail
;
23837 resultobj
= SWIG_FromLong((long)result
);
23844 static PyObject
*_wrap_ListView_GetNextSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23845 PyObject
*resultobj
;
23846 wxListView
*arg1
= (wxListView
*) 0 ;
23849 PyObject
* obj0
= 0 ;
23850 PyObject
* obj1
= 0 ;
23851 char *kwnames
[] = {
23852 (char *) "self",(char *) "item", NULL
23855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
23856 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23858 arg2
= (long) SWIG_AsLong(obj1
);
23859 if (PyErr_Occurred()) SWIG_fail
;
23861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23862 result
= (long)((wxListView
const *)arg1
)->GetNextSelected(arg2
);
23864 wxPyEndAllowThreads(__tstate
);
23865 if (PyErr_Occurred()) SWIG_fail
;
23867 resultobj
= SWIG_FromLong((long)result
);
23874 static PyObject
*_wrap_ListView_GetFirstSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23875 PyObject
*resultobj
;
23876 wxListView
*arg1
= (wxListView
*) 0 ;
23878 PyObject
* obj0
= 0 ;
23879 char *kwnames
[] = {
23880 (char *) "self", NULL
23883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFirstSelected",kwnames
,&obj0
)) goto fail
;
23884 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23888 result
= (long)((wxListView
const *)arg1
)->GetFirstSelected();
23890 wxPyEndAllowThreads(__tstate
);
23891 if (PyErr_Occurred()) SWIG_fail
;
23893 resultobj
= SWIG_FromLong((long)result
);
23900 static PyObject
*_wrap_ListView_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23901 PyObject
*resultobj
;
23902 wxListView
*arg1
= (wxListView
*) 0 ;
23905 PyObject
* obj0
= 0 ;
23906 PyObject
* obj1
= 0 ;
23907 char *kwnames
[] = {
23908 (char *) "self",(char *) "index", NULL
23911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
23912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23914 arg2
= (long) SWIG_AsLong(obj1
);
23915 if (PyErr_Occurred()) SWIG_fail
;
23917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23918 result
= (bool)(arg1
)->IsSelected(arg2
);
23920 wxPyEndAllowThreads(__tstate
);
23921 if (PyErr_Occurred()) SWIG_fail
;
23924 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23932 static PyObject
*_wrap_ListView_SetColumnImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23933 PyObject
*resultobj
;
23934 wxListView
*arg1
= (wxListView
*) 0 ;
23937 PyObject
* obj0
= 0 ;
23938 PyObject
* obj1
= 0 ;
23939 PyObject
* obj2
= 0 ;
23940 char *kwnames
[] = {
23941 (char *) "self",(char *) "col",(char *) "image", NULL
23944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListView_SetColumnImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23947 arg2
= (int) SWIG_AsInt(obj1
);
23948 if (PyErr_Occurred()) SWIG_fail
;
23949 arg3
= (int) SWIG_AsInt(obj2
);
23950 if (PyErr_Occurred()) SWIG_fail
;
23952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23953 (arg1
)->SetColumnImage(arg2
,arg3
);
23955 wxPyEndAllowThreads(__tstate
);
23956 if (PyErr_Occurred()) SWIG_fail
;
23958 Py_INCREF(Py_None
); resultobj
= Py_None
;
23965 static PyObject
*_wrap_ListView_ClearColumnImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23966 PyObject
*resultobj
;
23967 wxListView
*arg1
= (wxListView
*) 0 ;
23969 PyObject
* obj0
= 0 ;
23970 PyObject
* obj1
= 0 ;
23971 char *kwnames
[] = {
23972 (char *) "self",(char *) "col", NULL
23975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_ClearColumnImage",kwnames
,&obj0
,&obj1
)) goto fail
;
23976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23978 arg2
= (int) SWIG_AsInt(obj1
);
23979 if (PyErr_Occurred()) SWIG_fail
;
23981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23982 (arg1
)->ClearColumnImage(arg2
);
23984 wxPyEndAllowThreads(__tstate
);
23985 if (PyErr_Occurred()) SWIG_fail
;
23987 Py_INCREF(Py_None
); resultobj
= Py_None
;
23994 static PyObject
* ListView_swigregister(PyObject
*self
, PyObject
*args
) {
23996 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23997 SWIG_TypeClientData(SWIGTYPE_p_wxListView
, obj
);
23999 return Py_BuildValue((char *)"");
24001 static int _wrap_TreeCtrlNameStr_set(PyObject
*_val
) {
24002 PyErr_SetString(PyExc_TypeError
,"Variable TreeCtrlNameStr is read-only.");
24007 static PyObject
*_wrap_TreeCtrlNameStr_get() {
24012 pyobj
= PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
24014 pyobj
= PyString_FromStringAndSize((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
24021 static PyObject
*_wrap_new_TreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24022 PyObject
*resultobj
;
24023 wxTreeItemId
*result
;
24024 char *kwnames
[] = {
24028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TreeItemId",kwnames
)) goto fail
;
24030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24031 result
= (wxTreeItemId
*)new wxTreeItemId();
24033 wxPyEndAllowThreads(__tstate
);
24034 if (PyErr_Occurred()) SWIG_fail
;
24036 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 1);
24043 static PyObject
*_wrap_delete_TreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24044 PyObject
*resultobj
;
24045 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24046 PyObject
* obj0
= 0 ;
24047 char *kwnames
[] = {
24048 (char *) "self", NULL
24051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TreeItemId",kwnames
,&obj0
)) goto fail
;
24052 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24058 wxPyEndAllowThreads(__tstate
);
24059 if (PyErr_Occurred()) SWIG_fail
;
24061 Py_INCREF(Py_None
); resultobj
= Py_None
;
24068 static PyObject
*_wrap_TreeItemId_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24069 PyObject
*resultobj
;
24070 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24072 PyObject
* obj0
= 0 ;
24073 char *kwnames
[] = {
24074 (char *) "self", NULL
24077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_IsOk",kwnames
,&obj0
)) goto fail
;
24078 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24079 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24082 result
= (bool)((wxTreeItemId
const *)arg1
)->IsOk();
24084 wxPyEndAllowThreads(__tstate
);
24085 if (PyErr_Occurred()) SWIG_fail
;
24088 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24096 static PyObject
*_wrap_TreeItemId___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24097 PyObject
*resultobj
;
24098 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24099 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
24101 PyObject
* obj0
= 0 ;
24102 PyObject
* obj1
= 0 ;
24103 char *kwnames
[] = {
24104 (char *) "self",(char *) "other", NULL
24107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
24108 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24110 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24114 result
= (bool)wxTreeItemId___eq__(arg1
,(wxTreeItemId
const *)arg2
);
24116 wxPyEndAllowThreads(__tstate
);
24117 if (PyErr_Occurred()) SWIG_fail
;
24120 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24128 static PyObject
*_wrap_TreeItemId___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24129 PyObject
*resultobj
;
24130 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24131 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
24133 PyObject
* obj0
= 0 ;
24134 PyObject
* obj1
= 0 ;
24135 char *kwnames
[] = {
24136 (char *) "self",(char *) "other", NULL
24139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
24140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24142 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24146 result
= (bool)wxTreeItemId___ne__(arg1
,(wxTreeItemId
const *)arg2
);
24148 wxPyEndAllowThreads(__tstate
);
24149 if (PyErr_Occurred()) SWIG_fail
;
24152 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24160 static PyObject
*_wrap_TreeItemId_m_pItem_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24161 PyObject
*resultobj
;
24162 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24163 void *arg2
= (void *) 0 ;
24164 PyObject
* obj0
= 0 ;
24165 PyObject
* obj1
= 0 ;
24166 char *kwnames
[] = {
24167 (char *) "self",(char *) "m_pItem", NULL
24170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId_m_pItem_set",kwnames
,&obj0
,&obj1
)) goto fail
;
24171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24173 if ((SWIG_ConvertPtr(obj1
,&arg2
,0,SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
24174 if (arg1
) (arg1
)->m_pItem
= arg2
;
24176 Py_INCREF(Py_None
); resultobj
= Py_None
;
24183 static PyObject
*_wrap_TreeItemId_m_pItem_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24184 PyObject
*resultobj
;
24185 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24187 PyObject
* obj0
= 0 ;
24188 char *kwnames
[] = {
24189 (char *) "self", NULL
24192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_m_pItem_get",kwnames
,&obj0
)) goto fail
;
24193 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24195 result
= (void *) ((arg1
)->m_pItem
);
24197 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_void
, 0);
24204 static PyObject
* TreeItemId_swigregister(PyObject
*self
, PyObject
*args
) {
24206 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24207 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId
, obj
);
24209 return Py_BuildValue((char *)"");
24211 static PyObject
*_wrap_new_TreeItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24212 PyObject
*resultobj
;
24213 PyObject
*arg1
= (PyObject
*) NULL
;
24214 wxPyTreeItemData
*result
;
24215 PyObject
* obj0
= 0 ;
24216 char *kwnames
[] = {
24217 (char *) "obj", NULL
24220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) goto fail
;
24225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24226 result
= (wxPyTreeItemData
*)new wxPyTreeItemData(arg1
);
24228 wxPyEndAllowThreads(__tstate
);
24229 if (PyErr_Occurred()) SWIG_fail
;
24231 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 1);
24238 static PyObject
*_wrap_TreeItemData_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24239 PyObject
*resultobj
;
24240 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
24242 PyObject
* obj0
= 0 ;
24243 char *kwnames
[] = {
24244 (char *) "self", NULL
24247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetData",kwnames
,&obj0
)) goto fail
;
24248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
24249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24252 result
= (PyObject
*)(arg1
)->GetData();
24254 wxPyEndAllowThreads(__tstate
);
24255 if (PyErr_Occurred()) SWIG_fail
;
24257 resultobj
= result
;
24264 static PyObject
*_wrap_TreeItemData_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24265 PyObject
*resultobj
;
24266 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
24267 PyObject
*arg2
= (PyObject
*) 0 ;
24268 PyObject
* obj0
= 0 ;
24269 PyObject
* obj1
= 0 ;
24270 char *kwnames
[] = {
24271 (char *) "self",(char *) "obj", NULL
24274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
24275 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
24276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24280 (arg1
)->SetData(arg2
);
24282 wxPyEndAllowThreads(__tstate
);
24283 if (PyErr_Occurred()) SWIG_fail
;
24285 Py_INCREF(Py_None
); resultobj
= Py_None
;
24292 static PyObject
*_wrap_TreeItemData_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24293 PyObject
*resultobj
;
24294 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
24295 wxTreeItemId
*result
;
24296 PyObject
* obj0
= 0 ;
24297 char *kwnames
[] = {
24298 (char *) "self", NULL
24301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetId",kwnames
,&obj0
)) goto fail
;
24302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
24303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24307 wxTreeItemId
const &_result_ref
= (arg1
)->GetId();
24308 result
= (wxTreeItemId
*) &_result_ref
;
24311 wxPyEndAllowThreads(__tstate
);
24312 if (PyErr_Occurred()) SWIG_fail
;
24314 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 0);
24321 static PyObject
*_wrap_TreeItemData_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24322 PyObject
*resultobj
;
24323 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
24324 wxTreeItemId
*arg2
= 0 ;
24325 PyObject
* obj0
= 0 ;
24326 PyObject
* obj1
= 0 ;
24327 char *kwnames
[] = {
24328 (char *) "self",(char *) "id", NULL
24331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
24332 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
24333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24334 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24335 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24337 if (arg2
== NULL
) {
24338 PyErr_SetString(PyExc_TypeError
,"null reference");
24342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24343 (arg1
)->SetId((wxTreeItemId
const &)*arg2
);
24345 wxPyEndAllowThreads(__tstate
);
24346 if (PyErr_Occurred()) SWIG_fail
;
24348 Py_INCREF(Py_None
); resultobj
= Py_None
;
24355 static PyObject
*_wrap_TreeItemData_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24356 PyObject
*resultobj
;
24357 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
24358 PyObject
* obj0
= 0 ;
24359 char *kwnames
[] = {
24360 (char *) "self", NULL
24363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_Destroy",kwnames
,&obj0
)) goto fail
;
24364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
24365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24368 wxPyTreeItemData_Destroy(arg1
);
24370 wxPyEndAllowThreads(__tstate
);
24371 if (PyErr_Occurred()) SWIG_fail
;
24373 Py_INCREF(Py_None
); resultobj
= Py_None
;
24380 static PyObject
* TreeItemData_swigregister(PyObject
*self
, PyObject
*args
) {
24382 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24383 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData
, obj
);
24385 return Py_BuildValue((char *)"");
24387 static PyObject
*_wrap_new_TreeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24388 PyObject
*resultobj
;
24389 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
24390 int arg2
= (int) 0 ;
24391 wxTreeEvent
*result
;
24392 PyObject
* obj0
= 0 ;
24393 PyObject
* obj1
= 0 ;
24394 char *kwnames
[] = {
24395 (char *) "commandType",(char *) "id", NULL
24398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TreeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
24400 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
24401 if (PyErr_Occurred()) SWIG_fail
;
24404 arg2
= (int) SWIG_AsInt(obj1
);
24405 if (PyErr_Occurred()) SWIG_fail
;
24408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24409 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
);
24411 wxPyEndAllowThreads(__tstate
);
24412 if (PyErr_Occurred()) SWIG_fail
;
24414 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeEvent
, 1);
24421 static PyObject
*_wrap_TreeEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24422 PyObject
*resultobj
;
24423 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24424 wxTreeItemId result
;
24425 PyObject
* obj0
= 0 ;
24426 char *kwnames
[] = {
24427 (char *) "self", NULL
24430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetItem",kwnames
,&obj0
)) goto fail
;
24431 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24435 result
= ((wxTreeEvent
const *)arg1
)->GetItem();
24437 wxPyEndAllowThreads(__tstate
);
24438 if (PyErr_Occurred()) SWIG_fail
;
24441 wxTreeItemId
* resultptr
;
24442 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
24443 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
24451 static PyObject
*_wrap_TreeEvent_SetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24452 PyObject
*resultobj
;
24453 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24454 wxTreeItemId
*arg2
= 0 ;
24455 PyObject
* obj0
= 0 ;
24456 PyObject
* obj1
= 0 ;
24457 char *kwnames
[] = {
24458 (char *) "self",(char *) "item", NULL
24461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
24462 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24464 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24465 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24467 if (arg2
== NULL
) {
24468 PyErr_SetString(PyExc_TypeError
,"null reference");
24472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24473 (arg1
)->SetItem((wxTreeItemId
const &)*arg2
);
24475 wxPyEndAllowThreads(__tstate
);
24476 if (PyErr_Occurred()) SWIG_fail
;
24478 Py_INCREF(Py_None
); resultobj
= Py_None
;
24485 static PyObject
*_wrap_TreeEvent_GetOldItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24486 PyObject
*resultobj
;
24487 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24488 wxTreeItemId result
;
24489 PyObject
* obj0
= 0 ;
24490 char *kwnames
[] = {
24491 (char *) "self", NULL
24494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetOldItem",kwnames
,&obj0
)) goto fail
;
24495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24499 result
= ((wxTreeEvent
const *)arg1
)->GetOldItem();
24501 wxPyEndAllowThreads(__tstate
);
24502 if (PyErr_Occurred()) SWIG_fail
;
24505 wxTreeItemId
* resultptr
;
24506 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
24507 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
24515 static PyObject
*_wrap_TreeEvent_SetOldItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24516 PyObject
*resultobj
;
24517 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24518 wxTreeItemId
*arg2
= 0 ;
24519 PyObject
* obj0
= 0 ;
24520 PyObject
* obj1
= 0 ;
24521 char *kwnames
[] = {
24522 (char *) "self",(char *) "item", NULL
24525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) goto fail
;
24526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24528 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24529 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24531 if (arg2
== NULL
) {
24532 PyErr_SetString(PyExc_TypeError
,"null reference");
24536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24537 (arg1
)->SetOldItem((wxTreeItemId
const &)*arg2
);
24539 wxPyEndAllowThreads(__tstate
);
24540 if (PyErr_Occurred()) SWIG_fail
;
24542 Py_INCREF(Py_None
); resultobj
= Py_None
;
24549 static PyObject
*_wrap_TreeEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24550 PyObject
*resultobj
;
24551 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24553 PyObject
* obj0
= 0 ;
24554 char *kwnames
[] = {
24555 (char *) "self", NULL
24558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
24559 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24560 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24563 result
= ((wxTreeEvent
const *)arg1
)->GetPoint();
24565 wxPyEndAllowThreads(__tstate
);
24566 if (PyErr_Occurred()) SWIG_fail
;
24569 wxPoint
* resultptr
;
24570 resultptr
= new wxPoint((wxPoint
&) result
);
24571 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
24579 static PyObject
*_wrap_TreeEvent_SetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24580 PyObject
*resultobj
;
24581 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24582 wxPoint
*arg2
= 0 ;
24584 PyObject
* obj0
= 0 ;
24585 PyObject
* obj1
= 0 ;
24586 char *kwnames
[] = {
24587 (char *) "self",(char *) "pt", NULL
24590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
24591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24595 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
24598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24599 (arg1
)->SetPoint((wxPoint
const &)*arg2
);
24601 wxPyEndAllowThreads(__tstate
);
24602 if (PyErr_Occurred()) SWIG_fail
;
24604 Py_INCREF(Py_None
); resultobj
= Py_None
;
24611 static PyObject
*_wrap_TreeEvent_GetKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24612 PyObject
*resultobj
;
24613 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24614 wxKeyEvent
*result
;
24615 PyObject
* obj0
= 0 ;
24616 char *kwnames
[] = {
24617 (char *) "self", NULL
24620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyEvent",kwnames
,&obj0
)) goto fail
;
24621 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24622 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24626 wxKeyEvent
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetKeyEvent();
24627 result
= (wxKeyEvent
*) &_result_ref
;
24630 wxPyEndAllowThreads(__tstate
);
24631 if (PyErr_Occurred()) SWIG_fail
;
24633 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 0);
24640 static PyObject
*_wrap_TreeEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24641 PyObject
*resultobj
;
24642 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24644 PyObject
* obj0
= 0 ;
24645 char *kwnames
[] = {
24646 (char *) "self", NULL
24649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
24650 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24654 result
= (int)((wxTreeEvent
const *)arg1
)->GetKeyCode();
24656 wxPyEndAllowThreads(__tstate
);
24657 if (PyErr_Occurred()) SWIG_fail
;
24659 resultobj
= SWIG_FromInt((int)result
);
24666 static PyObject
*_wrap_TreeEvent_SetKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24667 PyObject
*resultobj
;
24668 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24669 wxKeyEvent
*arg2
= 0 ;
24670 PyObject
* obj0
= 0 ;
24671 PyObject
* obj1
= 0 ;
24672 char *kwnames
[] = {
24673 (char *) "self",(char *) "evt", NULL
24676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
24677 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24679 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxKeyEvent
,
24680 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24682 if (arg2
== NULL
) {
24683 PyErr_SetString(PyExc_TypeError
,"null reference");
24687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24688 (arg1
)->SetKeyEvent((wxKeyEvent
const &)*arg2
);
24690 wxPyEndAllowThreads(__tstate
);
24691 if (PyErr_Occurred()) SWIG_fail
;
24693 Py_INCREF(Py_None
); resultobj
= Py_None
;
24700 static PyObject
*_wrap_TreeEvent_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24701 PyObject
*resultobj
;
24702 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24704 PyObject
* obj0
= 0 ;
24705 char *kwnames
[] = {
24706 (char *) "self", NULL
24709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
24710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24715 wxString
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetLabel();
24716 result
= (wxString
*) &_result_ref
;
24719 wxPyEndAllowThreads(__tstate
);
24720 if (PyErr_Occurred()) SWIG_fail
;
24724 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
24726 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
24735 static PyObject
*_wrap_TreeEvent_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24736 PyObject
*resultobj
;
24737 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24738 wxString
*arg2
= 0 ;
24739 bool temp2
= False
;
24740 PyObject
* obj0
= 0 ;
24741 PyObject
* obj1
= 0 ;
24742 char *kwnames
[] = {
24743 (char *) "self",(char *) "label", NULL
24746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
24747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24750 arg2
= wxString_in_helper(obj1
);
24751 if (arg2
== NULL
) SWIG_fail
;
24755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24756 (arg1
)->SetLabel((wxString
const &)*arg2
);
24758 wxPyEndAllowThreads(__tstate
);
24759 if (PyErr_Occurred()) SWIG_fail
;
24761 Py_INCREF(Py_None
); resultobj
= Py_None
;
24776 static PyObject
*_wrap_TreeEvent_IsEditCancelled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24777 PyObject
*resultobj
;
24778 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24780 PyObject
* obj0
= 0 ;
24781 char *kwnames
[] = {
24782 (char *) "self", NULL
24785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
24786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24790 result
= (bool)((wxTreeEvent
const *)arg1
)->IsEditCancelled();
24792 wxPyEndAllowThreads(__tstate
);
24793 if (PyErr_Occurred()) SWIG_fail
;
24796 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24804 static PyObject
*_wrap_TreeEvent_SetEditCanceled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24805 PyObject
*resultobj
;
24806 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24808 PyObject
* obj0
= 0 ;
24809 PyObject
* obj1
= 0 ;
24810 char *kwnames
[] = {
24811 (char *) "self",(char *) "editCancelled", NULL
24814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
24815 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24817 arg2
= (bool) SWIG_AsBool(obj1
);
24818 if (PyErr_Occurred()) SWIG_fail
;
24820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24821 (arg1
)->SetEditCanceled(arg2
);
24823 wxPyEndAllowThreads(__tstate
);
24824 if (PyErr_Occurred()) SWIG_fail
;
24826 Py_INCREF(Py_None
); resultobj
= Py_None
;
24833 static PyObject
*_wrap_TreeEvent_SetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24834 PyObject
*resultobj
;
24835 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24836 wxString
*arg2
= 0 ;
24837 bool temp2
= False
;
24838 PyObject
* obj0
= 0 ;
24839 PyObject
* obj1
= 0 ;
24840 char *kwnames
[] = {
24841 (char *) "self",(char *) "toolTip", NULL
24844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
24845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24848 arg2
= wxString_in_helper(obj1
);
24849 if (arg2
== NULL
) SWIG_fail
;
24853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24854 (arg1
)->SetToolTip((wxString
const &)*arg2
);
24856 wxPyEndAllowThreads(__tstate
);
24857 if (PyErr_Occurred()) SWIG_fail
;
24859 Py_INCREF(Py_None
); resultobj
= Py_None
;
24874 static PyObject
* TreeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
24876 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24877 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent
, obj
);
24879 return Py_BuildValue((char *)"");
24881 static PyObject
*_wrap_new_TreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24882 PyObject
*resultobj
;
24883 wxWindow
*arg1
= (wxWindow
*) 0 ;
24884 int arg2
= (int) -1 ;
24885 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
24886 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
24887 wxSize
const &arg4_defvalue
= wxDefaultSize
;
24888 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
24889 long arg5
= (long) wxTR_DEFAULT_STYLE
;
24890 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
24891 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
24892 wxString
const &arg7_defvalue
= wxPyTreeCtrlNameStr
;
24893 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
24894 wxPyTreeCtrl
*result
;
24897 bool temp7
= False
;
24898 PyObject
* obj0
= 0 ;
24899 PyObject
* obj1
= 0 ;
24900 PyObject
* obj2
= 0 ;
24901 PyObject
* obj3
= 0 ;
24902 PyObject
* obj4
= 0 ;
24903 PyObject
* obj5
= 0 ;
24904 PyObject
* obj6
= 0 ;
24905 char *kwnames
[] = {
24906 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
24909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_TreeCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
24910 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24911 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24913 arg2
= (int) SWIG_AsInt(obj1
);
24914 if (PyErr_Occurred()) SWIG_fail
;
24919 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
24925 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
24929 arg5
= (long) SWIG_AsLong(obj4
);
24930 if (PyErr_Occurred()) SWIG_fail
;
24933 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
24934 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24936 if (arg6
== NULL
) {
24937 PyErr_SetString(PyExc_TypeError
,"null reference");
24943 arg7
= wxString_in_helper(obj6
);
24944 if (arg7
== NULL
) SWIG_fail
;
24949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24950 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
24952 wxPyEndAllowThreads(__tstate
);
24953 if (PyErr_Occurred()) SWIG_fail
;
24956 resultobj
= wxPyMake_wxObject(result
);
24972 static PyObject
*_wrap_new_PreTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24973 PyObject
*resultobj
;
24974 wxPyTreeCtrl
*result
;
24975 char *kwnames
[] = {
24979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTreeCtrl",kwnames
)) goto fail
;
24981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24982 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl();
24984 wxPyEndAllowThreads(__tstate
);
24985 if (PyErr_Occurred()) SWIG_fail
;
24988 resultobj
= wxPyMake_wxObject(result
);
24996 static PyObject
*_wrap_TreeCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24997 PyObject
*resultobj
;
24998 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24999 wxWindow
*arg2
= (wxWindow
*) 0 ;
25000 int arg3
= (int) -1 ;
25001 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
25002 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
25003 wxSize
const &arg5_defvalue
= wxDefaultSize
;
25004 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
25005 long arg6
= (long) wxTR_DEFAULT_STYLE
;
25006 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
25007 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
25008 wxString
const &arg8_defvalue
= wxPyTreeCtrlNameStr
;
25009 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
25013 bool temp8
= False
;
25014 PyObject
* obj0
= 0 ;
25015 PyObject
* obj1
= 0 ;
25016 PyObject
* obj2
= 0 ;
25017 PyObject
* obj3
= 0 ;
25018 PyObject
* obj4
= 0 ;
25019 PyObject
* obj5
= 0 ;
25020 PyObject
* obj6
= 0 ;
25021 PyObject
* obj7
= 0 ;
25022 char *kwnames
[] = {
25023 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
25026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
25027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25029 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
25030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25032 arg3
= (int) SWIG_AsInt(obj2
);
25033 if (PyErr_Occurred()) SWIG_fail
;
25038 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
25044 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
25048 arg6
= (long) SWIG_AsLong(obj5
);
25049 if (PyErr_Occurred()) SWIG_fail
;
25052 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
25053 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25055 if (arg7
== NULL
) {
25056 PyErr_SetString(PyExc_TypeError
,"null reference");
25062 arg8
= wxString_in_helper(obj7
);
25063 if (arg8
== NULL
) SWIG_fail
;
25068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25069 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
25071 wxPyEndAllowThreads(__tstate
);
25072 if (PyErr_Occurred()) SWIG_fail
;
25075 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25091 static PyObject
*_wrap_TreeCtrl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25092 PyObject
*resultobj
;
25093 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25094 PyObject
*arg2
= (PyObject
*) 0 ;
25095 PyObject
*arg3
= (PyObject
*) 0 ;
25096 PyObject
* obj0
= 0 ;
25097 PyObject
* obj1
= 0 ;
25098 PyObject
* obj2
= 0 ;
25099 char *kwnames
[] = {
25100 (char *) "self",(char *) "self",(char *) "_class", NULL
25103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25104 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25110 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25112 wxPyEndAllowThreads(__tstate
);
25113 if (PyErr_Occurred()) SWIG_fail
;
25115 Py_INCREF(Py_None
); resultobj
= Py_None
;
25122 static PyObject
*_wrap_TreeCtrl_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25123 PyObject
*resultobj
;
25124 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25126 PyObject
* obj0
= 0 ;
25127 char *kwnames
[] = {
25128 (char *) "self", NULL
25131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetCount",kwnames
,&obj0
)) goto fail
;
25132 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25136 result
= (size_t)((wxPyTreeCtrl
const *)arg1
)->GetCount();
25138 wxPyEndAllowThreads(__tstate
);
25139 if (PyErr_Occurred()) SWIG_fail
;
25141 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
25148 static PyObject
*_wrap_TreeCtrl_GetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25149 PyObject
*resultobj
;
25150 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25151 unsigned int result
;
25152 PyObject
* obj0
= 0 ;
25153 char *kwnames
[] = {
25154 (char *) "self", NULL
25157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetIndent",kwnames
,&obj0
)) goto fail
;
25158 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25159 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25162 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetIndent();
25164 wxPyEndAllowThreads(__tstate
);
25165 if (PyErr_Occurred()) SWIG_fail
;
25167 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
25174 static PyObject
*_wrap_TreeCtrl_SetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25175 PyObject
*resultobj
;
25176 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25177 unsigned int arg2
;
25178 PyObject
* obj0
= 0 ;
25179 PyObject
* obj1
= 0 ;
25180 char *kwnames
[] = {
25181 (char *) "self",(char *) "indent", NULL
25184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
25185 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25187 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
25188 if (PyErr_Occurred()) SWIG_fail
;
25190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25191 (arg1
)->SetIndent(arg2
);
25193 wxPyEndAllowThreads(__tstate
);
25194 if (PyErr_Occurred()) SWIG_fail
;
25196 Py_INCREF(Py_None
); resultobj
= Py_None
;
25203 static PyObject
*_wrap_TreeCtrl_GetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25204 PyObject
*resultobj
;
25205 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25206 unsigned int result
;
25207 PyObject
* obj0
= 0 ;
25208 char *kwnames
[] = {
25209 (char *) "self", NULL
25212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSpacing",kwnames
,&obj0
)) goto fail
;
25213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25217 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetSpacing();
25219 wxPyEndAllowThreads(__tstate
);
25220 if (PyErr_Occurred()) SWIG_fail
;
25222 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
25229 static PyObject
*_wrap_TreeCtrl_SetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25230 PyObject
*resultobj
;
25231 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25232 unsigned int arg2
;
25233 PyObject
* obj0
= 0 ;
25234 PyObject
* obj1
= 0 ;
25235 char *kwnames
[] = {
25236 (char *) "self",(char *) "spacing", NULL
25239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",kwnames
,&obj0
,&obj1
)) goto fail
;
25240 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25241 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25242 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
25243 if (PyErr_Occurred()) SWIG_fail
;
25245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25246 (arg1
)->SetSpacing(arg2
);
25248 wxPyEndAllowThreads(__tstate
);
25249 if (PyErr_Occurred()) SWIG_fail
;
25251 Py_INCREF(Py_None
); resultobj
= Py_None
;
25258 static PyObject
*_wrap_TreeCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25259 PyObject
*resultobj
;
25260 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25261 wxImageList
*result
;
25262 PyObject
* obj0
= 0 ;
25263 char *kwnames
[] = {
25264 (char *) "self", NULL
25267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
25268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25272 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetImageList();
25274 wxPyEndAllowThreads(__tstate
);
25275 if (PyErr_Occurred()) SWIG_fail
;
25278 resultobj
= wxPyMake_wxObject(result
);
25286 static PyObject
*_wrap_TreeCtrl_GetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25287 PyObject
*resultobj
;
25288 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25289 wxImageList
*result
;
25290 PyObject
* obj0
= 0 ;
25291 char *kwnames
[] = {
25292 (char *) "self", NULL
25295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetStateImageList",kwnames
,&obj0
)) goto fail
;
25296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25300 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetStateImageList();
25302 wxPyEndAllowThreads(__tstate
);
25303 if (PyErr_Occurred()) SWIG_fail
;
25306 resultobj
= wxPyMake_wxObject(result
);
25314 static PyObject
*_wrap_TreeCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25315 PyObject
*resultobj
;
25316 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25317 wxImageList
*arg2
= (wxImageList
*) 0 ;
25318 PyObject
* obj0
= 0 ;
25319 PyObject
* obj1
= 0 ;
25320 char *kwnames
[] = {
25321 (char *) "self",(char *) "imageList", NULL
25324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
25325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25327 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
25328 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25331 (arg1
)->SetImageList(arg2
);
25333 wxPyEndAllowThreads(__tstate
);
25334 if (PyErr_Occurred()) SWIG_fail
;
25336 Py_INCREF(Py_None
); resultobj
= Py_None
;
25343 static PyObject
*_wrap_TreeCtrl_SetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25344 PyObject
*resultobj
;
25345 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25346 wxImageList
*arg2
= (wxImageList
*) 0 ;
25347 PyObject
* obj0
= 0 ;
25348 PyObject
* obj1
= 0 ;
25349 char *kwnames
[] = {
25350 (char *) "self",(char *) "imageList", NULL
25353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
25354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25356 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
25357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25360 (arg1
)->SetStateImageList(arg2
);
25362 wxPyEndAllowThreads(__tstate
);
25363 if (PyErr_Occurred()) SWIG_fail
;
25365 Py_INCREF(Py_None
); resultobj
= Py_None
;
25372 static PyObject
*_wrap_TreeCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25373 PyObject
*resultobj
;
25374 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25375 wxImageList
*arg2
= (wxImageList
*) 0 ;
25376 PyObject
* obj0
= 0 ;
25377 PyObject
* obj1
= 0 ;
25378 char *kwnames
[] = {
25379 (char *) "self",(char *) "imageList", NULL
25382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
25383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25385 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
25386 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
25388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25389 (arg1
)->AssignImageList(arg2
);
25391 wxPyEndAllowThreads(__tstate
);
25392 if (PyErr_Occurred()) SWIG_fail
;
25394 Py_INCREF(Py_None
); resultobj
= Py_None
;
25401 static PyObject
*_wrap_TreeCtrl_AssignStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25402 PyObject
*resultobj
;
25403 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25404 wxImageList
*arg2
= (wxImageList
*) 0 ;
25405 PyObject
* obj0
= 0 ;
25406 PyObject
* obj1
= 0 ;
25407 char *kwnames
[] = {
25408 (char *) "self",(char *) "imageList", NULL
25411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
25412 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25414 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
25415 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
25417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25418 (arg1
)->AssignStateImageList(arg2
);
25420 wxPyEndAllowThreads(__tstate
);
25421 if (PyErr_Occurred()) SWIG_fail
;
25423 Py_INCREF(Py_None
); resultobj
= Py_None
;
25430 static PyObject
*_wrap_TreeCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25431 PyObject
*resultobj
;
25432 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25433 wxTreeItemId
*arg2
= 0 ;
25435 PyObject
* obj0
= 0 ;
25436 PyObject
* obj1
= 0 ;
25437 char *kwnames
[] = {
25438 (char *) "self",(char *) "item", NULL
25441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
25442 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25444 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25445 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25447 if (arg2
== NULL
) {
25448 PyErr_SetString(PyExc_TypeError
,"null reference");
25452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25453 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemText((wxTreeItemId
const &)*arg2
);
25455 wxPyEndAllowThreads(__tstate
);
25456 if (PyErr_Occurred()) SWIG_fail
;
25460 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25462 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25471 static PyObject
*_wrap_TreeCtrl_GetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25472 PyObject
*resultobj
;
25473 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25474 wxTreeItemId
*arg2
= 0 ;
25475 int arg3
= (int) wxTreeItemIcon_Normal
;
25477 PyObject
* obj0
= 0 ;
25478 PyObject
* obj1
= 0 ;
25479 PyObject
* obj2
= 0 ;
25480 char *kwnames
[] = {
25481 (char *) "self",(char *) "item",(char *) "which", NULL
25484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25485 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25487 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25488 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25490 if (arg2
== NULL
) {
25491 PyErr_SetString(PyExc_TypeError
,"null reference");
25495 arg3
= (wxTreeItemIcon
) SWIG_AsInt(obj2
);
25496 if (PyErr_Occurred()) SWIG_fail
;
25499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25500 result
= (int)((wxPyTreeCtrl
const *)arg1
)->GetItemImage((wxTreeItemId
const &)*arg2
,(wxTreeItemIcon
)arg3
);
25502 wxPyEndAllowThreads(__tstate
);
25503 if (PyErr_Occurred()) SWIG_fail
;
25505 resultobj
= SWIG_FromInt((int)result
);
25512 static PyObject
*_wrap_TreeCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25513 PyObject
*resultobj
;
25514 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25515 wxTreeItemId
*arg2
= 0 ;
25516 wxPyTreeItemData
*result
;
25517 PyObject
* obj0
= 0 ;
25518 PyObject
* obj1
= 0 ;
25519 char *kwnames
[] = {
25520 (char *) "self",(char *) "item", NULL
25523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
25524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25526 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25527 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25529 if (arg2
== NULL
) {
25530 PyErr_SetString(PyExc_TypeError
,"null reference");
25534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25535 result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
25537 wxPyEndAllowThreads(__tstate
);
25538 if (PyErr_Occurred()) SWIG_fail
;
25540 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 0);
25547 static PyObject
*_wrap_TreeCtrl_GetItemPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25548 PyObject
*resultobj
;
25549 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25550 wxTreeItemId
*arg2
= 0 ;
25552 PyObject
* obj0
= 0 ;
25553 PyObject
* obj1
= 0 ;
25554 char *kwnames
[] = {
25555 (char *) "self",(char *) "item", NULL
25558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemPyData",kwnames
,&obj0
,&obj1
)) goto fail
;
25559 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25560 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25561 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25562 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25564 if (arg2
== NULL
) {
25565 PyErr_SetString(PyExc_TypeError
,"null reference");
25569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25570 result
= (PyObject
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
25572 wxPyEndAllowThreads(__tstate
);
25573 if (PyErr_Occurred()) SWIG_fail
;
25575 resultobj
= result
;
25582 static PyObject
*_wrap_TreeCtrl_GetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25583 PyObject
*resultobj
;
25584 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25585 wxTreeItemId
*arg2
= 0 ;
25587 PyObject
* obj0
= 0 ;
25588 PyObject
* obj1
= 0 ;
25589 char *kwnames
[] = {
25590 (char *) "self",(char *) "item", NULL
25593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
25594 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25596 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25597 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25599 if (arg2
== NULL
) {
25600 PyErr_SetString(PyExc_TypeError
,"null reference");
25604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25605 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
25607 wxPyEndAllowThreads(__tstate
);
25608 if (PyErr_Occurred()) SWIG_fail
;
25611 wxColour
* resultptr
;
25612 resultptr
= new wxColour((wxColour
&) result
);
25613 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
25621 static PyObject
*_wrap_TreeCtrl_GetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25622 PyObject
*resultobj
;
25623 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25624 wxTreeItemId
*arg2
= 0 ;
25626 PyObject
* obj0
= 0 ;
25627 PyObject
* obj1
= 0 ;
25628 char *kwnames
[] = {
25629 (char *) "self",(char *) "item", NULL
25632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
25633 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25634 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25635 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25636 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25638 if (arg2
== NULL
) {
25639 PyErr_SetString(PyExc_TypeError
,"null reference");
25643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25644 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId
const &)*arg2
);
25646 wxPyEndAllowThreads(__tstate
);
25647 if (PyErr_Occurred()) SWIG_fail
;
25650 wxColour
* resultptr
;
25651 resultptr
= new wxColour((wxColour
&) result
);
25652 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
25660 static PyObject
*_wrap_TreeCtrl_GetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25661 PyObject
*resultobj
;
25662 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25663 wxTreeItemId
*arg2
= 0 ;
25665 PyObject
* obj0
= 0 ;
25666 PyObject
* obj1
= 0 ;
25667 char *kwnames
[] = {
25668 (char *) "self",(char *) "item", NULL
25671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) goto fail
;
25672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25674 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25675 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25677 if (arg2
== NULL
) {
25678 PyErr_SetString(PyExc_TypeError
,"null reference");
25682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25683 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
25685 wxPyEndAllowThreads(__tstate
);
25686 if (PyErr_Occurred()) SWIG_fail
;
25689 wxFont
* resultptr
;
25690 resultptr
= new wxFont((wxFont
&) result
);
25691 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
25699 static PyObject
*_wrap_TreeCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25700 PyObject
*resultobj
;
25701 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25702 wxTreeItemId
*arg2
= 0 ;
25703 wxString
*arg3
= 0 ;
25704 bool temp3
= False
;
25705 PyObject
* obj0
= 0 ;
25706 PyObject
* obj1
= 0 ;
25707 PyObject
* obj2
= 0 ;
25708 char *kwnames
[] = {
25709 (char *) "self",(char *) "item",(char *) "text", NULL
25712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25715 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25716 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25718 if (arg2
== NULL
) {
25719 PyErr_SetString(PyExc_TypeError
,"null reference");
25723 arg3
= wxString_in_helper(obj2
);
25724 if (arg3
== NULL
) SWIG_fail
;
25728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25729 (arg1
)->SetItemText((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
);
25731 wxPyEndAllowThreads(__tstate
);
25732 if (PyErr_Occurred()) SWIG_fail
;
25734 Py_INCREF(Py_None
); resultobj
= Py_None
;
25749 static PyObject
*_wrap_TreeCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25750 PyObject
*resultobj
;
25751 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25752 wxTreeItemId
*arg2
= 0 ;
25754 int arg4
= (int) wxTreeItemIcon_Normal
;
25755 PyObject
* obj0
= 0 ;
25756 PyObject
* obj1
= 0 ;
25757 PyObject
* obj2
= 0 ;
25758 PyObject
* obj3
= 0 ;
25759 char *kwnames
[] = {
25760 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
25763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25766 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25767 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25769 if (arg2
== NULL
) {
25770 PyErr_SetString(PyExc_TypeError
,"null reference");
25773 arg3
= (int) SWIG_AsInt(obj2
);
25774 if (PyErr_Occurred()) SWIG_fail
;
25776 arg4
= (wxTreeItemIcon
) SWIG_AsInt(obj3
);
25777 if (PyErr_Occurred()) SWIG_fail
;
25780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25781 (arg1
)->SetItemImage((wxTreeItemId
const &)*arg2
,arg3
,(wxTreeItemIcon
)arg4
);
25783 wxPyEndAllowThreads(__tstate
);
25784 if (PyErr_Occurred()) SWIG_fail
;
25786 Py_INCREF(Py_None
); resultobj
= Py_None
;
25793 static PyObject
*_wrap_TreeCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25794 PyObject
*resultobj
;
25795 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25796 wxTreeItemId
*arg2
= 0 ;
25797 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
25798 PyObject
* obj0
= 0 ;
25799 PyObject
* obj1
= 0 ;
25800 PyObject
* obj2
= 0 ;
25801 char *kwnames
[] = {
25802 (char *) "self",(char *) "item",(char *) "data", NULL
25805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25806 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25807 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25808 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25809 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25811 if (arg2
== NULL
) {
25812 PyErr_SetString(PyExc_TypeError
,"null reference");
25815 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyTreeItemData
,
25816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25819 wxPyTreeCtrl_SetItemData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
25821 wxPyEndAllowThreads(__tstate
);
25822 if (PyErr_Occurred()) SWIG_fail
;
25824 Py_INCREF(Py_None
); resultobj
= Py_None
;
25831 static PyObject
*_wrap_TreeCtrl_SetItemPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25832 PyObject
*resultobj
;
25833 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25834 wxTreeItemId
*arg2
= 0 ;
25835 PyObject
*arg3
= (PyObject
*) 0 ;
25836 PyObject
* obj0
= 0 ;
25837 PyObject
* obj1
= 0 ;
25838 PyObject
* obj2
= 0 ;
25839 char *kwnames
[] = {
25840 (char *) "self",(char *) "item",(char *) "obj", NULL
25843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25844 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25846 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25847 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25849 if (arg2
== NULL
) {
25850 PyErr_SetString(PyExc_TypeError
,"null reference");
25855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25856 wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
25858 wxPyEndAllowThreads(__tstate
);
25859 if (PyErr_Occurred()) SWIG_fail
;
25861 Py_INCREF(Py_None
); resultobj
= Py_None
;
25868 static PyObject
*_wrap_TreeCtrl_SetItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25869 PyObject
*resultobj
;
25870 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25871 wxTreeItemId
*arg2
= 0 ;
25872 bool arg3
= (bool) True
;
25873 PyObject
* obj0
= 0 ;
25874 PyObject
* obj1
= 0 ;
25875 PyObject
* obj2
= 0 ;
25876 char *kwnames
[] = {
25877 (char *) "self",(char *) "item",(char *) "has", NULL
25880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25883 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25884 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25886 if (arg2
== NULL
) {
25887 PyErr_SetString(PyExc_TypeError
,"null reference");
25891 arg3
= (bool) SWIG_AsBool(obj2
);
25892 if (PyErr_Occurred()) SWIG_fail
;
25895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25896 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
25898 wxPyEndAllowThreads(__tstate
);
25899 if (PyErr_Occurred()) SWIG_fail
;
25901 Py_INCREF(Py_None
); resultobj
= Py_None
;
25908 static PyObject
*_wrap_TreeCtrl_SetItemBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25909 PyObject
*resultobj
;
25910 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25911 wxTreeItemId
*arg2
= 0 ;
25912 bool arg3
= (bool) True
;
25913 PyObject
* obj0
= 0 ;
25914 PyObject
* obj1
= 0 ;
25915 PyObject
* obj2
= 0 ;
25916 char *kwnames
[] = {
25917 (char *) "self",(char *) "item",(char *) "bold", NULL
25920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25923 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25924 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25926 if (arg2
== NULL
) {
25927 PyErr_SetString(PyExc_TypeError
,"null reference");
25931 arg3
= (bool) SWIG_AsBool(obj2
);
25932 if (PyErr_Occurred()) SWIG_fail
;
25935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25936 (arg1
)->SetItemBold((wxTreeItemId
const &)*arg2
,arg3
);
25938 wxPyEndAllowThreads(__tstate
);
25939 if (PyErr_Occurred()) SWIG_fail
;
25941 Py_INCREF(Py_None
); resultobj
= Py_None
;
25948 static PyObject
*_wrap_TreeCtrl_SetItemDropHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25949 PyObject
*resultobj
;
25950 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25951 wxTreeItemId
*arg2
= 0 ;
25952 bool arg3
= (bool) True
;
25953 PyObject
* obj0
= 0 ;
25954 PyObject
* obj1
= 0 ;
25955 PyObject
* obj2
= 0 ;
25956 char *kwnames
[] = {
25957 (char *) "self",(char *) "item",(char *) "highlight", NULL
25960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25961 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25963 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25964 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25966 if (arg2
== NULL
) {
25967 PyErr_SetString(PyExc_TypeError
,"null reference");
25971 arg3
= (bool) SWIG_AsBool(obj2
);
25972 if (PyErr_Occurred()) SWIG_fail
;
25975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25976 (arg1
)->SetItemDropHighlight((wxTreeItemId
const &)*arg2
,arg3
);
25978 wxPyEndAllowThreads(__tstate
);
25979 if (PyErr_Occurred()) SWIG_fail
;
25981 Py_INCREF(Py_None
); resultobj
= Py_None
;
25988 static PyObject
*_wrap_TreeCtrl_SetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25989 PyObject
*resultobj
;
25990 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25991 wxTreeItemId
*arg2
= 0 ;
25992 wxColour
*arg3
= 0 ;
25994 PyObject
* obj0
= 0 ;
25995 PyObject
* obj1
= 0 ;
25996 PyObject
* obj2
= 0 ;
25997 char *kwnames
[] = {
25998 (char *) "self",(char *) "item",(char *) "col", NULL
26001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26002 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26003 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26004 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26005 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26007 if (arg2
== NULL
) {
26008 PyErr_SetString(PyExc_TypeError
,"null reference");
26013 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
26016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26017 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
26019 wxPyEndAllowThreads(__tstate
);
26020 if (PyErr_Occurred()) SWIG_fail
;
26022 Py_INCREF(Py_None
); resultobj
= Py_None
;
26029 static PyObject
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26030 PyObject
*resultobj
;
26031 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26032 wxTreeItemId
*arg2
= 0 ;
26033 wxColour
*arg3
= 0 ;
26035 PyObject
* obj0
= 0 ;
26036 PyObject
* obj1
= 0 ;
26037 PyObject
* obj2
= 0 ;
26038 char *kwnames
[] = {
26039 (char *) "self",(char *) "item",(char *) "col", NULL
26042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26045 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26046 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26048 if (arg2
== NULL
) {
26049 PyErr_SetString(PyExc_TypeError
,"null reference");
26054 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
26057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26058 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
26060 wxPyEndAllowThreads(__tstate
);
26061 if (PyErr_Occurred()) SWIG_fail
;
26063 Py_INCREF(Py_None
); resultobj
= Py_None
;
26070 static PyObject
*_wrap_TreeCtrl_SetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26071 PyObject
*resultobj
;
26072 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26073 wxTreeItemId
*arg2
= 0 ;
26075 PyObject
* obj0
= 0 ;
26076 PyObject
* obj1
= 0 ;
26077 PyObject
* obj2
= 0 ;
26078 char *kwnames
[] = {
26079 (char *) "self",(char *) "item",(char *) "font", NULL
26082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26083 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26085 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26086 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26088 if (arg2
== NULL
) {
26089 PyErr_SetString(PyExc_TypeError
,"null reference");
26092 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
26093 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26095 if (arg3
== NULL
) {
26096 PyErr_SetString(PyExc_TypeError
,"null reference");
26100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26101 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
26103 wxPyEndAllowThreads(__tstate
);
26104 if (PyErr_Occurred()) SWIG_fail
;
26106 Py_INCREF(Py_None
); resultobj
= Py_None
;
26113 static PyObject
*_wrap_TreeCtrl_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26114 PyObject
*resultobj
;
26115 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26116 wxTreeItemId
*arg2
= 0 ;
26118 PyObject
* obj0
= 0 ;
26119 PyObject
* obj1
= 0 ;
26120 char *kwnames
[] = {
26121 (char *) "self",(char *) "item", NULL
26124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
26125 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26127 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26128 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26130 if (arg2
== NULL
) {
26131 PyErr_SetString(PyExc_TypeError
,"null reference");
26135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26136 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsVisible((wxTreeItemId
const &)*arg2
);
26138 wxPyEndAllowThreads(__tstate
);
26139 if (PyErr_Occurred()) SWIG_fail
;
26142 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26150 static PyObject
*_wrap_TreeCtrl_ItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26151 PyObject
*resultobj
;
26152 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26153 wxTreeItemId
*arg2
= 0 ;
26155 PyObject
* obj0
= 0 ;
26156 PyObject
* obj1
= 0 ;
26157 char *kwnames
[] = {
26158 (char *) "self",(char *) "item", NULL
26161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
26162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26164 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26165 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26167 if (arg2
== NULL
) {
26168 PyErr_SetString(PyExc_TypeError
,"null reference");
26172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26173 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->ItemHasChildren((wxTreeItemId
const &)*arg2
);
26175 wxPyEndAllowThreads(__tstate
);
26176 if (PyErr_Occurred()) SWIG_fail
;
26179 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26187 static PyObject
*_wrap_TreeCtrl_IsExpanded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26188 PyObject
*resultobj
;
26189 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26190 wxTreeItemId
*arg2
= 0 ;
26192 PyObject
* obj0
= 0 ;
26193 PyObject
* obj1
= 0 ;
26194 char *kwnames
[] = {
26195 (char *) "self",(char *) "item", NULL
26198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) goto fail
;
26199 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26200 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26201 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26202 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26204 if (arg2
== NULL
) {
26205 PyErr_SetString(PyExc_TypeError
,"null reference");
26209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26210 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsExpanded((wxTreeItemId
const &)*arg2
);
26212 wxPyEndAllowThreads(__tstate
);
26213 if (PyErr_Occurred()) SWIG_fail
;
26216 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26224 static PyObject
*_wrap_TreeCtrl_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26225 PyObject
*resultobj
;
26226 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26227 wxTreeItemId
*arg2
= 0 ;
26229 PyObject
* obj0
= 0 ;
26230 PyObject
* obj1
= 0 ;
26231 char *kwnames
[] = {
26232 (char *) "self",(char *) "item", NULL
26235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
26236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26238 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26239 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26241 if (arg2
== NULL
) {
26242 PyErr_SetString(PyExc_TypeError
,"null reference");
26246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26247 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsSelected((wxTreeItemId
const &)*arg2
);
26249 wxPyEndAllowThreads(__tstate
);
26250 if (PyErr_Occurred()) SWIG_fail
;
26253 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26261 static PyObject
*_wrap_TreeCtrl_IsBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26262 PyObject
*resultobj
;
26263 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26264 wxTreeItemId
*arg2
= 0 ;
26266 PyObject
* obj0
= 0 ;
26267 PyObject
* obj1
= 0 ;
26268 char *kwnames
[] = {
26269 (char *) "self",(char *) "item", NULL
26272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsBold",kwnames
,&obj0
,&obj1
)) goto fail
;
26273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26275 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26276 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26278 if (arg2
== NULL
) {
26279 PyErr_SetString(PyExc_TypeError
,"null reference");
26283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26284 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsBold((wxTreeItemId
const &)*arg2
);
26286 wxPyEndAllowThreads(__tstate
);
26287 if (PyErr_Occurred()) SWIG_fail
;
26290 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26298 static PyObject
*_wrap_TreeCtrl_GetChildrenCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26299 PyObject
*resultobj
;
26300 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26301 wxTreeItemId
*arg2
= 0 ;
26302 bool arg3
= (bool) True
;
26304 PyObject
* obj0
= 0 ;
26305 PyObject
* obj1
= 0 ;
26306 PyObject
* obj2
= 0 ;
26307 char *kwnames
[] = {
26308 (char *) "self",(char *) "item",(char *) "recursively", NULL
26311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26312 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26314 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26315 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26317 if (arg2
== NULL
) {
26318 PyErr_SetString(PyExc_TypeError
,"null reference");
26322 arg3
= (bool) SWIG_AsBool(obj2
);
26323 if (PyErr_Occurred()) SWIG_fail
;
26326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26327 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
26329 wxPyEndAllowThreads(__tstate
);
26330 if (PyErr_Occurred()) SWIG_fail
;
26332 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
26339 static PyObject
*_wrap_TreeCtrl_GetRootItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26340 PyObject
*resultobj
;
26341 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26342 wxTreeItemId result
;
26343 PyObject
* obj0
= 0 ;
26344 char *kwnames
[] = {
26345 (char *) "self", NULL
26348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetRootItem",kwnames
,&obj0
)) goto fail
;
26349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26353 result
= ((wxPyTreeCtrl
const *)arg1
)->GetRootItem();
26355 wxPyEndAllowThreads(__tstate
);
26356 if (PyErr_Occurred()) SWIG_fail
;
26359 wxTreeItemId
* resultptr
;
26360 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26361 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26369 static PyObject
*_wrap_TreeCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26370 PyObject
*resultobj
;
26371 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26372 wxTreeItemId result
;
26373 PyObject
* obj0
= 0 ;
26374 char *kwnames
[] = {
26375 (char *) "self", NULL
26378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
26379 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26380 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26383 result
= ((wxPyTreeCtrl
const *)arg1
)->GetSelection();
26385 wxPyEndAllowThreads(__tstate
);
26386 if (PyErr_Occurred()) SWIG_fail
;
26389 wxTreeItemId
* resultptr
;
26390 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26391 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26399 static PyObject
*_wrap_TreeCtrl_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26400 PyObject
*resultobj
;
26401 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26403 PyObject
* obj0
= 0 ;
26404 char *kwnames
[] = {
26405 (char *) "self", NULL
26408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelections",kwnames
,&obj0
)) goto fail
;
26409 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26413 result
= (PyObject
*)wxPyTreeCtrl_GetSelections(arg1
);
26415 wxPyEndAllowThreads(__tstate
);
26416 if (PyErr_Occurred()) SWIG_fail
;
26418 resultobj
= result
;
26425 static PyObject
*_wrap_TreeCtrl_GetItemParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26426 PyObject
*resultobj
;
26427 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26428 wxTreeItemId
*arg2
= 0 ;
26429 wxTreeItemId result
;
26430 PyObject
* obj0
= 0 ;
26431 PyObject
* obj1
= 0 ;
26432 char *kwnames
[] = {
26433 (char *) "self",(char *) "item", NULL
26436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) goto fail
;
26437 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26439 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26440 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26442 if (arg2
== NULL
) {
26443 PyErr_SetString(PyExc_TypeError
,"null reference");
26447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26448 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
26450 wxPyEndAllowThreads(__tstate
);
26451 if (PyErr_Occurred()) SWIG_fail
;
26454 wxTreeItemId
* resultptr
;
26455 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26456 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26464 static PyObject
*_wrap_TreeCtrl_GetFirstChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26465 PyObject
*resultobj
;
26466 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26467 wxTreeItemId
*arg2
= 0 ;
26469 PyObject
* obj0
= 0 ;
26470 PyObject
* obj1
= 0 ;
26471 char *kwnames
[] = {
26472 (char *) "self",(char *) "item", NULL
26475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) goto fail
;
26476 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26478 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26479 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26481 if (arg2
== NULL
) {
26482 PyErr_SetString(PyExc_TypeError
,"null reference");
26486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26487 result
= (PyObject
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
26489 wxPyEndAllowThreads(__tstate
);
26490 if (PyErr_Occurred()) SWIG_fail
;
26492 resultobj
= result
;
26499 static PyObject
*_wrap_TreeCtrl_GetNextChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26500 PyObject
*resultobj
;
26501 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26502 wxTreeItemId
*arg2
= 0 ;
26503 void *arg3
= (void *) 0 ;
26505 PyObject
* obj0
= 0 ;
26506 PyObject
* obj1
= 0 ;
26507 PyObject
* obj2
= 0 ;
26508 char *kwnames
[] = {
26509 (char *) "self",(char *) "item",(char *) "cookie", NULL
26512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26513 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26514 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26515 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26516 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26518 if (arg2
== NULL
) {
26519 PyErr_SetString(PyExc_TypeError
,"null reference");
26522 if ((SWIG_ConvertPtr(obj2
,&arg3
,0,SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26525 result
= (PyObject
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
26527 wxPyEndAllowThreads(__tstate
);
26528 if (PyErr_Occurred()) SWIG_fail
;
26530 resultobj
= result
;
26537 static PyObject
*_wrap_TreeCtrl_GetLastChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26538 PyObject
*resultobj
;
26539 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26540 wxTreeItemId
*arg2
= 0 ;
26541 wxTreeItemId result
;
26542 PyObject
* obj0
= 0 ;
26543 PyObject
* obj1
= 0 ;
26544 char *kwnames
[] = {
26545 (char *) "self",(char *) "item", NULL
26548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) 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");
26559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26560 result
= ((wxPyTreeCtrl
const *)arg1
)->GetLastChild((wxTreeItemId
const &)*arg2
);
26562 wxPyEndAllowThreads(__tstate
);
26563 if (PyErr_Occurred()) SWIG_fail
;
26566 wxTreeItemId
* resultptr
;
26567 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26568 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26576 static PyObject
*_wrap_TreeCtrl_GetNextSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26577 PyObject
*resultobj
;
26578 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26579 wxTreeItemId
*arg2
= 0 ;
26580 wxTreeItemId result
;
26581 PyObject
* obj0
= 0 ;
26582 PyObject
* obj1
= 0 ;
26583 char *kwnames
[] = {
26584 (char *) "self",(char *) "item", NULL
26587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
26588 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26589 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26590 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26591 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26593 if (arg2
== NULL
) {
26594 PyErr_SetString(PyExc_TypeError
,"null reference");
26598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26599 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextSibling((wxTreeItemId
const &)*arg2
);
26601 wxPyEndAllowThreads(__tstate
);
26602 if (PyErr_Occurred()) SWIG_fail
;
26605 wxTreeItemId
* resultptr
;
26606 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26607 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26615 static PyObject
*_wrap_TreeCtrl_GetPrevSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26616 PyObject
*resultobj
;
26617 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26618 wxTreeItemId
*arg2
= 0 ;
26619 wxTreeItemId result
;
26620 PyObject
* obj0
= 0 ;
26621 PyObject
* obj1
= 0 ;
26622 char *kwnames
[] = {
26623 (char *) "self",(char *) "item", NULL
26626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
26627 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26628 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26629 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26630 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26632 if (arg2
== NULL
) {
26633 PyErr_SetString(PyExc_TypeError
,"null reference");
26637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26638 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevSibling((wxTreeItemId
const &)*arg2
);
26640 wxPyEndAllowThreads(__tstate
);
26641 if (PyErr_Occurred()) SWIG_fail
;
26644 wxTreeItemId
* resultptr
;
26645 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26646 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26654 static PyObject
*_wrap_TreeCtrl_GetFirstVisibleItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26655 PyObject
*resultobj
;
26656 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26657 wxTreeItemId result
;
26658 PyObject
* obj0
= 0 ;
26659 char *kwnames
[] = {
26660 (char *) "self", NULL
26663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames
,&obj0
)) goto fail
;
26664 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26665 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26668 result
= ((wxPyTreeCtrl
const *)arg1
)->GetFirstVisibleItem();
26670 wxPyEndAllowThreads(__tstate
);
26671 if (PyErr_Occurred()) SWIG_fail
;
26674 wxTreeItemId
* resultptr
;
26675 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26676 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26684 static PyObject
*_wrap_TreeCtrl_GetNextVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26685 PyObject
*resultobj
;
26686 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26687 wxTreeItemId
*arg2
= 0 ;
26688 wxTreeItemId result
;
26689 PyObject
* obj0
= 0 ;
26690 PyObject
* obj1
= 0 ;
26691 char *kwnames
[] = {
26692 (char *) "self",(char *) "item", NULL
26695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
26696 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26698 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26699 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26701 if (arg2
== NULL
) {
26702 PyErr_SetString(PyExc_TypeError
,"null reference");
26706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26707 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextVisible((wxTreeItemId
const &)*arg2
);
26709 wxPyEndAllowThreads(__tstate
);
26710 if (PyErr_Occurred()) SWIG_fail
;
26713 wxTreeItemId
* resultptr
;
26714 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26715 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26723 static PyObject
*_wrap_TreeCtrl_GetPrevVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26724 PyObject
*resultobj
;
26725 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26726 wxTreeItemId
*arg2
= 0 ;
26727 wxTreeItemId result
;
26728 PyObject
* obj0
= 0 ;
26729 PyObject
* obj1
= 0 ;
26730 char *kwnames
[] = {
26731 (char *) "self",(char *) "item", NULL
26734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
26735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26737 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26738 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26740 if (arg2
== NULL
) {
26741 PyErr_SetString(PyExc_TypeError
,"null reference");
26745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26746 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevVisible((wxTreeItemId
const &)*arg2
);
26748 wxPyEndAllowThreads(__tstate
);
26749 if (PyErr_Occurred()) SWIG_fail
;
26752 wxTreeItemId
* resultptr
;
26753 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26754 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26762 static PyObject
*_wrap_TreeCtrl_AddRoot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26763 PyObject
*resultobj
;
26764 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26765 wxString
*arg2
= 0 ;
26766 int arg3
= (int) -1 ;
26767 int arg4
= (int) -1 ;
26768 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
26769 wxTreeItemId result
;
26770 bool temp2
= False
;
26771 PyObject
* obj0
= 0 ;
26772 PyObject
* obj1
= 0 ;
26773 PyObject
* obj2
= 0 ;
26774 PyObject
* obj3
= 0 ;
26775 PyObject
* obj4
= 0 ;
26776 char *kwnames
[] = {
26777 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
26780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
26781 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26784 arg2
= wxString_in_helper(obj1
);
26785 if (arg2
== NULL
) SWIG_fail
;
26789 arg3
= (int) SWIG_AsInt(obj2
);
26790 if (PyErr_Occurred()) SWIG_fail
;
26793 arg4
= (int) SWIG_AsInt(obj3
);
26794 if (PyErr_Occurred()) SWIG_fail
;
26797 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxPyTreeItemData
,
26798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26802 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
26804 wxPyEndAllowThreads(__tstate
);
26805 if (PyErr_Occurred()) SWIG_fail
;
26808 wxTreeItemId
* resultptr
;
26809 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26810 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26826 static PyObject
*_wrap_TreeCtrl_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26827 PyObject
*resultobj
;
26828 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26829 wxTreeItemId
*arg2
= 0 ;
26830 wxString
*arg3
= 0 ;
26831 int arg4
= (int) -1 ;
26832 int arg5
= (int) -1 ;
26833 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
26834 wxTreeItemId result
;
26835 bool temp3
= False
;
26836 PyObject
* obj0
= 0 ;
26837 PyObject
* obj1
= 0 ;
26838 PyObject
* obj2
= 0 ;
26839 PyObject
* obj3
= 0 ;
26840 PyObject
* obj4
= 0 ;
26841 PyObject
* obj5
= 0 ;
26842 char *kwnames
[] = {
26843 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
26846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
26847 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26849 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26850 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26852 if (arg2
== NULL
) {
26853 PyErr_SetString(PyExc_TypeError
,"null reference");
26857 arg3
= wxString_in_helper(obj2
);
26858 if (arg3
== NULL
) SWIG_fail
;
26862 arg4
= (int) SWIG_AsInt(obj3
);
26863 if (PyErr_Occurred()) SWIG_fail
;
26866 arg5
= (int) SWIG_AsInt(obj4
);
26867 if (PyErr_Occurred()) SWIG_fail
;
26870 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxPyTreeItemData
,
26871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26875 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
26877 wxPyEndAllowThreads(__tstate
);
26878 if (PyErr_Occurred()) SWIG_fail
;
26881 wxTreeItemId
* resultptr
;
26882 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26883 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26899 static PyObject
*_wrap_TreeCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26900 PyObject
*resultobj
;
26901 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26902 wxTreeItemId
*arg2
= 0 ;
26903 wxTreeItemId
*arg3
= 0 ;
26904 wxString
*arg4
= 0 ;
26905 int arg5
= (int) -1 ;
26906 int arg6
= (int) -1 ;
26907 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
26908 wxTreeItemId result
;
26909 bool temp4
= False
;
26910 PyObject
* obj0
= 0 ;
26911 PyObject
* obj1
= 0 ;
26912 PyObject
* obj2
= 0 ;
26913 PyObject
* obj3
= 0 ;
26914 PyObject
* obj4
= 0 ;
26915 PyObject
* obj5
= 0 ;
26916 PyObject
* obj6
= 0 ;
26917 char *kwnames
[] = {
26918 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
26921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
26922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26924 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26925 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26927 if (arg2
== NULL
) {
26928 PyErr_SetString(PyExc_TypeError
,"null reference");
26931 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTreeItemId
,
26932 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26934 if (arg3
== NULL
) {
26935 PyErr_SetString(PyExc_TypeError
,"null reference");
26939 arg4
= wxString_in_helper(obj3
);
26940 if (arg4
== NULL
) SWIG_fail
;
26944 arg5
= (int) SWIG_AsInt(obj4
);
26945 if (PyErr_Occurred()) SWIG_fail
;
26948 arg6
= (int) SWIG_AsInt(obj5
);
26949 if (PyErr_Occurred()) SWIG_fail
;
26952 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxPyTreeItemData
,
26953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26957 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
26959 wxPyEndAllowThreads(__tstate
);
26960 if (PyErr_Occurred()) SWIG_fail
;
26963 wxTreeItemId
* resultptr
;
26964 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26965 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26981 static PyObject
*_wrap_TreeCtrl_InsertItemBefore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26982 PyObject
*resultobj
;
26983 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26984 wxTreeItemId
*arg2
= 0 ;
26986 wxString
*arg4
= 0 ;
26987 int arg5
= (int) -1 ;
26988 int arg6
= (int) -1 ;
26989 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
26990 wxTreeItemId result
;
26991 bool temp4
= False
;
26992 PyObject
* obj0
= 0 ;
26993 PyObject
* obj1
= 0 ;
26994 PyObject
* obj2
= 0 ;
26995 PyObject
* obj3
= 0 ;
26996 PyObject
* obj4
= 0 ;
26997 PyObject
* obj5
= 0 ;
26998 PyObject
* obj6
= 0 ;
26999 char *kwnames
[] = {
27000 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
27003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
27004 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27006 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27007 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27009 if (arg2
== NULL
) {
27010 PyErr_SetString(PyExc_TypeError
,"null reference");
27013 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
27014 if (PyErr_Occurred()) SWIG_fail
;
27016 arg4
= wxString_in_helper(obj3
);
27017 if (arg4
== NULL
) SWIG_fail
;
27021 arg5
= (int) SWIG_AsInt(obj4
);
27022 if (PyErr_Occurred()) SWIG_fail
;
27025 arg6
= (int) SWIG_AsInt(obj5
);
27026 if (PyErr_Occurred()) SWIG_fail
;
27029 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxPyTreeItemData
,
27030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27034 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
27036 wxPyEndAllowThreads(__tstate
);
27037 if (PyErr_Occurred()) SWIG_fail
;
27040 wxTreeItemId
* resultptr
;
27041 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27042 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27058 static PyObject
*_wrap_TreeCtrl_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27059 PyObject
*resultobj
;
27060 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27061 wxTreeItemId
*arg2
= 0 ;
27062 wxString
*arg3
= 0 ;
27063 int arg4
= (int) -1 ;
27064 int arg5
= (int) -1 ;
27065 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
27066 wxTreeItemId result
;
27067 bool temp3
= False
;
27068 PyObject
* obj0
= 0 ;
27069 PyObject
* obj1
= 0 ;
27070 PyObject
* obj2
= 0 ;
27071 PyObject
* obj3
= 0 ;
27072 PyObject
* obj4
= 0 ;
27073 PyObject
* obj5
= 0 ;
27074 char *kwnames
[] = {
27075 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
27078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
27079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27081 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27082 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27084 if (arg2
== NULL
) {
27085 PyErr_SetString(PyExc_TypeError
,"null reference");
27089 arg3
= wxString_in_helper(obj2
);
27090 if (arg3
== NULL
) SWIG_fail
;
27094 arg4
= (int) SWIG_AsInt(obj3
);
27095 if (PyErr_Occurred()) SWIG_fail
;
27098 arg5
= (int) SWIG_AsInt(obj4
);
27099 if (PyErr_Occurred()) SWIG_fail
;
27102 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxPyTreeItemData
,
27103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27107 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
27109 wxPyEndAllowThreads(__tstate
);
27110 if (PyErr_Occurred()) SWIG_fail
;
27113 wxTreeItemId
* resultptr
;
27114 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27115 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27131 static PyObject
*_wrap_TreeCtrl_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27132 PyObject
*resultobj
;
27133 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27134 wxTreeItemId
*arg2
= 0 ;
27135 PyObject
* obj0
= 0 ;
27136 PyObject
* obj1
= 0 ;
27137 char *kwnames
[] = {
27138 (char *) "self",(char *) "item", NULL
27141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
27142 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27144 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27145 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27147 if (arg2
== NULL
) {
27148 PyErr_SetString(PyExc_TypeError
,"null reference");
27152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27153 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
27155 wxPyEndAllowThreads(__tstate
);
27156 if (PyErr_Occurred()) SWIG_fail
;
27158 Py_INCREF(Py_None
); resultobj
= Py_None
;
27165 static PyObject
*_wrap_TreeCtrl_DeleteChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27166 PyObject
*resultobj
;
27167 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27168 wxTreeItemId
*arg2
= 0 ;
27169 PyObject
* obj0
= 0 ;
27170 PyObject
* obj1
= 0 ;
27171 char *kwnames
[] = {
27172 (char *) "self",(char *) "item", NULL
27175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
27176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27178 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27179 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27181 if (arg2
== NULL
) {
27182 PyErr_SetString(PyExc_TypeError
,"null reference");
27186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27187 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
27189 wxPyEndAllowThreads(__tstate
);
27190 if (PyErr_Occurred()) SWIG_fail
;
27192 Py_INCREF(Py_None
); resultobj
= Py_None
;
27199 static PyObject
*_wrap_TreeCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27200 PyObject
*resultobj
;
27201 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27202 PyObject
* obj0
= 0 ;
27203 char *kwnames
[] = {
27204 (char *) "self", NULL
27207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
27208 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27212 (arg1
)->DeleteAllItems();
27214 wxPyEndAllowThreads(__tstate
);
27215 if (PyErr_Occurred()) SWIG_fail
;
27217 Py_INCREF(Py_None
); resultobj
= Py_None
;
27224 static PyObject
*_wrap_TreeCtrl_Expand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27225 PyObject
*resultobj
;
27226 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27227 wxTreeItemId
*arg2
= 0 ;
27228 PyObject
* obj0
= 0 ;
27229 PyObject
* obj1
= 0 ;
27230 char *kwnames
[] = {
27231 (char *) "self",(char *) "item", NULL
27234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Expand",kwnames
,&obj0
,&obj1
)) goto fail
;
27235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27237 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27238 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27240 if (arg2
== NULL
) {
27241 PyErr_SetString(PyExc_TypeError
,"null reference");
27245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27246 (arg1
)->Expand((wxTreeItemId
const &)*arg2
);
27248 wxPyEndAllowThreads(__tstate
);
27249 if (PyErr_Occurred()) SWIG_fail
;
27251 Py_INCREF(Py_None
); resultobj
= Py_None
;
27258 static PyObject
*_wrap_TreeCtrl_Collapse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27259 PyObject
*resultobj
;
27260 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27261 wxTreeItemId
*arg2
= 0 ;
27262 PyObject
* obj0
= 0 ;
27263 PyObject
* obj1
= 0 ;
27264 char *kwnames
[] = {
27265 (char *) "self",(char *) "item", NULL
27268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Collapse",kwnames
,&obj0
,&obj1
)) goto fail
;
27269 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27271 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27272 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27274 if (arg2
== NULL
) {
27275 PyErr_SetString(PyExc_TypeError
,"null reference");
27279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27280 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
27282 wxPyEndAllowThreads(__tstate
);
27283 if (PyErr_Occurred()) SWIG_fail
;
27285 Py_INCREF(Py_None
); resultobj
= Py_None
;
27292 static PyObject
*_wrap_TreeCtrl_CollapseAndReset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27293 PyObject
*resultobj
;
27294 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27295 wxTreeItemId
*arg2
= 0 ;
27296 PyObject
* obj0
= 0 ;
27297 PyObject
* obj1
= 0 ;
27298 char *kwnames
[] = {
27299 (char *) "self",(char *) "item", NULL
27302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) goto fail
;
27303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27305 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27306 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27308 if (arg2
== NULL
) {
27309 PyErr_SetString(PyExc_TypeError
,"null reference");
27313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27314 (arg1
)->CollapseAndReset((wxTreeItemId
const &)*arg2
);
27316 wxPyEndAllowThreads(__tstate
);
27317 if (PyErr_Occurred()) SWIG_fail
;
27319 Py_INCREF(Py_None
); resultobj
= Py_None
;
27326 static PyObject
*_wrap_TreeCtrl_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27327 PyObject
*resultobj
;
27328 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27329 wxTreeItemId
*arg2
= 0 ;
27330 PyObject
* obj0
= 0 ;
27331 PyObject
* obj1
= 0 ;
27332 char *kwnames
[] = {
27333 (char *) "self",(char *) "item", NULL
27336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
27337 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27339 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27340 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27342 if (arg2
== NULL
) {
27343 PyErr_SetString(PyExc_TypeError
,"null reference");
27347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27348 (arg1
)->Toggle((wxTreeItemId
const &)*arg2
);
27350 wxPyEndAllowThreads(__tstate
);
27351 if (PyErr_Occurred()) SWIG_fail
;
27353 Py_INCREF(Py_None
); resultobj
= Py_None
;
27360 static PyObject
*_wrap_TreeCtrl_Unselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27361 PyObject
*resultobj
;
27362 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27363 PyObject
* obj0
= 0 ;
27364 char *kwnames
[] = {
27365 (char *) "self", NULL
27368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_Unselect",kwnames
,&obj0
)) goto fail
;
27369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27373 (arg1
)->Unselect();
27375 wxPyEndAllowThreads(__tstate
);
27376 if (PyErr_Occurred()) SWIG_fail
;
27378 Py_INCREF(Py_None
); resultobj
= Py_None
;
27385 static PyObject
*_wrap_TreeCtrl_UnselectItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27386 PyObject
*resultobj
;
27387 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27388 wxTreeItemId
*arg2
= 0 ;
27389 PyObject
* obj0
= 0 ;
27390 PyObject
* obj1
= 0 ;
27391 char *kwnames
[] = {
27392 (char *) "self",(char *) "item", NULL
27395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_UnselectItem",kwnames
,&obj0
,&obj1
)) goto fail
;
27396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27398 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27399 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27401 if (arg2
== NULL
) {
27402 PyErr_SetString(PyExc_TypeError
,"null reference");
27406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27407 (arg1
)->UnselectItem((wxTreeItemId
const &)*arg2
);
27409 wxPyEndAllowThreads(__tstate
);
27410 if (PyErr_Occurred()) SWIG_fail
;
27412 Py_INCREF(Py_None
); resultobj
= Py_None
;
27419 static PyObject
*_wrap_TreeCtrl_UnselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27420 PyObject
*resultobj
;
27421 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27422 PyObject
* obj0
= 0 ;
27423 char *kwnames
[] = {
27424 (char *) "self", NULL
27427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_UnselectAll",kwnames
,&obj0
)) goto fail
;
27428 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27432 (arg1
)->UnselectAll();
27434 wxPyEndAllowThreads(__tstate
);
27435 if (PyErr_Occurred()) SWIG_fail
;
27437 Py_INCREF(Py_None
); resultobj
= Py_None
;
27444 static PyObject
*_wrap_TreeCtrl_SelectItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27445 PyObject
*resultobj
;
27446 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27447 wxTreeItemId
*arg2
= 0 ;
27448 bool arg3
= (bool) True
;
27449 PyObject
* obj0
= 0 ;
27450 PyObject
* obj1
= 0 ;
27451 PyObject
* obj2
= 0 ;
27452 char *kwnames
[] = {
27453 (char *) "self",(char *) "item",(char *) "select", NULL
27456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27457 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27459 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27460 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27462 if (arg2
== NULL
) {
27463 PyErr_SetString(PyExc_TypeError
,"null reference");
27467 arg3
= (bool) SWIG_AsBool(obj2
);
27468 if (PyErr_Occurred()) SWIG_fail
;
27471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27472 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
,arg3
);
27474 wxPyEndAllowThreads(__tstate
);
27475 if (PyErr_Occurred()) SWIG_fail
;
27477 Py_INCREF(Py_None
); resultobj
= Py_None
;
27484 static PyObject
*_wrap_TreeCtrl_ToggleItemSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27485 PyObject
*resultobj
;
27486 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27487 wxTreeItemId
*arg2
= 0 ;
27488 PyObject
* obj0
= 0 ;
27489 PyObject
* obj1
= 0 ;
27490 char *kwnames
[] = {
27491 (char *) "self",(char *) "item", NULL
27494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
27495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27497 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27498 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27500 if (arg2
== NULL
) {
27501 PyErr_SetString(PyExc_TypeError
,"null reference");
27505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27506 (arg1
)->ToggleItemSelection((wxTreeItemId
const &)*arg2
);
27508 wxPyEndAllowThreads(__tstate
);
27509 if (PyErr_Occurred()) SWIG_fail
;
27511 Py_INCREF(Py_None
); resultobj
= Py_None
;
27518 static PyObject
*_wrap_TreeCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27519 PyObject
*resultobj
;
27520 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27521 wxTreeItemId
*arg2
= 0 ;
27522 PyObject
* obj0
= 0 ;
27523 PyObject
* obj1
= 0 ;
27524 char *kwnames
[] = {
27525 (char *) "self",(char *) "item", NULL
27528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
27529 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27531 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27532 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27534 if (arg2
== NULL
) {
27535 PyErr_SetString(PyExc_TypeError
,"null reference");
27539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27540 (arg1
)->EnsureVisible((wxTreeItemId
const &)*arg2
);
27542 wxPyEndAllowThreads(__tstate
);
27543 if (PyErr_Occurred()) SWIG_fail
;
27545 Py_INCREF(Py_None
); resultobj
= Py_None
;
27552 static PyObject
*_wrap_TreeCtrl_ScrollTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27553 PyObject
*resultobj
;
27554 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27555 wxTreeItemId
*arg2
= 0 ;
27556 PyObject
* obj0
= 0 ;
27557 PyObject
* obj1
= 0 ;
27558 char *kwnames
[] = {
27559 (char *) "self",(char *) "item", NULL
27562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) goto fail
;
27563 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27565 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27566 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27568 if (arg2
== NULL
) {
27569 PyErr_SetString(PyExc_TypeError
,"null reference");
27573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27574 (arg1
)->ScrollTo((wxTreeItemId
const &)*arg2
);
27576 wxPyEndAllowThreads(__tstate
);
27577 if (PyErr_Occurred()) SWIG_fail
;
27579 Py_INCREF(Py_None
); resultobj
= Py_None
;
27586 static PyObject
*_wrap_TreeCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27587 PyObject
*resultobj
;
27588 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27589 wxTreeItemId
*arg2
= 0 ;
27590 PyObject
* obj0
= 0 ;
27591 PyObject
* obj1
= 0 ;
27592 char *kwnames
[] = {
27593 (char *) "self",(char *) "item", NULL
27596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
27597 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27599 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27600 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27602 if (arg2
== NULL
) {
27603 PyErr_SetString(PyExc_TypeError
,"null reference");
27607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27608 (arg1
)->EditLabel((wxTreeItemId
const &)*arg2
);
27610 wxPyEndAllowThreads(__tstate
);
27611 if (PyErr_Occurred()) SWIG_fail
;
27613 Py_INCREF(Py_None
); resultobj
= Py_None
;
27620 static PyObject
*_wrap_TreeCtrl_GetEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27621 PyObject
*resultobj
;
27622 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27623 wxTextCtrl
*result
;
27624 PyObject
* obj0
= 0 ;
27625 char *kwnames
[] = {
27626 (char *) "self", NULL
27629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetEditControl",kwnames
,&obj0
)) goto fail
;
27630 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27634 result
= (wxTextCtrl
*)((wxPyTreeCtrl
const *)arg1
)->GetEditControl();
27636 wxPyEndAllowThreads(__tstate
);
27637 if (PyErr_Occurred()) SWIG_fail
;
27640 resultobj
= wxPyMake_wxObject(result
);
27648 static PyObject
*_wrap_TreeCtrl_EndEditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27649 PyObject
*resultobj
;
27650 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27651 wxTreeItemId
*arg2
= 0 ;
27652 bool arg3
= (bool) False
;
27653 PyObject
* obj0
= 0 ;
27654 PyObject
* obj1
= 0 ;
27655 PyObject
* obj2
= 0 ;
27656 char *kwnames
[] = {
27657 (char *) "self",(char *) "item",(char *) "discardChanges", NULL
27660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_EndEditLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27663 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27664 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27666 if (arg2
== NULL
) {
27667 PyErr_SetString(PyExc_TypeError
,"null reference");
27671 arg3
= (bool) SWIG_AsBool(obj2
);
27672 if (PyErr_Occurred()) SWIG_fail
;
27675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27676 (arg1
)->EndEditLabel((wxTreeItemId
const &)*arg2
,arg3
);
27678 wxPyEndAllowThreads(__tstate
);
27679 if (PyErr_Occurred()) SWIG_fail
;
27681 Py_INCREF(Py_None
); resultobj
= Py_None
;
27688 static PyObject
*_wrap_TreeCtrl_SortChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27689 PyObject
*resultobj
;
27690 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27691 wxTreeItemId
*arg2
= 0 ;
27692 PyObject
* obj0
= 0 ;
27693 PyObject
* obj1
= 0 ;
27694 char *kwnames
[] = {
27695 (char *) "self",(char *) "item", NULL
27698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SortChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
27699 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27701 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27702 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27704 if (arg2
== NULL
) {
27705 PyErr_SetString(PyExc_TypeError
,"null reference");
27709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27710 (arg1
)->SortChildren((wxTreeItemId
const &)*arg2
);
27712 wxPyEndAllowThreads(__tstate
);
27713 if (PyErr_Occurred()) SWIG_fail
;
27715 Py_INCREF(Py_None
); resultobj
= Py_None
;
27722 static PyObject
*_wrap_TreeCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27723 PyObject
*resultobj
;
27724 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27725 wxPoint
*arg2
= 0 ;
27727 wxTreeItemId result
;
27730 PyObject
* obj0
= 0 ;
27731 PyObject
* obj1
= 0 ;
27732 char *kwnames
[] = {
27733 (char *) "self",(char *) "point", NULL
27737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
27738 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27739 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27742 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
27745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27746 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
27748 wxPyEndAllowThreads(__tstate
);
27749 if (PyErr_Occurred()) SWIG_fail
;
27752 wxTreeItemId
* resultptr
;
27753 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27754 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27757 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
27758 resultobj
= t_output_helper(resultobj
,o
);
27766 static PyObject
*_wrap_TreeCtrl_GetBoundingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27767 PyObject
*resultobj
;
27768 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27769 wxTreeItemId
*arg2
= 0 ;
27770 bool arg3
= (bool) False
;
27772 PyObject
* obj0
= 0 ;
27773 PyObject
* obj1
= 0 ;
27774 PyObject
* obj2
= 0 ;
27775 char *kwnames
[] = {
27776 (char *) "self",(char *) "item",(char *) "textOnly", NULL
27779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27780 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27782 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27783 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27785 if (arg2
== NULL
) {
27786 PyErr_SetString(PyExc_TypeError
,"null reference");
27790 arg3
= (bool) SWIG_AsBool(obj2
);
27791 if (PyErr_Occurred()) SWIG_fail
;
27794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27795 result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
27797 wxPyEndAllowThreads(__tstate
);
27798 if (PyErr_Occurred()) SWIG_fail
;
27800 resultobj
= result
;
27807 static PyObject
*_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27808 PyObject
*resultobj
;
27809 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
27810 wxVisualAttributes result
;
27811 PyObject
* obj0
= 0 ;
27812 char *kwnames
[] = {
27813 (char *) "variant", NULL
27816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
27818 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
27819 if (PyErr_Occurred()) SWIG_fail
;
27822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27823 result
= wxPyTreeCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
27825 wxPyEndAllowThreads(__tstate
);
27826 if (PyErr_Occurred()) SWIG_fail
;
27829 wxVisualAttributes
* resultptr
;
27830 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
27831 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
27839 static PyObject
* TreeCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
27841 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27842 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl
, obj
);
27844 return Py_BuildValue((char *)"");
27846 static int _wrap_DirDialogDefaultFolderStr_set(PyObject
*_val
) {
27847 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogDefaultFolderStr is read-only.");
27852 static PyObject
*_wrap_DirDialogDefaultFolderStr_get() {
27857 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
27859 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
27866 static PyObject
*_wrap_new_GenericDirCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27867 PyObject
*resultobj
;
27868 wxWindow
*arg1
= (wxWindow
*) 0 ;
27869 int arg2
= (int) (int)-1 ;
27870 wxString
const &arg3_defvalue
= wxPyDirDialogDefaultFolderStr
;
27871 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
27872 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
27873 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
27874 wxSize
const &arg5_defvalue
= wxDefaultSize
;
27875 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
27876 long arg6
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
27877 wxString
const &arg7_defvalue
= wxPyEmptyString
;
27878 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
27879 int arg8
= (int) 0 ;
27880 wxString
const &arg9_defvalue
= wxPyTreeCtrlNameStr
;
27881 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
27882 wxGenericDirCtrl
*result
;
27883 bool temp3
= False
;
27886 bool temp7
= False
;
27887 bool temp9
= False
;
27888 PyObject
* obj0
= 0 ;
27889 PyObject
* obj1
= 0 ;
27890 PyObject
* obj2
= 0 ;
27891 PyObject
* obj3
= 0 ;
27892 PyObject
* obj4
= 0 ;
27893 PyObject
* obj5
= 0 ;
27894 PyObject
* obj6
= 0 ;
27895 PyObject
* obj7
= 0 ;
27896 PyObject
* obj8
= 0 ;
27897 char *kwnames
[] = {
27898 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
27901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
27902 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27905 arg2
= (int const) SWIG_AsInt(obj1
);
27906 if (PyErr_Occurred()) SWIG_fail
;
27910 arg3
= wxString_in_helper(obj2
);
27911 if (arg3
== NULL
) SWIG_fail
;
27918 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
27924 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
27928 arg6
= (long) SWIG_AsLong(obj5
);
27929 if (PyErr_Occurred()) SWIG_fail
;
27933 arg7
= wxString_in_helper(obj6
);
27934 if (arg7
== NULL
) SWIG_fail
;
27939 arg8
= (int) SWIG_AsInt(obj7
);
27940 if (PyErr_Occurred()) SWIG_fail
;
27944 arg9
= wxString_in_helper(obj8
);
27945 if (arg9
== NULL
) SWIG_fail
;
27950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27951 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
27953 wxPyEndAllowThreads(__tstate
);
27954 if (PyErr_Occurred()) SWIG_fail
;
27956 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1);
27987 static PyObject
*_wrap_new_PreGenericDirCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27988 PyObject
*resultobj
;
27989 wxGenericDirCtrl
*result
;
27990 char *kwnames
[] = {
27994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGenericDirCtrl",kwnames
)) goto fail
;
27996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27997 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl();
27999 wxPyEndAllowThreads(__tstate
);
28000 if (PyErr_Occurred()) SWIG_fail
;
28002 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1);
28009 static PyObject
*_wrap_GenericDirCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28010 PyObject
*resultobj
;
28011 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28012 wxWindow
*arg2
= (wxWindow
*) 0 ;
28013 int arg3
= (int) (int)-1 ;
28014 wxString
const &arg4_defvalue
= wxPyDirDialogDefaultFolderStr
;
28015 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
28016 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
28017 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
28018 wxSize
const &arg6_defvalue
= wxDefaultSize
;
28019 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
28020 long arg7
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
28021 wxString
const &arg8_defvalue
= wxPyEmptyString
;
28022 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
28023 int arg9
= (int) 0 ;
28024 wxString
const &arg10_defvalue
= wxPyTreeCtrlNameStr
;
28025 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
28027 bool temp4
= False
;
28030 bool temp8
= False
;
28031 bool temp10
= False
;
28032 PyObject
* obj0
= 0 ;
28033 PyObject
* obj1
= 0 ;
28034 PyObject
* obj2
= 0 ;
28035 PyObject
* obj3
= 0 ;
28036 PyObject
* obj4
= 0 ;
28037 PyObject
* obj5
= 0 ;
28038 PyObject
* obj6
= 0 ;
28039 PyObject
* obj7
= 0 ;
28040 PyObject
* obj8
= 0 ;
28041 PyObject
* obj9
= 0 ;
28042 char *kwnames
[] = {
28043 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
28046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
28047 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28048 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28049 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28052 arg3
= (int const) SWIG_AsInt(obj2
);
28053 if (PyErr_Occurred()) SWIG_fail
;
28057 arg4
= wxString_in_helper(obj3
);
28058 if (arg4
== NULL
) SWIG_fail
;
28065 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
28071 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
28075 arg7
= (long) SWIG_AsLong(obj6
);
28076 if (PyErr_Occurred()) SWIG_fail
;
28080 arg8
= wxString_in_helper(obj7
);
28081 if (arg8
== NULL
) SWIG_fail
;
28086 arg9
= (int) SWIG_AsInt(obj8
);
28087 if (PyErr_Occurred()) SWIG_fail
;
28091 arg10
= wxString_in_helper(obj9
);
28092 if (arg10
== NULL
) SWIG_fail
;
28097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28098 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
,arg9
,(wxString
const &)*arg10
);
28100 wxPyEndAllowThreads(__tstate
);
28101 if (PyErr_Occurred()) SWIG_fail
;
28104 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28136 static PyObject
*_wrap_GenericDirCtrl_ExpandPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28137 PyObject
*resultobj
;
28138 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28139 wxString
*arg2
= 0 ;
28141 bool temp2
= False
;
28142 PyObject
* obj0
= 0 ;
28143 PyObject
* obj1
= 0 ;
28144 char *kwnames
[] = {
28145 (char *) "self",(char *) "path", NULL
28148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) goto fail
;
28149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28152 arg2
= wxString_in_helper(obj1
);
28153 if (arg2
== NULL
) SWIG_fail
;
28157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28158 result
= (bool)(arg1
)->ExpandPath((wxString
const &)*arg2
);
28160 wxPyEndAllowThreads(__tstate
);
28161 if (PyErr_Occurred()) SWIG_fail
;
28164 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28180 static PyObject
*_wrap_GenericDirCtrl_GetDefaultPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28181 PyObject
*resultobj
;
28182 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28184 PyObject
* obj0
= 0 ;
28185 char *kwnames
[] = {
28186 (char *) "self", NULL
28189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames
,&obj0
)) goto fail
;
28190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28194 result
= ((wxGenericDirCtrl
const *)arg1
)->GetDefaultPath();
28196 wxPyEndAllowThreads(__tstate
);
28197 if (PyErr_Occurred()) SWIG_fail
;
28201 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28203 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28212 static PyObject
*_wrap_GenericDirCtrl_SetDefaultPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28213 PyObject
*resultobj
;
28214 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28215 wxString
*arg2
= 0 ;
28216 bool temp2
= False
;
28217 PyObject
* obj0
= 0 ;
28218 PyObject
* obj1
= 0 ;
28219 char *kwnames
[] = {
28220 (char *) "self",(char *) "path", NULL
28223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames
,&obj0
,&obj1
)) goto fail
;
28224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28227 arg2
= wxString_in_helper(obj1
);
28228 if (arg2
== NULL
) SWIG_fail
;
28232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28233 (arg1
)->SetDefaultPath((wxString
const &)*arg2
);
28235 wxPyEndAllowThreads(__tstate
);
28236 if (PyErr_Occurred()) SWIG_fail
;
28238 Py_INCREF(Py_None
); resultobj
= Py_None
;
28253 static PyObject
*_wrap_GenericDirCtrl_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28254 PyObject
*resultobj
;
28255 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28257 PyObject
* obj0
= 0 ;
28258 char *kwnames
[] = {
28259 (char *) "self", NULL
28262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetPath",kwnames
,&obj0
)) goto fail
;
28263 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28267 result
= ((wxGenericDirCtrl
const *)arg1
)->GetPath();
28269 wxPyEndAllowThreads(__tstate
);
28270 if (PyErr_Occurred()) SWIG_fail
;
28274 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28276 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28285 static PyObject
*_wrap_GenericDirCtrl_GetFilePath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28286 PyObject
*resultobj
;
28287 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28289 PyObject
* obj0
= 0 ;
28290 char *kwnames
[] = {
28291 (char *) "self", NULL
28294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilePath",kwnames
,&obj0
)) goto fail
;
28295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28299 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilePath();
28301 wxPyEndAllowThreads(__tstate
);
28302 if (PyErr_Occurred()) SWIG_fail
;
28306 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28308 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28317 static PyObject
*_wrap_GenericDirCtrl_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28318 PyObject
*resultobj
;
28319 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28320 wxString
*arg2
= 0 ;
28321 bool temp2
= False
;
28322 PyObject
* obj0
= 0 ;
28323 PyObject
* obj1
= 0 ;
28324 char *kwnames
[] = {
28325 (char *) "self",(char *) "path", NULL
28328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
28329 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28332 arg2
= wxString_in_helper(obj1
);
28333 if (arg2
== NULL
) SWIG_fail
;
28337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28338 (arg1
)->SetPath((wxString
const &)*arg2
);
28340 wxPyEndAllowThreads(__tstate
);
28341 if (PyErr_Occurred()) SWIG_fail
;
28343 Py_INCREF(Py_None
); resultobj
= Py_None
;
28358 static PyObject
*_wrap_GenericDirCtrl_ShowHidden(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28359 PyObject
*resultobj
;
28360 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28362 PyObject
* obj0
= 0 ;
28363 PyObject
* obj1
= 0 ;
28364 char *kwnames
[] = {
28365 (char *) "self",(char *) "show", NULL
28368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames
,&obj0
,&obj1
)) goto fail
;
28369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28371 arg2
= (bool) SWIG_AsBool(obj1
);
28372 if (PyErr_Occurred()) SWIG_fail
;
28374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28375 (arg1
)->ShowHidden(arg2
);
28377 wxPyEndAllowThreads(__tstate
);
28378 if (PyErr_Occurred()) SWIG_fail
;
28380 Py_INCREF(Py_None
); resultobj
= Py_None
;
28387 static PyObject
*_wrap_GenericDirCtrl_GetShowHidden(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28388 PyObject
*resultobj
;
28389 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28391 PyObject
* obj0
= 0 ;
28392 char *kwnames
[] = {
28393 (char *) "self", NULL
28396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames
,&obj0
)) goto fail
;
28397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28401 result
= (bool)(arg1
)->GetShowHidden();
28403 wxPyEndAllowThreads(__tstate
);
28404 if (PyErr_Occurred()) SWIG_fail
;
28407 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28415 static PyObject
*_wrap_GenericDirCtrl_GetFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28416 PyObject
*resultobj
;
28417 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28419 PyObject
* obj0
= 0 ;
28420 char *kwnames
[] = {
28421 (char *) "self", NULL
28424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilter",kwnames
,&obj0
)) goto fail
;
28425 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28429 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilter();
28431 wxPyEndAllowThreads(__tstate
);
28432 if (PyErr_Occurred()) SWIG_fail
;
28436 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28438 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28447 static PyObject
*_wrap_GenericDirCtrl_SetFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28448 PyObject
*resultobj
;
28449 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28450 wxString
*arg2
= 0 ;
28451 bool temp2
= False
;
28452 PyObject
* obj0
= 0 ;
28453 PyObject
* obj1
= 0 ;
28454 char *kwnames
[] = {
28455 (char *) "self",(char *) "filter", NULL
28458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) goto fail
;
28459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28462 arg2
= wxString_in_helper(obj1
);
28463 if (arg2
== NULL
) SWIG_fail
;
28467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28468 (arg1
)->SetFilter((wxString
const &)*arg2
);
28470 wxPyEndAllowThreads(__tstate
);
28471 if (PyErr_Occurred()) SWIG_fail
;
28473 Py_INCREF(Py_None
); resultobj
= Py_None
;
28488 static PyObject
*_wrap_GenericDirCtrl_GetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28489 PyObject
*resultobj
;
28490 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28492 PyObject
* obj0
= 0 ;
28493 char *kwnames
[] = {
28494 (char *) "self", NULL
28497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
28498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28502 result
= (int)((wxGenericDirCtrl
const *)arg1
)->GetFilterIndex();
28504 wxPyEndAllowThreads(__tstate
);
28505 if (PyErr_Occurred()) SWIG_fail
;
28507 resultobj
= SWIG_FromInt((int)result
);
28514 static PyObject
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28515 PyObject
*resultobj
;
28516 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28518 PyObject
* obj0
= 0 ;
28519 PyObject
* obj1
= 0 ;
28520 char *kwnames
[] = {
28521 (char *) "self",(char *) "n", NULL
28524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
28525 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28526 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28527 arg2
= (int) SWIG_AsInt(obj1
);
28528 if (PyErr_Occurred()) SWIG_fail
;
28530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28531 (arg1
)->SetFilterIndex(arg2
);
28533 wxPyEndAllowThreads(__tstate
);
28534 if (PyErr_Occurred()) SWIG_fail
;
28536 Py_INCREF(Py_None
); resultobj
= Py_None
;
28543 static PyObject
*_wrap_GenericDirCtrl_GetRootId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28544 PyObject
*resultobj
;
28545 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28546 wxTreeItemId result
;
28547 PyObject
* obj0
= 0 ;
28548 char *kwnames
[] = {
28549 (char *) "self", NULL
28552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetRootId",kwnames
,&obj0
)) goto fail
;
28553 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28557 result
= (arg1
)->GetRootId();
28559 wxPyEndAllowThreads(__tstate
);
28560 if (PyErr_Occurred()) SWIG_fail
;
28563 wxTreeItemId
* resultptr
;
28564 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
28565 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
28573 static PyObject
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28574 PyObject
*resultobj
;
28575 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28576 wxPyTreeCtrl
*result
;
28577 PyObject
* obj0
= 0 ;
28578 char *kwnames
[] = {
28579 (char *) "self", NULL
28582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames
,&obj0
)) goto fail
;
28583 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28587 result
= (wxPyTreeCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetTreeCtrl();
28589 wxPyEndAllowThreads(__tstate
);
28590 if (PyErr_Occurred()) SWIG_fail
;
28593 resultobj
= wxPyMake_wxObject(result
);
28601 static PyObject
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28602 PyObject
*resultobj
;
28603 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28604 wxDirFilterListCtrl
*result
;
28605 PyObject
* obj0
= 0 ;
28606 char *kwnames
[] = {
28607 (char *) "self", NULL
28610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames
,&obj0
)) goto fail
;
28611 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28612 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28615 result
= (wxDirFilterListCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetFilterListCtrl();
28617 wxPyEndAllowThreads(__tstate
);
28618 if (PyErr_Occurred()) SWIG_fail
;
28620 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 0);
28627 static PyObject
*_wrap_GenericDirCtrl_FindChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28628 PyObject
*resultobj
;
28629 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28630 wxTreeItemId arg2
;
28631 wxString
*arg3
= 0 ;
28633 wxTreeItemId result
;
28634 wxTreeItemId
*argp2
;
28635 bool temp3
= False
;
28637 PyObject
* obj0
= 0 ;
28638 PyObject
* obj1
= 0 ;
28639 PyObject
* obj2
= 0 ;
28640 char *kwnames
[] = {
28641 (char *) "self",(char *) "parentId",(char *) "path", NULL
28645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28648 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxTreeItemId
,
28649 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
28652 arg3
= wxString_in_helper(obj2
);
28653 if (arg3
== NULL
) SWIG_fail
;
28657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28658 result
= (arg1
)->FindChild(arg2
,(wxString
const &)*arg3
,*arg4
);
28660 wxPyEndAllowThreads(__tstate
);
28661 if (PyErr_Occurred()) SWIG_fail
;
28664 wxTreeItemId
* resultptr
;
28665 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
28666 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
28669 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
28670 resultobj
= t_output_helper(resultobj
,o
);
28686 static PyObject
*_wrap_GenericDirCtrl_DoResize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28687 PyObject
*resultobj
;
28688 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28689 PyObject
* obj0
= 0 ;
28690 char *kwnames
[] = {
28691 (char *) "self", NULL
28694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_DoResize",kwnames
,&obj0
)) goto fail
;
28695 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28699 (arg1
)->DoResize();
28701 wxPyEndAllowThreads(__tstate
);
28702 if (PyErr_Occurred()) SWIG_fail
;
28704 Py_INCREF(Py_None
); resultobj
= Py_None
;
28711 static PyObject
*_wrap_GenericDirCtrl_ReCreateTree(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28712 PyObject
*resultobj
;
28713 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28714 PyObject
* obj0
= 0 ;
28715 char *kwnames
[] = {
28716 (char *) "self", NULL
28719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames
,&obj0
)) goto fail
;
28720 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28724 (arg1
)->ReCreateTree();
28726 wxPyEndAllowThreads(__tstate
);
28727 if (PyErr_Occurred()) SWIG_fail
;
28729 Py_INCREF(Py_None
); resultobj
= Py_None
;
28736 static PyObject
* GenericDirCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
28738 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28739 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl
, obj
);
28741 return Py_BuildValue((char *)"");
28743 static PyObject
*_wrap_new_DirFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28744 PyObject
*resultobj
;
28745 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28746 int arg2
= (int) (int)-1 ;
28747 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28748 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28749 wxSize
const &arg4_defvalue
= wxDefaultSize
;
28750 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
28751 long arg5
= (long) 0 ;
28752 wxDirFilterListCtrl
*result
;
28755 PyObject
* obj0
= 0 ;
28756 PyObject
* obj1
= 0 ;
28757 PyObject
* obj2
= 0 ;
28758 PyObject
* obj3
= 0 ;
28759 PyObject
* obj4
= 0 ;
28760 char *kwnames
[] = {
28761 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
28764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28765 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28768 arg2
= (int const) SWIG_AsInt(obj1
);
28769 if (PyErr_Occurred()) SWIG_fail
;
28774 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28780 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
28784 arg5
= (long) SWIG_AsLong(obj4
);
28785 if (PyErr_Occurred()) SWIG_fail
;
28788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28789 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
28791 wxPyEndAllowThreads(__tstate
);
28792 if (PyErr_Occurred()) SWIG_fail
;
28794 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1);
28801 static PyObject
*_wrap_new_PreDirFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28802 PyObject
*resultobj
;
28803 wxDirFilterListCtrl
*result
;
28804 char *kwnames
[] = {
28808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDirFilterListCtrl",kwnames
)) goto fail
;
28810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28811 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl();
28813 wxPyEndAllowThreads(__tstate
);
28814 if (PyErr_Occurred()) SWIG_fail
;
28816 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1);
28823 static PyObject
*_wrap_DirFilterListCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28824 PyObject
*resultobj
;
28825 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
28826 wxGenericDirCtrl
*arg2
= (wxGenericDirCtrl
*) 0 ;
28827 int arg3
= (int) (int)-1 ;
28828 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
28829 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
28830 wxSize
const &arg5_defvalue
= wxDefaultSize
;
28831 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
28832 long arg6
= (long) 0 ;
28836 PyObject
* obj0
= 0 ;
28837 PyObject
* obj1
= 0 ;
28838 PyObject
* obj2
= 0 ;
28839 PyObject
* obj3
= 0 ;
28840 PyObject
* obj4
= 0 ;
28841 PyObject
* obj5
= 0 ;
28842 char *kwnames
[] = {
28843 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
28846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
28847 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirFilterListCtrl
,
28848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28849 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGenericDirCtrl
,
28850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28852 arg3
= (int const) SWIG_AsInt(obj2
);
28853 if (PyErr_Occurred()) SWIG_fail
;
28858 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
28864 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
28868 arg6
= (long) SWIG_AsLong(obj5
);
28869 if (PyErr_Occurred()) SWIG_fail
;
28872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28873 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
28875 wxPyEndAllowThreads(__tstate
);
28876 if (PyErr_Occurred()) SWIG_fail
;
28879 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28887 static PyObject
*_wrap_DirFilterListCtrl_FillFilterList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28888 PyObject
*resultobj
;
28889 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
28890 wxString
*arg2
= 0 ;
28892 bool temp2
= False
;
28893 PyObject
* obj0
= 0 ;
28894 PyObject
* obj1
= 0 ;
28895 PyObject
* obj2
= 0 ;
28896 char *kwnames
[] = {
28897 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
28900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28901 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirFilterListCtrl
,
28902 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28904 arg2
= wxString_in_helper(obj1
);
28905 if (arg2
== NULL
) SWIG_fail
;
28908 arg3
= (int) SWIG_AsInt(obj2
);
28909 if (PyErr_Occurred()) SWIG_fail
;
28911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28912 (arg1
)->FillFilterList((wxString
const &)*arg2
,arg3
);
28914 wxPyEndAllowThreads(__tstate
);
28915 if (PyErr_Occurred()) SWIG_fail
;
28917 Py_INCREF(Py_None
); resultobj
= Py_None
;
28932 static PyObject
* DirFilterListCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
28934 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28935 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl
, obj
);
28937 return Py_BuildValue((char *)"");
28939 static PyObject
*_wrap_new_PyControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28940 PyObject
*resultobj
;
28941 wxWindow
*arg1
= (wxWindow
*) 0 ;
28943 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28944 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28945 wxSize
const &arg4_defvalue
= wxDefaultSize
;
28946 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
28947 long arg5
= (long) 0 ;
28948 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
28949 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
28950 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
28951 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28952 wxPyControl
*result
;
28955 bool temp7
= False
;
28956 PyObject
* obj0
= 0 ;
28957 PyObject
* obj1
= 0 ;
28958 PyObject
* obj2
= 0 ;
28959 PyObject
* obj3
= 0 ;
28960 PyObject
* obj4
= 0 ;
28961 PyObject
* obj5
= 0 ;
28962 PyObject
* obj6
= 0 ;
28963 char *kwnames
[] = {
28964 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:new_PyControl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
28968 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28969 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28970 arg2
= (int const) SWIG_AsInt(obj1
);
28971 if (PyErr_Occurred()) SWIG_fail
;
28975 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28981 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
28985 arg5
= (long) SWIG_AsLong(obj4
);
28986 if (PyErr_Occurred()) SWIG_fail
;
28989 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
28990 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28992 if (arg6
== NULL
) {
28993 PyErr_SetString(PyExc_TypeError
,"null reference");
28999 arg7
= wxString_in_helper(obj6
);
29000 if (arg7
== NULL
) SWIG_fail
;
29005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29006 result
= (wxPyControl
*)new wxPyControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
29008 wxPyEndAllowThreads(__tstate
);
29009 if (PyErr_Occurred()) SWIG_fail
;
29011 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControl
, 1);
29026 static PyObject
*_wrap_new_PrePyControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29027 PyObject
*resultobj
;
29028 wxPyControl
*result
;
29029 char *kwnames
[] = {
29033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyControl",kwnames
)) goto fail
;
29035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29036 result
= (wxPyControl
*)new wxPyControl();
29038 wxPyEndAllowThreads(__tstate
);
29039 if (PyErr_Occurred()) SWIG_fail
;
29041 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControl
, 1);
29048 static PyObject
*_wrap_PyControl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29049 PyObject
*resultobj
;
29050 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29051 PyObject
*arg2
= (PyObject
*) 0 ;
29052 PyObject
*arg3
= (PyObject
*) 0 ;
29053 PyObject
* obj0
= 0 ;
29054 PyObject
* obj1
= 0 ;
29055 PyObject
* obj2
= 0 ;
29056 char *kwnames
[] = {
29057 (char *) "self",(char *) "self",(char *) "_class", NULL
29060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29061 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29067 (arg1
)->_setCallbackInfo(arg2
,arg3
);
29069 wxPyEndAllowThreads(__tstate
);
29070 if (PyErr_Occurred()) SWIG_fail
;
29072 Py_INCREF(Py_None
); resultobj
= Py_None
;
29079 static PyObject
*_wrap_PyControl_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29080 PyObject
*resultobj
;
29081 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29086 PyObject
* obj0
= 0 ;
29087 PyObject
* obj1
= 0 ;
29088 PyObject
* obj2
= 0 ;
29089 PyObject
* obj3
= 0 ;
29090 PyObject
* obj4
= 0 ;
29091 char *kwnames
[] = {
29092 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
29095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyControl_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29096 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29098 arg2
= (int) SWIG_AsInt(obj1
);
29099 if (PyErr_Occurred()) SWIG_fail
;
29100 arg3
= (int) SWIG_AsInt(obj2
);
29101 if (PyErr_Occurred()) SWIG_fail
;
29102 arg4
= (int) SWIG_AsInt(obj3
);
29103 if (PyErr_Occurred()) SWIG_fail
;
29104 arg5
= (int) SWIG_AsInt(obj4
);
29105 if (PyErr_Occurred()) SWIG_fail
;
29107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29108 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
29110 wxPyEndAllowThreads(__tstate
);
29111 if (PyErr_Occurred()) SWIG_fail
;
29113 Py_INCREF(Py_None
); resultobj
= Py_None
;
29120 static PyObject
*_wrap_PyControl_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29121 PyObject
*resultobj
;
29122 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29127 int arg6
= (int) wxSIZE_AUTO
;
29128 PyObject
* obj0
= 0 ;
29129 PyObject
* obj1
= 0 ;
29130 PyObject
* obj2
= 0 ;
29131 PyObject
* obj3
= 0 ;
29132 PyObject
* obj4
= 0 ;
29133 PyObject
* obj5
= 0 ;
29134 char *kwnames
[] = {
29135 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
29138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyControl_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
29139 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29141 arg2
= (int) SWIG_AsInt(obj1
);
29142 if (PyErr_Occurred()) SWIG_fail
;
29143 arg3
= (int) SWIG_AsInt(obj2
);
29144 if (PyErr_Occurred()) SWIG_fail
;
29145 arg4
= (int) SWIG_AsInt(obj3
);
29146 if (PyErr_Occurred()) SWIG_fail
;
29147 arg5
= (int) SWIG_AsInt(obj4
);
29148 if (PyErr_Occurred()) SWIG_fail
;
29150 arg6
= (int) SWIG_AsInt(obj5
);
29151 if (PyErr_Occurred()) SWIG_fail
;
29154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29155 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
29157 wxPyEndAllowThreads(__tstate
);
29158 if (PyErr_Occurred()) SWIG_fail
;
29160 Py_INCREF(Py_None
); resultobj
= Py_None
;
29167 static PyObject
*_wrap_PyControl_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29168 PyObject
*resultobj
;
29169 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29172 PyObject
* obj0
= 0 ;
29173 PyObject
* obj1
= 0 ;
29174 PyObject
* obj2
= 0 ;
29175 char *kwnames
[] = {
29176 (char *) "self",(char *) "width",(char *) "height", NULL
29179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29182 arg2
= (int) SWIG_AsInt(obj1
);
29183 if (PyErr_Occurred()) SWIG_fail
;
29184 arg3
= (int) SWIG_AsInt(obj2
);
29185 if (PyErr_Occurred()) SWIG_fail
;
29187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29188 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
29190 wxPyEndAllowThreads(__tstate
);
29191 if (PyErr_Occurred()) SWIG_fail
;
29193 Py_INCREF(Py_None
); resultobj
= Py_None
;
29200 static PyObject
*_wrap_PyControl_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29201 PyObject
*resultobj
;
29202 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29205 PyObject
* obj0
= 0 ;
29206 PyObject
* obj1
= 0 ;
29207 PyObject
* obj2
= 0 ;
29208 char *kwnames
[] = {
29209 (char *) "self",(char *) "x",(char *) "y", NULL
29212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29215 arg2
= (int) SWIG_AsInt(obj1
);
29216 if (PyErr_Occurred()) SWIG_fail
;
29217 arg3
= (int) SWIG_AsInt(obj2
);
29218 if (PyErr_Occurred()) SWIG_fail
;
29220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29221 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
29223 wxPyEndAllowThreads(__tstate
);
29224 if (PyErr_Occurred()) SWIG_fail
;
29226 Py_INCREF(Py_None
); resultobj
= Py_None
;
29233 static PyObject
*_wrap_PyControl_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29234 PyObject
*resultobj
;
29235 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29236 int *arg2
= (int *) 0 ;
29237 int *arg3
= (int *) 0 ;
29240 PyObject
* obj0
= 0 ;
29241 char *kwnames
[] = {
29242 (char *) "self", NULL
29247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
29248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29252 ((wxPyControl
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
29254 wxPyEndAllowThreads(__tstate
);
29255 if (PyErr_Occurred()) SWIG_fail
;
29257 Py_INCREF(Py_None
); resultobj
= Py_None
;
29259 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
29260 resultobj
= t_output_helper(resultobj
,o
);
29263 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
29264 resultobj
= t_output_helper(resultobj
,o
);
29272 static PyObject
*_wrap_PyControl_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29273 PyObject
*resultobj
;
29274 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29275 int *arg2
= (int *) 0 ;
29276 int *arg3
= (int *) 0 ;
29279 PyObject
* obj0
= 0 ;
29280 char *kwnames
[] = {
29281 (char *) "self", NULL
29286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
29287 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29291 ((wxPyControl
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
29293 wxPyEndAllowThreads(__tstate
);
29294 if (PyErr_Occurred()) SWIG_fail
;
29296 Py_INCREF(Py_None
); resultobj
= Py_None
;
29298 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
29299 resultobj
= t_output_helper(resultobj
,o
);
29302 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
29303 resultobj
= t_output_helper(resultobj
,o
);
29311 static PyObject
*_wrap_PyControl_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29312 PyObject
*resultobj
;
29313 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29314 int *arg2
= (int *) 0 ;
29315 int *arg3
= (int *) 0 ;
29318 PyObject
* obj0
= 0 ;
29319 char *kwnames
[] = {
29320 (char *) "self", NULL
29325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
29326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29330 ((wxPyControl
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
29332 wxPyEndAllowThreads(__tstate
);
29333 if (PyErr_Occurred()) SWIG_fail
;
29335 Py_INCREF(Py_None
); resultobj
= Py_None
;
29337 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
29338 resultobj
= t_output_helper(resultobj
,o
);
29341 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
29342 resultobj
= t_output_helper(resultobj
,o
);
29350 static PyObject
*_wrap_PyControl_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29351 PyObject
*resultobj
;
29352 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29354 PyObject
* obj0
= 0 ;
29355 char *kwnames
[] = {
29356 (char *) "self", NULL
29359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
29360 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29364 result
= ((wxPyControl
const *)arg1
)->base_DoGetVirtualSize();
29366 wxPyEndAllowThreads(__tstate
);
29367 if (PyErr_Occurred()) SWIG_fail
;
29370 wxSize
* resultptr
;
29371 resultptr
= new wxSize((wxSize
&) result
);
29372 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
29380 static PyObject
*_wrap_PyControl_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29381 PyObject
*resultobj
;
29382 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29384 PyObject
* obj0
= 0 ;
29385 char *kwnames
[] = {
29386 (char *) "self", NULL
29389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
29390 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29394 result
= ((wxPyControl
const *)arg1
)->base_DoGetBestSize();
29396 wxPyEndAllowThreads(__tstate
);
29397 if (PyErr_Occurred()) SWIG_fail
;
29400 wxSize
* resultptr
;
29401 resultptr
= new wxSize((wxSize
&) result
);
29402 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
29410 static PyObject
*_wrap_PyControl_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29411 PyObject
*resultobj
;
29412 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29413 PyObject
* obj0
= 0 ;
29414 char *kwnames
[] = {
29415 (char *) "self", NULL
29418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_InitDialog",kwnames
,&obj0
)) goto fail
;
29419 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29420 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29423 (arg1
)->base_InitDialog();
29425 wxPyEndAllowThreads(__tstate
);
29426 if (PyErr_Occurred()) SWIG_fail
;
29428 Py_INCREF(Py_None
); resultobj
= Py_None
;
29435 static PyObject
*_wrap_PyControl_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29436 PyObject
*resultobj
;
29437 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29439 PyObject
* obj0
= 0 ;
29440 char *kwnames
[] = {
29441 (char *) "self", NULL
29444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
29445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29449 result
= (bool)(arg1
)->base_TransferDataToWindow();
29451 wxPyEndAllowThreads(__tstate
);
29452 if (PyErr_Occurred()) SWIG_fail
;
29455 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29463 static PyObject
*_wrap_PyControl_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29464 PyObject
*resultobj
;
29465 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29467 PyObject
* obj0
= 0 ;
29468 char *kwnames
[] = {
29469 (char *) "self", NULL
29472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
29473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29477 result
= (bool)(arg1
)->base_TransferDataFromWindow();
29479 wxPyEndAllowThreads(__tstate
);
29480 if (PyErr_Occurred()) SWIG_fail
;
29483 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29491 static PyObject
*_wrap_PyControl_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29492 PyObject
*resultobj
;
29493 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29495 PyObject
* obj0
= 0 ;
29496 char *kwnames
[] = {
29497 (char *) "self", NULL
29500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_Validate",kwnames
,&obj0
)) goto fail
;
29501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29505 result
= (bool)(arg1
)->base_Validate();
29507 wxPyEndAllowThreads(__tstate
);
29508 if (PyErr_Occurred()) SWIG_fail
;
29511 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29519 static PyObject
*_wrap_PyControl_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29520 PyObject
*resultobj
;
29521 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29523 PyObject
* obj0
= 0 ;
29524 char *kwnames
[] = {
29525 (char *) "self", NULL
29528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
29529 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29533 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocus();
29535 wxPyEndAllowThreads(__tstate
);
29536 if (PyErr_Occurred()) SWIG_fail
;
29539 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29547 static PyObject
*_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29548 PyObject
*resultobj
;
29549 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29551 PyObject
* obj0
= 0 ;
29552 char *kwnames
[] = {
29553 (char *) "self", NULL
29556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
29557 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29561 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocusFromKeyboard();
29563 wxPyEndAllowThreads(__tstate
);
29564 if (PyErr_Occurred()) SWIG_fail
;
29567 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29575 static PyObject
*_wrap_PyControl_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29576 PyObject
*resultobj
;
29577 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29579 PyObject
* obj0
= 0 ;
29580 char *kwnames
[] = {
29581 (char *) "self", NULL
29584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
29585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29589 result
= ((wxPyControl
const *)arg1
)->base_GetMaxSize();
29591 wxPyEndAllowThreads(__tstate
);
29592 if (PyErr_Occurred()) SWIG_fail
;
29595 wxSize
* resultptr
;
29596 resultptr
= new wxSize((wxSize
&) result
);
29597 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
29605 static PyObject
*_wrap_PyControl_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29606 PyObject
*resultobj
;
29607 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29608 wxWindow
*arg2
= (wxWindow
*) 0 ;
29609 PyObject
* obj0
= 0 ;
29610 PyObject
* obj1
= 0 ;
29611 char *kwnames
[] = {
29612 (char *) "self",(char *) "child", NULL
29615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
29616 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29618 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29622 (arg1
)->base_AddChild(arg2
);
29624 wxPyEndAllowThreads(__tstate
);
29625 if (PyErr_Occurred()) SWIG_fail
;
29627 Py_INCREF(Py_None
); resultobj
= Py_None
;
29634 static PyObject
*_wrap_PyControl_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29635 PyObject
*resultobj
;
29636 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29637 wxWindow
*arg2
= (wxWindow
*) 0 ;
29638 PyObject
* obj0
= 0 ;
29639 PyObject
* obj1
= 0 ;
29640 char *kwnames
[] = {
29641 (char *) "self",(char *) "child", NULL
29644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
29645 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29646 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29647 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29651 (arg1
)->base_RemoveChild(arg2
);
29653 wxPyEndAllowThreads(__tstate
);
29654 if (PyErr_Occurred()) SWIG_fail
;
29656 Py_INCREF(Py_None
); resultobj
= Py_None
;
29663 static PyObject
*_wrap_PyControl_base_ShouldInheritColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29664 PyObject
*resultobj
;
29665 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29667 PyObject
* obj0
= 0 ;
29668 char *kwnames
[] = {
29669 (char *) "self", NULL
29672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
29673 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29677 result
= (bool)(arg1
)->base_ShouldInheritColours();
29679 wxPyEndAllowThreads(__tstate
);
29680 if (PyErr_Occurred()) SWIG_fail
;
29683 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29691 static PyObject
*_wrap_PyControl_base_ApplyParentThemeBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29692 PyObject
*resultobj
;
29693 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29694 wxColour
*arg2
= 0 ;
29696 PyObject
* obj0
= 0 ;
29697 PyObject
* obj1
= 0 ;
29698 char *kwnames
[] = {
29699 (char *) "self",(char *) "c", NULL
29702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
29703 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29707 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29711 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
29713 wxPyEndAllowThreads(__tstate
);
29714 if (PyErr_Occurred()) SWIG_fail
;
29716 Py_INCREF(Py_None
); resultobj
= Py_None
;
29723 static PyObject
* PyControl_swigregister(PyObject
*self
, PyObject
*args
) {
29725 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29726 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl
, obj
);
29728 return Py_BuildValue((char *)"");
29730 static PyObject
*_wrap_new_HelpEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29731 PyObject
*resultobj
;
29732 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
29733 int arg2
= (int) 0 ;
29734 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
29735 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
29736 wxHelpEvent
*result
;
29738 PyObject
* obj0
= 0 ;
29739 PyObject
* obj1
= 0 ;
29740 PyObject
* obj2
= 0 ;
29741 char *kwnames
[] = {
29742 (char *) "type",(char *) "winid",(char *) "pt", NULL
29745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_HelpEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29747 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
29748 if (PyErr_Occurred()) SWIG_fail
;
29751 arg2
= (int) SWIG_AsInt(obj1
);
29752 if (PyErr_Occurred()) SWIG_fail
;
29757 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29762 result
= (wxHelpEvent
*)new wxHelpEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
29764 wxPyEndAllowThreads(__tstate
);
29765 if (PyErr_Occurred()) SWIG_fail
;
29767 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpEvent
, 1);
29774 static PyObject
*_wrap_HelpEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29775 PyObject
*resultobj
;
29776 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
29778 PyObject
* obj0
= 0 ;
29779 char *kwnames
[] = {
29780 (char *) "self", NULL
29783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
29784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
29785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29788 result
= ((wxHelpEvent
const *)arg1
)->GetPosition();
29790 wxPyEndAllowThreads(__tstate
);
29791 if (PyErr_Occurred()) SWIG_fail
;
29794 wxPoint
* resultptr
;
29795 resultptr
= new wxPoint((wxPoint
&) result
);
29796 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
29804 static PyObject
*_wrap_HelpEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29805 PyObject
*resultobj
;
29806 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
29807 wxPoint
*arg2
= 0 ;
29809 PyObject
* obj0
= 0 ;
29810 PyObject
* obj1
= 0 ;
29811 char *kwnames
[] = {
29812 (char *) "self",(char *) "pos", NULL
29815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
29816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
29817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29820 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29824 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
29826 wxPyEndAllowThreads(__tstate
);
29827 if (PyErr_Occurred()) SWIG_fail
;
29829 Py_INCREF(Py_None
); resultobj
= Py_None
;
29836 static PyObject
*_wrap_HelpEvent_GetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29837 PyObject
*resultobj
;
29838 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
29840 PyObject
* obj0
= 0 ;
29841 char *kwnames
[] = {
29842 (char *) "self", NULL
29845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetLink",kwnames
,&obj0
)) goto fail
;
29846 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
29847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29851 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetLink();
29852 result
= (wxString
*) &_result_ref
;
29855 wxPyEndAllowThreads(__tstate
);
29856 if (PyErr_Occurred()) SWIG_fail
;
29860 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
29862 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
29871 static PyObject
*_wrap_HelpEvent_SetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29872 PyObject
*resultobj
;
29873 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
29874 wxString
*arg2
= 0 ;
29875 bool temp2
= False
;
29876 PyObject
* obj0
= 0 ;
29877 PyObject
* obj1
= 0 ;
29878 char *kwnames
[] = {
29879 (char *) "self",(char *) "link", NULL
29882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",kwnames
,&obj0
,&obj1
)) goto fail
;
29883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
29884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29886 arg2
= wxString_in_helper(obj1
);
29887 if (arg2
== NULL
) SWIG_fail
;
29891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29892 (arg1
)->SetLink((wxString
const &)*arg2
);
29894 wxPyEndAllowThreads(__tstate
);
29895 if (PyErr_Occurred()) SWIG_fail
;
29897 Py_INCREF(Py_None
); resultobj
= Py_None
;
29912 static PyObject
*_wrap_HelpEvent_GetTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29913 PyObject
*resultobj
;
29914 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
29916 PyObject
* obj0
= 0 ;
29917 char *kwnames
[] = {
29918 (char *) "self", NULL
29921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetTarget",kwnames
,&obj0
)) goto fail
;
29922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
29923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29927 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetTarget();
29928 result
= (wxString
*) &_result_ref
;
29931 wxPyEndAllowThreads(__tstate
);
29932 if (PyErr_Occurred()) SWIG_fail
;
29936 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
29938 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
29947 static PyObject
*_wrap_HelpEvent_SetTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29948 PyObject
*resultobj
;
29949 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
29950 wxString
*arg2
= 0 ;
29951 bool temp2
= False
;
29952 PyObject
* obj0
= 0 ;
29953 PyObject
* obj1
= 0 ;
29954 char *kwnames
[] = {
29955 (char *) "self",(char *) "target", NULL
29958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
29959 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
29960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29962 arg2
= wxString_in_helper(obj1
);
29963 if (arg2
== NULL
) SWIG_fail
;
29967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29968 (arg1
)->SetTarget((wxString
const &)*arg2
);
29970 wxPyEndAllowThreads(__tstate
);
29971 if (PyErr_Occurred()) SWIG_fail
;
29973 Py_INCREF(Py_None
); resultobj
= Py_None
;
29988 static PyObject
* HelpEvent_swigregister(PyObject
*self
, PyObject
*args
) {
29990 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29991 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent
, obj
);
29993 return Py_BuildValue((char *)"");
29995 static PyObject
*_wrap_new_ContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29996 PyObject
*resultobj
;
29997 wxWindow
*arg1
= (wxWindow
*) NULL
;
29998 bool arg2
= (bool) True
;
29999 wxContextHelp
*result
;
30000 PyObject
* obj0
= 0 ;
30001 PyObject
* obj1
= 0 ;
30002 char *kwnames
[] = {
30003 (char *) "window",(char *) "doNow", NULL
30006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
30008 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
30009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30012 arg2
= (bool) SWIG_AsBool(obj1
);
30013 if (PyErr_Occurred()) SWIG_fail
;
30016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30017 result
= (wxContextHelp
*)new wxContextHelp(arg1
,arg2
);
30019 wxPyEndAllowThreads(__tstate
);
30020 if (PyErr_Occurred()) SWIG_fail
;
30022 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelp
, 1);
30029 static PyObject
*_wrap_delete_ContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30030 PyObject
*resultobj
;
30031 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
30032 PyObject
* obj0
= 0 ;
30033 char *kwnames
[] = {
30034 (char *) "self", NULL
30037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ContextHelp",kwnames
,&obj0
)) goto fail
;
30038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextHelp
,
30039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30044 wxPyEndAllowThreads(__tstate
);
30045 if (PyErr_Occurred()) SWIG_fail
;
30047 Py_INCREF(Py_None
); resultobj
= Py_None
;
30054 static PyObject
*_wrap_ContextHelp_BeginContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30055 PyObject
*resultobj
;
30056 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
30057 wxWindow
*arg2
= (wxWindow
*) NULL
;
30059 PyObject
* obj0
= 0 ;
30060 PyObject
* obj1
= 0 ;
30061 char *kwnames
[] = {
30062 (char *) "self",(char *) "window", NULL
30065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
30066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextHelp
,
30067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30069 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30074 result
= (bool)(arg1
)->BeginContextHelp(arg2
);
30076 wxPyEndAllowThreads(__tstate
);
30077 if (PyErr_Occurred()) SWIG_fail
;
30080 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30088 static PyObject
*_wrap_ContextHelp_EndContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30089 PyObject
*resultobj
;
30090 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
30092 PyObject
* obj0
= 0 ;
30093 char *kwnames
[] = {
30094 (char *) "self", NULL
30097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextHelp_EndContextHelp",kwnames
,&obj0
)) goto fail
;
30098 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextHelp
,
30099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30102 result
= (bool)(arg1
)->EndContextHelp();
30104 wxPyEndAllowThreads(__tstate
);
30105 if (PyErr_Occurred()) SWIG_fail
;
30108 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30116 static PyObject
* ContextHelp_swigregister(PyObject
*self
, PyObject
*args
) {
30118 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30119 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp
, obj
);
30121 return Py_BuildValue((char *)"");
30123 static PyObject
*_wrap_new_ContextHelpButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30124 PyObject
*resultobj
;
30125 wxWindow
*arg1
= (wxWindow
*) 0 ;
30126 int arg2
= (int) wxID_CONTEXT_HELP
;
30127 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
30128 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
30129 wxSize
const &arg4_defvalue
= wxDefaultSize
;
30130 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
30131 long arg5
= (long) wxBU_AUTODRAW
;
30132 wxContextHelpButton
*result
;
30135 PyObject
* obj0
= 0 ;
30136 PyObject
* obj1
= 0 ;
30137 PyObject
* obj2
= 0 ;
30138 PyObject
* obj3
= 0 ;
30139 PyObject
* obj4
= 0 ;
30140 char *kwnames
[] = {
30141 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
30144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_ContextHelpButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30145 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
30146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30148 arg2
= (int) SWIG_AsInt(obj1
);
30149 if (PyErr_Occurred()) SWIG_fail
;
30154 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30160 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
30164 arg5
= (long) SWIG_AsLong(obj4
);
30165 if (PyErr_Occurred()) SWIG_fail
;
30168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30169 result
= (wxContextHelpButton
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
30171 wxPyEndAllowThreads(__tstate
);
30172 if (PyErr_Occurred()) SWIG_fail
;
30174 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelpButton
, 1);
30181 static PyObject
* ContextHelpButton_swigregister(PyObject
*self
, PyObject
*args
) {
30183 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30184 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton
, obj
);
30186 return Py_BuildValue((char *)"");
30188 static PyObject
*_wrap_HelpProvider_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30189 PyObject
*resultobj
;
30190 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30191 wxHelpProvider
*result
;
30192 PyObject
* obj0
= 0 ;
30193 char *kwnames
[] = {
30194 (char *) "helpProvider", NULL
30197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) goto fail
;
30198 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30199 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30202 result
= (wxHelpProvider
*)wxHelpProvider::Set(arg1
);
30204 wxPyEndAllowThreads(__tstate
);
30205 if (PyErr_Occurred()) SWIG_fail
;
30207 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 0);
30214 static PyObject
*_wrap_HelpProvider_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30215 PyObject
*resultobj
;
30216 wxHelpProvider
*result
;
30217 char *kwnames
[] = {
30221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":HelpProvider_Get",kwnames
)) goto fail
;
30223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30224 result
= (wxHelpProvider
*)wxHelpProvider::Get();
30226 wxPyEndAllowThreads(__tstate
);
30227 if (PyErr_Occurred()) SWIG_fail
;
30229 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 0);
30236 static PyObject
*_wrap_HelpProvider_GetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30237 PyObject
*resultobj
;
30238 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30239 wxWindow
*arg2
= (wxWindow
*) 0 ;
30241 PyObject
* obj0
= 0 ;
30242 PyObject
* obj1
= 0 ;
30243 char *kwnames
[] = {
30244 (char *) "self",(char *) "window", NULL
30247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
30248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30250 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30254 result
= (arg1
)->GetHelp((wxWindow
const *)arg2
);
30256 wxPyEndAllowThreads(__tstate
);
30257 if (PyErr_Occurred()) SWIG_fail
;
30261 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30263 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30272 static PyObject
*_wrap_HelpProvider_ShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30273 PyObject
*resultobj
;
30274 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30275 wxWindow
*arg2
= (wxWindow
*) 0 ;
30277 PyObject
* obj0
= 0 ;
30278 PyObject
* obj1
= 0 ;
30279 char *kwnames
[] = {
30280 (char *) "self",(char *) "window", NULL
30283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
30284 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30286 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30290 result
= (bool)(arg1
)->ShowHelp(arg2
);
30292 wxPyEndAllowThreads(__tstate
);
30293 if (PyErr_Occurred()) SWIG_fail
;
30296 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30304 static PyObject
*_wrap_HelpProvider_AddHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30305 PyObject
*resultobj
;
30306 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30307 wxWindow
*arg2
= (wxWindow
*) 0 ;
30308 wxString
*arg3
= 0 ;
30309 bool temp3
= False
;
30310 PyObject
* obj0
= 0 ;
30311 PyObject
* obj1
= 0 ;
30312 PyObject
* obj2
= 0 ;
30313 char *kwnames
[] = {
30314 (char *) "self",(char *) "window",(char *) "text", NULL
30317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30320 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30323 arg3
= wxString_in_helper(obj2
);
30324 if (arg3
== NULL
) SWIG_fail
;
30328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30329 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
30331 wxPyEndAllowThreads(__tstate
);
30332 if (PyErr_Occurred()) SWIG_fail
;
30334 Py_INCREF(Py_None
); resultobj
= Py_None
;
30349 static PyObject
*_wrap_HelpProvider_AddHelpById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30350 PyObject
*resultobj
;
30351 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30353 wxString
*arg3
= 0 ;
30354 bool temp3
= False
;
30355 PyObject
* obj0
= 0 ;
30356 PyObject
* obj1
= 0 ;
30357 PyObject
* obj2
= 0 ;
30358 char *kwnames
[] = {
30359 (char *) "self",(char *) "id",(char *) "text", NULL
30362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelpById",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30363 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30365 arg2
= (int) SWIG_AsInt(obj1
);
30366 if (PyErr_Occurred()) SWIG_fail
;
30368 arg3
= wxString_in_helper(obj2
);
30369 if (arg3
== NULL
) SWIG_fail
;
30373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30374 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
30376 wxPyEndAllowThreads(__tstate
);
30377 if (PyErr_Occurred()) SWIG_fail
;
30379 Py_INCREF(Py_None
); resultobj
= Py_None
;
30394 static PyObject
*_wrap_HelpProvider_RemoveHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30395 PyObject
*resultobj
;
30396 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30397 wxWindow
*arg2
= (wxWindow
*) 0 ;
30398 PyObject
* obj0
= 0 ;
30399 PyObject
* obj1
= 0 ;
30400 char *kwnames
[] = {
30401 (char *) "self",(char *) "window", NULL
30404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_RemoveHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
30405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30407 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30408 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30411 (arg1
)->RemoveHelp(arg2
);
30413 wxPyEndAllowThreads(__tstate
);
30414 if (PyErr_Occurred()) SWIG_fail
;
30416 Py_INCREF(Py_None
); resultobj
= Py_None
;
30423 static PyObject
*_wrap_HelpProvider_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30424 PyObject
*resultobj
;
30425 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30426 PyObject
* obj0
= 0 ;
30427 char *kwnames
[] = {
30428 (char *) "self", NULL
30431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Destroy",kwnames
,&obj0
)) goto fail
;
30432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30436 wxHelpProvider_Destroy(arg1
);
30438 wxPyEndAllowThreads(__tstate
);
30439 if (PyErr_Occurred()) SWIG_fail
;
30441 Py_INCREF(Py_None
); resultobj
= Py_None
;
30448 static PyObject
* HelpProvider_swigregister(PyObject
*self
, PyObject
*args
) {
30450 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30451 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider
, obj
);
30453 return Py_BuildValue((char *)"");
30455 static PyObject
*_wrap_new_SimpleHelpProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30456 PyObject
*resultobj
;
30457 wxSimpleHelpProvider
*result
;
30458 char *kwnames
[] = {
30462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SimpleHelpProvider",kwnames
)) goto fail
;
30464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30465 result
= (wxSimpleHelpProvider
*)new wxSimpleHelpProvider();
30467 wxPyEndAllowThreads(__tstate
);
30468 if (PyErr_Occurred()) SWIG_fail
;
30470 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSimpleHelpProvider
, 1);
30477 static PyObject
* SimpleHelpProvider_swigregister(PyObject
*self
, PyObject
*args
) {
30479 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30480 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider
, obj
);
30482 return Py_BuildValue((char *)"");
30484 static PyObject
*_wrap_new_DragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30485 PyObject
*resultobj
;
30486 wxBitmap
*arg1
= 0 ;
30487 wxCursor
const &arg2_defvalue
= wxNullCursor
;
30488 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
30489 wxGenericDragImage
*result
;
30490 PyObject
* obj0
= 0 ;
30491 PyObject
* obj1
= 0 ;
30492 char *kwnames
[] = {
30493 (char *) "image",(char *) "cursor", NULL
30496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) goto fail
;
30497 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
30498 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30500 if (arg1
== NULL
) {
30501 PyErr_SetString(PyExc_TypeError
,"null reference");
30505 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
30506 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30508 if (arg2
== NULL
) {
30509 PyErr_SetString(PyExc_TypeError
,"null reference");
30514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30515 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxBitmap
const &)*arg1
,(wxCursor
const &)*arg2
);
30517 wxPyEndAllowThreads(__tstate
);
30518 if (PyErr_Occurred()) SWIG_fail
;
30520 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
30527 static PyObject
*_wrap_new_DragIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30528 PyObject
*resultobj
;
30530 wxCursor
const &arg2_defvalue
= wxNullCursor
;
30531 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
30532 wxGenericDragImage
*result
;
30533 PyObject
* obj0
= 0 ;
30534 PyObject
* obj1
= 0 ;
30535 char *kwnames
[] = {
30536 (char *) "image",(char *) "cursor", NULL
30539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
30540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
30541 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30543 if (arg1
== NULL
) {
30544 PyErr_SetString(PyExc_TypeError
,"null reference");
30548 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
30549 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30551 if (arg2
== NULL
) {
30552 PyErr_SetString(PyExc_TypeError
,"null reference");
30557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30558 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxIcon
const &)*arg1
,(wxCursor
const &)*arg2
);
30560 wxPyEndAllowThreads(__tstate
);
30561 if (PyErr_Occurred()) SWIG_fail
;
30563 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
30570 static PyObject
*_wrap_new_DragString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30571 PyObject
*resultobj
;
30572 wxString
*arg1
= 0 ;
30573 wxCursor
const &arg2_defvalue
= wxNullCursor
;
30574 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
30575 wxGenericDragImage
*result
;
30576 bool temp1
= False
;
30577 PyObject
* obj0
= 0 ;
30578 PyObject
* obj1
= 0 ;
30579 char *kwnames
[] = {
30580 (char *) "str",(char *) "cursor", NULL
30583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) goto fail
;
30585 arg1
= wxString_in_helper(obj0
);
30586 if (arg1
== NULL
) SWIG_fail
;
30590 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
30591 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30593 if (arg2
== NULL
) {
30594 PyErr_SetString(PyExc_TypeError
,"null reference");
30599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30600 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxString
const &)*arg1
,(wxCursor
const &)*arg2
);
30602 wxPyEndAllowThreads(__tstate
);
30603 if (PyErr_Occurred()) SWIG_fail
;
30605 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
30620 static PyObject
*_wrap_new_DragTreeItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30621 PyObject
*resultobj
;
30622 wxPyTreeCtrl
*arg1
= 0 ;
30623 wxTreeItemId
*arg2
= 0 ;
30624 wxGenericDragImage
*result
;
30625 PyObject
* obj0
= 0 ;
30626 PyObject
* obj1
= 0 ;
30627 char *kwnames
[] = {
30628 (char *) "treeCtrl",(char *) "id", NULL
30631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30632 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
30633 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30635 if (arg1
== NULL
) {
30636 PyErr_SetString(PyExc_TypeError
,"null reference");
30639 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
30640 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30642 if (arg2
== NULL
) {
30643 PyErr_SetString(PyExc_TypeError
,"null reference");
30647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30648 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyTreeCtrl
const &)*arg1
,*arg2
);
30650 wxPyEndAllowThreads(__tstate
);
30651 if (PyErr_Occurred()) SWIG_fail
;
30653 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
30660 static PyObject
*_wrap_new_DragListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30661 PyObject
*resultobj
;
30662 wxPyListCtrl
*arg1
= 0 ;
30664 wxGenericDragImage
*result
;
30665 PyObject
* obj0
= 0 ;
30666 PyObject
* obj1
= 0 ;
30667 char *kwnames
[] = {
30668 (char *) "listCtrl",(char *) "id", NULL
30671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragListItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
30673 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30675 if (arg1
== NULL
) {
30676 PyErr_SetString(PyExc_TypeError
,"null reference");
30679 arg2
= (long) SWIG_AsLong(obj1
);
30680 if (PyErr_Occurred()) SWIG_fail
;
30682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30683 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyListCtrl
const &)*arg1
,arg2
);
30685 wxPyEndAllowThreads(__tstate
);
30686 if (PyErr_Occurred()) SWIG_fail
;
30688 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
30695 static PyObject
*_wrap_delete_DragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30696 PyObject
*resultobj
;
30697 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30698 PyObject
* obj0
= 0 ;
30699 char *kwnames
[] = {
30700 (char *) "self", NULL
30703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DragImage",kwnames
,&obj0
)) goto fail
;
30704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30710 wxPyEndAllowThreads(__tstate
);
30711 if (PyErr_Occurred()) SWIG_fail
;
30713 Py_INCREF(Py_None
); resultobj
= Py_None
;
30720 static PyObject
*_wrap_DragImage_SetBackingBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30721 PyObject
*resultobj
;
30722 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30723 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
30724 PyObject
* obj0
= 0 ;
30725 PyObject
* obj1
= 0 ;
30726 char *kwnames
[] = {
30727 (char *) "self",(char *) "bitmap", NULL
30730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
30731 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30733 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
30734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30737 (arg1
)->SetBackingBitmap(arg2
);
30739 wxPyEndAllowThreads(__tstate
);
30740 if (PyErr_Occurred()) SWIG_fail
;
30742 Py_INCREF(Py_None
); resultobj
= Py_None
;
30749 static PyObject
*_wrap_DragImage_BeginDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30750 PyObject
*resultobj
;
30751 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30752 wxPoint
*arg2
= 0 ;
30753 wxWindow
*arg3
= (wxWindow
*) 0 ;
30754 bool arg4
= (bool) False
;
30755 wxRect
*arg5
= (wxRect
*) NULL
;
30758 PyObject
* obj0
= 0 ;
30759 PyObject
* obj1
= 0 ;
30760 PyObject
* obj2
= 0 ;
30761 PyObject
* obj3
= 0 ;
30762 PyObject
* obj4
= 0 ;
30763 char *kwnames
[] = {
30764 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
30767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30768 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30772 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30774 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
30775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30777 arg4
= (bool) SWIG_AsBool(obj3
);
30778 if (PyErr_Occurred()) SWIG_fail
;
30781 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxRect
,
30782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30786 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
,arg5
);
30788 wxPyEndAllowThreads(__tstate
);
30789 if (PyErr_Occurred()) SWIG_fail
;
30792 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30800 static PyObject
*_wrap_DragImage_BeginDragBounded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30801 PyObject
*resultobj
;
30802 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30803 wxPoint
*arg2
= 0 ;
30804 wxWindow
*arg3
= (wxWindow
*) 0 ;
30805 wxWindow
*arg4
= (wxWindow
*) 0 ;
30808 PyObject
* obj0
= 0 ;
30809 PyObject
* obj1
= 0 ;
30810 PyObject
* obj2
= 0 ;
30811 PyObject
* obj3
= 0 ;
30812 char *kwnames
[] = {
30813 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
30816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30817 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30821 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30823 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
30824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30825 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
30826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30829 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
);
30831 wxPyEndAllowThreads(__tstate
);
30832 if (PyErr_Occurred()) SWIG_fail
;
30835 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30843 static PyObject
*_wrap_DragImage_EndDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30844 PyObject
*resultobj
;
30845 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30847 PyObject
* obj0
= 0 ;
30848 char *kwnames
[] = {
30849 (char *) "self", NULL
30852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_EndDrag",kwnames
,&obj0
)) goto fail
;
30853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30857 result
= (bool)(arg1
)->EndDrag();
30859 wxPyEndAllowThreads(__tstate
);
30860 if (PyErr_Occurred()) SWIG_fail
;
30863 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30871 static PyObject
*_wrap_DragImage_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30872 PyObject
*resultobj
;
30873 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30874 wxPoint
*arg2
= 0 ;
30877 PyObject
* obj0
= 0 ;
30878 PyObject
* obj1
= 0 ;
30879 char *kwnames
[] = {
30880 (char *) "self",(char *) "pt", NULL
30883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
30884 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30888 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30892 result
= (bool)(arg1
)->Move((wxPoint
const &)*arg2
);
30894 wxPyEndAllowThreads(__tstate
);
30895 if (PyErr_Occurred()) SWIG_fail
;
30898 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30906 static PyObject
*_wrap_DragImage_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30907 PyObject
*resultobj
;
30908 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30910 PyObject
* obj0
= 0 ;
30911 char *kwnames
[] = {
30912 (char *) "self", NULL
30915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Show",kwnames
,&obj0
)) goto fail
;
30916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30920 result
= (bool)(arg1
)->Show();
30922 wxPyEndAllowThreads(__tstate
);
30923 if (PyErr_Occurred()) SWIG_fail
;
30926 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30934 static PyObject
*_wrap_DragImage_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30935 PyObject
*resultobj
;
30936 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30938 PyObject
* obj0
= 0 ;
30939 char *kwnames
[] = {
30940 (char *) "self", NULL
30943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Hide",kwnames
,&obj0
)) goto fail
;
30944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30948 result
= (bool)(arg1
)->Hide();
30950 wxPyEndAllowThreads(__tstate
);
30951 if (PyErr_Occurred()) SWIG_fail
;
30954 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30962 static PyObject
*_wrap_DragImage_GetImageRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30963 PyObject
*resultobj
;
30964 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30965 wxPoint
*arg2
= 0 ;
30968 PyObject
* obj0
= 0 ;
30969 PyObject
* obj1
= 0 ;
30970 char *kwnames
[] = {
30971 (char *) "self",(char *) "pos", NULL
30974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) goto fail
;
30975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30979 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30983 result
= ((wxGenericDragImage
const *)arg1
)->GetImageRect((wxPoint
const &)*arg2
);
30985 wxPyEndAllowThreads(__tstate
);
30986 if (PyErr_Occurred()) SWIG_fail
;
30989 wxRect
* resultptr
;
30990 resultptr
= new wxRect((wxRect
&) result
);
30991 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
30999 static PyObject
*_wrap_DragImage_DoDrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31000 PyObject
*resultobj
;
31001 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31003 wxPoint
*arg3
= 0 ;
31006 PyObject
* obj0
= 0 ;
31007 PyObject
* obj1
= 0 ;
31008 PyObject
* obj2
= 0 ;
31009 char *kwnames
[] = {
31010 (char *) "self",(char *) "dc",(char *) "pos", NULL
31013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31014 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31016 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
31017 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31019 if (arg2
== NULL
) {
31020 PyErr_SetString(PyExc_TypeError
,"null reference");
31025 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
31028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31029 result
= (bool)((wxGenericDragImage
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint
const &)*arg3
);
31031 wxPyEndAllowThreads(__tstate
);
31032 if (PyErr_Occurred()) SWIG_fail
;
31035 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31043 static PyObject
*_wrap_DragImage_UpdateBackingFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31044 PyObject
*resultobj
;
31045 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31047 wxMemoryDC
*arg3
= 0 ;
31053 PyObject
* obj0
= 0 ;
31054 PyObject
* obj1
= 0 ;
31055 PyObject
* obj2
= 0 ;
31056 PyObject
* obj3
= 0 ;
31057 PyObject
* obj4
= 0 ;
31058 char *kwnames
[] = {
31059 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
31062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
31063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31065 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
31066 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31068 if (arg2
== NULL
) {
31069 PyErr_SetString(PyExc_TypeError
,"null reference");
31072 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMemoryDC
,
31073 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31075 if (arg3
== NULL
) {
31076 PyErr_SetString(PyExc_TypeError
,"null reference");
31081 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
31085 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
31088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31089 result
= (bool)((wxGenericDragImage
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect
const &)*arg4
,(wxRect
const &)*arg5
);
31091 wxPyEndAllowThreads(__tstate
);
31092 if (PyErr_Occurred()) SWIG_fail
;
31095 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31103 static PyObject
*_wrap_DragImage_RedrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31104 PyObject
*resultobj
;
31105 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31106 wxPoint
*arg2
= 0 ;
31107 wxPoint
*arg3
= 0 ;
31113 PyObject
* obj0
= 0 ;
31114 PyObject
* obj1
= 0 ;
31115 PyObject
* obj2
= 0 ;
31116 PyObject
* obj3
= 0 ;
31117 PyObject
* obj4
= 0 ;
31118 char *kwnames
[] = {
31119 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
31122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
31123 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31127 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31131 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
31133 arg4
= (bool) SWIG_AsBool(obj3
);
31134 if (PyErr_Occurred()) SWIG_fail
;
31135 arg5
= (bool) SWIG_AsBool(obj4
);
31136 if (PyErr_Occurred()) SWIG_fail
;
31138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31139 result
= (bool)(arg1
)->RedrawImage((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
31141 wxPyEndAllowThreads(__tstate
);
31142 if (PyErr_Occurred()) SWIG_fail
;
31145 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31153 static PyObject
* DragImage_swigregister(PyObject
*self
, PyObject
*args
) {
31155 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31156 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage
, obj
);
31158 return Py_BuildValue((char *)"");
31160 static PyMethodDef SwigMethods
[] = {
31161 { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS
| METH_KEYWORDS
},
31162 { (char *)"new_PreButton", (PyCFunction
) _wrap_new_PreButton
, METH_VARARGS
| METH_KEYWORDS
},
31163 { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS
| METH_KEYWORDS
},
31164 { (char *)"Button_SetDefault", (PyCFunction
) _wrap_Button_SetDefault
, METH_VARARGS
| METH_KEYWORDS
},
31165 { (char *)"Button_GetDefaultSize", (PyCFunction
) _wrap_Button_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
31166 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction
) _wrap_Button_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31167 { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS
},
31168 { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS
| METH_KEYWORDS
},
31169 { (char *)"new_PreBitmapButton", (PyCFunction
) _wrap_new_PreBitmapButton
, METH_VARARGS
| METH_KEYWORDS
},
31170 { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
31171 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_GetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
31172 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_GetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
31173 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_GetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
31174 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_GetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
31175 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
31176 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
31177 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
31178 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
31179 { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
31180 { (char *)"BitmapButton_GetMarginX", (PyCFunction
) _wrap_BitmapButton_GetMarginX
, METH_VARARGS
| METH_KEYWORDS
},
31181 { (char *)"BitmapButton_GetMarginY", (PyCFunction
) _wrap_BitmapButton_GetMarginY
, METH_VARARGS
| METH_KEYWORDS
},
31182 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS
},
31183 { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS
| METH_KEYWORDS
},
31184 { (char *)"new_PreCheckBox", (PyCFunction
) _wrap_new_PreCheckBox
, METH_VARARGS
| METH_KEYWORDS
},
31185 { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
31186 { (char *)"CheckBox_GetValue", (PyCFunction
) _wrap_CheckBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31187 { (char *)"CheckBox_IsChecked", (PyCFunction
) _wrap_CheckBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
31188 { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31189 { (char *)"CheckBox_Get3StateValue", (PyCFunction
) _wrap_CheckBox_Get3StateValue
, METH_VARARGS
| METH_KEYWORDS
},
31190 { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS
| METH_KEYWORDS
},
31191 { (char *)"CheckBox_Is3State", (PyCFunction
) _wrap_CheckBox_Is3State
, METH_VARARGS
| METH_KEYWORDS
},
31192 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
) _wrap_CheckBox_Is3rdStateAllowedForUser
, METH_VARARGS
| METH_KEYWORDS
},
31193 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_CheckBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31194 { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS
},
31195 { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS
| METH_KEYWORDS
},
31196 { (char *)"new_PreChoice", (PyCFunction
) _wrap_new_PreChoice
, METH_VARARGS
| METH_KEYWORDS
},
31197 { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS
| METH_KEYWORDS
},
31198 { (char *)"Choice_SetSelection", (PyCFunction
) _wrap_Choice_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31199 { (char *)"Choice_SetStringSelection", (PyCFunction
) _wrap_Choice_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
31200 { (char *)"Choice_SetString", (PyCFunction
) _wrap_Choice_SetString
, METH_VARARGS
| METH_KEYWORDS
},
31201 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction
) _wrap_Choice_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31202 { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS
},
31203 { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS
| METH_KEYWORDS
},
31204 { (char *)"new_PreComboBox", (PyCFunction
) _wrap_new_PreComboBox
, METH_VARARGS
| METH_KEYWORDS
},
31205 { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
31206 { (char *)"ComboBox_GetValue", (PyCFunction
) _wrap_ComboBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31207 { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31208 { (char *)"ComboBox_Copy", (PyCFunction
) _wrap_ComboBox_Copy
, METH_VARARGS
| METH_KEYWORDS
},
31209 { (char *)"ComboBox_Cut", (PyCFunction
) _wrap_ComboBox_Cut
, METH_VARARGS
| METH_KEYWORDS
},
31210 { (char *)"ComboBox_Paste", (PyCFunction
) _wrap_ComboBox_Paste
, METH_VARARGS
| METH_KEYWORDS
},
31211 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
31212 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
) _wrap_ComboBox_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
31213 { (char *)"ComboBox_GetLastPosition", (PyCFunction
) _wrap_ComboBox_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
31214 { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
},
31215 { (char *)"ComboBox_SetSelection", (PyCFunction
) _wrap_ComboBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31216 { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
},
31217 { (char *)"ComboBox_SetStringSelection", (PyCFunction
) _wrap_ComboBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
31218 { (char *)"ComboBox_SetString", (PyCFunction
) _wrap_ComboBox_SetString
, METH_VARARGS
| METH_KEYWORDS
},
31219 { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
31220 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
) _wrap_ComboBox_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
31221 { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
},
31222 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ComboBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31223 { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS
},
31224 { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS
| METH_KEYWORDS
},
31225 { (char *)"new_PreGauge", (PyCFunction
) _wrap_new_PreGauge
, METH_VARARGS
| METH_KEYWORDS
},
31226 { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS
| METH_KEYWORDS
},
31227 { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
31228 { (char *)"Gauge_GetRange", (PyCFunction
) _wrap_Gauge_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
31229 { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31230 { (char *)"Gauge_GetValue", (PyCFunction
) _wrap_Gauge_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31231 { (char *)"Gauge_IsVertical", (PyCFunction
) _wrap_Gauge_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
31232 { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
31233 { (char *)"Gauge_GetShadowWidth", (PyCFunction
) _wrap_Gauge_GetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
31234 { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
31235 { (char *)"Gauge_GetBezelFace", (PyCFunction
) _wrap_Gauge_GetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
31236 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction
) _wrap_Gauge_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31237 { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS
},
31238 { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS
| METH_KEYWORDS
},
31239 { (char *)"new_PreStaticBox", (PyCFunction
) _wrap_new_PreStaticBox
, METH_VARARGS
| METH_KEYWORDS
},
31240 { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
31241 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31242 { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS
},
31243 { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS
| METH_KEYWORDS
},
31244 { (char *)"new_PreStaticLine", (PyCFunction
) _wrap_new_PreStaticLine
, METH_VARARGS
| METH_KEYWORDS
},
31245 { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
},
31246 { (char *)"StaticLine_IsVertical", (PyCFunction
) _wrap_StaticLine_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
31247 { (char *)"StaticLine_GetDefaultSize", (PyCFunction
) _wrap_StaticLine_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
31248 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticLine_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31249 { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS
},
31250 { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS
| METH_KEYWORDS
},
31251 { (char *)"new_PreStaticText", (PyCFunction
) _wrap_new_PreStaticText
, METH_VARARGS
| METH_KEYWORDS
},
31252 { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS
| METH_KEYWORDS
},
31253 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticText_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31254 { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS
},
31255 { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31256 { (char *)"new_PreStaticBitmap", (PyCFunction
) _wrap_new_PreStaticBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31257 { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
},
31258 { (char *)"StaticBitmap_GetBitmap", (PyCFunction
) _wrap_StaticBitmap_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31259 { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31260 { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
31261 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBitmap_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31262 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS
},
31263 { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS
| METH_KEYWORDS
},
31264 { (char *)"new_PreListBox", (PyCFunction
) _wrap_new_PreListBox
, METH_VARARGS
| METH_KEYWORDS
},
31265 { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
31266 { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS
| METH_KEYWORDS
},
31267 { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
},
31268 { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS
| METH_KEYWORDS
},
31269 { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
31270 { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31271 { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS
| METH_KEYWORDS
},
31272 { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
},
31273 { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
},
31274 { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
31275 { (char *)"ListBox_GetSelections", (PyCFunction
) _wrap_ListBox_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
31276 { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
},
31277 { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
},
31278 { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
31279 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
31280 { (char *)"ListBox_IsSorted", (PyCFunction
) _wrap_ListBox_IsSorted
, METH_VARARGS
| METH_KEYWORDS
},
31281 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction
) _wrap_ListBox_SetItemForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31282 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction
) _wrap_ListBox_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31283 { (char *)"ListBox_SetItemFont", (PyCFunction
) _wrap_ListBox_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
31284 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31285 { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS
},
31286 { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS
| METH_KEYWORDS
},
31287 { (char *)"new_PreCheckListBox", (PyCFunction
) _wrap_new_PreCheckListBox
, METH_VARARGS
| METH_KEYWORDS
},
31288 { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
31289 { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
31290 { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
},
31291 { (char *)"CheckListBox_GetItemHeight", (PyCFunction
) _wrap_CheckListBox_GetItemHeight
, METH_VARARGS
| METH_KEYWORDS
},
31292 { (char *)"CheckListBox_HitTest", (PyCFunction
) _wrap_CheckListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
31293 { (char *)"CheckListBox_HitTestXY", (PyCFunction
) _wrap_CheckListBox_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
},
31294 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS
},
31295 { (char *)"new_TextAttr", _wrap_new_TextAttr
, METH_VARARGS
},
31296 { (char *)"delete_TextAttr", (PyCFunction
) _wrap_delete_TextAttr
, METH_VARARGS
| METH_KEYWORDS
},
31297 { (char *)"TextAttr_Init", (PyCFunction
) _wrap_TextAttr_Init
, METH_VARARGS
| METH_KEYWORDS
},
31298 { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31299 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31300 { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
31301 { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
31302 { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
},
31303 { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
31304 { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
31305 { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
31306 { (char *)"TextAttr_HasTextColour", (PyCFunction
) _wrap_TextAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31307 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
) _wrap_TextAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31308 { (char *)"TextAttr_HasFont", (PyCFunction
) _wrap_TextAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
31309 { (char *)"TextAttr_HasAlignment", (PyCFunction
) _wrap_TextAttr_HasAlignment
, METH_VARARGS
| METH_KEYWORDS
},
31310 { (char *)"TextAttr_HasTabs", (PyCFunction
) _wrap_TextAttr_HasTabs
, METH_VARARGS
| METH_KEYWORDS
},
31311 { (char *)"TextAttr_HasLeftIndent", (PyCFunction
) _wrap_TextAttr_HasLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
31312 { (char *)"TextAttr_HasRightIndent", (PyCFunction
) _wrap_TextAttr_HasRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
31313 { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
},
31314 { (char *)"TextAttr_GetTextColour", (PyCFunction
) _wrap_TextAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31315 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
) _wrap_TextAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31316 { (char *)"TextAttr_GetFont", (PyCFunction
) _wrap_TextAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
31317 { (char *)"TextAttr_GetAlignment", (PyCFunction
) _wrap_TextAttr_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
31318 { (char *)"TextAttr_GetTabs", (PyCFunction
) _wrap_TextAttr_GetTabs
, METH_VARARGS
| METH_KEYWORDS
},
31319 { (char *)"TextAttr_GetLeftIndent", (PyCFunction
) _wrap_TextAttr_GetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
31320 { (char *)"TextAttr_GetRightIndent", (PyCFunction
) _wrap_TextAttr_GetRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
31321 { (char *)"TextAttr_GetFlags", (PyCFunction
) _wrap_TextAttr_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
31322 { (char *)"TextAttr_IsDefault", (PyCFunction
) _wrap_TextAttr_IsDefault
, METH_VARARGS
| METH_KEYWORDS
},
31323 { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
},
31324 { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS
},
31325 { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31326 { (char *)"new_PreTextCtrl", (PyCFunction
) _wrap_new_PreTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31327 { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
31328 { (char *)"TextCtrl_GetValue", (PyCFunction
) _wrap_TextCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31329 { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31330 { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
31331 { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
},
31332 { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
},
31333 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
) _wrap_TextCtrl_GetNumberOfLines
, METH_VARARGS
| METH_KEYWORDS
},
31334 { (char *)"TextCtrl_IsModified", (PyCFunction
) _wrap_TextCtrl_IsModified
, METH_VARARGS
| METH_KEYWORDS
},
31335 { (char *)"TextCtrl_IsEditable", (PyCFunction
) _wrap_TextCtrl_IsEditable
, METH_VARARGS
| METH_KEYWORDS
},
31336 { (char *)"TextCtrl_IsSingleLine", (PyCFunction
) _wrap_TextCtrl_IsSingleLine
, METH_VARARGS
| METH_KEYWORDS
},
31337 { (char *)"TextCtrl_IsMultiLine", (PyCFunction
) _wrap_TextCtrl_IsMultiLine
, METH_VARARGS
| METH_KEYWORDS
},
31338 { (char *)"TextCtrl_GetSelection", (PyCFunction
) _wrap_TextCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31339 { (char *)"TextCtrl_GetStringSelection", (PyCFunction
) _wrap_TextCtrl_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
31340 { (char *)"TextCtrl_Clear", (PyCFunction
) _wrap_TextCtrl_Clear
, METH_VARARGS
| METH_KEYWORDS
},
31341 { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
},
31342 { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
},
31343 { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
31344 { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
31345 { (char *)"TextCtrl_MarkDirty", (PyCFunction
) _wrap_TextCtrl_MarkDirty
, METH_VARARGS
| METH_KEYWORDS
},
31346 { (char *)"TextCtrl_DiscardEdits", (PyCFunction
) _wrap_TextCtrl_DiscardEdits
, METH_VARARGS
| METH_KEYWORDS
},
31347 { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
},
31348 { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
},
31349 { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
},
31350 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
},
31351 { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
31352 { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
31353 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
},
31354 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_GetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
},
31355 { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
},
31356 { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
},
31357 { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
},
31358 { (char *)"TextCtrl_HitTest", (PyCFunction
) _wrap_TextCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
31359 { (char *)"TextCtrl_Copy", (PyCFunction
) _wrap_TextCtrl_Copy
, METH_VARARGS
| METH_KEYWORDS
},
31360 { (char *)"TextCtrl_Cut", (PyCFunction
) _wrap_TextCtrl_Cut
, METH_VARARGS
| METH_KEYWORDS
},
31361 { (char *)"TextCtrl_Paste", (PyCFunction
) _wrap_TextCtrl_Paste
, METH_VARARGS
| METH_KEYWORDS
},
31362 { (char *)"TextCtrl_CanCopy", (PyCFunction
) _wrap_TextCtrl_CanCopy
, METH_VARARGS
| METH_KEYWORDS
},
31363 { (char *)"TextCtrl_CanCut", (PyCFunction
) _wrap_TextCtrl_CanCut
, METH_VARARGS
| METH_KEYWORDS
},
31364 { (char *)"TextCtrl_CanPaste", (PyCFunction
) _wrap_TextCtrl_CanPaste
, METH_VARARGS
| METH_KEYWORDS
},
31365 { (char *)"TextCtrl_Undo", (PyCFunction
) _wrap_TextCtrl_Undo
, METH_VARARGS
| METH_KEYWORDS
},
31366 { (char *)"TextCtrl_Redo", (PyCFunction
) _wrap_TextCtrl_Redo
, METH_VARARGS
| METH_KEYWORDS
},
31367 { (char *)"TextCtrl_CanUndo", (PyCFunction
) _wrap_TextCtrl_CanUndo
, METH_VARARGS
| METH_KEYWORDS
},
31368 { (char *)"TextCtrl_CanRedo", (PyCFunction
) _wrap_TextCtrl_CanRedo
, METH_VARARGS
| METH_KEYWORDS
},
31369 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
31370 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
) _wrap_TextCtrl_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
31371 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
31372 { (char *)"TextCtrl_GetLastPosition", (PyCFunction
) _wrap_TextCtrl_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
31373 { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31374 { (char *)"TextCtrl_SelectAll", (PyCFunction
) _wrap_TextCtrl_SelectAll
, METH_VARARGS
| METH_KEYWORDS
},
31375 { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
31376 { (char *)"TextCtrl_ShowNativeCaret", (PyCFunction
) _wrap_TextCtrl_ShowNativeCaret
, METH_VARARGS
| METH_KEYWORDS
},
31377 { (char *)"TextCtrl_HideNativeCaret", (PyCFunction
) _wrap_TextCtrl_HideNativeCaret
, METH_VARARGS
| METH_KEYWORDS
},
31378 { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
},
31379 { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
},
31380 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TextCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31381 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS
},
31382 { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
},
31383 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
) _wrap_TextUrlEvent_GetMouseEvent
, METH_VARARGS
| METH_KEYWORDS
},
31384 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
) _wrap_TextUrlEvent_GetURLStart
, METH_VARARGS
| METH_KEYWORDS
},
31385 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
) _wrap_TextUrlEvent_GetURLEnd
, METH_VARARGS
| METH_KEYWORDS
},
31386 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS
},
31387 { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
31388 { (char *)"new_PreScrollBar", (PyCFunction
) _wrap_new_PreScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
31389 { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
31390 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
) _wrap_ScrollBar_GetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
31391 { (char *)"ScrollBar_GetThumbSize", (PyCFunction
) _wrap_ScrollBar_GetThumbSize
, METH_VARARGS
| METH_KEYWORDS
},
31392 { (char *)"ScrollBar_GetPageSize", (PyCFunction
) _wrap_ScrollBar_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
31393 { (char *)"ScrollBar_GetRange", (PyCFunction
) _wrap_ScrollBar_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
31394 { (char *)"ScrollBar_IsVertical", (PyCFunction
) _wrap_ScrollBar_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
31395 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
31396 { (char *)"ScrollBar_SetScrollbar", (PyCFunction
) _wrap_ScrollBar_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
31397 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrollBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31398 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS
},
31399 { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS
| METH_KEYWORDS
},
31400 { (char *)"new_PreSpinButton", (PyCFunction
) _wrap_new_PreSpinButton
, METH_VARARGS
| METH_KEYWORDS
},
31401 { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
31402 { (char *)"SpinButton_GetValue", (PyCFunction
) _wrap_SpinButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31403 { (char *)"SpinButton_GetMin", (PyCFunction
) _wrap_SpinButton_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
31404 { (char *)"SpinButton_GetMax", (PyCFunction
) _wrap_SpinButton_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
31405 { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31406 { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS
| METH_KEYWORDS
},
31407 { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS
| METH_KEYWORDS
},
31408 { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
31409 { (char *)"SpinButton_IsVertical", (PyCFunction
) _wrap_SpinButton_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
31410 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31411 { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS
},
31412 { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31413 { (char *)"new_PreSpinCtrl", (PyCFunction
) _wrap_new_PreSpinCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31414 { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
31415 { (char *)"SpinCtrl_GetValue", (PyCFunction
) _wrap_SpinCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31416 { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31417 { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS
| METH_KEYWORDS
},
31418 { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
31419 { (char *)"SpinCtrl_GetMin", (PyCFunction
) _wrap_SpinCtrl_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
31420 { (char *)"SpinCtrl_GetMax", (PyCFunction
) _wrap_SpinCtrl_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
31421 { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31422 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31423 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS
},
31424 { (char *)"new_SpinEvent", (PyCFunction
) _wrap_new_SpinEvent
, METH_VARARGS
| METH_KEYWORDS
},
31425 { (char *)"SpinEvent_GetPosition", (PyCFunction
) _wrap_SpinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
31426 { (char *)"SpinEvent_SetPosition", (PyCFunction
) _wrap_SpinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
31427 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister
, METH_VARARGS
},
31428 { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS
| METH_KEYWORDS
},
31429 { (char *)"new_PreRadioBox", (PyCFunction
) _wrap_new_PreRadioBox
, METH_VARARGS
| METH_KEYWORDS
},
31430 { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
31431 { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31432 { (char *)"RadioBox_GetSelection", (PyCFunction
) _wrap_RadioBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31433 { (char *)"RadioBox_GetStringSelection", (PyCFunction
) _wrap_RadioBox_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
31434 { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
31435 { (char *)"RadioBox_GetCount", (PyCFunction
) _wrap_RadioBox_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
31436 { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
},
31437 { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
},
31438 { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
},
31439 { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
},
31440 { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
},
31441 { (char *)"RadioBox_GetColumnCount", (PyCFunction
) _wrap_RadioBox_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
},
31442 { (char *)"RadioBox_GetRowCount", (PyCFunction
) _wrap_RadioBox_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
},
31443 { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
},
31444 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31445 { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS
},
31446 { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS
| METH_KEYWORDS
},
31447 { (char *)"new_PreRadioButton", (PyCFunction
) _wrap_new_PreRadioButton
, METH_VARARGS
| METH_KEYWORDS
},
31448 { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
31449 { (char *)"RadioButton_GetValue", (PyCFunction
) _wrap_RadioButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31450 { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31451 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31452 { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS
},
31453 { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS
| METH_KEYWORDS
},
31454 { (char *)"new_PreSlider", (PyCFunction
) _wrap_new_PreSlider
, METH_VARARGS
| METH_KEYWORDS
},
31455 { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS
| METH_KEYWORDS
},
31456 { (char *)"Slider_GetValue", (PyCFunction
) _wrap_Slider_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31457 { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31458 { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
31459 { (char *)"Slider_GetMin", (PyCFunction
) _wrap_Slider_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
31460 { (char *)"Slider_GetMax", (PyCFunction
) _wrap_Slider_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
31461 { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS
| METH_KEYWORDS
},
31462 { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS
| METH_KEYWORDS
},
31463 { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
31464 { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
31465 { (char *)"Slider_GetLineSize", (PyCFunction
) _wrap_Slider_GetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
31466 { (char *)"Slider_GetPageSize", (PyCFunction
) _wrap_Slider_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
31467 { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
31468 { (char *)"Slider_GetThumbLength", (PyCFunction
) _wrap_Slider_GetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
31469 { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
31470 { (char *)"Slider_GetTickFreq", (PyCFunction
) _wrap_Slider_GetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
31471 { (char *)"Slider_ClearTicks", (PyCFunction
) _wrap_Slider_ClearTicks
, METH_VARARGS
| METH_KEYWORDS
},
31472 { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS
| METH_KEYWORDS
},
31473 { (char *)"Slider_ClearSel", (PyCFunction
) _wrap_Slider_ClearSel
, METH_VARARGS
| METH_KEYWORDS
},
31474 { (char *)"Slider_GetSelEnd", (PyCFunction
) _wrap_Slider_GetSelEnd
, METH_VARARGS
| METH_KEYWORDS
},
31475 { (char *)"Slider_GetSelStart", (PyCFunction
) _wrap_Slider_GetSelStart
, METH_VARARGS
| METH_KEYWORDS
},
31476 { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31477 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction
) _wrap_Slider_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31478 { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS
},
31479 { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS
| METH_KEYWORDS
},
31480 { (char *)"new_PreToggleButton", (PyCFunction
) _wrap_new_PreToggleButton
, METH_VARARGS
| METH_KEYWORDS
},
31481 { (char *)"ToggleButton_Create", (PyCFunction
) _wrap_ToggleButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
31482 { (char *)"ToggleButton_SetValue", (PyCFunction
) _wrap_ToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31483 { (char *)"ToggleButton_GetValue", (PyCFunction
) _wrap_ToggleButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31484 { (char *)"ToggleButton_SetLabel", (PyCFunction
) _wrap_ToggleButton_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
31485 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToggleButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31486 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS
},
31487 { (char *)"BookCtrl_GetPageCount", (PyCFunction
) _wrap_BookCtrl_GetPageCount
, METH_VARARGS
| METH_KEYWORDS
},
31488 { (char *)"BookCtrl_GetPage", (PyCFunction
) _wrap_BookCtrl_GetPage
, METH_VARARGS
| METH_KEYWORDS
},
31489 { (char *)"BookCtrl_GetSelection", (PyCFunction
) _wrap_BookCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31490 { (char *)"BookCtrl_SetPageText", (PyCFunction
) _wrap_BookCtrl_SetPageText
, METH_VARARGS
| METH_KEYWORDS
},
31491 { (char *)"BookCtrl_GetPageText", (PyCFunction
) _wrap_BookCtrl_GetPageText
, METH_VARARGS
| METH_KEYWORDS
},
31492 { (char *)"BookCtrl_SetImageList", (PyCFunction
) _wrap_BookCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
31493 { (char *)"BookCtrl_AssignImageList", (PyCFunction
) _wrap_BookCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
31494 { (char *)"BookCtrl_GetImageList", (PyCFunction
) _wrap_BookCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
31495 { (char *)"BookCtrl_GetPageImage", (PyCFunction
) _wrap_BookCtrl_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
31496 { (char *)"BookCtrl_SetPageImage", (PyCFunction
) _wrap_BookCtrl_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
31497 { (char *)"BookCtrl_SetPageSize", (PyCFunction
) _wrap_BookCtrl_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
31498 { (char *)"BookCtrl_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrl_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
},
31499 { (char *)"BookCtrl_DeletePage", (PyCFunction
) _wrap_BookCtrl_DeletePage
, METH_VARARGS
| METH_KEYWORDS
},
31500 { (char *)"BookCtrl_RemovePage", (PyCFunction
) _wrap_BookCtrl_RemovePage
, METH_VARARGS
| METH_KEYWORDS
},
31501 { (char *)"BookCtrl_DeleteAllPages", (PyCFunction
) _wrap_BookCtrl_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
},
31502 { (char *)"BookCtrl_AddPage", (PyCFunction
) _wrap_BookCtrl_AddPage
, METH_VARARGS
| METH_KEYWORDS
},
31503 { (char *)"BookCtrl_InsertPage", (PyCFunction
) _wrap_BookCtrl_InsertPage
, METH_VARARGS
| METH_KEYWORDS
},
31504 { (char *)"BookCtrl_SetSelection", (PyCFunction
) _wrap_BookCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31505 { (char *)"BookCtrl_AdvanceSelection", (PyCFunction
) _wrap_BookCtrl_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
},
31506 { (char *)"BookCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_BookCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31507 { (char *)"BookCtrl_swigregister", BookCtrl_swigregister
, METH_VARARGS
},
31508 { (char *)"new_BookCtrlEvent", (PyCFunction
) _wrap_new_BookCtrlEvent
, METH_VARARGS
| METH_KEYWORDS
},
31509 { (char *)"BookCtrlEvent_GetSelection", (PyCFunction
) _wrap_BookCtrlEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31510 { (char *)"BookCtrlEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31511 { (char *)"BookCtrlEvent_GetOldSelection", (PyCFunction
) _wrap_BookCtrlEvent_GetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
31512 { (char *)"BookCtrlEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
31513 { (char *)"BookCtrlEvent_swigregister", BookCtrlEvent_swigregister
, METH_VARARGS
},
31514 { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS
| METH_KEYWORDS
},
31515 { (char *)"new_PreNotebook", (PyCFunction
) _wrap_new_PreNotebook
, METH_VARARGS
| METH_KEYWORDS
},
31516 { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS
| METH_KEYWORDS
},
31517 { (char *)"Notebook_GetRowCount", (PyCFunction
) _wrap_Notebook_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
},
31518 { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
},
31519 { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
},
31520 { (char *)"Notebook_HitTest", (PyCFunction
) _wrap_Notebook_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
31521 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction
) _wrap_Notebook_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
},
31522 { (char *)"Notebook_ApplyThemeBackground", (PyCFunction
) _wrap_Notebook_ApplyThemeBackground
, METH_VARARGS
| METH_KEYWORDS
},
31523 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction
) _wrap_Notebook_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31524 { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS
},
31525 { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS
| METH_KEYWORDS
},
31526 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS
},
31527 { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS
| METH_KEYWORDS
},
31528 { (char *)"new_PreListbook", (PyCFunction
) _wrap_new_PreListbook
, METH_VARARGS
| METH_KEYWORDS
},
31529 { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS
| METH_KEYWORDS
},
31530 { (char *)"Listbook_IsVertical", (PyCFunction
) _wrap_Listbook_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
31531 { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS
},
31532 { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS
| METH_KEYWORDS
},
31533 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS
},
31534 { (char *)"new_BookCtrlSizer", (PyCFunction
) _wrap_new_BookCtrlSizer
, METH_VARARGS
| METH_KEYWORDS
},
31535 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction
) _wrap_BookCtrlSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
31536 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction
) _wrap_BookCtrlSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
31537 { (char *)"BookCtrlSizer_GetControl", (PyCFunction
) _wrap_BookCtrlSizer_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
31538 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister
, METH_VARARGS
},
31539 { (char *)"new_NotebookSizer", (PyCFunction
) _wrap_new_NotebookSizer
, METH_VARARGS
| METH_KEYWORDS
},
31540 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction
) _wrap_NotebookSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
31541 { (char *)"NotebookSizer_CalcMin", (PyCFunction
) _wrap_NotebookSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
31542 { (char *)"NotebookSizer_GetNotebook", (PyCFunction
) _wrap_NotebookSizer_GetNotebook
, METH_VARARGS
| METH_KEYWORDS
},
31543 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister
, METH_VARARGS
},
31544 { (char *)"ToolBarToolBase_GetId", (PyCFunction
) _wrap_ToolBarToolBase_GetId
, METH_VARARGS
| METH_KEYWORDS
},
31545 { (char *)"ToolBarToolBase_GetControl", (PyCFunction
) _wrap_ToolBarToolBase_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
31546 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
) _wrap_ToolBarToolBase_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
31547 { (char *)"ToolBarToolBase_IsButton", (PyCFunction
) _wrap_ToolBarToolBase_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
31548 { (char *)"ToolBarToolBase_IsControl", (PyCFunction
) _wrap_ToolBarToolBase_IsControl
, METH_VARARGS
| METH_KEYWORDS
},
31549 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
) _wrap_ToolBarToolBase_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
},
31550 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
) _wrap_ToolBarToolBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
31551 { (char *)"ToolBarToolBase_GetKind", (PyCFunction
) _wrap_ToolBarToolBase_GetKind
, METH_VARARGS
| METH_KEYWORDS
},
31552 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
) _wrap_ToolBarToolBase_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
31553 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
) _wrap_ToolBarToolBase_IsToggled
, METH_VARARGS
| METH_KEYWORDS
},
31554 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
) _wrap_ToolBarToolBase_CanBeToggled
, METH_VARARGS
| METH_KEYWORDS
},
31555 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31556 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31557 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31558 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
) _wrap_ToolBarToolBase_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
31559 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
31560 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
31561 { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
},
31562 { (char *)"ToolBarToolBase_Toggle", (PyCFunction
) _wrap_ToolBarToolBase_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
31563 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
},
31564 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
31565 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
31566 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31567 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31568 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
31569 { (char *)"ToolBarToolBase_Detach", (PyCFunction
) _wrap_ToolBarToolBase_Detach
, METH_VARARGS
| METH_KEYWORDS
},
31570 { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
},
31571 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
) _wrap_ToolBarToolBase_GetClientData
, METH_VARARGS
| METH_KEYWORDS
},
31572 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
},
31573 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS
},
31574 { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS
| METH_KEYWORDS
},
31575 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS
| METH_KEYWORDS
},
31576 { (char *)"ToolBarBase_AddToolItem", (PyCFunction
) _wrap_ToolBarBase_AddToolItem
, METH_VARARGS
| METH_KEYWORDS
},
31577 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction
) _wrap_ToolBarBase_InsertToolItem
, METH_VARARGS
| METH_KEYWORDS
},
31578 { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
},
31579 { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
},
31580 { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS
| METH_KEYWORDS
},
31581 { (char *)"ToolBarBase_AddSeparator", (PyCFunction
) _wrap_ToolBarBase_AddSeparator
, METH_VARARGS
| METH_KEYWORDS
},
31582 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
},
31583 { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
},
31584 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
},
31585 { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
},
31586 { (char *)"ToolBarBase_ClearTools", (PyCFunction
) _wrap_ToolBarBase_ClearTools
, METH_VARARGS
| METH_KEYWORDS
},
31587 { (char *)"ToolBarBase_Realize", (PyCFunction
) _wrap_ToolBarBase_Realize
, METH_VARARGS
| METH_KEYWORDS
},
31588 { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
},
31589 { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
},
31590 { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
},
31591 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
},
31592 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
},
31593 { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS
| METH_KEYWORDS
},
31594 { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
},
31595 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
},
31596 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
31597 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
31598 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
31599 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
31600 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
},
31601 { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
31602 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
},
31603 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
},
31604 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
) _wrap_ToolBarBase_GetToolMargins
, METH_VARARGS
| METH_KEYWORDS
},
31605 { (char *)"ToolBarBase_GetMargins", (PyCFunction
) _wrap_ToolBarBase_GetMargins
, METH_VARARGS
| METH_KEYWORDS
},
31606 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
) _wrap_ToolBarBase_GetToolPacking
, METH_VARARGS
| METH_KEYWORDS
},
31607 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_GetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
},
31608 { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
},
31609 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
},
31610 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
) _wrap_ToolBarBase_GetMaxRows
, METH_VARARGS
| METH_KEYWORDS
},
31611 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
) _wrap_ToolBarBase_GetMaxCols
, METH_VARARGS
| METH_KEYWORDS
},
31612 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
},
31613 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_GetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
},
31614 { (char *)"ToolBarBase_GetToolSize", (PyCFunction
) _wrap_ToolBarBase_GetToolSize
, METH_VARARGS
| METH_KEYWORDS
},
31615 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
},
31616 { (char *)"ToolBarBase_FindById", (PyCFunction
) _wrap_ToolBarBase_FindById
, METH_VARARGS
| METH_KEYWORDS
},
31617 { (char *)"ToolBarBase_IsVertical", (PyCFunction
) _wrap_ToolBarBase_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
31618 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS
},
31619 { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS
| METH_KEYWORDS
},
31620 { (char *)"new_PreToolBar", (PyCFunction
) _wrap_new_PreToolBar
, METH_VARARGS
| METH_KEYWORDS
},
31621 { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
31622 { (char *)"ToolBar_FindToolForPosition", (PyCFunction
) _wrap_ToolBar_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
},
31623 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToolBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31624 { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS
},
31625 { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
},
31626 { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31627 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31628 { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
31629 { (char *)"ListItemAttr_HasTextColour", (PyCFunction
) _wrap_ListItemAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31630 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31631 { (char *)"ListItemAttr_HasFont", (PyCFunction
) _wrap_ListItemAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
31632 { (char *)"ListItemAttr_GetTextColour", (PyCFunction
) _wrap_ListItemAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31633 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31634 { (char *)"ListItemAttr_GetFont", (PyCFunction
) _wrap_ListItemAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
31635 { (char *)"ListItemAttr_Destroy", (PyCFunction
) _wrap_ListItemAttr_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
31636 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS
},
31637 { (char *)"new_ListItem", (PyCFunction
) _wrap_new_ListItem
, METH_VARARGS
| METH_KEYWORDS
},
31638 { (char *)"delete_ListItem", (PyCFunction
) _wrap_delete_ListItem
, METH_VARARGS
| METH_KEYWORDS
},
31639 { (char *)"ListItem_Clear", (PyCFunction
) _wrap_ListItem_Clear
, METH_VARARGS
| METH_KEYWORDS
},
31640 { (char *)"ListItem_ClearAttributes", (PyCFunction
) _wrap_ListItem_ClearAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31641 { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
31642 { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
},
31643 { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
31644 { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
},
31645 { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
},
31646 { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
},
31647 { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
},
31648 { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
},
31649 { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
31650 { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
},
31651 { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31652 { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31653 { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
31654 { (char *)"ListItem_GetMask", (PyCFunction
) _wrap_ListItem_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
31655 { (char *)"ListItem_GetId", (PyCFunction
) _wrap_ListItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
31656 { (char *)"ListItem_GetColumn", (PyCFunction
) _wrap_ListItem_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
31657 { (char *)"ListItem_GetState", (PyCFunction
) _wrap_ListItem_GetState
, METH_VARARGS
| METH_KEYWORDS
},
31658 { (char *)"ListItem_GetText", (PyCFunction
) _wrap_ListItem_GetText
, METH_VARARGS
| METH_KEYWORDS
},
31659 { (char *)"ListItem_GetImage", (PyCFunction
) _wrap_ListItem_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
31660 { (char *)"ListItem_GetData", (PyCFunction
) _wrap_ListItem_GetData
, METH_VARARGS
| METH_KEYWORDS
},
31661 { (char *)"ListItem_GetWidth", (PyCFunction
) _wrap_ListItem_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
31662 { (char *)"ListItem_GetAlign", (PyCFunction
) _wrap_ListItem_GetAlign
, METH_VARARGS
| METH_KEYWORDS
},
31663 { (char *)"ListItem_GetAttributes", (PyCFunction
) _wrap_ListItem_GetAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31664 { (char *)"ListItem_HasAttributes", (PyCFunction
) _wrap_ListItem_HasAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31665 { (char *)"ListItem_GetTextColour", (PyCFunction
) _wrap_ListItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31666 { (char *)"ListItem_GetBackgroundColour", (PyCFunction
) _wrap_ListItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31667 { (char *)"ListItem_GetFont", (PyCFunction
) _wrap_ListItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
31668 { (char *)"ListItem_m_mask_set", (PyCFunction
) _wrap_ListItem_m_mask_set
, METH_VARARGS
| METH_KEYWORDS
},
31669 { (char *)"ListItem_m_mask_get", (PyCFunction
) _wrap_ListItem_m_mask_get
, METH_VARARGS
| METH_KEYWORDS
},
31670 { (char *)"ListItem_m_itemId_set", (PyCFunction
) _wrap_ListItem_m_itemId_set
, METH_VARARGS
| METH_KEYWORDS
},
31671 { (char *)"ListItem_m_itemId_get", (PyCFunction
) _wrap_ListItem_m_itemId_get
, METH_VARARGS
| METH_KEYWORDS
},
31672 { (char *)"ListItem_m_col_set", (PyCFunction
) _wrap_ListItem_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
31673 { (char *)"ListItem_m_col_get", (PyCFunction
) _wrap_ListItem_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
31674 { (char *)"ListItem_m_state_set", (PyCFunction
) _wrap_ListItem_m_state_set
, METH_VARARGS
| METH_KEYWORDS
},
31675 { (char *)"ListItem_m_state_get", (PyCFunction
) _wrap_ListItem_m_state_get
, METH_VARARGS
| METH_KEYWORDS
},
31676 { (char *)"ListItem_m_stateMask_set", (PyCFunction
) _wrap_ListItem_m_stateMask_set
, METH_VARARGS
| METH_KEYWORDS
},
31677 { (char *)"ListItem_m_stateMask_get", (PyCFunction
) _wrap_ListItem_m_stateMask_get
, METH_VARARGS
| METH_KEYWORDS
},
31678 { (char *)"ListItem_m_text_set", (PyCFunction
) _wrap_ListItem_m_text_set
, METH_VARARGS
| METH_KEYWORDS
},
31679 { (char *)"ListItem_m_text_get", (PyCFunction
) _wrap_ListItem_m_text_get
, METH_VARARGS
| METH_KEYWORDS
},
31680 { (char *)"ListItem_m_image_set", (PyCFunction
) _wrap_ListItem_m_image_set
, METH_VARARGS
| METH_KEYWORDS
},
31681 { (char *)"ListItem_m_image_get", (PyCFunction
) _wrap_ListItem_m_image_get
, METH_VARARGS
| METH_KEYWORDS
},
31682 { (char *)"ListItem_m_data_set", (PyCFunction
) _wrap_ListItem_m_data_set
, METH_VARARGS
| METH_KEYWORDS
},
31683 { (char *)"ListItem_m_data_get", (PyCFunction
) _wrap_ListItem_m_data_get
, METH_VARARGS
| METH_KEYWORDS
},
31684 { (char *)"ListItem_m_format_set", (PyCFunction
) _wrap_ListItem_m_format_set
, METH_VARARGS
| METH_KEYWORDS
},
31685 { (char *)"ListItem_m_format_get", (PyCFunction
) _wrap_ListItem_m_format_get
, METH_VARARGS
| METH_KEYWORDS
},
31686 { (char *)"ListItem_m_width_set", (PyCFunction
) _wrap_ListItem_m_width_set
, METH_VARARGS
| METH_KEYWORDS
},
31687 { (char *)"ListItem_m_width_get", (PyCFunction
) _wrap_ListItem_m_width_get
, METH_VARARGS
| METH_KEYWORDS
},
31688 { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS
},
31689 { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS
| METH_KEYWORDS
},
31690 { (char *)"ListEvent_m_code_set", (PyCFunction
) _wrap_ListEvent_m_code_set
, METH_VARARGS
| METH_KEYWORDS
},
31691 { (char *)"ListEvent_m_code_get", (PyCFunction
) _wrap_ListEvent_m_code_get
, METH_VARARGS
| METH_KEYWORDS
},
31692 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
31693 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
31694 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction
) _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
31695 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
) _wrap_ListEvent_m_itemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
31696 { (char *)"ListEvent_m_col_set", (PyCFunction
) _wrap_ListEvent_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
31697 { (char *)"ListEvent_m_col_get", (PyCFunction
) _wrap_ListEvent_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
31698 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction
) _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS
| METH_KEYWORDS
},
31699 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
) _wrap_ListEvent_m_pointDrag_get
, METH_VARARGS
| METH_KEYWORDS
},
31700 { (char *)"ListEvent_m_item_get", (PyCFunction
) _wrap_ListEvent_m_item_get
, METH_VARARGS
| METH_KEYWORDS
},
31701 { (char *)"ListEvent_GetKeyCode", (PyCFunction
) _wrap_ListEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
31702 { (char *)"ListEvent_GetIndex", (PyCFunction
) _wrap_ListEvent_GetIndex
, METH_VARARGS
| METH_KEYWORDS
},
31703 { (char *)"ListEvent_GetColumn", (PyCFunction
) _wrap_ListEvent_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
31704 { (char *)"ListEvent_GetPoint", (PyCFunction
) _wrap_ListEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
31705 { (char *)"ListEvent_GetLabel", (PyCFunction
) _wrap_ListEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
31706 { (char *)"ListEvent_GetText", (PyCFunction
) _wrap_ListEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
},
31707 { (char *)"ListEvent_GetImage", (PyCFunction
) _wrap_ListEvent_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
31708 { (char *)"ListEvent_GetData", (PyCFunction
) _wrap_ListEvent_GetData
, METH_VARARGS
| METH_KEYWORDS
},
31709 { (char *)"ListEvent_GetMask", (PyCFunction
) _wrap_ListEvent_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
31710 { (char *)"ListEvent_GetItem", (PyCFunction
) _wrap_ListEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
31711 { (char *)"ListEvent_GetCacheFrom", (PyCFunction
) _wrap_ListEvent_GetCacheFrom
, METH_VARARGS
| METH_KEYWORDS
},
31712 { (char *)"ListEvent_GetCacheTo", (PyCFunction
) _wrap_ListEvent_GetCacheTo
, METH_VARARGS
| METH_KEYWORDS
},
31713 { (char *)"ListEvent_IsEditCancelled", (PyCFunction
) _wrap_ListEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
},
31714 { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
},
31715 { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS
},
31716 { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31717 { (char *)"new_PreListCtrl", (PyCFunction
) _wrap_new_PreListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31718 { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
31719 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
31720 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction
) _wrap_ListCtrl_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31721 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31722 { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
31723 { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
31724 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
31725 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
31726 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
) _wrap_ListCtrl_GetCountPerPage
, METH_VARARGS
| METH_KEYWORDS
},
31727 { (char *)"ListCtrl_GetViewRect", (PyCFunction
) _wrap_ListCtrl_GetViewRect
, METH_VARARGS
| METH_KEYWORDS
},
31728 { (char *)"ListCtrl_GetEditControl", (PyCFunction
) _wrap_ListCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
},
31729 { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
31730 { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
},
31731 { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
},
31732 { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
},
31733 { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
},
31734 { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
31735 { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
31736 { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
31737 { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
31738 { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
31739 { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
31740 { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
},
31741 { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
31742 { (char *)"ListCtrl_GetItemCount", (PyCFunction
) _wrap_ListCtrl_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
31743 { (char *)"ListCtrl_GetColumnCount", (PyCFunction
) _wrap_ListCtrl_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
},
31744 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
) _wrap_ListCtrl_GetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
},
31745 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
) _wrap_ListCtrl_GetSelectedItemCount
, METH_VARARGS
| METH_KEYWORDS
},
31746 { (char *)"ListCtrl_GetTextColour", (PyCFunction
) _wrap_ListCtrl_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31747 { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31748 { (char *)"ListCtrl_GetTopItem", (PyCFunction
) _wrap_ListCtrl_GetTopItem
, METH_VARARGS
| METH_KEYWORDS
},
31749 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
},
31750 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction
) _wrap_ListCtrl_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
31751 { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
},
31752 { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
31753 { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
31754 { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
31755 { (char *)"ListCtrl_InReportView", (PyCFunction
) _wrap_ListCtrl_InReportView
, METH_VARARGS
| METH_KEYWORDS
},
31756 { (char *)"ListCtrl_IsVirtual", (PyCFunction
) _wrap_ListCtrl_IsVirtual
, METH_VARARGS
| METH_KEYWORDS
},
31757 { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
},
31758 { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
},
31759 { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
},
31760 { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
31761 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
) _wrap_ListCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
31762 { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
},
31763 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
) _wrap_ListCtrl_DeleteAllColumns
, METH_VARARGS
| METH_KEYWORDS
},
31764 { (char *)"ListCtrl_ClearAll", (PyCFunction
) _wrap_ListCtrl_ClearAll
, METH_VARARGS
| METH_KEYWORDS
},
31765 { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
31766 { (char *)"ListCtrl_EndEditLabel", (PyCFunction
) _wrap_ListCtrl_EndEditLabel
, METH_VARARGS
| METH_KEYWORDS
},
31767 { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
31768 { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
31769 { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
},
31770 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
},
31771 { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
31772 { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
31773 { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
},
31774 { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
},
31775 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
},
31776 { (char *)"ListCtrl_InsertColumnInfo", (PyCFunction
) _wrap_ListCtrl_InsertColumnInfo
, METH_VARARGS
| METH_KEYWORDS
},
31777 { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
},
31778 { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
31779 { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
},
31780 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31781 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31782 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31783 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31784 { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
},
31785 { (char *)"ListCtrl_GetMainWindow", (PyCFunction
) _wrap_ListCtrl_GetMainWindow
, METH_VARARGS
| METH_KEYWORDS
},
31786 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31787 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS
},
31788 { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS
| METH_KEYWORDS
},
31789 { (char *)"new_PreListView", (PyCFunction
) _wrap_new_PreListView
, METH_VARARGS
| METH_KEYWORDS
},
31790 { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS
| METH_KEYWORDS
},
31791 { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS
| METH_KEYWORDS
},
31792 { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS
| METH_KEYWORDS
},
31793 { (char *)"ListView_GetFocusedItem", (PyCFunction
) _wrap_ListView_GetFocusedItem
, METH_VARARGS
| METH_KEYWORDS
},
31794 { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
},
31795 { (char *)"ListView_GetFirstSelected", (PyCFunction
) _wrap_ListView_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
},
31796 { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
31797 { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
},
31798 { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
},
31799 { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS
},
31800 { (char *)"new_TreeItemId", (PyCFunction
) _wrap_new_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
31801 { (char *)"delete_TreeItemId", (PyCFunction
) _wrap_delete_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
31802 { (char *)"TreeItemId_IsOk", (PyCFunction
) _wrap_TreeItemId_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
31803 { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS
| METH_KEYWORDS
},
31804 { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS
| METH_KEYWORDS
},
31805 { (char *)"TreeItemId_m_pItem_set", (PyCFunction
) _wrap_TreeItemId_m_pItem_set
, METH_VARARGS
| METH_KEYWORDS
},
31806 { (char *)"TreeItemId_m_pItem_get", (PyCFunction
) _wrap_TreeItemId_m_pItem_get
, METH_VARARGS
| METH_KEYWORDS
},
31807 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS
},
31808 { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
},
31809 { (char *)"TreeItemData_GetData", (PyCFunction
) _wrap_TreeItemData_GetData
, METH_VARARGS
| METH_KEYWORDS
},
31810 { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
},
31811 { (char *)"TreeItemData_GetId", (PyCFunction
) _wrap_TreeItemData_GetId
, METH_VARARGS
| METH_KEYWORDS
},
31812 { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
},
31813 { (char *)"TreeItemData_Destroy", (PyCFunction
) _wrap_TreeItemData_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
31814 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS
},
31815 { (char *)"new_TreeEvent", (PyCFunction
) _wrap_new_TreeEvent
, METH_VARARGS
| METH_KEYWORDS
},
31816 { (char *)"TreeEvent_GetItem", (PyCFunction
) _wrap_TreeEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
31817 { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS
| METH_KEYWORDS
},
31818 { (char *)"TreeEvent_GetOldItem", (PyCFunction
) _wrap_TreeEvent_GetOldItem
, METH_VARARGS
| METH_KEYWORDS
},
31819 { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS
| METH_KEYWORDS
},
31820 { (char *)"TreeEvent_GetPoint", (PyCFunction
) _wrap_TreeEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
31821 { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS
| METH_KEYWORDS
},
31822 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
) _wrap_TreeEvent_GetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
31823 { (char *)"TreeEvent_GetKeyCode", (PyCFunction
) _wrap_TreeEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
31824 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
31825 { (char *)"TreeEvent_GetLabel", (PyCFunction
) _wrap_TreeEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
31826 { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
31827 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
) _wrap_TreeEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
},
31828 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
},
31829 { (char *)"TreeEvent_SetToolTip", (PyCFunction
) _wrap_TreeEvent_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
31830 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS
},
31831 { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31832 { (char *)"new_PreTreeCtrl", (PyCFunction
) _wrap_new_PreTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31833 { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
31834 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
31835 { (char *)"TreeCtrl_GetCount", (PyCFunction
) _wrap_TreeCtrl_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
31836 { (char *)"TreeCtrl_GetIndent", (PyCFunction
) _wrap_TreeCtrl_GetIndent
, METH_VARARGS
| METH_KEYWORDS
},
31837 { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
},
31838 { (char *)"TreeCtrl_GetSpacing", (PyCFunction
) _wrap_TreeCtrl_GetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
31839 { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
31840 { (char *)"TreeCtrl_GetImageList", (PyCFunction
) _wrap_TreeCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
31841 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
) _wrap_TreeCtrl_GetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
31842 { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
31843 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
31844 { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
31845 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
31846 { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
31847 { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
31848 { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
31849 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
},
31850 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31851 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31852 { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
31853 { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
31854 { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
31855 { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
31856 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
},
31857 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
31858 { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
},
31859 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction
) _wrap_TreeCtrl_SetItemDropHighlight
, METH_VARARGS
| METH_KEYWORDS
},
31860 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31861 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31862 { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
31863 { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
31864 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
31865 { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
},
31866 { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
31867 { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
},
31868 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
},
31869 { (char *)"TreeCtrl_GetRootItem", (PyCFunction
) _wrap_TreeCtrl_GetRootItem
, METH_VARARGS
| METH_KEYWORDS
},
31870 { (char *)"TreeCtrl_GetSelection", (PyCFunction
) _wrap_TreeCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31871 { (char *)"TreeCtrl_GetSelections", (PyCFunction
) _wrap_TreeCtrl_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
31872 { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
},
31873 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
},
31874 { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
},
31875 { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
},
31876 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
},
31877 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
},
31878 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
) _wrap_TreeCtrl_GetFirstVisibleItem
, METH_VARARGS
| METH_KEYWORDS
},
31879 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
},
31880 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
},
31881 { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
},
31882 { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
31883 { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
31884 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
},
31885 { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
31886 { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
},
31887 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
},
31888 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
) _wrap_TreeCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
31889 { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
},
31890 { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
},
31891 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
},
31892 { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
31893 { (char *)"TreeCtrl_Unselect", (PyCFunction
) _wrap_TreeCtrl_Unselect
, METH_VARARGS
| METH_KEYWORDS
},
31894 { (char *)"TreeCtrl_UnselectItem", (PyCFunction
) _wrap_TreeCtrl_UnselectItem
, METH_VARARGS
| METH_KEYWORDS
},
31895 { (char *)"TreeCtrl_UnselectAll", (PyCFunction
) _wrap_TreeCtrl_UnselectAll
, METH_VARARGS
| METH_KEYWORDS
},
31896 { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
},
31897 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction
) _wrap_TreeCtrl_ToggleItemSelection
, METH_VARARGS
| METH_KEYWORDS
},
31898 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
31899 { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
},
31900 { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
31901 { (char *)"TreeCtrl_GetEditControl", (PyCFunction
) _wrap_TreeCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
},
31902 { (char *)"TreeCtrl_EndEditLabel", (PyCFunction
) _wrap_TreeCtrl_EndEditLabel
, METH_VARARGS
| METH_KEYWORDS
},
31903 { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
},
31904 { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
31905 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
},
31906 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TreeCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31907 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS
},
31908 { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31909 { (char *)"new_PreGenericDirCtrl", (PyCFunction
) _wrap_new_PreGenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31910 { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
31911 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
},
31912 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_GetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
},
31913 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
},
31914 { (char *)"GenericDirCtrl_GetPath", (PyCFunction
) _wrap_GenericDirCtrl_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
31915 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
) _wrap_GenericDirCtrl_GetFilePath
, METH_VARARGS
| METH_KEYWORDS
},
31916 { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
31917 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
},
31918 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_GetShowHidden
, METH_VARARGS
| METH_KEYWORDS
},
31919 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
) _wrap_GenericDirCtrl_GetFilter
, METH_VARARGS
| METH_KEYWORDS
},
31920 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
},
31921 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
31922 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
31923 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
) _wrap_GenericDirCtrl_GetRootId
, METH_VARARGS
| METH_KEYWORDS
},
31924 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31925 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31926 { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS
| METH_KEYWORDS
},
31927 { (char *)"GenericDirCtrl_DoResize", (PyCFunction
) _wrap_GenericDirCtrl_DoResize
, METH_VARARGS
| METH_KEYWORDS
},
31928 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
) _wrap_GenericDirCtrl_ReCreateTree
, METH_VARARGS
| METH_KEYWORDS
},
31929 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS
},
31930 { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31931 { (char *)"new_PreDirFilterListCtrl", (PyCFunction
) _wrap_new_PreDirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31932 { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
31933 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
},
31934 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS
},
31935 { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS
| METH_KEYWORDS
},
31936 { (char *)"new_PrePyControl", (PyCFunction
) _wrap_new_PrePyControl
, METH_VARARGS
| METH_KEYWORDS
},
31937 { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
31938 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction
) _wrap_PyControl_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
31939 { (char *)"PyControl_base_DoSetSize", (PyCFunction
) _wrap_PyControl_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
31940 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction
) _wrap_PyControl_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
31941 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
31942 { (char *)"PyControl_base_DoGetSize", (PyCFunction
) _wrap_PyControl_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
31943 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction
) _wrap_PyControl_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
31944 { (char *)"PyControl_base_DoGetPosition", (PyCFunction
) _wrap_PyControl_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
31945 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
31946 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction
) _wrap_PyControl_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
31947 { (char *)"PyControl_base_InitDialog", (PyCFunction
) _wrap_PyControl_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
31948 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
31949 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
31950 { (char *)"PyControl_base_Validate", (PyCFunction
) _wrap_PyControl_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
31951 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction
) _wrap_PyControl_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
31952 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyControl_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
31953 { (char *)"PyControl_base_GetMaxSize", (PyCFunction
) _wrap_PyControl_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
31954 { (char *)"PyControl_base_AddChild", (PyCFunction
) _wrap_PyControl_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
31955 { (char *)"PyControl_base_RemoveChild", (PyCFunction
) _wrap_PyControl_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
31956 { (char *)"PyControl_base_ShouldInheritColours", (PyCFunction
) _wrap_PyControl_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
},
31957 { (char *)"PyControl_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyControl_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
},
31958 { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS
},
31959 { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS
| METH_KEYWORDS
},
31960 { (char *)"HelpEvent_GetPosition", (PyCFunction
) _wrap_HelpEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
31961 { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
31962 { (char *)"HelpEvent_GetLink", (PyCFunction
) _wrap_HelpEvent_GetLink
, METH_VARARGS
| METH_KEYWORDS
},
31963 { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
},
31964 { (char *)"HelpEvent_GetTarget", (PyCFunction
) _wrap_HelpEvent_GetTarget
, METH_VARARGS
| METH_KEYWORDS
},
31965 { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
},
31966 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS
},
31967 { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
31968 { (char *)"delete_ContextHelp", (PyCFunction
) _wrap_delete_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
31969 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
31970 { (char *)"ContextHelp_EndContextHelp", (PyCFunction
) _wrap_ContextHelp_EndContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
31971 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS
},
31972 { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
},
31973 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS
},
31974 { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
},
31975 { (char *)"HelpProvider_Get", (PyCFunction
) _wrap_HelpProvider_Get
, METH_VARARGS
| METH_KEYWORDS
},
31976 { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
},
31977 { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
31978 { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
},
31979 { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
},
31980 { (char *)"HelpProvider_RemoveHelp", (PyCFunction
) _wrap_HelpProvider_RemoveHelp
, METH_VARARGS
| METH_KEYWORDS
},
31981 { (char *)"HelpProvider_Destroy", (PyCFunction
) _wrap_HelpProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
31982 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS
},
31983 { (char *)"new_SimpleHelpProvider", (PyCFunction
) _wrap_new_SimpleHelpProvider
, METH_VARARGS
| METH_KEYWORDS
},
31984 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS
},
31985 { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS
| METH_KEYWORDS
},
31986 { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS
| METH_KEYWORDS
},
31987 { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS
| METH_KEYWORDS
},
31988 { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS
| METH_KEYWORDS
},
31989 { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS
| METH_KEYWORDS
},
31990 { (char *)"delete_DragImage", (PyCFunction
) _wrap_delete_DragImage
, METH_VARARGS
| METH_KEYWORDS
},
31991 { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31992 { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
},
31993 { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
},
31994 { (char *)"DragImage_EndDrag", (PyCFunction
) _wrap_DragImage_EndDrag
, METH_VARARGS
| METH_KEYWORDS
},
31995 { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS
| METH_KEYWORDS
},
31996 { (char *)"DragImage_Show", (PyCFunction
) _wrap_DragImage_Show
, METH_VARARGS
| METH_KEYWORDS
},
31997 { (char *)"DragImage_Hide", (PyCFunction
) _wrap_DragImage_Hide
, METH_VARARGS
| METH_KEYWORDS
},
31998 { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
},
31999 { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS
| METH_KEYWORDS
},
32000 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
32001 { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
},
32002 { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS
},
32007 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
32009 static void *_p_wxNotebookEventTo_p_wxBookCtrlEvent(void *x
) {
32010 return (void *)((wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
32012 static void *_p_wxListbookEventTo_p_wxBookCtrlEvent(void *x
) {
32013 return (void *)((wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
32015 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
32016 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
32018 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
32019 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
32021 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
32022 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
32024 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
32025 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
32027 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
32028 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
32030 static void *_p_wxNotebookSizerTo_p_wxSizer(void *x
) {
32031 return (void *)((wxSizer
*) ((wxNotebookSizer
*) x
));
32033 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
32034 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
32036 static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x
) {
32037 return (void *)((wxSizer
*) ((wxBookCtrlSizer
*) x
));
32039 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
32040 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32042 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
32043 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
32045 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
32046 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
32048 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
32049 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
32051 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
32052 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
32054 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
32055 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
32057 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
32058 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
32060 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
32061 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
32063 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
32064 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
32066 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
32067 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
32069 static void *_p_wxBookCtrlEventTo_p_wxEvent(void *x
) {
32070 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
32072 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
32073 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
32075 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
32076 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32078 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
32079 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
32081 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
32082 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
32084 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
32085 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
32087 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
32088 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
32090 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
32091 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
32093 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
32094 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32096 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
32097 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
32099 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
32100 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
32102 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
32103 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
32105 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
32106 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
32108 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
32109 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
32111 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
32112 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
32114 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
32115 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
32117 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
32118 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
32120 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
32121 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32123 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
32124 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
32126 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
32127 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
32129 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
32130 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
32132 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
32133 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
32135 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
32136 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
32138 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
32139 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
32141 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
32142 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32144 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
32145 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
32147 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
32148 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
32150 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
32151 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32153 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
32154 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32156 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
32157 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
32159 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
32160 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
32162 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
32163 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
32165 static void *_p_wxSpinEventTo_p_wxEvent(void *x
) {
32166 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
32168 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) {
32169 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
32171 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) {
32172 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32174 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) {
32175 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxChoice
*) x
));
32177 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
32178 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
32180 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) {
32181 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxListBox
*) x
));
32183 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) {
32184 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
32186 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
32187 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
32189 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
32190 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
32192 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
32193 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
32195 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
32196 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
32198 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
32199 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
32201 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
32202 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
32204 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
32205 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
32207 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
32208 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
32210 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
32211 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
32213 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
32214 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
32216 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
32217 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
32219 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
32220 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32222 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
32223 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
32225 static void *_p_wxBookCtrlTo_p_wxControl(void *x
) {
32226 return (void *)((wxControl
*) ((wxBookCtrl
*) x
));
32228 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
32229 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
32231 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
32232 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
32234 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
32235 return (void *)((wxControl
*) ((wxGauge
*) x
));
32237 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
32238 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
32240 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
32241 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
32243 static void *_p_wxButtonTo_p_wxControl(void *x
) {
32244 return (void *)((wxControl
*) ((wxButton
*) x
));
32246 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
32247 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
32249 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
32250 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
32252 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
32253 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
32255 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
32256 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
32258 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
32259 return (void *)((wxControl
*) (wxBookCtrl
*) ((wxNotebook
*) x
));
32261 static void *_p_wxListbookTo_p_wxControl(void *x
) {
32262 return (void *)((wxControl
*) (wxBookCtrl
*) ((wxListbook
*) x
));
32264 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
32265 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
32267 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
32268 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
32270 static void *_p_wxListViewTo_p_wxControl(void *x
) {
32271 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
32273 static void *_p_wxSliderTo_p_wxControl(void *x
) {
32274 return (void *)((wxControl
*) ((wxSlider
*) x
));
32276 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
32277 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
32279 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
32280 return (void *)((wxControl
*) ((wxPyControl
*) x
));
32282 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
32283 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
32285 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
32286 return (void *)((wxControl
*) ((wxStaticText
*) x
));
32288 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) {
32289 return (void *)((wxToolBarBase
*) ((wxToolBar
*) x
));
32291 static void *_p_wxComboBoxTo_p_wxChoice(void *x
) {
32292 return (void *)((wxChoice
*) ((wxComboBox
*) x
));
32294 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) {
32295 return (void *)((wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32297 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) {
32298 return (void *)((wxNotifyEvent
*) ((wxTreeEvent
*) x
));
32300 static void *_p_wxBookCtrlEventTo_p_wxNotifyEvent(void *x
) {
32301 return (void *)((wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
32303 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) {
32304 return (void *)((wxNotifyEvent
*) ((wxListEvent
*) x
));
32306 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x
) {
32307 return (void *)((wxNotifyEvent
*) ((wxSpinEvent
*) x
));
32309 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) {
32310 return (void *)((wxNotifyEvent
*) (wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
32312 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) {
32313 return (void *)((wxNotifyEvent
*) (wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
32315 static void *_p_wxBookCtrlTo_p_wxEvtHandler(void *x
) {
32316 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrl
*) x
));
32318 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
32319 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
32321 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
32322 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
32324 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
32325 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
32327 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
32328 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
32330 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
32331 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
32333 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
32334 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
32336 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
32337 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
32339 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
32340 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
32342 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
32343 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
32345 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
32346 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
32348 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
32349 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
32351 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
32352 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
32354 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
32355 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32357 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
32358 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
32360 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
32361 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
32363 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
32364 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
32366 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
32367 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
32369 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
32370 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
32372 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
32373 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
32375 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
32376 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
32378 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
32379 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
32381 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
32382 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
32384 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
32385 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
32387 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
32388 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
32390 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
32391 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
32393 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
32394 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
32396 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
32397 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
32399 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
32400 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
32402 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
32403 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
32405 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
32406 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
32408 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
32409 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
32411 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
32412 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
32414 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
32415 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
32417 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
32418 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
32420 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
32421 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
32423 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
32424 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
32426 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
32427 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
32429 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
32430 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
32432 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
32433 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
32435 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) {
32436 return (void *)((wxListBox
*) ((wxCheckListBox
*) x
));
32438 static void *_p_wxListbookTo_p_wxBookCtrl(void *x
) {
32439 return (void *)((wxBookCtrl
*) ((wxListbook
*) x
));
32441 static void *_p_wxNotebookTo_p_wxBookCtrl(void *x
) {
32442 return (void *)((wxBookCtrl
*) ((wxNotebook
*) x
));
32444 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) {
32445 return (void *)((wxButton
*) ((wxBitmapButton
*) x
));
32447 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) {
32448 return (void *)((wxButton
*) (wxBitmapButton
*) ((wxContextHelpButton
*) x
));
32450 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) {
32451 return (void *)((wxBitmapButton
*) ((wxContextHelpButton
*) x
));
32453 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) {
32454 return (void *)((wxHelpProvider
*) ((wxSimpleHelpProvider
*) x
));
32456 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
32457 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
32459 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
32460 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
32462 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
32463 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
32465 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
32466 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
32468 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
32469 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
32471 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
32472 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
32474 static void *_p_wxBookCtrlEventTo_p_wxObject(void *x
) {
32475 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
32477 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
32478 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
32480 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
32481 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
32483 static void *_p_wxSizerTo_p_wxObject(void *x
) {
32484 return (void *)((wxObject
*) ((wxSizer
*) x
));
32486 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
32487 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
32489 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
32490 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
32492 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
32493 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
32495 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
32496 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32498 static void *_p_wxEventTo_p_wxObject(void *x
) {
32499 return (void *)((wxObject
*) ((wxEvent
*) x
));
32501 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
32502 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
32504 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
32505 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
32507 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
32508 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
32510 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
32511 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
32513 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
32514 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
32516 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
32517 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32519 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
32520 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
32522 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
32523 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
32525 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
32526 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
32528 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
32529 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
32531 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
32532 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
32534 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
32535 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
32537 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
32538 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
32540 static void *_p_wxControlTo_p_wxObject(void *x
) {
32541 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
32543 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
32544 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
32546 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
32547 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
32549 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
32550 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
32552 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
32553 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
32555 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
32556 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
32558 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
32559 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
32561 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
32562 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
32564 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
32565 return (void *)((wxObject
*) ((wxFSFile
*) x
));
32567 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
32568 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
32570 static void *_p_wxListViewTo_p_wxObject(void *x
) {
32571 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
32573 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
32574 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
32576 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
32577 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
32579 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
32580 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
32582 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
32583 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32585 static void *_p_wxListbookTo_p_wxObject(void *x
) {
32586 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
32588 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
32589 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
32591 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
32592 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
32594 static void *_p_wxSliderTo_p_wxObject(void *x
) {
32595 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
32597 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
32598 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
32600 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
32601 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
32603 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
32604 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32606 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
32607 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
32609 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
32610 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
32612 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
32613 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
32615 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
32616 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
32618 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
32619 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
32621 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
32622 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
32624 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
32625 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
32627 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
32628 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
32630 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
32631 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
32633 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
32634 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
32636 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
32637 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
32639 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
32640 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
32642 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
32643 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
32645 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
32646 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
32648 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
32649 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
32651 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
32652 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
32654 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
32655 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
32657 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
32658 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
32660 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
32661 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
32663 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
32664 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
32666 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
32667 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
32669 static void *_p_wxListEventTo_p_wxObject(void *x
) {
32670 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
32672 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
32673 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
32675 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
32676 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
32678 static void *_p_wxBookCtrlTo_p_wxObject(void *x
) {
32679 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrl
*) x
));
32681 static void *_p_wxButtonTo_p_wxObject(void *x
) {
32682 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
32684 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
32685 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
32687 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
32688 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
32690 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
32691 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
32693 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
32694 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
32696 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
32697 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
32699 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
32700 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
32702 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
32703 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
32705 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
32706 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
32708 static void *_p_wxListItemTo_p_wxObject(void *x
) {
32709 return (void *)((wxObject
*) ((wxListItem
*) x
));
32711 static void *_p_wxImageTo_p_wxObject(void *x
) {
32712 return (void *)((wxObject
*) ((wxImage
*) x
));
32714 static void *_p_wxNotebookSizerTo_p_wxObject(void *x
) {
32715 return (void *)((wxObject
*) (wxSizer
*) ((wxNotebookSizer
*) x
));
32717 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
32718 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
32720 static void *_p_wxSpinEventTo_p_wxObject(void *x
) {
32721 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
32723 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
32724 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
32726 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
32727 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
32729 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
32730 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
32732 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
32733 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
32735 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
32736 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32738 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
32739 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
32741 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
32742 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
32744 static void *_p_wxWindowTo_p_wxObject(void *x
) {
32745 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
32747 static void *_p_wxMenuTo_p_wxObject(void *x
) {
32748 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
32750 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
32751 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
32753 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
32754 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
32756 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
32757 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32759 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
32760 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
32762 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
32763 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
32765 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
32766 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
32768 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
32769 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
32771 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
32772 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
32774 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
32775 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
32777 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
32778 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32780 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
32781 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
32783 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
32784 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
32786 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
32787 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
32789 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
32790 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
32792 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
32793 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32795 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
32796 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
32798 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
32799 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
32801 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
32802 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
32804 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
32805 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
32807 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
32808 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
32810 static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x
) {
32811 return (void *)((wxObject
*) (wxSizer
*) ((wxBookCtrlSizer
*) x
));
32813 static void *_p_wxBookCtrlTo_p_wxWindow(void *x
) {
32814 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrl
*) x
));
32816 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
32817 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
32819 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
32820 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
32822 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
32823 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
32825 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
32826 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
32828 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
32829 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
32831 static void *_p_wxControlTo_p_wxWindow(void *x
) {
32832 return (void *)((wxWindow
*) ((wxControl
*) x
));
32834 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
32835 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
32837 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
32838 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32840 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
32841 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
32843 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
32844 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
32846 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
32847 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
32849 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
32850 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
32852 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
32853 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
32855 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
32856 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
32858 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
32859 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
32861 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
32862 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
32864 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
32865 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
32867 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
32868 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
32870 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
32871 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
32873 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
32874 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
32876 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
32877 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
32879 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
32880 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
32882 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
32883 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
32885 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
32886 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
32888 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
32889 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
32891 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
32892 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
32894 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
32895 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
32897 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
32898 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
32900 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
32901 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
32903 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
32904 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
32906 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
32907 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
32909 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
32910 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
32912 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
32913 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
32915 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
32916 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
32918 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
32919 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32921 static void *_p_wxBookCtrlEventTo_p_wxCommandEvent(void *x
) {
32922 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
32924 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
32925 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
32927 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
32928 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
32930 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
32931 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32933 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
32934 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32936 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
32937 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32939 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
32940 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
32942 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
32943 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
32945 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
32946 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
32948 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
32949 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32951 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
32952 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
32954 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x
) {
32955 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSpinEvent
*) x
));
32957 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
32958 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
32960 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
32961 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32963 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
32964 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32966 static void *_p_wxComboBoxTo_p_wxControlWithItems(void *x
) {
32967 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxComboBox
*) x
));
32969 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) {
32970 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32972 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) {
32973 return (void *)((wxControlWithItems
*) ((wxChoice
*) x
));
32975 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) {
32976 return (void *)((wxControlWithItems
*) ((wxListBox
*) x
));
32978 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) {
32979 return (void *)((wxControlWithItems
*) (wxListBox
*) ((wxCheckListBox
*) x
));
32981 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
32982 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
32984 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}};
32985 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}};
32986 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}};
32987 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}};
32988 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}};
32989 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}};
32990 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}};
32991 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}};
32992 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}};
32993 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}};
32994 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}};
32995 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}};
32996 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}};
32997 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}};
32998 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}};
32999 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}};
33000 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}};
33001 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}};
33002 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}};
33003 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}};
33004 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}};
33005 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}};
33006 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}};
33007 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}};
33008 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}};
33009 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}};
33010 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}};
33011 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}};
33012 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}};
33013 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}};
33014 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}};
33015 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}};
33016 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}};
33017 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}};
33018 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}};
33019 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}};
33020 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}};
33021 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}};
33022 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}};
33023 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}};
33024 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}};
33025 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}};
33026 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}};
33027 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}};
33028 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}};
33029 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}};
33030 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}};
33031 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}};
33032 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}};
33033 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}};
33034 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}};
33035 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}};
33036 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}};
33037 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}};
33038 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}};
33039 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}};
33040 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}};
33041 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}};
33042 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}};
33043 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}};
33044 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}};
33045 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}};
33046 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}};
33047 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}};
33048 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}};
33049 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}};
33050 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}};
33051 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}};
33052 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}};
33053 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}};
33054 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}};
33055 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}};
33056 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}};
33057 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}};
33058 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}};
33059 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}};
33060 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}};
33061 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}};
33062 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}};
33063 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}};
33064 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}};
33065 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}};
33066 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}};
33067 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}};
33068 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}};
33070 static swig_type_info
*swig_types_initial
[] = {
33071 _swigt__p_wxTextUrlEvent
,
33072 _swigt__p_wxBookCtrlEvent
,
33074 _swigt__p_wxCheckBox
,
33075 _swigt__p_wxPyTreeCtrl
,
33077 _swigt__p_wxGenericDirCtrl
,
33079 _swigt__p_wxPyTreeItemData
,
33080 _swigt__p_wxItemContainer
,
33081 _swigt__p_wxPyListCtrl
,
33082 _swigt__p_wxDirFilterListCtrl
,
33083 _swigt__p_wxStaticLine
,
33084 _swigt__p_wxControl
,
33085 _swigt__p_wxPyControl
,
33087 _swigt__p_wxToolBarBase
,
33089 _swigt__p_wxToggleButton
,
33090 _swigt__p_wxRadioButton
,
33091 _swigt__p_wxChoice
,
33092 _swigt__p_wxMemoryDC
,
33093 _swigt__p_wxListItemAttr
,
33098 _swigt__p_wxListView
,
33100 _swigt__p_wxVisualAttributes
,
33101 _swigt__p_wxTextCtrl
,
33102 _swigt__p_wxNotebook
,
33103 _swigt__p_wxNotifyEvent
,
33104 _swigt__p_wxArrayString
,
33105 _swigt__p_wxListbook
,
33106 _swigt__p_wxStaticBitmap
,
33107 _swigt__p_wxSlider
,
33108 _swigt__p_wxStaticBox
,
33109 _swigt__p_wxArrayInt
,
33110 _swigt__p_wxContextHelp
,
33112 _swigt__p_wxEvtHandler
,
33113 _swigt__p_wxListEvent
,
33114 _swigt__p_wxCheckListBox
,
33115 _swigt__p_wxListBox
,
33116 _swigt__p_wxBookCtrl
,
33117 _swigt__p_wxSpinButton
,
33118 _swigt__p_wxButton
,
33119 _swigt__p_wxBitmapButton
,
33121 _swigt__p_wxContextHelpButton
,
33122 _swigt__p_wxRadioBox
,
33123 _swigt__p_wxScrollBar
,
33125 _swigt__p_wxTreeItemId
,
33126 _swigt__p_wxComboBox
,
33127 _swigt__p_wxHelpEvent
,
33128 _swigt__p_wxListItem
,
33129 _swigt__p_wxNotebookSizer
,
33130 _swigt__p_wxSpinEvent
,
33131 _swigt__p_wxGenericDragImage
,
33132 _swigt__p_wxSpinCtrl
,
33133 _swigt__p_wxImageList
,
33134 _swigt__p_wxHelpProvider
,
33135 _swigt__p_wxTextAttr
,
33136 _swigt__p_wxSimpleHelpProvider
,
33138 _swigt__p_wxListbookEvent
,
33139 _swigt__p_wxNotebookEvent
,
33140 _swigt__p_wxObject
,
33141 _swigt__p_wxCursor
,
33142 _swigt__p_wxKeyEvent
,
33143 _swigt__p_wxWindow
,
33144 _swigt__p_wxString
,
33145 _swigt__p_wxBitmap
,
33146 _swigt__p_wxTreeEvent
,
33147 _swigt__p_wxMouseEvent
,
33148 _swigt__p_wxCommandEvent
,
33149 _swigt__p_wxStaticText
,
33150 _swigt__p_wxControlWithItems
,
33151 _swigt__p_wxToolBarToolBase
,
33152 _swigt__p_wxColour
,
33153 _swigt__p_wxToolBar
,
33154 _swigt__p_wxBookCtrlSizer
,
33155 _swigt__p_wxValidator
,
33160 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
33162 static swig_const_info swig_const_table
[] = {
33172 SWIGEXPORT(void) SWIG_init(void) {
33173 static PyObject
*SWIG_globals
= 0;
33174 static int typeinit
= 0;
33177 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
33178 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
33179 d
= PyModule_GetDict(m
);
33182 for (i
= 0; swig_types_initial
[i
]; i
++) {
33183 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
33187 SWIG_InstallConstants(d
,swig_const_table
);
33189 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
33190 SWIG_addvarlink(SWIG_globals
,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get
, _wrap_ButtonNameStr_set
);
33191 PyDict_SetItemString(d
,"BU_LEFT", SWIG_FromInt((int)wxBU_LEFT
));
33192 PyDict_SetItemString(d
,"BU_TOP", SWIG_FromInt((int)wxBU_TOP
));
33193 PyDict_SetItemString(d
,"BU_RIGHT", SWIG_FromInt((int)wxBU_RIGHT
));
33194 PyDict_SetItemString(d
,"BU_BOTTOM", SWIG_FromInt((int)wxBU_BOTTOM
));
33195 PyDict_SetItemString(d
,"BU_EXACTFIT", SWIG_FromInt((int)wxBU_EXACTFIT
));
33196 PyDict_SetItemString(d
,"BU_AUTODRAW", SWIG_FromInt((int)wxBU_AUTODRAW
));
33197 SWIG_addvarlink(SWIG_globals
,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get
, _wrap_CheckBoxNameStr_set
);
33198 PyDict_SetItemString(d
,"CHK_2STATE", SWIG_FromInt((int)wxCHK_2STATE
));
33199 PyDict_SetItemString(d
,"CHK_3STATE", SWIG_FromInt((int)wxCHK_3STATE
));
33200 PyDict_SetItemString(d
,"CHK_ALLOW_3RD_STATE_FOR_USER", SWIG_FromInt((int)wxCHK_ALLOW_3RD_STATE_FOR_USER
));
33201 PyDict_SetItemString(d
,"CHK_UNCHECKED", SWIG_FromInt((int)wxCHK_UNCHECKED
));
33202 PyDict_SetItemString(d
,"CHK_CHECKED", SWIG_FromInt((int)wxCHK_CHECKED
));
33203 PyDict_SetItemString(d
,"CHK_UNDETERMINED", SWIG_FromInt((int)wxCHK_UNDETERMINED
));
33204 SWIG_addvarlink(SWIG_globals
,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get
, _wrap_ChoiceNameStr_set
);
33205 SWIG_addvarlink(SWIG_globals
,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get
, _wrap_ComboBoxNameStr_set
);
33206 SWIG_addvarlink(SWIG_globals
,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get
, _wrap_GaugeNameStr_set
);
33207 PyDict_SetItemString(d
,"GA_HORIZONTAL", SWIG_FromInt((int)wxGA_HORIZONTAL
));
33208 PyDict_SetItemString(d
,"GA_VERTICAL", SWIG_FromInt((int)wxGA_VERTICAL
));
33209 PyDict_SetItemString(d
,"GA_SMOOTH", SWIG_FromInt((int)wxGA_SMOOTH
));
33210 PyDict_SetItemString(d
,"GA_PROGRESSBAR", SWIG_FromInt((int)wxGA_PROGRESSBAR
));
33211 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get
, _wrap_StaticBitmapNameStr_set
);
33212 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get
, _wrap_StaticBoxNameStr_set
);
33213 SWIG_addvarlink(SWIG_globals
,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get
, _wrap_StaticTextNameStr_set
);
33214 SWIG_addvarlink(SWIG_globals
,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get
, _wrap_ListBoxNameStr_set
);
33215 SWIG_addvarlink(SWIG_globals
,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get
, _wrap_TextCtrlNameStr_set
);
33216 PyDict_SetItemString(d
,"TE_NO_VSCROLL", SWIG_FromInt((int)wxTE_NO_VSCROLL
));
33217 PyDict_SetItemString(d
,"TE_AUTO_SCROLL", SWIG_FromInt((int)wxTE_AUTO_SCROLL
));
33218 PyDict_SetItemString(d
,"TE_READONLY", SWIG_FromInt((int)wxTE_READONLY
));
33219 PyDict_SetItemString(d
,"TE_MULTILINE", SWIG_FromInt((int)wxTE_MULTILINE
));
33220 PyDict_SetItemString(d
,"TE_PROCESS_TAB", SWIG_FromInt((int)wxTE_PROCESS_TAB
));
33221 PyDict_SetItemString(d
,"TE_LEFT", SWIG_FromInt((int)wxTE_LEFT
));
33222 PyDict_SetItemString(d
,"TE_CENTER", SWIG_FromInt((int)wxTE_CENTER
));
33223 PyDict_SetItemString(d
,"TE_RIGHT", SWIG_FromInt((int)wxTE_RIGHT
));
33224 PyDict_SetItemString(d
,"TE_CENTRE", SWIG_FromInt((int)wxTE_CENTRE
));
33225 PyDict_SetItemString(d
,"TE_RICH", SWIG_FromInt((int)wxTE_RICH
));
33226 PyDict_SetItemString(d
,"TE_PROCESS_ENTER", SWIG_FromInt((int)wxTE_PROCESS_ENTER
));
33227 PyDict_SetItemString(d
,"TE_PASSWORD", SWIG_FromInt((int)wxTE_PASSWORD
));
33228 PyDict_SetItemString(d
,"TE_AUTO_URL", SWIG_FromInt((int)wxTE_AUTO_URL
));
33229 PyDict_SetItemString(d
,"TE_NOHIDESEL", SWIG_FromInt((int)wxTE_NOHIDESEL
));
33230 PyDict_SetItemString(d
,"TE_DONTWRAP", SWIG_FromInt((int)wxTE_DONTWRAP
));
33231 PyDict_SetItemString(d
,"TE_LINEWRAP", SWIG_FromInt((int)wxTE_LINEWRAP
));
33232 PyDict_SetItemString(d
,"TE_WORDWRAP", SWIG_FromInt((int)wxTE_WORDWRAP
));
33233 PyDict_SetItemString(d
,"TE_RICH2", SWIG_FromInt((int)wxTE_RICH2
));
33234 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_DEFAULT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_DEFAULT
));
33235 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_LEFT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_LEFT
));
33236 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTRE", SWIG_FromInt((int)wxTEXT_ALIGNMENT_CENTRE
));
33237 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTER", SWIG_FromInt((int)wxTEXT_ALIGNMENT_CENTER
));
33238 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_RIGHT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_RIGHT
));
33239 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_JUSTIFIED", SWIG_FromInt((int)wxTEXT_ALIGNMENT_JUSTIFIED
));
33240 PyDict_SetItemString(d
,"TEXT_ATTR_TEXT_COLOUR", SWIG_FromInt((int)wxTEXT_ATTR_TEXT_COLOUR
));
33241 PyDict_SetItemString(d
,"TEXT_ATTR_BACKGROUND_COLOUR", SWIG_FromInt((int)wxTEXT_ATTR_BACKGROUND_COLOUR
));
33242 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_FACE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_FACE
));
33243 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_SIZE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_SIZE
));
33244 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_WEIGHT", SWIG_FromInt((int)wxTEXT_ATTR_FONT_WEIGHT
));
33245 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_ITALIC", SWIG_FromInt((int)wxTEXT_ATTR_FONT_ITALIC
));
33246 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_UNDERLINE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_UNDERLINE
));
33247 PyDict_SetItemString(d
,"TEXT_ATTR_FONT", SWIG_FromInt((int)wxTEXT_ATTR_FONT
));
33248 PyDict_SetItemString(d
,"TEXT_ATTR_ALIGNMENT", SWIG_FromInt((int)wxTEXT_ATTR_ALIGNMENT
));
33249 PyDict_SetItemString(d
,"TEXT_ATTR_LEFT_INDENT", SWIG_FromInt((int)wxTEXT_ATTR_LEFT_INDENT
));
33250 PyDict_SetItemString(d
,"TEXT_ATTR_RIGHT_INDENT", SWIG_FromInt((int)wxTEXT_ATTR_RIGHT_INDENT
));
33251 PyDict_SetItemString(d
,"TEXT_ATTR_TABS", SWIG_FromInt((int)wxTEXT_ATTR_TABS
));
33252 PyDict_SetItemString(d
,"TE_HT_UNKNOWN", SWIG_FromInt((int)wxTE_HT_UNKNOWN
));
33253 PyDict_SetItemString(d
,"TE_HT_BEFORE", SWIG_FromInt((int)wxTE_HT_BEFORE
));
33254 PyDict_SetItemString(d
,"TE_HT_ON_TEXT", SWIG_FromInt((int)wxTE_HT_ON_TEXT
));
33255 PyDict_SetItemString(d
,"TE_HT_BELOW", SWIG_FromInt((int)wxTE_HT_BELOW
));
33256 PyDict_SetItemString(d
,"TE_HT_BEYOND", SWIG_FromInt((int)wxTE_HT_BEYOND
));
33257 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED
));
33258 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER
));
33259 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL
));
33260 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN
));
33261 SWIG_addvarlink(SWIG_globals
,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get
, _wrap_ScrollBarNameStr_set
);
33262 SWIG_addvarlink(SWIG_globals
,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get
, _wrap_SPIN_BUTTON_NAME_set
);
33263 SWIG_addvarlink(SWIG_globals
,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get
, _wrap_SpinCtrlNameStr_set
);
33264 PyDict_SetItemString(d
,"SP_HORIZONTAL", SWIG_FromInt((int)wxSP_HORIZONTAL
));
33265 PyDict_SetItemString(d
,"SP_VERTICAL", SWIG_FromInt((int)wxSP_VERTICAL
));
33266 PyDict_SetItemString(d
,"SP_ARROW_KEYS", SWIG_FromInt((int)wxSP_ARROW_KEYS
));
33267 PyDict_SetItemString(d
,"SP_WRAP", SWIG_FromInt((int)wxSP_WRAP
));
33268 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED
));
33269 SWIG_addvarlink(SWIG_globals
,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get
, _wrap_RadioBoxNameStr_set
);
33270 SWIG_addvarlink(SWIG_globals
,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get
, _wrap_RadioButtonNameStr_set
);
33271 SWIG_addvarlink(SWIG_globals
,(char*)"SliderNameStr",_wrap_SliderNameStr_get
, _wrap_SliderNameStr_set
);
33272 SWIG_addvarlink(SWIG_globals
,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get
, _wrap_ToggleButtonNameStr_set
);
33273 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
33274 SWIG_addvarlink(SWIG_globals
,(char*)"NOTEBOOK_NAME",_wrap_NOTEBOOK_NAME_get
, _wrap_NOTEBOOK_NAME_set
);
33275 PyDict_SetItemString(d
,"NB_FIXEDWIDTH", SWIG_FromInt((int)wxNB_FIXEDWIDTH
));
33276 PyDict_SetItemString(d
,"NB_TOP", SWIG_FromInt((int)wxNB_TOP
));
33277 PyDict_SetItemString(d
,"NB_LEFT", SWIG_FromInt((int)wxNB_LEFT
));
33278 PyDict_SetItemString(d
,"NB_RIGHT", SWIG_FromInt((int)wxNB_RIGHT
));
33279 PyDict_SetItemString(d
,"NB_BOTTOM", SWIG_FromInt((int)wxNB_BOTTOM
));
33280 PyDict_SetItemString(d
,"NB_MULTILINE", SWIG_FromInt((int)wxNB_MULTILINE
));
33281 PyDict_SetItemString(d
,"NB_HITTEST_NOWHERE", SWIG_FromInt((int)wxNB_HITTEST_NOWHERE
));
33282 PyDict_SetItemString(d
,"NB_HITTEST_ONICON", SWIG_FromInt((int)wxNB_HITTEST_ONICON
));
33283 PyDict_SetItemString(d
,"NB_HITTEST_ONLABEL", SWIG_FromInt((int)wxNB_HITTEST_ONLABEL
));
33284 PyDict_SetItemString(d
,"NB_HITTEST_ONITEM", SWIG_FromInt((int)wxNB_HITTEST_ONITEM
));
33285 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
33286 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
33287 PyDict_SetItemString(d
,"LB_DEFAULT", SWIG_FromInt((int)wxLB_DEFAULT
));
33288 PyDict_SetItemString(d
,"LB_TOP", SWIG_FromInt((int)wxLB_TOP
));
33289 PyDict_SetItemString(d
,"LB_BOTTOM", SWIG_FromInt((int)wxLB_BOTTOM
));
33290 PyDict_SetItemString(d
,"LB_LEFT", SWIG_FromInt((int)wxLB_LEFT
));
33291 PyDict_SetItemString(d
,"LB_RIGHT", SWIG_FromInt((int)wxLB_RIGHT
));
33292 PyDict_SetItemString(d
,"LB_ALIGN_MASK", SWIG_FromInt((int)wxLB_ALIGN_MASK
));
33293 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
));
33294 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
));
33295 PyDict_SetItemString(d
,"TOOL_STYLE_BUTTON", SWIG_FromInt((int)wxTOOL_STYLE_BUTTON
));
33296 PyDict_SetItemString(d
,"TOOL_STYLE_SEPARATOR", SWIG_FromInt((int)wxTOOL_STYLE_SEPARATOR
));
33297 PyDict_SetItemString(d
,"TOOL_STYLE_CONTROL", SWIG_FromInt((int)wxTOOL_STYLE_CONTROL
));
33298 PyDict_SetItemString(d
,"TB_HORIZONTAL", SWIG_FromInt((int)wxTB_HORIZONTAL
));
33299 PyDict_SetItemString(d
,"TB_VERTICAL", SWIG_FromInt((int)wxTB_VERTICAL
));
33300 PyDict_SetItemString(d
,"TB_3DBUTTONS", SWIG_FromInt((int)wxTB_3DBUTTONS
));
33301 PyDict_SetItemString(d
,"TB_FLAT", SWIG_FromInt((int)wxTB_FLAT
));
33302 PyDict_SetItemString(d
,"TB_DOCKABLE", SWIG_FromInt((int)wxTB_DOCKABLE
));
33303 PyDict_SetItemString(d
,"TB_NOICONS", SWIG_FromInt((int)wxTB_NOICONS
));
33304 PyDict_SetItemString(d
,"TB_TEXT", SWIG_FromInt((int)wxTB_TEXT
));
33305 PyDict_SetItemString(d
,"TB_NODIVIDER", SWIG_FromInt((int)wxTB_NODIVIDER
));
33306 PyDict_SetItemString(d
,"TB_NOALIGN", SWIG_FromInt((int)wxTB_NOALIGN
));
33307 PyDict_SetItemString(d
,"TB_HORZ_LAYOUT", SWIG_FromInt((int)wxTB_HORZ_LAYOUT
));
33308 PyDict_SetItemString(d
,"TB_HORZ_TEXT", SWIG_FromInt((int)wxTB_HORZ_TEXT
));
33309 SWIG_addvarlink(SWIG_globals
,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get
, _wrap_ListCtrlNameStr_set
);
33310 PyDict_SetItemString(d
,"LC_VRULES", SWIG_FromInt((int)wxLC_VRULES
));
33311 PyDict_SetItemString(d
,"LC_HRULES", SWIG_FromInt((int)wxLC_HRULES
));
33312 PyDict_SetItemString(d
,"LC_ICON", SWIG_FromInt((int)wxLC_ICON
));
33313 PyDict_SetItemString(d
,"LC_SMALL_ICON", SWIG_FromInt((int)wxLC_SMALL_ICON
));
33314 PyDict_SetItemString(d
,"LC_LIST", SWIG_FromInt((int)wxLC_LIST
));
33315 PyDict_SetItemString(d
,"LC_REPORT", SWIG_FromInt((int)wxLC_REPORT
));
33316 PyDict_SetItemString(d
,"LC_ALIGN_TOP", SWIG_FromInt((int)wxLC_ALIGN_TOP
));
33317 PyDict_SetItemString(d
,"LC_ALIGN_LEFT", SWIG_FromInt((int)wxLC_ALIGN_LEFT
));
33318 PyDict_SetItemString(d
,"LC_AUTOARRANGE", SWIG_FromInt((int)wxLC_AUTOARRANGE
));
33319 PyDict_SetItemString(d
,"LC_VIRTUAL", SWIG_FromInt((int)wxLC_VIRTUAL
));
33320 PyDict_SetItemString(d
,"LC_EDIT_LABELS", SWIG_FromInt((int)wxLC_EDIT_LABELS
));
33321 PyDict_SetItemString(d
,"LC_NO_HEADER", SWIG_FromInt((int)wxLC_NO_HEADER
));
33322 PyDict_SetItemString(d
,"LC_NO_SORT_HEADER", SWIG_FromInt((int)wxLC_NO_SORT_HEADER
));
33323 PyDict_SetItemString(d
,"LC_SINGLE_SEL", SWIG_FromInt((int)wxLC_SINGLE_SEL
));
33324 PyDict_SetItemString(d
,"LC_SORT_ASCENDING", SWIG_FromInt((int)wxLC_SORT_ASCENDING
));
33325 PyDict_SetItemString(d
,"LC_SORT_DESCENDING", SWIG_FromInt((int)wxLC_SORT_DESCENDING
));
33326 PyDict_SetItemString(d
,"LC_MASK_TYPE", SWIG_FromInt((int)wxLC_MASK_TYPE
));
33327 PyDict_SetItemString(d
,"LC_MASK_ALIGN", SWIG_FromInt((int)wxLC_MASK_ALIGN
));
33328 PyDict_SetItemString(d
,"LC_MASK_SORT", SWIG_FromInt((int)wxLC_MASK_SORT
));
33329 PyDict_SetItemString(d
,"LIST_MASK_STATE", SWIG_FromInt((int)wxLIST_MASK_STATE
));
33330 PyDict_SetItemString(d
,"LIST_MASK_TEXT", SWIG_FromInt((int)wxLIST_MASK_TEXT
));
33331 PyDict_SetItemString(d
,"LIST_MASK_IMAGE", SWIG_FromInt((int)wxLIST_MASK_IMAGE
));
33332 PyDict_SetItemString(d
,"LIST_MASK_DATA", SWIG_FromInt((int)wxLIST_MASK_DATA
));
33333 PyDict_SetItemString(d
,"LIST_SET_ITEM", SWIG_FromInt((int)wxLIST_SET_ITEM
));
33334 PyDict_SetItemString(d
,"LIST_MASK_WIDTH", SWIG_FromInt((int)wxLIST_MASK_WIDTH
));
33335 PyDict_SetItemString(d
,"LIST_MASK_FORMAT", SWIG_FromInt((int)wxLIST_MASK_FORMAT
));
33336 PyDict_SetItemString(d
,"LIST_STATE_DONTCARE", SWIG_FromInt((int)wxLIST_STATE_DONTCARE
));
33337 PyDict_SetItemString(d
,"LIST_STATE_DROPHILITED", SWIG_FromInt((int)wxLIST_STATE_DROPHILITED
));
33338 PyDict_SetItemString(d
,"LIST_STATE_FOCUSED", SWIG_FromInt((int)wxLIST_STATE_FOCUSED
));
33339 PyDict_SetItemString(d
,"LIST_STATE_SELECTED", SWIG_FromInt((int)wxLIST_STATE_SELECTED
));
33340 PyDict_SetItemString(d
,"LIST_STATE_CUT", SWIG_FromInt((int)wxLIST_STATE_CUT
));
33341 PyDict_SetItemString(d
,"LIST_STATE_DISABLED", SWIG_FromInt((int)wxLIST_STATE_DISABLED
));
33342 PyDict_SetItemString(d
,"LIST_STATE_FILTERED", SWIG_FromInt((int)wxLIST_STATE_FILTERED
));
33343 PyDict_SetItemString(d
,"LIST_STATE_INUSE", SWIG_FromInt((int)wxLIST_STATE_INUSE
));
33344 PyDict_SetItemString(d
,"LIST_STATE_PICKED", SWIG_FromInt((int)wxLIST_STATE_PICKED
));
33345 PyDict_SetItemString(d
,"LIST_STATE_SOURCE", SWIG_FromInt((int)wxLIST_STATE_SOURCE
));
33346 PyDict_SetItemString(d
,"LIST_HITTEST_ABOVE", SWIG_FromInt((int)wxLIST_HITTEST_ABOVE
));
33347 PyDict_SetItemString(d
,"LIST_HITTEST_BELOW", SWIG_FromInt((int)wxLIST_HITTEST_BELOW
));
33348 PyDict_SetItemString(d
,"LIST_HITTEST_NOWHERE", SWIG_FromInt((int)wxLIST_HITTEST_NOWHERE
));
33349 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMICON", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMICON
));
33350 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMLABEL", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMLABEL
));
33351 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMRIGHT", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMRIGHT
));
33352 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMSTATEICON", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMSTATEICON
));
33353 PyDict_SetItemString(d
,"LIST_HITTEST_TOLEFT", SWIG_FromInt((int)wxLIST_HITTEST_TOLEFT
));
33354 PyDict_SetItemString(d
,"LIST_HITTEST_TORIGHT", SWIG_FromInt((int)wxLIST_HITTEST_TORIGHT
));
33355 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEM", SWIG_FromInt((int)wxLIST_HITTEST_ONITEM
));
33356 PyDict_SetItemString(d
,"LIST_NEXT_ABOVE", SWIG_FromInt((int)wxLIST_NEXT_ABOVE
));
33357 PyDict_SetItemString(d
,"LIST_NEXT_ALL", SWIG_FromInt((int)wxLIST_NEXT_ALL
));
33358 PyDict_SetItemString(d
,"LIST_NEXT_BELOW", SWIG_FromInt((int)wxLIST_NEXT_BELOW
));
33359 PyDict_SetItemString(d
,"LIST_NEXT_LEFT", SWIG_FromInt((int)wxLIST_NEXT_LEFT
));
33360 PyDict_SetItemString(d
,"LIST_NEXT_RIGHT", SWIG_FromInt((int)wxLIST_NEXT_RIGHT
));
33361 PyDict_SetItemString(d
,"LIST_ALIGN_DEFAULT", SWIG_FromInt((int)wxLIST_ALIGN_DEFAULT
));
33362 PyDict_SetItemString(d
,"LIST_ALIGN_LEFT", SWIG_FromInt((int)wxLIST_ALIGN_LEFT
));
33363 PyDict_SetItemString(d
,"LIST_ALIGN_TOP", SWIG_FromInt((int)wxLIST_ALIGN_TOP
));
33364 PyDict_SetItemString(d
,"LIST_ALIGN_SNAP_TO_GRID", SWIG_FromInt((int)wxLIST_ALIGN_SNAP_TO_GRID
));
33365 PyDict_SetItemString(d
,"LIST_FORMAT_LEFT", SWIG_FromInt((int)wxLIST_FORMAT_LEFT
));
33366 PyDict_SetItemString(d
,"LIST_FORMAT_RIGHT", SWIG_FromInt((int)wxLIST_FORMAT_RIGHT
));
33367 PyDict_SetItemString(d
,"LIST_FORMAT_CENTRE", SWIG_FromInt((int)wxLIST_FORMAT_CENTRE
));
33368 PyDict_SetItemString(d
,"LIST_FORMAT_CENTER", SWIG_FromInt((int)wxLIST_FORMAT_CENTER
));
33369 PyDict_SetItemString(d
,"LIST_AUTOSIZE", SWIG_FromInt((int)wxLIST_AUTOSIZE
));
33370 PyDict_SetItemString(d
,"LIST_AUTOSIZE_USEHEADER", SWIG_FromInt((int)wxLIST_AUTOSIZE_USEHEADER
));
33371 PyDict_SetItemString(d
,"LIST_RECT_BOUNDS", SWIG_FromInt((int)wxLIST_RECT_BOUNDS
));
33372 PyDict_SetItemString(d
,"LIST_RECT_ICON", SWIG_FromInt((int)wxLIST_RECT_ICON
));
33373 PyDict_SetItemString(d
,"LIST_RECT_LABEL", SWIG_FromInt((int)wxLIST_RECT_LABEL
));
33374 PyDict_SetItemString(d
,"LIST_FIND_UP", SWIG_FromInt((int)wxLIST_FIND_UP
));
33375 PyDict_SetItemString(d
,"LIST_FIND_DOWN", SWIG_FromInt((int)wxLIST_FIND_DOWN
));
33376 PyDict_SetItemString(d
,"LIST_FIND_LEFT", SWIG_FromInt((int)wxLIST_FIND_LEFT
));
33377 PyDict_SetItemString(d
,"LIST_FIND_RIGHT", SWIG_FromInt((int)wxLIST_FIND_RIGHT
));
33378 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG
));
33379 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
33380 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
33381 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
33382 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM
));
33383 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
33384 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO
));
33385 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO
));
33386 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED
));
33387 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
33388 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN
));
33389 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM
));
33390 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK
));
33391 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
33392 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
33393 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
33394 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT
));
33395 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
33396 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
33397 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING
));
33398 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG
));
33399 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
33401 // Map renamed classes back to their common name for OOR
33402 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
33404 SWIG_addvarlink(SWIG_globals
,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get
, _wrap_TreeCtrlNameStr_set
);
33405 PyDict_SetItemString(d
,"TR_NO_BUTTONS", SWIG_FromInt((int)wxTR_NO_BUTTONS
));
33406 PyDict_SetItemString(d
,"TR_HAS_BUTTONS", SWIG_FromInt((int)wxTR_HAS_BUTTONS
));
33407 PyDict_SetItemString(d
,"TR_NO_LINES", SWIG_FromInt((int)wxTR_NO_LINES
));
33408 PyDict_SetItemString(d
,"TR_LINES_AT_ROOT", SWIG_FromInt((int)wxTR_LINES_AT_ROOT
));
33409 PyDict_SetItemString(d
,"TR_SINGLE", SWIG_FromInt((int)wxTR_SINGLE
));
33410 PyDict_SetItemString(d
,"TR_MULTIPLE", SWIG_FromInt((int)wxTR_MULTIPLE
));
33411 PyDict_SetItemString(d
,"TR_EXTENDED", SWIG_FromInt((int)wxTR_EXTENDED
));
33412 PyDict_SetItemString(d
,"TR_HAS_VARIABLE_ROW_HEIGHT", SWIG_FromInt((int)wxTR_HAS_VARIABLE_ROW_HEIGHT
));
33413 PyDict_SetItemString(d
,"TR_EDIT_LABELS", SWIG_FromInt((int)wxTR_EDIT_LABELS
));
33414 PyDict_SetItemString(d
,"TR_HIDE_ROOT", SWIG_FromInt((int)wxTR_HIDE_ROOT
));
33415 PyDict_SetItemString(d
,"TR_ROW_LINES", SWIG_FromInt((int)wxTR_ROW_LINES
));
33416 PyDict_SetItemString(d
,"TR_FULL_ROW_HIGHLIGHT", SWIG_FromInt((int)wxTR_FULL_ROW_HIGHLIGHT
));
33417 PyDict_SetItemString(d
,"TR_DEFAULT_STYLE", SWIG_FromInt((int)wxTR_DEFAULT_STYLE
));
33418 PyDict_SetItemString(d
,"TR_TWIST_BUTTONS", SWIG_FromInt((int)wxTR_TWIST_BUTTONS
));
33419 PyDict_SetItemString(d
,"TR_MAC_BUTTONS", SWIG_FromInt((int)wxTR_MAC_BUTTONS
));
33420 PyDict_SetItemString(d
,"TR_AQUA_BUTTONS", SWIG_FromInt((int)wxTR_AQUA_BUTTONS
));
33421 PyDict_SetItemString(d
,"TreeItemIcon_Normal", SWIG_FromInt((int)wxTreeItemIcon_Normal
));
33422 PyDict_SetItemString(d
,"TreeItemIcon_Selected", SWIG_FromInt((int)wxTreeItemIcon_Selected
));
33423 PyDict_SetItemString(d
,"TreeItemIcon_Expanded", SWIG_FromInt((int)wxTreeItemIcon_Expanded
));
33424 PyDict_SetItemString(d
,"TreeItemIcon_SelectedExpanded", SWIG_FromInt((int)wxTreeItemIcon_SelectedExpanded
));
33425 PyDict_SetItemString(d
,"TreeItemIcon_Max", SWIG_FromInt((int)wxTreeItemIcon_Max
));
33426 PyDict_SetItemString(d
,"TREE_HITTEST_ABOVE", SWIG_FromInt((int)wxTREE_HITTEST_ABOVE
));
33427 PyDict_SetItemString(d
,"TREE_HITTEST_BELOW", SWIG_FromInt((int)wxTREE_HITTEST_BELOW
));
33428 PyDict_SetItemString(d
,"TREE_HITTEST_NOWHERE", SWIG_FromInt((int)wxTREE_HITTEST_NOWHERE
));
33429 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMBUTTON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMBUTTON
));
33430 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMICON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMICON
));
33431 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMINDENT", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMINDENT
));
33432 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLABEL", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMLABEL
));
33433 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMRIGHT", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMRIGHT
));
33434 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMSTATEICON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMSTATEICON
));
33435 PyDict_SetItemString(d
,"TREE_HITTEST_TOLEFT", SWIG_FromInt((int)wxTREE_HITTEST_TOLEFT
));
33436 PyDict_SetItemString(d
,"TREE_HITTEST_TORIGHT", SWIG_FromInt((int)wxTREE_HITTEST_TORIGHT
));
33437 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMUPPERPART", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMUPPERPART
));
33438 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLOWERPART", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMLOWERPART
));
33439 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEM", SWIG_FromInt((int)wxTREE_HITTEST_ONITEM
));
33440 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG
));
33441 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
33442 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
33443 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
33444 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM
));
33445 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO
));
33446 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO
));
33447 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
33448 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
33449 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
33450 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
33451 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED
));
33452 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING
));
33453 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN
));
33454 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
33455 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
33456 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
33457 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG
));
33458 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
));
33459 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
));
33461 // Map renamed classes back to their common name for OOR
33462 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
33463 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
33465 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get
, _wrap_DirDialogDefaultFolderStr_set
);
33466 PyDict_SetItemString(d
,"DIRCTRL_DIR_ONLY", SWIG_FromInt((int)wxDIRCTRL_DIR_ONLY
));
33467 PyDict_SetItemString(d
,"DIRCTRL_SELECT_FIRST", SWIG_FromInt((int)wxDIRCTRL_SELECT_FIRST
));
33468 PyDict_SetItemString(d
,"DIRCTRL_SHOW_FILTERS", SWIG_FromInt((int)wxDIRCTRL_SHOW_FILTERS
));
33469 PyDict_SetItemString(d
,"DIRCTRL_3D_INTERNAL", SWIG_FromInt((int)wxDIRCTRL_3D_INTERNAL
));
33470 PyDict_SetItemString(d
,"DIRCTRL_EDIT_LABELS", SWIG_FromInt((int)wxDIRCTRL_EDIT_LABELS
));
33471 PyDict_SetItemString(d
,"FRAME_EX_CONTEXTHELP", SWIG_FromInt((int)wxFRAME_EX_CONTEXTHELP
));
33472 PyDict_SetItemString(d
,"DIALOG_EX_CONTEXTHELP", SWIG_FromInt((int)wxDIALOG_EX_CONTEXTHELP
));
33473 PyDict_SetItemString(d
, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP
));
33474 PyDict_SetItemString(d
, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP
));
33476 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");