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
){
750 return (wxWindow
*)self
->m_mainWin
;
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_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6776 PyObject
*resultobj
;
6777 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6781 PyObject
* obj0
= 0 ;
6782 PyObject
* obj1
= 0 ;
6784 (char *) "self",(char *) "pt", NULL
6787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
6788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6792 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6796 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
6798 wxPyEndAllowThreads(__tstate
);
6799 if (PyErr_Occurred()) SWIG_fail
;
6801 resultobj
= SWIG_FromInt((int)result
);
6808 static PyObject
*_wrap_CheckListBox_HitTestXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6809 PyObject
*resultobj
;
6810 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6814 PyObject
* obj0
= 0 ;
6815 PyObject
* obj1
= 0 ;
6816 PyObject
* obj2
= 0 ;
6818 (char *) "self",(char *) "x",(char *) "y", NULL
6821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:CheckListBox_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6822 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6823 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6824 arg2
= (int) SWIG_AsInt(obj1
);
6825 if (PyErr_Occurred()) SWIG_fail
;
6826 arg3
= (int) SWIG_AsInt(obj2
);
6827 if (PyErr_Occurred()) SWIG_fail
;
6829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6830 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest(arg2
,arg3
);
6832 wxPyEndAllowThreads(__tstate
);
6833 if (PyErr_Occurred()) SWIG_fail
;
6835 resultobj
= SWIG_FromInt((int)result
);
6842 static PyObject
* CheckListBox_swigregister(PyObject
*self
, PyObject
*args
) {
6844 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6845 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox
, obj
);
6847 return Py_BuildValue((char *)"");
6849 static int _wrap_TextCtrlNameStr_set(PyObject
*_val
) {
6850 PyErr_SetString(PyExc_TypeError
,"Variable TextCtrlNameStr is read-only.");
6855 static PyObject
*_wrap_TextCtrlNameStr_get() {
6860 pyobj
= PyUnicode_FromWideChar((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
6862 pyobj
= PyString_FromStringAndSize((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
6869 static PyObject
*_wrap_new_TextAttr__SWIG_0(PyObject
*self
, PyObject
*args
) {
6870 PyObject
*resultobj
;
6873 if(!PyArg_ParseTuple(args
,(char *)":new_TextAttr")) goto fail
;
6875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6876 result
= (wxTextAttr
*)new wxTextAttr();
6878 wxPyEndAllowThreads(__tstate
);
6879 if (PyErr_Occurred()) SWIG_fail
;
6881 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 1);
6888 static PyObject
*_wrap_new_TextAttr__SWIG_1(PyObject
*self
, PyObject
*args
) {
6889 PyObject
*resultobj
;
6890 wxColour
*arg1
= 0 ;
6891 wxColour
const &arg2_defvalue
= wxNullColour
;
6892 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
6893 wxFont
const &arg3_defvalue
= wxNullFont
;
6894 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
6895 int arg4
= (int) wxTEXT_ALIGNMENT_DEFAULT
;
6899 PyObject
* obj0
= 0 ;
6900 PyObject
* obj1
= 0 ;
6901 PyObject
* obj2
= 0 ;
6902 PyObject
* obj3
= 0 ;
6904 if(!PyArg_ParseTuple(args
,(char *)"O|OOO:new_TextAttr",&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6907 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
6912 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6916 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
6917 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6920 PyErr_SetString(PyExc_TypeError
,"null reference");
6925 arg4
= (wxTextAttrAlignment
) SWIG_AsInt(obj3
);
6926 if (PyErr_Occurred()) SWIG_fail
;
6929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6930 result
= (wxTextAttr
*)new wxTextAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
,(wxTextAttrAlignment
)arg4
);
6932 wxPyEndAllowThreads(__tstate
);
6933 if (PyErr_Occurred()) SWIG_fail
;
6935 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 1);
6942 static PyObject
*_wrap_new_TextAttr(PyObject
*self
, PyObject
*args
) {
6947 argc
= PyObject_Length(args
);
6948 for (ii
= 0; (ii
< argc
) && (ii
< 4); ii
++) {
6949 argv
[ii
] = PyTuple_GetItem(args
,ii
);
6952 return _wrap_new_TextAttr__SWIG_0(self
,args
);
6954 if ((argc
>= 1) && (argc
<= 4)) {
6957 _v
= wxColour_typecheck(argv
[0]);
6961 return _wrap_new_TextAttr__SWIG_1(self
,args
);
6964 _v
= wxColour_typecheck(argv
[1]);
6968 return _wrap_new_TextAttr__SWIG_1(self
,args
);
6972 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxFont
, 0) == -1) {
6981 return _wrap_new_TextAttr__SWIG_1(self
,args
);
6983 _v
= SWIG_CheckInt(argv
[3]);
6985 return _wrap_new_TextAttr__SWIG_1(self
,args
);
6992 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_TextAttr'");
6997 static PyObject
*_wrap_delete_TextAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6998 PyObject
*resultobj
;
6999 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7000 PyObject
* obj0
= 0 ;
7002 (char *) "self", NULL
7005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TextAttr",kwnames
,&obj0
)) goto fail
;
7006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7012 wxPyEndAllowThreads(__tstate
);
7013 if (PyErr_Occurred()) SWIG_fail
;
7015 Py_INCREF(Py_None
); resultobj
= Py_None
;
7022 static PyObject
*_wrap_TextAttr_Init(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7023 PyObject
*resultobj
;
7024 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7025 PyObject
* obj0
= 0 ;
7027 (char *) "self", NULL
7030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_Init",kwnames
,&obj0
)) goto fail
;
7031 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7032 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7037 wxPyEndAllowThreads(__tstate
);
7038 if (PyErr_Occurred()) SWIG_fail
;
7040 Py_INCREF(Py_None
); resultobj
= Py_None
;
7047 static PyObject
*_wrap_TextAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7048 PyObject
*resultobj
;
7049 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7050 wxColour
*arg2
= 0 ;
7052 PyObject
* obj0
= 0 ;
7053 PyObject
* obj1
= 0 ;
7055 (char *) "self",(char *) "colText", NULL
7058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
7059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7063 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
7066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7067 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
7069 wxPyEndAllowThreads(__tstate
);
7070 if (PyErr_Occurred()) SWIG_fail
;
7072 Py_INCREF(Py_None
); resultobj
= Py_None
;
7079 static PyObject
*_wrap_TextAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7080 PyObject
*resultobj
;
7081 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7082 wxColour
*arg2
= 0 ;
7084 PyObject
* obj0
= 0 ;
7085 PyObject
* obj1
= 0 ;
7087 (char *) "self",(char *) "colBack", NULL
7090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
7091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7095 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
7098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7099 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
7101 wxPyEndAllowThreads(__tstate
);
7102 if (PyErr_Occurred()) SWIG_fail
;
7104 Py_INCREF(Py_None
); resultobj
= Py_None
;
7111 static PyObject
*_wrap_TextAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7112 PyObject
*resultobj
;
7113 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7115 long arg3
= (long) wxTEXT_ATTR_FONT
;
7116 PyObject
* obj0
= 0 ;
7117 PyObject
* obj1
= 0 ;
7118 PyObject
* obj2
= 0 ;
7120 (char *) "self",(char *) "font",(char *) "flags", NULL
7123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7126 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
7127 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7130 PyErr_SetString(PyExc_TypeError
,"null reference");
7134 arg3
= (long) SWIG_AsLong(obj2
);
7135 if (PyErr_Occurred()) SWIG_fail
;
7138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7139 (arg1
)->SetFont((wxFont
const &)*arg2
,arg3
);
7141 wxPyEndAllowThreads(__tstate
);
7142 if (PyErr_Occurred()) SWIG_fail
;
7144 Py_INCREF(Py_None
); resultobj
= Py_None
;
7151 static PyObject
*_wrap_TextAttr_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7152 PyObject
*resultobj
;
7153 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7155 PyObject
* obj0
= 0 ;
7156 PyObject
* obj1
= 0 ;
7158 (char *) "self",(char *) "alignment", NULL
7161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
7162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7164 arg2
= (wxTextAttrAlignment
) SWIG_AsInt(obj1
);
7165 if (PyErr_Occurred()) SWIG_fail
;
7167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7168 (arg1
)->SetAlignment((wxTextAttrAlignment
)arg2
);
7170 wxPyEndAllowThreads(__tstate
);
7171 if (PyErr_Occurred()) SWIG_fail
;
7173 Py_INCREF(Py_None
); resultobj
= Py_None
;
7180 static PyObject
*_wrap_TextAttr_SetTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7181 PyObject
*resultobj
;
7182 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7183 wxArrayInt
*arg2
= 0 ;
7184 bool temp2
= False
;
7185 PyObject
* obj0
= 0 ;
7186 PyObject
* obj1
= 0 ;
7188 (char *) "self",(char *) "tabs", NULL
7191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) goto fail
;
7192 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7195 if (! PySequence_Check(obj1
)) {
7196 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
7199 arg2
= new wxArrayInt
;
7201 int i
, len
=PySequence_Length(obj1
);
7202 for (i
=0; i
<len
; i
++) {
7203 PyObject
* item
= PySequence_GetItem(obj1
, i
);
7204 PyObject
* number
= PyNumber_Int(item
);
7205 arg2
->Add(PyInt_AS_LONG(number
));
7211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7212 (arg1
)->SetTabs((wxArrayInt
const &)*arg2
);
7214 wxPyEndAllowThreads(__tstate
);
7215 if (PyErr_Occurred()) SWIG_fail
;
7217 Py_INCREF(Py_None
); resultobj
= Py_None
;
7219 if (temp2
) delete arg2
;
7224 if (temp2
) delete arg2
;
7230 static PyObject
*_wrap_TextAttr_SetLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7231 PyObject
*resultobj
;
7232 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7234 PyObject
* obj0
= 0 ;
7235 PyObject
* obj1
= 0 ;
7237 (char *) "self",(char *) "indent", NULL
7240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetLeftIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
7241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7243 arg2
= (int) SWIG_AsInt(obj1
);
7244 if (PyErr_Occurred()) SWIG_fail
;
7246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7247 (arg1
)->SetLeftIndent(arg2
);
7249 wxPyEndAllowThreads(__tstate
);
7250 if (PyErr_Occurred()) SWIG_fail
;
7252 Py_INCREF(Py_None
); resultobj
= Py_None
;
7259 static PyObject
*_wrap_TextAttr_SetRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7260 PyObject
*resultobj
;
7261 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7263 PyObject
* obj0
= 0 ;
7264 PyObject
* obj1
= 0 ;
7266 (char *) "self",(char *) "indent", NULL
7269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetRightIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
7270 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7272 arg2
= (int) SWIG_AsInt(obj1
);
7273 if (PyErr_Occurred()) SWIG_fail
;
7275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7276 (arg1
)->SetRightIndent(arg2
);
7278 wxPyEndAllowThreads(__tstate
);
7279 if (PyErr_Occurred()) SWIG_fail
;
7281 Py_INCREF(Py_None
); resultobj
= Py_None
;
7288 static PyObject
*_wrap_TextAttr_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7289 PyObject
*resultobj
;
7290 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7292 PyObject
* obj0
= 0 ;
7293 PyObject
* obj1
= 0 ;
7295 (char *) "self",(char *) "flags", NULL
7298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
7299 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7301 arg2
= (long) SWIG_AsLong(obj1
);
7302 if (PyErr_Occurred()) SWIG_fail
;
7304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7305 (arg1
)->SetFlags(arg2
);
7307 wxPyEndAllowThreads(__tstate
);
7308 if (PyErr_Occurred()) SWIG_fail
;
7310 Py_INCREF(Py_None
); resultobj
= Py_None
;
7317 static PyObject
*_wrap_TextAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7318 PyObject
*resultobj
;
7319 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7321 PyObject
* obj0
= 0 ;
7323 (char *) "self", NULL
7326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
7327 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7328 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7331 result
= (bool)((wxTextAttr
const *)arg1
)->HasTextColour();
7333 wxPyEndAllowThreads(__tstate
);
7334 if (PyErr_Occurred()) SWIG_fail
;
7337 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7345 static PyObject
*_wrap_TextAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7346 PyObject
*resultobj
;
7347 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7349 PyObject
* obj0
= 0 ;
7351 (char *) "self", NULL
7354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
7355 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7359 result
= (bool)((wxTextAttr
const *)arg1
)->HasBackgroundColour();
7361 wxPyEndAllowThreads(__tstate
);
7362 if (PyErr_Occurred()) SWIG_fail
;
7365 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7373 static PyObject
*_wrap_TextAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7374 PyObject
*resultobj
;
7375 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7377 PyObject
* obj0
= 0 ;
7379 (char *) "self", NULL
7382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasFont",kwnames
,&obj0
)) goto fail
;
7383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7387 result
= (bool)((wxTextAttr
const *)arg1
)->HasFont();
7389 wxPyEndAllowThreads(__tstate
);
7390 if (PyErr_Occurred()) SWIG_fail
;
7393 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7401 static PyObject
*_wrap_TextAttr_HasAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7402 PyObject
*resultobj
;
7403 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7405 PyObject
* obj0
= 0 ;
7407 (char *) "self", NULL
7410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasAlignment",kwnames
,&obj0
)) goto fail
;
7411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7415 result
= (bool)((wxTextAttr
const *)arg1
)->HasAlignment();
7417 wxPyEndAllowThreads(__tstate
);
7418 if (PyErr_Occurred()) SWIG_fail
;
7421 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7429 static PyObject
*_wrap_TextAttr_HasTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7430 PyObject
*resultobj
;
7431 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7433 PyObject
* obj0
= 0 ;
7435 (char *) "self", NULL
7438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTabs",kwnames
,&obj0
)) goto fail
;
7439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7443 result
= (bool)((wxTextAttr
const *)arg1
)->HasTabs();
7445 wxPyEndAllowThreads(__tstate
);
7446 if (PyErr_Occurred()) SWIG_fail
;
7449 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7457 static PyObject
*_wrap_TextAttr_HasLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7458 PyObject
*resultobj
;
7459 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7461 PyObject
* obj0
= 0 ;
7463 (char *) "self", NULL
7466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasLeftIndent",kwnames
,&obj0
)) goto fail
;
7467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7471 result
= (bool)((wxTextAttr
const *)arg1
)->HasLeftIndent();
7473 wxPyEndAllowThreads(__tstate
);
7474 if (PyErr_Occurred()) SWIG_fail
;
7477 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7485 static PyObject
*_wrap_TextAttr_HasRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7486 PyObject
*resultobj
;
7487 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7489 PyObject
* obj0
= 0 ;
7491 (char *) "self", NULL
7494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasRightIndent",kwnames
,&obj0
)) goto fail
;
7495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7499 result
= (bool)((wxTextAttr
const *)arg1
)->HasRightIndent();
7501 wxPyEndAllowThreads(__tstate
);
7502 if (PyErr_Occurred()) SWIG_fail
;
7505 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7513 static PyObject
*_wrap_TextAttr_HasFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7514 PyObject
*resultobj
;
7515 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7518 PyObject
* obj0
= 0 ;
7519 PyObject
* obj1
= 0 ;
7521 (char *) "self",(char *) "flag", NULL
7524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
7525 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7526 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7527 arg2
= (long) SWIG_AsLong(obj1
);
7528 if (PyErr_Occurred()) SWIG_fail
;
7530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7531 result
= (bool)((wxTextAttr
const *)arg1
)->HasFlag(arg2
);
7533 wxPyEndAllowThreads(__tstate
);
7534 if (PyErr_Occurred()) SWIG_fail
;
7537 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7545 static PyObject
*_wrap_TextAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7546 PyObject
*resultobj
;
7547 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7549 PyObject
* obj0
= 0 ;
7551 (char *) "self", NULL
7554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
7555 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7560 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTextColour();
7561 result
= (wxColour
*) &_result_ref
;
7564 wxPyEndAllowThreads(__tstate
);
7565 if (PyErr_Occurred()) SWIG_fail
;
7567 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
7574 static PyObject
*_wrap_TextAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7575 PyObject
*resultobj
;
7576 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7578 PyObject
* obj0
= 0 ;
7580 (char *) "self", NULL
7583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
7584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7589 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetBackgroundColour();
7590 result
= (wxColour
*) &_result_ref
;
7593 wxPyEndAllowThreads(__tstate
);
7594 if (PyErr_Occurred()) SWIG_fail
;
7596 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
7603 static PyObject
*_wrap_TextAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7604 PyObject
*resultobj
;
7605 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7607 PyObject
* obj0
= 0 ;
7609 (char *) "self", NULL
7612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFont",kwnames
,&obj0
)) goto fail
;
7613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7618 wxFont
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetFont();
7619 result
= (wxFont
*) &_result_ref
;
7622 wxPyEndAllowThreads(__tstate
);
7623 if (PyErr_Occurred()) SWIG_fail
;
7626 wxFont
* resultptr
= new wxFont(*result
);
7627 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
7635 static PyObject
*_wrap_TextAttr_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7636 PyObject
*resultobj
;
7637 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7639 PyObject
* obj0
= 0 ;
7641 (char *) "self", NULL
7644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetAlignment",kwnames
,&obj0
)) goto fail
;
7645 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7646 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7649 result
= (int)((wxTextAttr
const *)arg1
)->GetAlignment();
7651 wxPyEndAllowThreads(__tstate
);
7652 if (PyErr_Occurred()) SWIG_fail
;
7654 resultobj
= SWIG_FromInt((int)result
);
7661 static PyObject
*_wrap_TextAttr_GetTabs(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_GetTabs",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();
7676 wxArrayInt
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTabs();
7677 result
= (wxArrayInt
*) &_result_ref
;
7680 wxPyEndAllowThreads(__tstate
);
7681 if (PyErr_Occurred()) SWIG_fail
;
7684 resultobj
= PyList_New(0);
7686 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
7687 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
7688 PyList_Append(resultobj
, val
);
7698 static PyObject
*_wrap_TextAttr_GetLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7699 PyObject
*resultobj
;
7700 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7702 PyObject
* obj0
= 0 ;
7704 (char *) "self", NULL
7707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetLeftIndent",kwnames
,&obj0
)) goto fail
;
7708 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7709 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7712 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftIndent();
7714 wxPyEndAllowThreads(__tstate
);
7715 if (PyErr_Occurred()) SWIG_fail
;
7717 resultobj
= SWIG_FromLong((long)result
);
7724 static PyObject
*_wrap_TextAttr_GetRightIndent(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_GetRightIndent",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
)->GetRightIndent();
7740 wxPyEndAllowThreads(__tstate
);
7741 if (PyErr_Occurred()) SWIG_fail
;
7743 resultobj
= SWIG_FromLong((long)result
);
7750 static PyObject
*_wrap_TextAttr_GetFlags(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_GetFlags",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
)->GetFlags();
7766 wxPyEndAllowThreads(__tstate
);
7767 if (PyErr_Occurred()) SWIG_fail
;
7769 resultobj
= SWIG_FromLong((long)result
);
7776 static PyObject
*_wrap_TextAttr_IsDefault(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_IsDefault",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
= (bool)((wxTextAttr
const *)arg1
)->IsDefault();
7792 wxPyEndAllowThreads(__tstate
);
7793 if (PyErr_Occurred()) SWIG_fail
;
7796 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7804 static PyObject
*_wrap_TextAttr_Combine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7805 PyObject
*resultobj
;
7806 wxTextAttr
*arg1
= 0 ;
7807 wxTextAttr
*arg2
= 0 ;
7808 wxTextCtrl
*arg3
= (wxTextCtrl
*) 0 ;
7810 PyObject
* obj0
= 0 ;
7811 PyObject
* obj1
= 0 ;
7812 PyObject
* obj2
= 0 ;
7814 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
7817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextAttr_Combine",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7819 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7822 PyErr_SetString(PyExc_TypeError
,"null reference");
7825 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTextAttr
,
7826 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7829 PyErr_SetString(PyExc_TypeError
,"null reference");
7832 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTextCtrl
,
7833 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7836 result
= wxTextAttr::Combine((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
,(wxTextCtrl
const *)arg3
);
7838 wxPyEndAllowThreads(__tstate
);
7839 if (PyErr_Occurred()) SWIG_fail
;
7842 wxTextAttr
* resultptr
;
7843 resultptr
= new wxTextAttr((wxTextAttr
&) result
);
7844 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTextAttr
, 1);
7852 static PyObject
* TextAttr_swigregister(PyObject
*self
, PyObject
*args
) {
7854 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7855 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr
, obj
);
7857 return Py_BuildValue((char *)"");
7859 static PyObject
*_wrap_new_TextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7860 PyObject
*resultobj
;
7861 wxWindow
*arg1
= (wxWindow
*) 0 ;
7863 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7864 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7865 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7866 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7867 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7868 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7869 long arg6
= (long) 0 ;
7870 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
7871 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
7872 wxString
const &arg8_defvalue
= wxPyTextCtrlNameStr
;
7873 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7875 bool temp3
= False
;
7878 bool temp8
= False
;
7879 PyObject
* obj0
= 0 ;
7880 PyObject
* obj1
= 0 ;
7881 PyObject
* obj2
= 0 ;
7882 PyObject
* obj3
= 0 ;
7883 PyObject
* obj4
= 0 ;
7884 PyObject
* obj5
= 0 ;
7885 PyObject
* obj6
= 0 ;
7886 PyObject
* obj7
= 0 ;
7888 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
7891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:new_TextCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
7892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
7893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7894 arg2
= (int) SWIG_AsInt(obj1
);
7895 if (PyErr_Occurred()) SWIG_fail
;
7898 arg3
= wxString_in_helper(obj2
);
7899 if (arg3
== NULL
) SWIG_fail
;
7906 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7912 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7916 arg6
= (long) SWIG_AsLong(obj5
);
7917 if (PyErr_Occurred()) SWIG_fail
;
7920 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
7921 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7924 PyErr_SetString(PyExc_TypeError
,"null reference");
7930 arg8
= wxString_in_helper(obj7
);
7931 if (arg8
== NULL
) SWIG_fail
;
7936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7937 result
= (wxTextCtrl
*)new wxTextCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
7939 wxPyEndAllowThreads(__tstate
);
7940 if (PyErr_Occurred()) SWIG_fail
;
7943 resultobj
= wxPyMake_wxObject(result
);
7967 static PyObject
*_wrap_new_PreTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7968 PyObject
*resultobj
;
7974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTextCtrl",kwnames
)) goto fail
;
7976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7977 result
= (wxTextCtrl
*)new wxTextCtrl();
7979 wxPyEndAllowThreads(__tstate
);
7980 if (PyErr_Occurred()) SWIG_fail
;
7983 resultobj
= wxPyMake_wxObject(result
);
7991 static PyObject
*_wrap_TextCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7992 PyObject
*resultobj
;
7993 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7994 wxWindow
*arg2
= (wxWindow
*) 0 ;
7996 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7997 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7998 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
7999 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8000 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8001 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8002 long arg7
= (long) 0 ;
8003 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
8004 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
8005 wxString
const &arg9_defvalue
= wxPyTextCtrlNameStr
;
8006 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
8008 bool temp4
= False
;
8011 bool temp9
= False
;
8012 PyObject
* obj0
= 0 ;
8013 PyObject
* obj1
= 0 ;
8014 PyObject
* obj2
= 0 ;
8015 PyObject
* obj3
= 0 ;
8016 PyObject
* obj4
= 0 ;
8017 PyObject
* obj5
= 0 ;
8018 PyObject
* obj6
= 0 ;
8019 PyObject
* obj7
= 0 ;
8020 PyObject
* obj8
= 0 ;
8022 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
8025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:TextCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
8026 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8028 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8030 arg3
= (int) SWIG_AsInt(obj2
);
8031 if (PyErr_Occurred()) SWIG_fail
;
8034 arg4
= wxString_in_helper(obj3
);
8035 if (arg4
== NULL
) SWIG_fail
;
8042 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8048 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8052 arg7
= (long) SWIG_AsLong(obj6
);
8053 if (PyErr_Occurred()) SWIG_fail
;
8056 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
8057 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8060 PyErr_SetString(PyExc_TypeError
,"null reference");
8066 arg9
= wxString_in_helper(obj8
);
8067 if (arg9
== NULL
) SWIG_fail
;
8072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8073 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
8075 wxPyEndAllowThreads(__tstate
);
8076 if (PyErr_Occurred()) SWIG_fail
;
8079 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8103 static PyObject
*_wrap_TextCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8104 PyObject
*resultobj
;
8105 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8107 PyObject
* obj0
= 0 ;
8109 (char *) "self", NULL
8112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
8113 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8117 result
= ((wxTextCtrl
const *)arg1
)->GetValue();
8119 wxPyEndAllowThreads(__tstate
);
8120 if (PyErr_Occurred()) SWIG_fail
;
8124 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8126 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8135 static PyObject
*_wrap_TextCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8136 PyObject
*resultobj
;
8137 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8138 wxString
*arg2
= 0 ;
8139 bool temp2
= False
;
8140 PyObject
* obj0
= 0 ;
8141 PyObject
* obj1
= 0 ;
8143 (char *) "self",(char *) "value", NULL
8146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
8147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8150 arg2
= wxString_in_helper(obj1
);
8151 if (arg2
== NULL
) SWIG_fail
;
8155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8156 (arg1
)->SetValue((wxString
const &)*arg2
);
8158 wxPyEndAllowThreads(__tstate
);
8159 if (PyErr_Occurred()) SWIG_fail
;
8161 Py_INCREF(Py_None
); resultobj
= Py_None
;
8176 static PyObject
*_wrap_TextCtrl_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8177 PyObject
*resultobj
;
8178 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8182 PyObject
* obj0
= 0 ;
8183 PyObject
* obj1
= 0 ;
8184 PyObject
* obj2
= 0 ;
8186 (char *) "self",(char *) "from",(char *) "to", NULL
8189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8192 arg2
= (long) SWIG_AsLong(obj1
);
8193 if (PyErr_Occurred()) SWIG_fail
;
8194 arg3
= (long) SWIG_AsLong(obj2
);
8195 if (PyErr_Occurred()) SWIG_fail
;
8197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8198 result
= ((wxTextCtrl
const *)arg1
)->GetRange(arg2
,arg3
);
8200 wxPyEndAllowThreads(__tstate
);
8201 if (PyErr_Occurred()) SWIG_fail
;
8205 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8207 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8216 static PyObject
*_wrap_TextCtrl_GetLineLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8217 PyObject
*resultobj
;
8218 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8221 PyObject
* obj0
= 0 ;
8222 PyObject
* obj1
= 0 ;
8224 (char *) "self",(char *) "lineNo", NULL
8227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineLength",kwnames
,&obj0
,&obj1
)) goto fail
;
8228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8230 arg2
= (long) SWIG_AsLong(obj1
);
8231 if (PyErr_Occurred()) SWIG_fail
;
8233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8234 result
= (int)((wxTextCtrl
const *)arg1
)->GetLineLength(arg2
);
8236 wxPyEndAllowThreads(__tstate
);
8237 if (PyErr_Occurred()) SWIG_fail
;
8239 resultobj
= SWIG_FromInt((int)result
);
8246 static PyObject
*_wrap_TextCtrl_GetLineText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8247 PyObject
*resultobj
;
8248 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8251 PyObject
* obj0
= 0 ;
8252 PyObject
* obj1
= 0 ;
8254 (char *) "self",(char *) "lineNo", NULL
8257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineText",kwnames
,&obj0
,&obj1
)) goto fail
;
8258 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8259 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8260 arg2
= (long) SWIG_AsLong(obj1
);
8261 if (PyErr_Occurred()) SWIG_fail
;
8263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8264 result
= ((wxTextCtrl
const *)arg1
)->GetLineText(arg2
);
8266 wxPyEndAllowThreads(__tstate
);
8267 if (PyErr_Occurred()) SWIG_fail
;
8271 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8273 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8282 static PyObject
*_wrap_TextCtrl_GetNumberOfLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8283 PyObject
*resultobj
;
8284 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8286 PyObject
* obj0
= 0 ;
8288 (char *) "self", NULL
8291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetNumberOfLines",kwnames
,&obj0
)) goto fail
;
8292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8296 result
= (int)((wxTextCtrl
const *)arg1
)->GetNumberOfLines();
8298 wxPyEndAllowThreads(__tstate
);
8299 if (PyErr_Occurred()) SWIG_fail
;
8301 resultobj
= SWIG_FromInt((int)result
);
8308 static PyObject
*_wrap_TextCtrl_IsModified(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_IsModified",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
= (bool)((wxTextCtrl
const *)arg1
)->IsModified();
8324 wxPyEndAllowThreads(__tstate
);
8325 if (PyErr_Occurred()) SWIG_fail
;
8328 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8336 static PyObject
*_wrap_TextCtrl_IsEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8337 PyObject
*resultobj
;
8338 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8340 PyObject
* obj0
= 0 ;
8342 (char *) "self", NULL
8345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsEditable",kwnames
,&obj0
)) goto fail
;
8346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8350 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEditable();
8352 wxPyEndAllowThreads(__tstate
);
8353 if (PyErr_Occurred()) SWIG_fail
;
8356 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8364 static PyObject
*_wrap_TextCtrl_IsSingleLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8365 PyObject
*resultobj
;
8366 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8368 PyObject
* obj0
= 0 ;
8370 (char *) "self", NULL
8373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsSingleLine",kwnames
,&obj0
)) goto fail
;
8374 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8378 result
= (bool)((wxTextCtrl
const *)arg1
)->IsSingleLine();
8380 wxPyEndAllowThreads(__tstate
);
8381 if (PyErr_Occurred()) SWIG_fail
;
8384 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8392 static PyObject
*_wrap_TextCtrl_IsMultiLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8393 PyObject
*resultobj
;
8394 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8396 PyObject
* obj0
= 0 ;
8398 (char *) "self", NULL
8401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsMultiLine",kwnames
,&obj0
)) goto fail
;
8402 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8406 result
= (bool)((wxTextCtrl
const *)arg1
)->IsMultiLine();
8408 wxPyEndAllowThreads(__tstate
);
8409 if (PyErr_Occurred()) SWIG_fail
;
8412 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8420 static PyObject
*_wrap_TextCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8421 PyObject
*resultobj
;
8422 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8423 long *arg2
= (long *) 0 ;
8424 long *arg3
= (long *) 0 ;
8427 PyObject
* obj0
= 0 ;
8429 (char *) "self", NULL
8434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
8435 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8439 ((wxTextCtrl
const *)arg1
)->GetSelection(arg2
,arg3
);
8441 wxPyEndAllowThreads(__tstate
);
8442 if (PyErr_Occurred()) SWIG_fail
;
8444 Py_INCREF(Py_None
); resultobj
= Py_None
;
8446 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
8447 resultobj
= t_output_helper(resultobj
,o
);
8450 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
8451 resultobj
= t_output_helper(resultobj
,o
);
8459 static PyObject
*_wrap_TextCtrl_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8460 PyObject
*resultobj
;
8461 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8463 PyObject
* obj0
= 0 ;
8465 (char *) "self", NULL
8468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetStringSelection",kwnames
,&obj0
)) goto fail
;
8469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8473 result
= ((wxTextCtrl
const *)arg1
)->GetStringSelection();
8475 wxPyEndAllowThreads(__tstate
);
8476 if (PyErr_Occurred()) SWIG_fail
;
8480 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8482 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8491 static PyObject
*_wrap_TextCtrl_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8492 PyObject
*resultobj
;
8493 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8494 PyObject
* obj0
= 0 ;
8496 (char *) "self", NULL
8499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Clear",kwnames
,&obj0
)) goto fail
;
8500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8506 wxPyEndAllowThreads(__tstate
);
8507 if (PyErr_Occurred()) SWIG_fail
;
8509 Py_INCREF(Py_None
); resultobj
= Py_None
;
8516 static PyObject
*_wrap_TextCtrl_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8517 PyObject
*resultobj
;
8518 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8521 wxString
*arg4
= 0 ;
8522 bool temp4
= False
;
8523 PyObject
* obj0
= 0 ;
8524 PyObject
* obj1
= 0 ;
8525 PyObject
* obj2
= 0 ;
8526 PyObject
* obj3
= 0 ;
8528 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
8531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8534 arg2
= (long) SWIG_AsLong(obj1
);
8535 if (PyErr_Occurred()) SWIG_fail
;
8536 arg3
= (long) SWIG_AsLong(obj2
);
8537 if (PyErr_Occurred()) SWIG_fail
;
8539 arg4
= wxString_in_helper(obj3
);
8540 if (arg4
== NULL
) SWIG_fail
;
8544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8545 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
8547 wxPyEndAllowThreads(__tstate
);
8548 if (PyErr_Occurred()) SWIG_fail
;
8550 Py_INCREF(Py_None
); resultobj
= Py_None
;
8565 static PyObject
*_wrap_TextCtrl_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8566 PyObject
*resultobj
;
8567 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8570 PyObject
* obj0
= 0 ;
8571 PyObject
* obj1
= 0 ;
8572 PyObject
* obj2
= 0 ;
8574 (char *) "self",(char *) "from",(char *) "to", NULL
8577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8578 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8579 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8580 arg2
= (long) SWIG_AsLong(obj1
);
8581 if (PyErr_Occurred()) SWIG_fail
;
8582 arg3
= (long) SWIG_AsLong(obj2
);
8583 if (PyErr_Occurred()) SWIG_fail
;
8585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8586 (arg1
)->Remove(arg2
,arg3
);
8588 wxPyEndAllowThreads(__tstate
);
8589 if (PyErr_Occurred()) SWIG_fail
;
8591 Py_INCREF(Py_None
); resultobj
= Py_None
;
8598 static PyObject
*_wrap_TextCtrl_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8599 PyObject
*resultobj
;
8600 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8601 wxString
*arg2
= 0 ;
8603 bool temp2
= False
;
8604 PyObject
* obj0
= 0 ;
8605 PyObject
* obj1
= 0 ;
8607 (char *) "self",(char *) "file", NULL
8610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_LoadFile",kwnames
,&obj0
,&obj1
)) goto fail
;
8611 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8612 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8614 arg2
= wxString_in_helper(obj1
);
8615 if (arg2
== NULL
) SWIG_fail
;
8619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8620 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
);
8622 wxPyEndAllowThreads(__tstate
);
8623 if (PyErr_Occurred()) SWIG_fail
;
8626 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8642 static PyObject
*_wrap_TextCtrl_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8643 PyObject
*resultobj
;
8644 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8645 wxString
const &arg2_defvalue
= wxPyEmptyString
;
8646 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
8648 bool temp2
= False
;
8649 PyObject
* obj0
= 0 ;
8650 PyObject
* obj1
= 0 ;
8652 (char *) "self",(char *) "file", NULL
8655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_SaveFile",kwnames
,&obj0
,&obj1
)) goto fail
;
8656 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8660 arg2
= wxString_in_helper(obj1
);
8661 if (arg2
== NULL
) SWIG_fail
;
8666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8667 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
);
8669 wxPyEndAllowThreads(__tstate
);
8670 if (PyErr_Occurred()) SWIG_fail
;
8673 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8689 static PyObject
*_wrap_TextCtrl_MarkDirty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8690 PyObject
*resultobj
;
8691 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8692 PyObject
* obj0
= 0 ;
8694 (char *) "self", NULL
8697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_MarkDirty",kwnames
,&obj0
)) goto fail
;
8698 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8702 (arg1
)->MarkDirty();
8704 wxPyEndAllowThreads(__tstate
);
8705 if (PyErr_Occurred()) SWIG_fail
;
8707 Py_INCREF(Py_None
); resultobj
= Py_None
;
8714 static PyObject
*_wrap_TextCtrl_DiscardEdits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8715 PyObject
*resultobj
;
8716 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8717 PyObject
* obj0
= 0 ;
8719 (char *) "self", NULL
8722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_DiscardEdits",kwnames
,&obj0
)) goto fail
;
8723 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8724 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8727 (arg1
)->DiscardEdits();
8729 wxPyEndAllowThreads(__tstate
);
8730 if (PyErr_Occurred()) SWIG_fail
;
8732 Py_INCREF(Py_None
); resultobj
= Py_None
;
8739 static PyObject
*_wrap_TextCtrl_SetMaxLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8740 PyObject
*resultobj
;
8741 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8742 unsigned long arg2
;
8743 PyObject
* obj0
= 0 ;
8744 PyObject
* obj1
= 0 ;
8746 (char *) "self",(char *) "len", NULL
8749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) goto fail
;
8750 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8752 arg2
= (unsigned long) SWIG_AsUnsignedLong(obj1
);
8753 if (PyErr_Occurred()) SWIG_fail
;
8755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8756 (arg1
)->SetMaxLength(arg2
);
8758 wxPyEndAllowThreads(__tstate
);
8759 if (PyErr_Occurred()) SWIG_fail
;
8761 Py_INCREF(Py_None
); resultobj
= Py_None
;
8768 static PyObject
*_wrap_TextCtrl_WriteText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8769 PyObject
*resultobj
;
8770 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8771 wxString
*arg2
= 0 ;
8772 bool temp2
= False
;
8773 PyObject
* obj0
= 0 ;
8774 PyObject
* obj1
= 0 ;
8776 (char *) "self",(char *) "text", NULL
8779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) goto fail
;
8780 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8783 arg2
= wxString_in_helper(obj1
);
8784 if (arg2
== NULL
) SWIG_fail
;
8788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8789 (arg1
)->WriteText((wxString
const &)*arg2
);
8791 wxPyEndAllowThreads(__tstate
);
8792 if (PyErr_Occurred()) SWIG_fail
;
8794 Py_INCREF(Py_None
); resultobj
= Py_None
;
8809 static PyObject
*_wrap_TextCtrl_AppendText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8810 PyObject
*resultobj
;
8811 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8812 wxString
*arg2
= 0 ;
8813 bool temp2
= False
;
8814 PyObject
* obj0
= 0 ;
8815 PyObject
* obj1
= 0 ;
8817 (char *) "self",(char *) "text", NULL
8820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) goto fail
;
8821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8824 arg2
= wxString_in_helper(obj1
);
8825 if (arg2
== NULL
) SWIG_fail
;
8829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8830 (arg1
)->AppendText((wxString
const &)*arg2
);
8832 wxPyEndAllowThreads(__tstate
);
8833 if (PyErr_Occurred()) SWIG_fail
;
8835 Py_INCREF(Py_None
); resultobj
= Py_None
;
8850 static PyObject
*_wrap_TextCtrl_EmulateKeyPress(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8851 PyObject
*resultobj
;
8852 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8853 wxKeyEvent
*arg2
= 0 ;
8855 PyObject
* obj0
= 0 ;
8856 PyObject
* obj1
= 0 ;
8858 (char *) "self",(char *) "event", NULL
8861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames
,&obj0
,&obj1
)) goto fail
;
8862 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8863 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8864 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxKeyEvent
,
8865 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8868 PyErr_SetString(PyExc_TypeError
,"null reference");
8872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8873 result
= (bool)(arg1
)->EmulateKeyPress((wxKeyEvent
const &)*arg2
);
8875 wxPyEndAllowThreads(__tstate
);
8876 if (PyErr_Occurred()) SWIG_fail
;
8879 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8887 static PyObject
*_wrap_TextCtrl_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8888 PyObject
*resultobj
;
8889 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8892 wxTextAttr
*arg4
= 0 ;
8894 PyObject
* obj0
= 0 ;
8895 PyObject
* obj1
= 0 ;
8896 PyObject
* obj2
= 0 ;
8897 PyObject
* obj3
= 0 ;
8899 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
8902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_SetStyle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8903 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8904 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8905 arg2
= (long) SWIG_AsLong(obj1
);
8906 if (PyErr_Occurred()) SWIG_fail
;
8907 arg3
= (long) SWIG_AsLong(obj2
);
8908 if (PyErr_Occurred()) SWIG_fail
;
8909 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxTextAttr
,
8910 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8913 PyErr_SetString(PyExc_TypeError
,"null reference");
8917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8918 result
= (bool)(arg1
)->SetStyle(arg2
,arg3
,(wxTextAttr
const &)*arg4
);
8920 wxPyEndAllowThreads(__tstate
);
8921 if (PyErr_Occurred()) SWIG_fail
;
8924 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8932 static PyObject
*_wrap_TextCtrl_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8933 PyObject
*resultobj
;
8934 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8936 wxTextAttr
*arg3
= 0 ;
8938 PyObject
* obj0
= 0 ;
8939 PyObject
* obj1
= 0 ;
8940 PyObject
* obj2
= 0 ;
8942 (char *) "self",(char *) "position",(char *) "style", NULL
8945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8946 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8947 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8948 arg2
= (long) SWIG_AsLong(obj1
);
8949 if (PyErr_Occurred()) SWIG_fail
;
8950 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTextAttr
,
8951 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8954 PyErr_SetString(PyExc_TypeError
,"null reference");
8958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8959 result
= (bool)(arg1
)->GetStyle(arg2
,*arg3
);
8961 wxPyEndAllowThreads(__tstate
);
8962 if (PyErr_Occurred()) SWIG_fail
;
8965 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8973 static PyObject
*_wrap_TextCtrl_SetDefaultStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8974 PyObject
*resultobj
;
8975 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8976 wxTextAttr
*arg2
= 0 ;
8978 PyObject
* obj0
= 0 ;
8979 PyObject
* obj1
= 0 ;
8981 (char *) "self",(char *) "style", NULL
8984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
8985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8987 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTextAttr
,
8988 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8991 PyErr_SetString(PyExc_TypeError
,"null reference");
8995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8996 result
= (bool)(arg1
)->SetDefaultStyle((wxTextAttr
const &)*arg2
);
8998 wxPyEndAllowThreads(__tstate
);
8999 if (PyErr_Occurred()) SWIG_fail
;
9002 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9010 static PyObject
*_wrap_TextCtrl_GetDefaultStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9011 PyObject
*resultobj
;
9012 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9014 PyObject
* obj0
= 0 ;
9016 (char *) "self", NULL
9019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetDefaultStyle",kwnames
,&obj0
)) goto fail
;
9020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9025 wxTextAttr
const &_result_ref
= ((wxTextCtrl
const *)arg1
)->GetDefaultStyle();
9026 result
= (wxTextAttr
*) &_result_ref
;
9029 wxPyEndAllowThreads(__tstate
);
9030 if (PyErr_Occurred()) SWIG_fail
;
9032 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 0);
9039 static PyObject
*_wrap_TextCtrl_XYToPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9040 PyObject
*resultobj
;
9041 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9045 PyObject
* obj0
= 0 ;
9046 PyObject
* obj1
= 0 ;
9047 PyObject
* obj2
= 0 ;
9049 (char *) "self",(char *) "x",(char *) "y", NULL
9052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_XYToPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9055 arg2
= (long) SWIG_AsLong(obj1
);
9056 if (PyErr_Occurred()) SWIG_fail
;
9057 arg3
= (long) SWIG_AsLong(obj2
);
9058 if (PyErr_Occurred()) SWIG_fail
;
9060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9061 result
= (long)((wxTextCtrl
const *)arg1
)->XYToPosition(arg2
,arg3
);
9063 wxPyEndAllowThreads(__tstate
);
9064 if (PyErr_Occurred()) SWIG_fail
;
9066 resultobj
= SWIG_FromLong((long)result
);
9073 static PyObject
*_wrap_TextCtrl_PositionToXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9074 PyObject
*resultobj
;
9075 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9077 long *arg3
= (long *) 0 ;
9078 long *arg4
= (long *) 0 ;
9081 PyObject
* obj0
= 0 ;
9082 PyObject
* obj1
= 0 ;
9084 (char *) "self",(char *) "pos", NULL
9089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_PositionToXY",kwnames
,&obj0
,&obj1
)) goto fail
;
9090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9092 arg2
= (long) SWIG_AsLong(obj1
);
9093 if (PyErr_Occurred()) SWIG_fail
;
9095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9096 ((wxTextCtrl
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
);
9098 wxPyEndAllowThreads(__tstate
);
9099 if (PyErr_Occurred()) SWIG_fail
;
9101 Py_INCREF(Py_None
); resultobj
= Py_None
;
9103 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
9104 resultobj
= t_output_helper(resultobj
,o
);
9107 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
9108 resultobj
= t_output_helper(resultobj
,o
);
9116 static PyObject
*_wrap_TextCtrl_ShowPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9117 PyObject
*resultobj
;
9118 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9120 PyObject
* obj0
= 0 ;
9121 PyObject
* obj1
= 0 ;
9123 (char *) "self",(char *) "pos", NULL
9126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ShowPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
9127 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9129 arg2
= (long) SWIG_AsLong(obj1
);
9130 if (PyErr_Occurred()) SWIG_fail
;
9132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9133 (arg1
)->ShowPosition(arg2
);
9135 wxPyEndAllowThreads(__tstate
);
9136 if (PyErr_Occurred()) SWIG_fail
;
9138 Py_INCREF(Py_None
); resultobj
= Py_None
;
9145 static PyObject
*_wrap_TextCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9146 PyObject
*resultobj
;
9147 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9149 long *arg3
= (long *) 0 ;
9150 long *arg4
= (long *) 0 ;
9155 PyObject
* obj0
= 0 ;
9156 PyObject
* obj1
= 0 ;
9158 (char *) "self",(char *) "pt", NULL
9163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
9164 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9168 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9172 result
= (int)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
,arg4
);
9174 wxPyEndAllowThreads(__tstate
);
9175 if (PyErr_Occurred()) SWIG_fail
;
9177 resultobj
= SWIG_FromInt((int)result
);
9179 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
9180 resultobj
= t_output_helper(resultobj
,o
);
9183 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
9184 resultobj
= t_output_helper(resultobj
,o
);
9192 static PyObject
*_wrap_TextCtrl_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9193 PyObject
*resultobj
;
9194 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9195 PyObject
* obj0
= 0 ;
9197 (char *) "self", NULL
9200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Copy",kwnames
,&obj0
)) goto fail
;
9201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9207 wxPyEndAllowThreads(__tstate
);
9208 if (PyErr_Occurred()) SWIG_fail
;
9210 Py_INCREF(Py_None
); resultobj
= Py_None
;
9217 static PyObject
*_wrap_TextCtrl_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9218 PyObject
*resultobj
;
9219 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9220 PyObject
* obj0
= 0 ;
9222 (char *) "self", NULL
9225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Cut",kwnames
,&obj0
)) goto fail
;
9226 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9232 wxPyEndAllowThreads(__tstate
);
9233 if (PyErr_Occurred()) SWIG_fail
;
9235 Py_INCREF(Py_None
); resultobj
= Py_None
;
9242 static PyObject
*_wrap_TextCtrl_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9243 PyObject
*resultobj
;
9244 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9245 PyObject
* obj0
= 0 ;
9247 (char *) "self", NULL
9250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Paste",kwnames
,&obj0
)) goto fail
;
9251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9257 wxPyEndAllowThreads(__tstate
);
9258 if (PyErr_Occurred()) SWIG_fail
;
9260 Py_INCREF(Py_None
); resultobj
= Py_None
;
9267 static PyObject
*_wrap_TextCtrl_CanCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9268 PyObject
*resultobj
;
9269 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9271 PyObject
* obj0
= 0 ;
9273 (char *) "self", NULL
9276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCopy",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();
9281 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCopy();
9283 wxPyEndAllowThreads(__tstate
);
9284 if (PyErr_Occurred()) SWIG_fail
;
9287 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9295 static PyObject
*_wrap_TextCtrl_CanCut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9296 PyObject
*resultobj
;
9297 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9299 PyObject
* obj0
= 0 ;
9301 (char *) "self", NULL
9304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCut",kwnames
,&obj0
)) goto fail
;
9305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9309 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCut();
9311 wxPyEndAllowThreads(__tstate
);
9312 if (PyErr_Occurred()) SWIG_fail
;
9315 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9323 static PyObject
*_wrap_TextCtrl_CanPaste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9324 PyObject
*resultobj
;
9325 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9327 PyObject
* obj0
= 0 ;
9329 (char *) "self", NULL
9332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanPaste",kwnames
,&obj0
)) goto fail
;
9333 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9334 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9337 result
= (bool)((wxTextCtrl
const *)arg1
)->CanPaste();
9339 wxPyEndAllowThreads(__tstate
);
9340 if (PyErr_Occurred()) SWIG_fail
;
9343 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9351 static PyObject
*_wrap_TextCtrl_Undo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9352 PyObject
*resultobj
;
9353 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9354 PyObject
* obj0
= 0 ;
9356 (char *) "self", NULL
9359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Undo",kwnames
,&obj0
)) goto fail
;
9360 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9366 wxPyEndAllowThreads(__tstate
);
9367 if (PyErr_Occurred()) SWIG_fail
;
9369 Py_INCREF(Py_None
); resultobj
= Py_None
;
9376 static PyObject
*_wrap_TextCtrl_Redo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9377 PyObject
*resultobj
;
9378 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9379 PyObject
* obj0
= 0 ;
9381 (char *) "self", NULL
9384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Redo",kwnames
,&obj0
)) goto fail
;
9385 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9391 wxPyEndAllowThreads(__tstate
);
9392 if (PyErr_Occurred()) SWIG_fail
;
9394 Py_INCREF(Py_None
); resultobj
= Py_None
;
9401 static PyObject
*_wrap_TextCtrl_CanUndo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9402 PyObject
*resultobj
;
9403 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9405 PyObject
* obj0
= 0 ;
9407 (char *) "self", NULL
9410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanUndo",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();
9415 result
= (bool)((wxTextCtrl
const *)arg1
)->CanUndo();
9417 wxPyEndAllowThreads(__tstate
);
9418 if (PyErr_Occurred()) SWIG_fail
;
9421 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9429 static PyObject
*_wrap_TextCtrl_CanRedo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9430 PyObject
*resultobj
;
9431 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9433 PyObject
* obj0
= 0 ;
9435 (char *) "self", NULL
9438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanRedo",kwnames
,&obj0
)) goto fail
;
9439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9443 result
= (bool)((wxTextCtrl
const *)arg1
)->CanRedo();
9445 wxPyEndAllowThreads(__tstate
);
9446 if (PyErr_Occurred()) SWIG_fail
;
9449 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9457 static PyObject
*_wrap_TextCtrl_SetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9458 PyObject
*resultobj
;
9459 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9461 PyObject
* obj0
= 0 ;
9462 PyObject
* obj1
= 0 ;
9464 (char *) "self",(char *) "pos", NULL
9467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
9468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9470 arg2
= (long) SWIG_AsLong(obj1
);
9471 if (PyErr_Occurred()) SWIG_fail
;
9473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9474 (arg1
)->SetInsertionPoint(arg2
);
9476 wxPyEndAllowThreads(__tstate
);
9477 if (PyErr_Occurred()) SWIG_fail
;
9479 Py_INCREF(Py_None
); resultobj
= Py_None
;
9486 static PyObject
*_wrap_TextCtrl_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9487 PyObject
*resultobj
;
9488 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9489 PyObject
* obj0
= 0 ;
9491 (char *) "self", NULL
9494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
9495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9499 (arg1
)->SetInsertionPointEnd();
9501 wxPyEndAllowThreads(__tstate
);
9502 if (PyErr_Occurred()) SWIG_fail
;
9504 Py_INCREF(Py_None
); resultobj
= Py_None
;
9511 static PyObject
*_wrap_TextCtrl_GetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9512 PyObject
*resultobj
;
9513 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9515 PyObject
* obj0
= 0 ;
9517 (char *) "self", NULL
9520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetInsertionPoint",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 result
= (long)((wxTextCtrl
const *)arg1
)->GetInsertionPoint();
9527 wxPyEndAllowThreads(__tstate
);
9528 if (PyErr_Occurred()) SWIG_fail
;
9530 resultobj
= SWIG_FromLong((long)result
);
9537 static PyObject
*_wrap_TextCtrl_GetLastPosition(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_GetLastPosition",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
)->GetLastPosition();
9553 wxPyEndAllowThreads(__tstate
);
9554 if (PyErr_Occurred()) SWIG_fail
;
9556 resultobj
= SWIG_FromLong((long)result
);
9563 static PyObject
*_wrap_TextCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9564 PyObject
*resultobj
;
9565 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9568 PyObject
* obj0
= 0 ;
9569 PyObject
* obj1
= 0 ;
9570 PyObject
* obj2
= 0 ;
9572 (char *) "self",(char *) "from",(char *) "to", NULL
9575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9578 arg2
= (long) SWIG_AsLong(obj1
);
9579 if (PyErr_Occurred()) SWIG_fail
;
9580 arg3
= (long) SWIG_AsLong(obj2
);
9581 if (PyErr_Occurred()) SWIG_fail
;
9583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9584 (arg1
)->SetSelection(arg2
,arg3
);
9586 wxPyEndAllowThreads(__tstate
);
9587 if (PyErr_Occurred()) SWIG_fail
;
9589 Py_INCREF(Py_None
); resultobj
= Py_None
;
9596 static PyObject
*_wrap_TextCtrl_SelectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9597 PyObject
*resultobj
;
9598 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9599 PyObject
* obj0
= 0 ;
9601 (char *) "self", NULL
9604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SelectAll",kwnames
,&obj0
)) goto fail
;
9605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9609 (arg1
)->SelectAll();
9611 wxPyEndAllowThreads(__tstate
);
9612 if (PyErr_Occurred()) SWIG_fail
;
9614 Py_INCREF(Py_None
); resultobj
= Py_None
;
9621 static PyObject
*_wrap_TextCtrl_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9622 PyObject
*resultobj
;
9623 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9625 PyObject
* obj0
= 0 ;
9626 PyObject
* obj1
= 0 ;
9628 (char *) "self",(char *) "editable", NULL
9631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
9632 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9633 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9634 arg2
= (bool) SWIG_AsBool(obj1
);
9635 if (PyErr_Occurred()) SWIG_fail
;
9637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9638 (arg1
)->SetEditable(arg2
);
9640 wxPyEndAllowThreads(__tstate
);
9641 if (PyErr_Occurred()) SWIG_fail
;
9643 Py_INCREF(Py_None
); resultobj
= Py_None
;
9650 static PyObject
*_wrap_TextCtrl_write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9651 PyObject
*resultobj
;
9652 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9653 wxString
*arg2
= 0 ;
9654 bool temp2
= False
;
9655 PyObject
* obj0
= 0 ;
9656 PyObject
* obj1
= 0 ;
9658 (char *) "self",(char *) "text", NULL
9661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_write",kwnames
,&obj0
,&obj1
)) goto fail
;
9662 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9663 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9665 arg2
= wxString_in_helper(obj1
);
9666 if (arg2
== NULL
) SWIG_fail
;
9670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9671 wxTextCtrl_write(arg1
,(wxString
const &)*arg2
);
9673 wxPyEndAllowThreads(__tstate
);
9674 if (PyErr_Occurred()) SWIG_fail
;
9676 Py_INCREF(Py_None
); resultobj
= Py_None
;
9691 static PyObject
*_wrap_TextCtrl_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9692 PyObject
*resultobj
;
9693 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9697 PyObject
* obj0
= 0 ;
9698 PyObject
* obj1
= 0 ;
9699 PyObject
* obj2
= 0 ;
9701 (char *) "self",(char *) "from",(char *) "to", NULL
9704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9707 arg2
= (long) SWIG_AsLong(obj1
);
9708 if (PyErr_Occurred()) SWIG_fail
;
9709 arg3
= (long) SWIG_AsLong(obj2
);
9710 if (PyErr_Occurred()) SWIG_fail
;
9712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9713 result
= wxTextCtrl_GetString(arg1
,arg2
,arg3
);
9715 wxPyEndAllowThreads(__tstate
);
9716 if (PyErr_Occurred()) SWIG_fail
;
9720 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9722 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9731 static PyObject
*_wrap_TextCtrl_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9732 PyObject
*resultobj
;
9733 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
9734 wxVisualAttributes result
;
9735 PyObject
* obj0
= 0 ;
9737 (char *) "variant", NULL
9740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
9742 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
9743 if (PyErr_Occurred()) SWIG_fail
;
9746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9747 result
= wxTextCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
9749 wxPyEndAllowThreads(__tstate
);
9750 if (PyErr_Occurred()) SWIG_fail
;
9753 wxVisualAttributes
* resultptr
;
9754 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
9755 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
9763 static PyObject
* TextCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
9765 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9766 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl
, obj
);
9768 return Py_BuildValue((char *)"");
9770 static PyObject
*_wrap_new_TextUrlEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9771 PyObject
*resultobj
;
9773 wxMouseEvent
*arg2
= 0 ;
9776 wxTextUrlEvent
*result
;
9777 PyObject
* obj0
= 0 ;
9778 PyObject
* obj1
= 0 ;
9779 PyObject
* obj2
= 0 ;
9780 PyObject
* obj3
= 0 ;
9782 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
9785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_TextUrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9786 arg1
= (int) SWIG_AsInt(obj0
);
9787 if (PyErr_Occurred()) SWIG_fail
;
9788 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMouseEvent
,
9789 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9792 PyErr_SetString(PyExc_TypeError
,"null reference");
9795 arg3
= (long) SWIG_AsLong(obj2
);
9796 if (PyErr_Occurred()) SWIG_fail
;
9797 arg4
= (long) SWIG_AsLong(obj3
);
9798 if (PyErr_Occurred()) SWIG_fail
;
9800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9801 result
= (wxTextUrlEvent
*)new wxTextUrlEvent(arg1
,(wxMouseEvent
const &)*arg2
,arg3
,arg4
);
9803 wxPyEndAllowThreads(__tstate
);
9804 if (PyErr_Occurred()) SWIG_fail
;
9806 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextUrlEvent
, 1);
9813 static PyObject
*_wrap_TextUrlEvent_GetMouseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9814 PyObject
*resultobj
;
9815 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
9816 wxMouseEvent
*result
;
9817 PyObject
* obj0
= 0 ;
9819 (char *) "self", NULL
9822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames
,&obj0
)) goto fail
;
9823 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextUrlEvent
,
9824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9828 wxMouseEvent
const &_result_ref
= (arg1
)->GetMouseEvent();
9829 result
= (wxMouseEvent
*) &_result_ref
;
9832 wxPyEndAllowThreads(__tstate
);
9833 if (PyErr_Occurred()) SWIG_fail
;
9835 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseEvent
, 0);
9842 static PyObject
*_wrap_TextUrlEvent_GetURLStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9843 PyObject
*resultobj
;
9844 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
9846 PyObject
* obj0
= 0 ;
9848 (char *) "self", NULL
9851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLStart",kwnames
,&obj0
)) goto fail
;
9852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextUrlEvent
,
9853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9856 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLStart();
9858 wxPyEndAllowThreads(__tstate
);
9859 if (PyErr_Occurred()) SWIG_fail
;
9861 resultobj
= SWIG_FromLong((long)result
);
9868 static PyObject
*_wrap_TextUrlEvent_GetURLEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9869 PyObject
*resultobj
;
9870 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
9872 PyObject
* obj0
= 0 ;
9874 (char *) "self", NULL
9877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLEnd",kwnames
,&obj0
)) goto fail
;
9878 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextUrlEvent
,
9879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9882 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLEnd();
9884 wxPyEndAllowThreads(__tstate
);
9885 if (PyErr_Occurred()) SWIG_fail
;
9887 resultobj
= SWIG_FromLong((long)result
);
9894 static PyObject
* TextUrlEvent_swigregister(PyObject
*self
, PyObject
*args
) {
9896 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9897 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent
, obj
);
9899 return Py_BuildValue((char *)"");
9901 static int _wrap_ScrollBarNameStr_set(PyObject
*_val
) {
9902 PyErr_SetString(PyExc_TypeError
,"Variable ScrollBarNameStr is read-only.");
9907 static PyObject
*_wrap_ScrollBarNameStr_get() {
9912 pyobj
= PyUnicode_FromWideChar((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
9914 pyobj
= PyString_FromStringAndSize((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
9921 static PyObject
*_wrap_new_ScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9922 PyObject
*resultobj
;
9923 wxWindow
*arg1
= (wxWindow
*) 0 ;
9924 int arg2
= (int) -1 ;
9925 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9926 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9927 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9928 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9929 long arg5
= (long) wxSB_HORIZONTAL
;
9930 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
9931 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
9932 wxString
const &arg7_defvalue
= wxPyScrollBarNameStr
;
9933 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9934 wxScrollBar
*result
;
9937 bool temp7
= False
;
9938 PyObject
* obj0
= 0 ;
9939 PyObject
* obj1
= 0 ;
9940 PyObject
* obj2
= 0 ;
9941 PyObject
* obj3
= 0 ;
9942 PyObject
* obj4
= 0 ;
9943 PyObject
* obj5
= 0 ;
9944 PyObject
* obj6
= 0 ;
9946 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ScrollBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
9950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
9951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9953 arg2
= (int) SWIG_AsInt(obj1
);
9954 if (PyErr_Occurred()) SWIG_fail
;
9959 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9965 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9969 arg5
= (long) SWIG_AsLong(obj4
);
9970 if (PyErr_Occurred()) SWIG_fail
;
9973 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
9974 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9977 PyErr_SetString(PyExc_TypeError
,"null reference");
9983 arg7
= wxString_in_helper(obj6
);
9984 if (arg7
== NULL
) SWIG_fail
;
9989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9990 result
= (wxScrollBar
*)new wxScrollBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
9992 wxPyEndAllowThreads(__tstate
);
9993 if (PyErr_Occurred()) SWIG_fail
;
9995 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollBar
, 1);
10010 static PyObject
*_wrap_new_PreScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10011 PyObject
*resultobj
;
10012 wxScrollBar
*result
;
10013 char *kwnames
[] = {
10017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrollBar",kwnames
)) goto fail
;
10019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10020 result
= (wxScrollBar
*)new wxScrollBar();
10022 wxPyEndAllowThreads(__tstate
);
10023 if (PyErr_Occurred()) SWIG_fail
;
10025 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollBar
, 1);
10032 static PyObject
*_wrap_ScrollBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10033 PyObject
*resultobj
;
10034 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10035 wxWindow
*arg2
= (wxWindow
*) 0 ;
10036 int arg3
= (int) -1 ;
10037 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10038 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10039 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10040 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10041 long arg6
= (long) wxSB_HORIZONTAL
;
10042 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
10043 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
10044 wxString
const &arg8_defvalue
= wxPyScrollBarNameStr
;
10045 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
10049 bool temp8
= False
;
10050 PyObject
* obj0
= 0 ;
10051 PyObject
* obj1
= 0 ;
10052 PyObject
* obj2
= 0 ;
10053 PyObject
* obj3
= 0 ;
10054 PyObject
* obj4
= 0 ;
10055 PyObject
* obj5
= 0 ;
10056 PyObject
* obj6
= 0 ;
10057 PyObject
* obj7
= 0 ;
10058 char *kwnames
[] = {
10059 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
10063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10065 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10068 arg3
= (int) SWIG_AsInt(obj2
);
10069 if (PyErr_Occurred()) SWIG_fail
;
10074 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10080 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10084 arg6
= (long) SWIG_AsLong(obj5
);
10085 if (PyErr_Occurred()) SWIG_fail
;
10088 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
10089 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10091 if (arg7
== NULL
) {
10092 PyErr_SetString(PyExc_TypeError
,"null reference");
10098 arg8
= wxString_in_helper(obj7
);
10099 if (arg8
== NULL
) SWIG_fail
;
10104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10105 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
10107 wxPyEndAllowThreads(__tstate
);
10108 if (PyErr_Occurred()) SWIG_fail
;
10111 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10127 static PyObject
*_wrap_ScrollBar_GetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10128 PyObject
*resultobj
;
10129 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10131 PyObject
* obj0
= 0 ;
10132 char *kwnames
[] = {
10133 (char *) "self", NULL
10136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbPosition",kwnames
,&obj0
)) goto fail
;
10137 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10141 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbPosition();
10143 wxPyEndAllowThreads(__tstate
);
10144 if (PyErr_Occurred()) SWIG_fail
;
10146 resultobj
= SWIG_FromInt((int)result
);
10153 static PyObject
*_wrap_ScrollBar_GetThumbSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10154 PyObject
*resultobj
;
10155 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10157 PyObject
* obj0
= 0 ;
10158 char *kwnames
[] = {
10159 (char *) "self", NULL
10162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbSize",kwnames
,&obj0
)) goto fail
;
10163 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10167 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbSize();
10169 wxPyEndAllowThreads(__tstate
);
10170 if (PyErr_Occurred()) SWIG_fail
;
10172 resultobj
= SWIG_FromInt((int)result
);
10179 static PyObject
*_wrap_ScrollBar_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10180 PyObject
*resultobj
;
10181 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10183 PyObject
* obj0
= 0 ;
10184 char *kwnames
[] = {
10185 (char *) "self", NULL
10188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetPageSize",kwnames
,&obj0
)) goto fail
;
10189 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10193 result
= (int)((wxScrollBar
const *)arg1
)->GetPageSize();
10195 wxPyEndAllowThreads(__tstate
);
10196 if (PyErr_Occurred()) SWIG_fail
;
10198 resultobj
= SWIG_FromInt((int)result
);
10205 static PyObject
*_wrap_ScrollBar_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10206 PyObject
*resultobj
;
10207 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10209 PyObject
* obj0
= 0 ;
10210 char *kwnames
[] = {
10211 (char *) "self", NULL
10214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetRange",kwnames
,&obj0
)) goto fail
;
10215 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10216 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10219 result
= (int)((wxScrollBar
const *)arg1
)->GetRange();
10221 wxPyEndAllowThreads(__tstate
);
10222 if (PyErr_Occurred()) SWIG_fail
;
10224 resultobj
= SWIG_FromInt((int)result
);
10231 static PyObject
*_wrap_ScrollBar_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10232 PyObject
*resultobj
;
10233 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10235 PyObject
* obj0
= 0 ;
10236 char *kwnames
[] = {
10237 (char *) "self", NULL
10240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_IsVertical",kwnames
,&obj0
)) goto fail
;
10241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10245 result
= (bool)((wxScrollBar
const *)arg1
)->IsVertical();
10247 wxPyEndAllowThreads(__tstate
);
10248 if (PyErr_Occurred()) SWIG_fail
;
10251 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10259 static PyObject
*_wrap_ScrollBar_SetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10260 PyObject
*resultobj
;
10261 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10263 PyObject
* obj0
= 0 ;
10264 PyObject
* obj1
= 0 ;
10265 char *kwnames
[] = {
10266 (char *) "self",(char *) "viewStart", NULL
10269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollBar_SetThumbPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
10270 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10272 arg2
= (int) SWIG_AsInt(obj1
);
10273 if (PyErr_Occurred()) SWIG_fail
;
10275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10276 (arg1
)->SetThumbPosition(arg2
);
10278 wxPyEndAllowThreads(__tstate
);
10279 if (PyErr_Occurred()) SWIG_fail
;
10281 Py_INCREF(Py_None
); resultobj
= Py_None
;
10288 static PyObject
*_wrap_ScrollBar_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10289 PyObject
*resultobj
;
10290 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10295 bool arg6
= (bool) True
;
10296 PyObject
* obj0
= 0 ;
10297 PyObject
* obj1
= 0 ;
10298 PyObject
* obj2
= 0 ;
10299 PyObject
* obj3
= 0 ;
10300 PyObject
* obj4
= 0 ;
10301 PyObject
* obj5
= 0 ;
10302 char *kwnames
[] = {
10303 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
10306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:ScrollBar_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10307 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10308 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10309 arg2
= (int) SWIG_AsInt(obj1
);
10310 if (PyErr_Occurred()) SWIG_fail
;
10311 arg3
= (int) SWIG_AsInt(obj2
);
10312 if (PyErr_Occurred()) SWIG_fail
;
10313 arg4
= (int) SWIG_AsInt(obj3
);
10314 if (PyErr_Occurred()) SWIG_fail
;
10315 arg5
= (int) SWIG_AsInt(obj4
);
10316 if (PyErr_Occurred()) SWIG_fail
;
10318 arg6
= (bool) SWIG_AsBool(obj5
);
10319 if (PyErr_Occurred()) SWIG_fail
;
10322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10323 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
10325 wxPyEndAllowThreads(__tstate
);
10326 if (PyErr_Occurred()) SWIG_fail
;
10328 Py_INCREF(Py_None
); resultobj
= Py_None
;
10335 static PyObject
*_wrap_ScrollBar_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10336 PyObject
*resultobj
;
10337 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
10338 wxVisualAttributes result
;
10339 PyObject
* obj0
= 0 ;
10340 char *kwnames
[] = {
10341 (char *) "variant", NULL
10344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
10346 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
10347 if (PyErr_Occurred()) SWIG_fail
;
10350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10351 result
= wxScrollBar::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
10353 wxPyEndAllowThreads(__tstate
);
10354 if (PyErr_Occurred()) SWIG_fail
;
10357 wxVisualAttributes
* resultptr
;
10358 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
10359 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
10367 static PyObject
* ScrollBar_swigregister(PyObject
*self
, PyObject
*args
) {
10369 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10370 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar
, obj
);
10372 return Py_BuildValue((char *)"");
10374 static int _wrap_SPIN_BUTTON_NAME_set(PyObject
*_val
) {
10375 PyErr_SetString(PyExc_TypeError
,"Variable SPIN_BUTTON_NAME is read-only.");
10380 static PyObject
*_wrap_SPIN_BUTTON_NAME_get() {
10385 pyobj
= PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
10387 pyobj
= PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
10394 static int _wrap_SpinCtrlNameStr_set(PyObject
*_val
) {
10395 PyErr_SetString(PyExc_TypeError
,"Variable SpinCtrlNameStr is read-only.");
10400 static PyObject
*_wrap_SpinCtrlNameStr_get() {
10405 pyobj
= PyUnicode_FromWideChar((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
10407 pyobj
= PyString_FromStringAndSize((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
10414 static PyObject
*_wrap_new_SpinButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10415 PyObject
*resultobj
;
10416 wxWindow
*arg1
= (wxWindow
*) 0 ;
10417 int arg2
= (int) -1 ;
10418 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10419 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10420 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10421 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10422 long arg5
= (long) wxSP_HORIZONTAL
;
10423 wxString
const &arg6_defvalue
= wxPySPIN_BUTTON_NAME
;
10424 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10425 wxSpinButton
*result
;
10428 bool temp6
= False
;
10429 PyObject
* obj0
= 0 ;
10430 PyObject
* obj1
= 0 ;
10431 PyObject
* obj2
= 0 ;
10432 PyObject
* obj3
= 0 ;
10433 PyObject
* obj4
= 0 ;
10434 PyObject
* obj5
= 0 ;
10435 char *kwnames
[] = {
10436 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SpinButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10440 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10443 arg2
= (int) SWIG_AsInt(obj1
);
10444 if (PyErr_Occurred()) SWIG_fail
;
10449 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10455 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10459 arg5
= (long) SWIG_AsLong(obj4
);
10460 if (PyErr_Occurred()) SWIG_fail
;
10464 arg6
= wxString_in_helper(obj5
);
10465 if (arg6
== NULL
) SWIG_fail
;
10470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10471 result
= (wxSpinButton
*)new wxSpinButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10473 wxPyEndAllowThreads(__tstate
);
10474 if (PyErr_Occurred()) SWIG_fail
;
10476 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinButton
, 1);
10491 static PyObject
*_wrap_new_PreSpinButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10492 PyObject
*resultobj
;
10493 wxSpinButton
*result
;
10494 char *kwnames
[] = {
10498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinButton",kwnames
)) goto fail
;
10500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10501 result
= (wxSpinButton
*)new wxSpinButton();
10503 wxPyEndAllowThreads(__tstate
);
10504 if (PyErr_Occurred()) SWIG_fail
;
10506 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinButton
, 1);
10513 static PyObject
*_wrap_SpinButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10514 PyObject
*resultobj
;
10515 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10516 wxWindow
*arg2
= (wxWindow
*) 0 ;
10517 int arg3
= (int) -1 ;
10518 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10519 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10520 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10521 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10522 long arg6
= (long) wxSP_HORIZONTAL
;
10523 wxString
const &arg7_defvalue
= wxPySPIN_BUTTON_NAME
;
10524 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10528 bool temp7
= False
;
10529 PyObject
* obj0
= 0 ;
10530 PyObject
* obj1
= 0 ;
10531 PyObject
* obj2
= 0 ;
10532 PyObject
* obj3
= 0 ;
10533 PyObject
* obj4
= 0 ;
10534 PyObject
* obj5
= 0 ;
10535 PyObject
* obj6
= 0 ;
10536 char *kwnames
[] = {
10537 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SpinButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10543 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10546 arg3
= (int) SWIG_AsInt(obj2
);
10547 if (PyErr_Occurred()) SWIG_fail
;
10552 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10558 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10562 arg6
= (long) SWIG_AsLong(obj5
);
10563 if (PyErr_Occurred()) SWIG_fail
;
10567 arg7
= wxString_in_helper(obj6
);
10568 if (arg7
== NULL
) SWIG_fail
;
10573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10574 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
10576 wxPyEndAllowThreads(__tstate
);
10577 if (PyErr_Occurred()) SWIG_fail
;
10580 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10596 static PyObject
*_wrap_SpinButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10597 PyObject
*resultobj
;
10598 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10600 PyObject
* obj0
= 0 ;
10601 char *kwnames
[] = {
10602 (char *) "self", NULL
10605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetValue",kwnames
,&obj0
)) goto fail
;
10606 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10610 result
= (int)((wxSpinButton
const *)arg1
)->GetValue();
10612 wxPyEndAllowThreads(__tstate
);
10613 if (PyErr_Occurred()) SWIG_fail
;
10615 resultobj
= SWIG_FromInt((int)result
);
10622 static PyObject
*_wrap_SpinButton_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10623 PyObject
*resultobj
;
10624 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10626 PyObject
* obj0
= 0 ;
10627 char *kwnames
[] = {
10628 (char *) "self", NULL
10631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMin",kwnames
,&obj0
)) goto fail
;
10632 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10633 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10636 result
= (int)((wxSpinButton
const *)arg1
)->GetMin();
10638 wxPyEndAllowThreads(__tstate
);
10639 if (PyErr_Occurred()) SWIG_fail
;
10641 resultobj
= SWIG_FromInt((int)result
);
10648 static PyObject
*_wrap_SpinButton_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10649 PyObject
*resultobj
;
10650 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10652 PyObject
* obj0
= 0 ;
10653 char *kwnames
[] = {
10654 (char *) "self", NULL
10657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMax",kwnames
,&obj0
)) goto fail
;
10658 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10662 result
= (int)((wxSpinButton
const *)arg1
)->GetMax();
10664 wxPyEndAllowThreads(__tstate
);
10665 if (PyErr_Occurred()) SWIG_fail
;
10667 resultobj
= SWIG_FromInt((int)result
);
10674 static PyObject
*_wrap_SpinButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10675 PyObject
*resultobj
;
10676 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10678 PyObject
* obj0
= 0 ;
10679 PyObject
* obj1
= 0 ;
10680 char *kwnames
[] = {
10681 (char *) "self",(char *) "val", NULL
10684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
10685 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10687 arg2
= (int) SWIG_AsInt(obj1
);
10688 if (PyErr_Occurred()) SWIG_fail
;
10690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10691 (arg1
)->SetValue(arg2
);
10693 wxPyEndAllowThreads(__tstate
);
10694 if (PyErr_Occurred()) SWIG_fail
;
10696 Py_INCREF(Py_None
); resultobj
= Py_None
;
10703 static PyObject
*_wrap_SpinButton_SetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10704 PyObject
*resultobj
;
10705 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10707 PyObject
* obj0
= 0 ;
10708 PyObject
* obj1
= 0 ;
10709 char *kwnames
[] = {
10710 (char *) "self",(char *) "minVal", NULL
10713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
10714 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10715 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10716 arg2
= (int) SWIG_AsInt(obj1
);
10717 if (PyErr_Occurred()) SWIG_fail
;
10719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10720 (arg1
)->SetMin(arg2
);
10722 wxPyEndAllowThreads(__tstate
);
10723 if (PyErr_Occurred()) SWIG_fail
;
10725 Py_INCREF(Py_None
); resultobj
= Py_None
;
10732 static PyObject
*_wrap_SpinButton_SetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10733 PyObject
*resultobj
;
10734 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10736 PyObject
* obj0
= 0 ;
10737 PyObject
* obj1
= 0 ;
10738 char *kwnames
[] = {
10739 (char *) "self",(char *) "maxVal", NULL
10742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
10743 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10744 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10745 arg2
= (int) SWIG_AsInt(obj1
);
10746 if (PyErr_Occurred()) SWIG_fail
;
10748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10749 (arg1
)->SetMax(arg2
);
10751 wxPyEndAllowThreads(__tstate
);
10752 if (PyErr_Occurred()) SWIG_fail
;
10754 Py_INCREF(Py_None
); resultobj
= Py_None
;
10761 static PyObject
*_wrap_SpinButton_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10762 PyObject
*resultobj
;
10763 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10766 PyObject
* obj0
= 0 ;
10767 PyObject
* obj1
= 0 ;
10768 PyObject
* obj2
= 0 ;
10769 char *kwnames
[] = {
10770 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
10773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinButton_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10774 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10776 arg2
= (int) SWIG_AsInt(obj1
);
10777 if (PyErr_Occurred()) SWIG_fail
;
10778 arg3
= (int) SWIG_AsInt(obj2
);
10779 if (PyErr_Occurred()) SWIG_fail
;
10781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10782 (arg1
)->SetRange(arg2
,arg3
);
10784 wxPyEndAllowThreads(__tstate
);
10785 if (PyErr_Occurred()) SWIG_fail
;
10787 Py_INCREF(Py_None
); resultobj
= Py_None
;
10794 static PyObject
*_wrap_SpinButton_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10795 PyObject
*resultobj
;
10796 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10798 PyObject
* obj0
= 0 ;
10799 char *kwnames
[] = {
10800 (char *) "self", NULL
10803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_IsVertical",kwnames
,&obj0
)) goto fail
;
10804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10808 result
= (bool)((wxSpinButton
const *)arg1
)->IsVertical();
10810 wxPyEndAllowThreads(__tstate
);
10811 if (PyErr_Occurred()) SWIG_fail
;
10814 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10822 static PyObject
*_wrap_SpinButton_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10823 PyObject
*resultobj
;
10824 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
10825 wxVisualAttributes result
;
10826 PyObject
* obj0
= 0 ;
10827 char *kwnames
[] = {
10828 (char *) "variant", NULL
10831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
10833 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
10834 if (PyErr_Occurred()) SWIG_fail
;
10837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10838 result
= wxSpinButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
10840 wxPyEndAllowThreads(__tstate
);
10841 if (PyErr_Occurred()) SWIG_fail
;
10844 wxVisualAttributes
* resultptr
;
10845 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
10846 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
10854 static PyObject
* SpinButton_swigregister(PyObject
*self
, PyObject
*args
) {
10856 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10857 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton
, obj
);
10859 return Py_BuildValue((char *)"");
10861 static PyObject
*_wrap_new_SpinCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10862 PyObject
*resultobj
;
10863 wxWindow
*arg1
= (wxWindow
*) 0 ;
10864 int arg2
= (int) -1 ;
10865 wxString
const &arg3_defvalue
= wxPyEmptyString
;
10866 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
10867 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10868 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10869 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10870 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10871 long arg6
= (long) wxSP_ARROW_KEYS
;
10872 int arg7
= (int) 0 ;
10873 int arg8
= (int) 100 ;
10874 int arg9
= (int) 0 ;
10875 wxString
const &arg10_defvalue
= wxPySpinCtrlNameStr
;
10876 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
10877 wxSpinCtrl
*result
;
10878 bool temp3
= False
;
10881 bool temp10
= False
;
10882 PyObject
* obj0
= 0 ;
10883 PyObject
* obj1
= 0 ;
10884 PyObject
* obj2
= 0 ;
10885 PyObject
* obj3
= 0 ;
10886 PyObject
* obj4
= 0 ;
10887 PyObject
* obj5
= 0 ;
10888 PyObject
* obj6
= 0 ;
10889 PyObject
* obj7
= 0 ;
10890 PyObject
* obj8
= 0 ;
10891 PyObject
* obj9
= 0 ;
10892 char *kwnames
[] = {
10893 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
10896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
10897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10900 arg2
= (int) SWIG_AsInt(obj1
);
10901 if (PyErr_Occurred()) SWIG_fail
;
10905 arg3
= wxString_in_helper(obj2
);
10906 if (arg3
== NULL
) SWIG_fail
;
10913 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10919 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10923 arg6
= (long) SWIG_AsLong(obj5
);
10924 if (PyErr_Occurred()) SWIG_fail
;
10927 arg7
= (int) SWIG_AsInt(obj6
);
10928 if (PyErr_Occurred()) SWIG_fail
;
10931 arg8
= (int) SWIG_AsInt(obj7
);
10932 if (PyErr_Occurred()) SWIG_fail
;
10935 arg9
= (int) SWIG_AsInt(obj8
);
10936 if (PyErr_Occurred()) SWIG_fail
;
10940 arg10
= wxString_in_helper(obj9
);
10941 if (arg10
== NULL
) SWIG_fail
;
10946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10947 result
= (wxSpinCtrl
*)new wxSpinCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,(wxString
const &)*arg10
);
10949 wxPyEndAllowThreads(__tstate
);
10950 if (PyErr_Occurred()) SWIG_fail
;
10952 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinCtrl
, 1);
10975 static PyObject
*_wrap_new_PreSpinCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10976 PyObject
*resultobj
;
10977 wxSpinCtrl
*result
;
10978 char *kwnames
[] = {
10982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinCtrl",kwnames
)) goto fail
;
10984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10985 result
= (wxSpinCtrl
*)new wxSpinCtrl();
10987 wxPyEndAllowThreads(__tstate
);
10988 if (PyErr_Occurred()) SWIG_fail
;
10990 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinCtrl
, 1);
10997 static PyObject
*_wrap_SpinCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10998 PyObject
*resultobj
;
10999 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11000 wxWindow
*arg2
= (wxWindow
*) 0 ;
11001 int arg3
= (int) -1 ;
11002 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11003 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11004 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11005 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11006 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11007 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11008 long arg7
= (long) wxSP_ARROW_KEYS
;
11009 int arg8
= (int) 0 ;
11010 int arg9
= (int) 100 ;
11011 int arg10
= (int) 0 ;
11012 wxString
const &arg11_defvalue
= wxPySpinCtrlNameStr
;
11013 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
11015 bool temp4
= False
;
11018 bool temp11
= False
;
11019 PyObject
* obj0
= 0 ;
11020 PyObject
* obj1
= 0 ;
11021 PyObject
* obj2
= 0 ;
11022 PyObject
* obj3
= 0 ;
11023 PyObject
* obj4
= 0 ;
11024 PyObject
* obj5
= 0 ;
11025 PyObject
* obj6
= 0 ;
11026 PyObject
* obj7
= 0 ;
11027 PyObject
* obj8
= 0 ;
11028 PyObject
* obj9
= 0 ;
11029 PyObject
* obj10
= 0 ;
11030 char *kwnames
[] = {
11031 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
11034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
11035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11037 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
11038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11040 arg3
= (int) SWIG_AsInt(obj2
);
11041 if (PyErr_Occurred()) SWIG_fail
;
11045 arg4
= wxString_in_helper(obj3
);
11046 if (arg4
== NULL
) SWIG_fail
;
11053 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11059 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11063 arg7
= (long) SWIG_AsLong(obj6
);
11064 if (PyErr_Occurred()) SWIG_fail
;
11067 arg8
= (int) SWIG_AsInt(obj7
);
11068 if (PyErr_Occurred()) SWIG_fail
;
11071 arg9
= (int) SWIG_AsInt(obj8
);
11072 if (PyErr_Occurred()) SWIG_fail
;
11075 arg10
= (int) SWIG_AsInt(obj9
);
11076 if (PyErr_Occurred()) SWIG_fail
;
11080 arg11
= wxString_in_helper(obj10
);
11081 if (arg11
== NULL
) SWIG_fail
;
11086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11087 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,arg10
,(wxString
const &)*arg11
);
11089 wxPyEndAllowThreads(__tstate
);
11090 if (PyErr_Occurred()) SWIG_fail
;
11093 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11117 static PyObject
*_wrap_SpinCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11118 PyObject
*resultobj
;
11119 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11121 PyObject
* obj0
= 0 ;
11122 char *kwnames
[] = {
11123 (char *) "self", NULL
11126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
11127 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11131 result
= (int)((wxSpinCtrl
const *)arg1
)->GetValue();
11133 wxPyEndAllowThreads(__tstate
);
11134 if (PyErr_Occurred()) SWIG_fail
;
11136 resultobj
= SWIG_FromInt((int)result
);
11143 static PyObject
*_wrap_SpinCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11144 PyObject
*resultobj
;
11145 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11147 PyObject
* obj0
= 0 ;
11148 PyObject
* obj1
= 0 ;
11149 char *kwnames
[] = {
11150 (char *) "self",(char *) "value", NULL
11153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
11154 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11156 arg2
= (int) SWIG_AsInt(obj1
);
11157 if (PyErr_Occurred()) SWIG_fail
;
11159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11160 (arg1
)->SetValue(arg2
);
11162 wxPyEndAllowThreads(__tstate
);
11163 if (PyErr_Occurred()) SWIG_fail
;
11165 Py_INCREF(Py_None
); resultobj
= Py_None
;
11172 static PyObject
*_wrap_SpinCtrl_SetValueString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11173 PyObject
*resultobj
;
11174 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11175 wxString
*arg2
= 0 ;
11176 bool temp2
= False
;
11177 PyObject
* obj0
= 0 ;
11178 PyObject
* obj1
= 0 ;
11179 char *kwnames
[] = {
11180 (char *) "self",(char *) "text", NULL
11183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValueString",kwnames
,&obj0
,&obj1
)) goto fail
;
11184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11187 arg2
= wxString_in_helper(obj1
);
11188 if (arg2
== NULL
) SWIG_fail
;
11192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11193 (arg1
)->SetValue((wxString
const &)*arg2
);
11195 wxPyEndAllowThreads(__tstate
);
11196 if (PyErr_Occurred()) SWIG_fail
;
11198 Py_INCREF(Py_None
); resultobj
= Py_None
;
11213 static PyObject
*_wrap_SpinCtrl_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11214 PyObject
*resultobj
;
11215 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11218 PyObject
* obj0
= 0 ;
11219 PyObject
* obj1
= 0 ;
11220 PyObject
* obj2
= 0 ;
11221 char *kwnames
[] = {
11222 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
11225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11226 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11228 arg2
= (int) SWIG_AsInt(obj1
);
11229 if (PyErr_Occurred()) SWIG_fail
;
11230 arg3
= (int) SWIG_AsInt(obj2
);
11231 if (PyErr_Occurred()) SWIG_fail
;
11233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11234 (arg1
)->SetRange(arg2
,arg3
);
11236 wxPyEndAllowThreads(__tstate
);
11237 if (PyErr_Occurred()) SWIG_fail
;
11239 Py_INCREF(Py_None
); resultobj
= Py_None
;
11246 static PyObject
*_wrap_SpinCtrl_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11247 PyObject
*resultobj
;
11248 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11250 PyObject
* obj0
= 0 ;
11251 char *kwnames
[] = {
11252 (char *) "self", NULL
11255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMin",kwnames
,&obj0
)) goto fail
;
11256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11260 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMin();
11262 wxPyEndAllowThreads(__tstate
);
11263 if (PyErr_Occurred()) SWIG_fail
;
11265 resultobj
= SWIG_FromInt((int)result
);
11272 static PyObject
*_wrap_SpinCtrl_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11273 PyObject
*resultobj
;
11274 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11276 PyObject
* obj0
= 0 ;
11277 char *kwnames
[] = {
11278 (char *) "self", NULL
11281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMax",kwnames
,&obj0
)) goto fail
;
11282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11286 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMax();
11288 wxPyEndAllowThreads(__tstate
);
11289 if (PyErr_Occurred()) SWIG_fail
;
11291 resultobj
= SWIG_FromInt((int)result
);
11298 static PyObject
*_wrap_SpinCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11299 PyObject
*resultobj
;
11300 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11303 PyObject
* obj0
= 0 ;
11304 PyObject
* obj1
= 0 ;
11305 PyObject
* obj2
= 0 ;
11306 char *kwnames
[] = {
11307 (char *) "self",(char *) "from",(char *) "to", NULL
11310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11313 arg2
= (long) SWIG_AsLong(obj1
);
11314 if (PyErr_Occurred()) SWIG_fail
;
11315 arg3
= (long) SWIG_AsLong(obj2
);
11316 if (PyErr_Occurred()) SWIG_fail
;
11318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11319 (arg1
)->SetSelection(arg2
,arg3
);
11321 wxPyEndAllowThreads(__tstate
);
11322 if (PyErr_Occurred()) SWIG_fail
;
11324 Py_INCREF(Py_None
); resultobj
= Py_None
;
11331 static PyObject
*_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11332 PyObject
*resultobj
;
11333 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
11334 wxVisualAttributes result
;
11335 PyObject
* obj0
= 0 ;
11336 char *kwnames
[] = {
11337 (char *) "variant", NULL
11340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
11342 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
11343 if (PyErr_Occurred()) SWIG_fail
;
11346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11347 result
= wxSpinCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
11349 wxPyEndAllowThreads(__tstate
);
11350 if (PyErr_Occurred()) SWIG_fail
;
11353 wxVisualAttributes
* resultptr
;
11354 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
11355 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
11363 static PyObject
* SpinCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
11365 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11366 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl
, obj
);
11368 return Py_BuildValue((char *)"");
11370 static PyObject
*_wrap_new_SpinEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11371 PyObject
*resultobj
;
11372 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
11373 int arg2
= (int) 0 ;
11374 wxSpinEvent
*result
;
11375 PyObject
* obj0
= 0 ;
11376 PyObject
* obj1
= 0 ;
11377 char *kwnames
[] = {
11378 (char *) "commandType",(char *) "winid", NULL
11381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SpinEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
11383 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
11384 if (PyErr_Occurred()) SWIG_fail
;
11387 arg2
= (int) SWIG_AsInt(obj1
);
11388 if (PyErr_Occurred()) SWIG_fail
;
11391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11392 result
= (wxSpinEvent
*)new wxSpinEvent(arg1
,arg2
);
11394 wxPyEndAllowThreads(__tstate
);
11395 if (PyErr_Occurred()) SWIG_fail
;
11397 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinEvent
, 1);
11404 static PyObject
*_wrap_SpinEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11405 PyObject
*resultobj
;
11406 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
11408 PyObject
* obj0
= 0 ;
11409 char *kwnames
[] = {
11410 (char *) "self", NULL
11413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
11414 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinEvent
,
11415 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11418 result
= (int)((wxSpinEvent
const *)arg1
)->GetPosition();
11420 wxPyEndAllowThreads(__tstate
);
11421 if (PyErr_Occurred()) SWIG_fail
;
11423 resultobj
= SWIG_FromInt((int)result
);
11430 static PyObject
*_wrap_SpinEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11431 PyObject
*resultobj
;
11432 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
11434 PyObject
* obj0
= 0 ;
11435 PyObject
* obj1
= 0 ;
11436 char *kwnames
[] = {
11437 (char *) "self",(char *) "pos", NULL
11440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
11441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinEvent
,
11442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11443 arg2
= (int) SWIG_AsInt(obj1
);
11444 if (PyErr_Occurred()) SWIG_fail
;
11446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11447 (arg1
)->SetPosition(arg2
);
11449 wxPyEndAllowThreads(__tstate
);
11450 if (PyErr_Occurred()) SWIG_fail
;
11452 Py_INCREF(Py_None
); resultobj
= Py_None
;
11459 static PyObject
* SpinEvent_swigregister(PyObject
*self
, PyObject
*args
) {
11461 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11462 SWIG_TypeClientData(SWIGTYPE_p_wxSpinEvent
, obj
);
11464 return Py_BuildValue((char *)"");
11466 static int _wrap_RadioBoxNameStr_set(PyObject
*_val
) {
11467 PyErr_SetString(PyExc_TypeError
,"Variable RadioBoxNameStr is read-only.");
11472 static PyObject
*_wrap_RadioBoxNameStr_get() {
11477 pyobj
= PyUnicode_FromWideChar((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
11479 pyobj
= PyString_FromStringAndSize((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
11486 static int _wrap_RadioButtonNameStr_set(PyObject
*_val
) {
11487 PyErr_SetString(PyExc_TypeError
,"Variable RadioButtonNameStr is read-only.");
11492 static PyObject
*_wrap_RadioButtonNameStr_get() {
11497 pyobj
= PyUnicode_FromWideChar((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
11499 pyobj
= PyString_FromStringAndSize((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
11506 static PyObject
*_wrap_new_RadioBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11507 PyObject
*resultobj
;
11508 wxWindow
*arg1
= (wxWindow
*) 0 ;
11510 wxString
*arg3
= 0 ;
11511 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11512 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11513 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11514 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11515 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
11516 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
11517 int arg7
= (int) 0 ;
11518 long arg8
= (long) wxRA_HORIZONTAL
;
11519 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
11520 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
11521 wxString
const &arg10_defvalue
= wxPyRadioBoxNameStr
;
11522 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
11523 wxRadioBox
*result
;
11524 bool temp3
= False
;
11527 bool temp6
= False
;
11528 bool temp10
= False
;
11529 PyObject
* obj0
= 0 ;
11530 PyObject
* obj1
= 0 ;
11531 PyObject
* obj2
= 0 ;
11532 PyObject
* obj3
= 0 ;
11533 PyObject
* obj4
= 0 ;
11534 PyObject
* obj5
= 0 ;
11535 PyObject
* obj6
= 0 ;
11536 PyObject
* obj7
= 0 ;
11537 PyObject
* obj8
= 0 ;
11538 PyObject
* obj9
= 0 ;
11539 char *kwnames
[] = {
11540 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
11543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOOO:new_RadioBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
11544 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11545 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11546 arg2
= (int) SWIG_AsInt(obj1
);
11547 if (PyErr_Occurred()) SWIG_fail
;
11549 arg3
= wxString_in_helper(obj2
);
11550 if (arg3
== NULL
) SWIG_fail
;
11556 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11562 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11567 if (! PySequence_Check(obj5
)) {
11568 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
11571 arg6
= new wxArrayString
;
11573 int i
, len
=PySequence_Length(obj5
);
11574 for (i
=0; i
<len
; i
++) {
11575 PyObject
* item
= PySequence_GetItem(obj5
, i
);
11577 PyObject
* str
= PyObject_Unicode(item
);
11579 PyObject
* str
= PyObject_Str(item
);
11581 if (PyErr_Occurred()) SWIG_fail
;
11582 arg6
->Add(Py2wxString(str
));
11589 arg7
= (int) SWIG_AsInt(obj6
);
11590 if (PyErr_Occurred()) SWIG_fail
;
11593 arg8
= (long) SWIG_AsLong(obj7
);
11594 if (PyErr_Occurred()) SWIG_fail
;
11597 if ((SWIG_ConvertPtr(obj8
,(void **)(&arg9
),SWIGTYPE_p_wxValidator
,
11598 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11600 if (arg9
== NULL
) {
11601 PyErr_SetString(PyExc_TypeError
,"null reference");
11607 arg10
= wxString_in_helper(obj9
);
11608 if (arg10
== NULL
) SWIG_fail
;
11613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11614 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
);
11616 wxPyEndAllowThreads(__tstate
);
11617 if (PyErr_Occurred()) SWIG_fail
;
11619 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioBox
, 1);
11625 if (temp6
) delete arg6
;
11638 if (temp6
) delete arg6
;
11648 static PyObject
*_wrap_new_PreRadioBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11649 PyObject
*resultobj
;
11650 wxRadioBox
*result
;
11651 char *kwnames
[] = {
11655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioBox",kwnames
)) goto fail
;
11657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11658 result
= (wxRadioBox
*)new wxRadioBox();
11660 wxPyEndAllowThreads(__tstate
);
11661 if (PyErr_Occurred()) SWIG_fail
;
11663 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioBox
, 1);
11670 static PyObject
*_wrap_RadioBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11671 PyObject
*resultobj
;
11672 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11673 wxWindow
*arg2
= (wxWindow
*) 0 ;
11675 wxString
*arg4
= 0 ;
11676 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11677 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11678 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11679 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11680 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
11681 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
11682 int arg8
= (int) 0 ;
11683 long arg9
= (long) wxRA_HORIZONTAL
;
11684 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
11685 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
11686 wxString
const &arg11_defvalue
= wxPyRadioBoxNameStr
;
11687 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
11689 bool temp4
= False
;
11692 bool temp7
= False
;
11693 bool temp11
= False
;
11694 PyObject
* obj0
= 0 ;
11695 PyObject
* obj1
= 0 ;
11696 PyObject
* obj2
= 0 ;
11697 PyObject
* obj3
= 0 ;
11698 PyObject
* obj4
= 0 ;
11699 PyObject
* obj5
= 0 ;
11700 PyObject
* obj6
= 0 ;
11701 PyObject
* obj7
= 0 ;
11702 PyObject
* obj8
= 0 ;
11703 PyObject
* obj9
= 0 ;
11704 PyObject
* obj10
= 0 ;
11705 char *kwnames
[] = {
11706 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
11709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOOOO:RadioBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
11710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11712 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
11713 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11714 arg3
= (int) SWIG_AsInt(obj2
);
11715 if (PyErr_Occurred()) SWIG_fail
;
11717 arg4
= wxString_in_helper(obj3
);
11718 if (arg4
== NULL
) SWIG_fail
;
11724 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11730 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11735 if (! PySequence_Check(obj6
)) {
11736 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
11739 arg7
= new wxArrayString
;
11741 int i
, len
=PySequence_Length(obj6
);
11742 for (i
=0; i
<len
; i
++) {
11743 PyObject
* item
= PySequence_GetItem(obj6
, i
);
11745 PyObject
* str
= PyObject_Unicode(item
);
11747 PyObject
* str
= PyObject_Str(item
);
11749 if (PyErr_Occurred()) SWIG_fail
;
11750 arg7
->Add(Py2wxString(str
));
11757 arg8
= (int) SWIG_AsInt(obj7
);
11758 if (PyErr_Occurred()) SWIG_fail
;
11761 arg9
= (long) SWIG_AsLong(obj8
);
11762 if (PyErr_Occurred()) SWIG_fail
;
11765 if ((SWIG_ConvertPtr(obj9
,(void **)(&arg10
),SWIGTYPE_p_wxValidator
,
11766 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11768 if (arg10
== NULL
) {
11769 PyErr_SetString(PyExc_TypeError
,"null reference");
11775 arg11
= wxString_in_helper(obj10
);
11776 if (arg11
== NULL
) SWIG_fail
;
11781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11782 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
);
11784 wxPyEndAllowThreads(__tstate
);
11785 if (PyErr_Occurred()) SWIG_fail
;
11788 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11795 if (temp7
) delete arg7
;
11808 if (temp7
) delete arg7
;
11818 static PyObject
*_wrap_RadioBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11819 PyObject
*resultobj
;
11820 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11822 PyObject
* obj0
= 0 ;
11823 PyObject
* obj1
= 0 ;
11824 char *kwnames
[] = {
11825 (char *) "self",(char *) "n", NULL
11828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
11829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11831 arg2
= (int) SWIG_AsInt(obj1
);
11832 if (PyErr_Occurred()) SWIG_fail
;
11834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11835 (arg1
)->SetSelection(arg2
);
11837 wxPyEndAllowThreads(__tstate
);
11838 if (PyErr_Occurred()) SWIG_fail
;
11840 Py_INCREF(Py_None
); resultobj
= Py_None
;
11847 static PyObject
*_wrap_RadioBox_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11848 PyObject
*resultobj
;
11849 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11851 PyObject
* obj0
= 0 ;
11852 char *kwnames
[] = {
11853 (char *) "self", NULL
11856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetSelection",kwnames
,&obj0
)) goto fail
;
11857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11861 result
= (int)((wxRadioBox
const *)arg1
)->GetSelection();
11863 wxPyEndAllowThreads(__tstate
);
11864 if (PyErr_Occurred()) SWIG_fail
;
11866 resultobj
= SWIG_FromInt((int)result
);
11873 static PyObject
*_wrap_RadioBox_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11874 PyObject
*resultobj
;
11875 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11877 PyObject
* obj0
= 0 ;
11878 char *kwnames
[] = {
11879 (char *) "self", NULL
11882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetStringSelection",kwnames
,&obj0
)) goto fail
;
11883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11887 result
= ((wxRadioBox
const *)arg1
)->GetStringSelection();
11889 wxPyEndAllowThreads(__tstate
);
11890 if (PyErr_Occurred()) SWIG_fail
;
11894 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11896 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11905 static PyObject
*_wrap_RadioBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11906 PyObject
*resultobj
;
11907 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11908 wxString
*arg2
= 0 ;
11910 bool temp2
= False
;
11911 PyObject
* obj0
= 0 ;
11912 PyObject
* obj1
= 0 ;
11913 char *kwnames
[] = {
11914 (char *) "self",(char *) "s", NULL
11917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
11918 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11921 arg2
= wxString_in_helper(obj1
);
11922 if (arg2
== NULL
) SWIG_fail
;
11926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11927 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
11929 wxPyEndAllowThreads(__tstate
);
11930 if (PyErr_Occurred()) SWIG_fail
;
11933 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11949 static PyObject
*_wrap_RadioBox_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11950 PyObject
*resultobj
;
11951 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11953 PyObject
* obj0
= 0 ;
11954 char *kwnames
[] = {
11955 (char *) "self", NULL
11958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetCount",kwnames
,&obj0
)) goto fail
;
11959 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11963 result
= (int)((wxRadioBox
const *)arg1
)->GetCount();
11965 wxPyEndAllowThreads(__tstate
);
11966 if (PyErr_Occurred()) SWIG_fail
;
11968 resultobj
= SWIG_FromInt((int)result
);
11975 static PyObject
*_wrap_RadioBox_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11976 PyObject
*resultobj
;
11977 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11978 wxString
*arg2
= 0 ;
11980 bool temp2
= False
;
11981 PyObject
* obj0
= 0 ;
11982 PyObject
* obj1
= 0 ;
11983 char *kwnames
[] = {
11984 (char *) "self",(char *) "s", NULL
11987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
11988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11991 arg2
= wxString_in_helper(obj1
);
11992 if (arg2
== NULL
) SWIG_fail
;
11996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11997 result
= (int)((wxRadioBox
const *)arg1
)->FindString((wxString
const &)*arg2
);
11999 wxPyEndAllowThreads(__tstate
);
12000 if (PyErr_Occurred()) SWIG_fail
;
12002 resultobj
= SWIG_FromInt((int)result
);
12017 static PyObject
*_wrap_RadioBox_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12018 PyObject
*resultobj
;
12019 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12022 PyObject
* obj0
= 0 ;
12023 PyObject
* obj1
= 0 ;
12024 char *kwnames
[] = {
12025 (char *) "self",(char *) "n", NULL
12028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
12029 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12031 arg2
= (int) SWIG_AsInt(obj1
);
12032 if (PyErr_Occurred()) SWIG_fail
;
12034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12035 result
= ((wxRadioBox
const *)arg1
)->GetString(arg2
);
12037 wxPyEndAllowThreads(__tstate
);
12038 if (PyErr_Occurred()) SWIG_fail
;
12042 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12044 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12053 static PyObject
*_wrap_RadioBox_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12054 PyObject
*resultobj
;
12055 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12057 wxString
*arg3
= 0 ;
12058 bool temp3
= False
;
12059 PyObject
* obj0
= 0 ;
12060 PyObject
* obj1
= 0 ;
12061 PyObject
* obj2
= 0 ;
12062 char *kwnames
[] = {
12063 (char *) "self",(char *) "n",(char *) "label", NULL
12066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12067 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12069 arg2
= (int) SWIG_AsInt(obj1
);
12070 if (PyErr_Occurred()) SWIG_fail
;
12072 arg3
= wxString_in_helper(obj2
);
12073 if (arg3
== NULL
) SWIG_fail
;
12077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12078 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
12080 wxPyEndAllowThreads(__tstate
);
12081 if (PyErr_Occurred()) SWIG_fail
;
12083 Py_INCREF(Py_None
); resultobj
= Py_None
;
12098 static PyObject
*_wrap_RadioBox_EnableItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12099 PyObject
*resultobj
;
12100 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12102 bool arg3
= (bool) True
;
12103 PyObject
* obj0
= 0 ;
12104 PyObject
* obj1
= 0 ;
12105 PyObject
* obj2
= 0 ;
12106 char *kwnames
[] = {
12107 (char *) "self",(char *) "n",(char *) "enable", NULL
12110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_EnableItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12113 arg2
= (int) SWIG_AsInt(obj1
);
12114 if (PyErr_Occurred()) SWIG_fail
;
12116 arg3
= (bool) SWIG_AsBool(obj2
);
12117 if (PyErr_Occurred()) SWIG_fail
;
12120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12121 (arg1
)->Enable(arg2
,arg3
);
12123 wxPyEndAllowThreads(__tstate
);
12124 if (PyErr_Occurred()) SWIG_fail
;
12126 Py_INCREF(Py_None
); resultobj
= Py_None
;
12133 static PyObject
*_wrap_RadioBox_ShowItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12134 PyObject
*resultobj
;
12135 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12137 bool arg3
= (bool) True
;
12138 PyObject
* obj0
= 0 ;
12139 PyObject
* obj1
= 0 ;
12140 PyObject
* obj2
= 0 ;
12141 char *kwnames
[] = {
12142 (char *) "self",(char *) "n",(char *) "show", NULL
12145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_ShowItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12146 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12148 arg2
= (int) SWIG_AsInt(obj1
);
12149 if (PyErr_Occurred()) SWIG_fail
;
12151 arg3
= (bool) SWIG_AsBool(obj2
);
12152 if (PyErr_Occurred()) SWIG_fail
;
12155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12156 (arg1
)->Show(arg2
,arg3
);
12158 wxPyEndAllowThreads(__tstate
);
12159 if (PyErr_Occurred()) SWIG_fail
;
12161 Py_INCREF(Py_None
); resultobj
= Py_None
;
12168 static PyObject
*_wrap_RadioBox_GetColumnCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12169 PyObject
*resultobj
;
12170 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12172 PyObject
* obj0
= 0 ;
12173 char *kwnames
[] = {
12174 (char *) "self", NULL
12177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetColumnCount",kwnames
,&obj0
)) goto fail
;
12178 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12179 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12182 result
= (int)((wxRadioBox
const *)arg1
)->GetColumnCount();
12184 wxPyEndAllowThreads(__tstate
);
12185 if (PyErr_Occurred()) SWIG_fail
;
12187 resultobj
= SWIG_FromInt((int)result
);
12194 static PyObject
*_wrap_RadioBox_GetRowCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12195 PyObject
*resultobj
;
12196 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12198 PyObject
* obj0
= 0 ;
12199 char *kwnames
[] = {
12200 (char *) "self", NULL
12203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetRowCount",kwnames
,&obj0
)) goto fail
;
12204 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12208 result
= (int)((wxRadioBox
const *)arg1
)->GetRowCount();
12210 wxPyEndAllowThreads(__tstate
);
12211 if (PyErr_Occurred()) SWIG_fail
;
12213 resultobj
= SWIG_FromInt((int)result
);
12220 static PyObject
*_wrap_RadioBox_GetNextItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12221 PyObject
*resultobj
;
12222 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12227 PyObject
* obj0
= 0 ;
12228 PyObject
* obj1
= 0 ;
12229 PyObject
* obj2
= 0 ;
12230 PyObject
* obj3
= 0 ;
12231 char *kwnames
[] = {
12232 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
12235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RadioBox_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12238 arg2
= (int) SWIG_AsInt(obj1
);
12239 if (PyErr_Occurred()) SWIG_fail
;
12240 arg3
= (wxDirection
) SWIG_AsInt(obj2
);
12241 if (PyErr_Occurred()) SWIG_fail
;
12242 arg4
= (long) SWIG_AsLong(obj3
);
12243 if (PyErr_Occurred()) SWIG_fail
;
12245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12246 result
= (int)((wxRadioBox
const *)arg1
)->GetNextItem(arg2
,(wxDirection
)arg3
,arg4
);
12248 wxPyEndAllowThreads(__tstate
);
12249 if (PyErr_Occurred()) SWIG_fail
;
12251 resultobj
= SWIG_FromInt((int)result
);
12258 static PyObject
*_wrap_RadioBox_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12259 PyObject
*resultobj
;
12260 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
12261 wxVisualAttributes result
;
12262 PyObject
* obj0
= 0 ;
12263 char *kwnames
[] = {
12264 (char *) "variant", NULL
12267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
12269 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
12270 if (PyErr_Occurred()) SWIG_fail
;
12273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12274 result
= wxRadioBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
12276 wxPyEndAllowThreads(__tstate
);
12277 if (PyErr_Occurred()) SWIG_fail
;
12280 wxVisualAttributes
* resultptr
;
12281 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
12282 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
12290 static PyObject
* RadioBox_swigregister(PyObject
*self
, PyObject
*args
) {
12292 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12293 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox
, obj
);
12295 return Py_BuildValue((char *)"");
12297 static PyObject
*_wrap_new_RadioButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12298 PyObject
*resultobj
;
12299 wxWindow
*arg1
= (wxWindow
*) 0 ;
12301 wxString
*arg3
= 0 ;
12302 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12303 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12304 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12305 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12306 long arg6
= (long) 0 ;
12307 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
12308 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
12309 wxString
const &arg8_defvalue
= wxPyRadioButtonNameStr
;
12310 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
12311 wxRadioButton
*result
;
12312 bool temp3
= False
;
12315 bool temp8
= False
;
12316 PyObject
* obj0
= 0 ;
12317 PyObject
* obj1
= 0 ;
12318 PyObject
* obj2
= 0 ;
12319 PyObject
* obj3
= 0 ;
12320 PyObject
* obj4
= 0 ;
12321 PyObject
* obj5
= 0 ;
12322 PyObject
* obj6
= 0 ;
12323 PyObject
* obj7
= 0 ;
12324 char *kwnames
[] = {
12325 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_RadioButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
12329 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12331 arg2
= (int) SWIG_AsInt(obj1
);
12332 if (PyErr_Occurred()) SWIG_fail
;
12334 arg3
= wxString_in_helper(obj2
);
12335 if (arg3
== NULL
) SWIG_fail
;
12341 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12347 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12351 arg6
= (long) SWIG_AsLong(obj5
);
12352 if (PyErr_Occurred()) SWIG_fail
;
12355 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
12356 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12358 if (arg7
== NULL
) {
12359 PyErr_SetString(PyExc_TypeError
,"null reference");
12365 arg8
= wxString_in_helper(obj7
);
12366 if (arg8
== NULL
) SWIG_fail
;
12371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12372 result
= (wxRadioButton
*)new wxRadioButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
12374 wxPyEndAllowThreads(__tstate
);
12375 if (PyErr_Occurred()) SWIG_fail
;
12377 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioButton
, 1);
12400 static PyObject
*_wrap_new_PreRadioButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12401 PyObject
*resultobj
;
12402 wxRadioButton
*result
;
12403 char *kwnames
[] = {
12407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioButton",kwnames
)) goto fail
;
12409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12410 result
= (wxRadioButton
*)new wxRadioButton();
12412 wxPyEndAllowThreads(__tstate
);
12413 if (PyErr_Occurred()) SWIG_fail
;
12415 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioButton
, 1);
12422 static PyObject
*_wrap_RadioButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12423 PyObject
*resultobj
;
12424 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
12425 wxWindow
*arg2
= (wxWindow
*) 0 ;
12427 wxString
*arg4
= 0 ;
12428 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
12429 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
12430 wxSize
const &arg6_defvalue
= wxDefaultSize
;
12431 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
12432 long arg7
= (long) 0 ;
12433 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
12434 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
12435 wxString
const &arg9_defvalue
= wxPyRadioButtonNameStr
;
12436 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
12438 bool temp4
= False
;
12441 bool temp9
= False
;
12442 PyObject
* obj0
= 0 ;
12443 PyObject
* obj1
= 0 ;
12444 PyObject
* obj2
= 0 ;
12445 PyObject
* obj3
= 0 ;
12446 PyObject
* obj4
= 0 ;
12447 PyObject
* obj5
= 0 ;
12448 PyObject
* obj6
= 0 ;
12449 PyObject
* obj7
= 0 ;
12450 PyObject
* obj8
= 0 ;
12451 char *kwnames
[] = {
12452 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:RadioButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
12456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioButton
,
12457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12458 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
12459 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12460 arg3
= (int) SWIG_AsInt(obj2
);
12461 if (PyErr_Occurred()) SWIG_fail
;
12463 arg4
= wxString_in_helper(obj3
);
12464 if (arg4
== NULL
) SWIG_fail
;
12470 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
12476 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
12480 arg7
= (long) SWIG_AsLong(obj6
);
12481 if (PyErr_Occurred()) SWIG_fail
;
12484 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
12485 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12487 if (arg8
== NULL
) {
12488 PyErr_SetString(PyExc_TypeError
,"null reference");
12494 arg9
= wxString_in_helper(obj8
);
12495 if (arg9
== NULL
) SWIG_fail
;
12500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12501 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
12503 wxPyEndAllowThreads(__tstate
);
12504 if (PyErr_Occurred()) SWIG_fail
;
12507 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12531 static PyObject
*_wrap_RadioButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12532 PyObject
*resultobj
;
12533 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
12535 PyObject
* obj0
= 0 ;
12536 char *kwnames
[] = {
12537 (char *) "self", NULL
12540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioButton_GetValue",kwnames
,&obj0
)) goto fail
;
12541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioButton
,
12542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12545 result
= (bool)(arg1
)->GetValue();
12547 wxPyEndAllowThreads(__tstate
);
12548 if (PyErr_Occurred()) SWIG_fail
;
12551 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12559 static PyObject
*_wrap_RadioButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12560 PyObject
*resultobj
;
12561 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
12563 PyObject
* obj0
= 0 ;
12564 PyObject
* obj1
= 0 ;
12565 char *kwnames
[] = {
12566 (char *) "self",(char *) "value", NULL
12569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
12570 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioButton
,
12571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12572 arg2
= (bool) SWIG_AsBool(obj1
);
12573 if (PyErr_Occurred()) SWIG_fail
;
12575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12576 (arg1
)->SetValue(arg2
);
12578 wxPyEndAllowThreads(__tstate
);
12579 if (PyErr_Occurred()) SWIG_fail
;
12581 Py_INCREF(Py_None
); resultobj
= Py_None
;
12588 static PyObject
*_wrap_RadioButton_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12589 PyObject
*resultobj
;
12590 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
12591 wxVisualAttributes result
;
12592 PyObject
* obj0
= 0 ;
12593 char *kwnames
[] = {
12594 (char *) "variant", NULL
12597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
12599 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
12600 if (PyErr_Occurred()) SWIG_fail
;
12603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12604 result
= wxRadioButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
12606 wxPyEndAllowThreads(__tstate
);
12607 if (PyErr_Occurred()) SWIG_fail
;
12610 wxVisualAttributes
* resultptr
;
12611 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
12612 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
12620 static PyObject
* RadioButton_swigregister(PyObject
*self
, PyObject
*args
) {
12622 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12623 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton
, obj
);
12625 return Py_BuildValue((char *)"");
12627 static int _wrap_SliderNameStr_set(PyObject
*_val
) {
12628 PyErr_SetString(PyExc_TypeError
,"Variable SliderNameStr is read-only.");
12633 static PyObject
*_wrap_SliderNameStr_get() {
12638 pyobj
= PyUnicode_FromWideChar((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
12640 pyobj
= PyString_FromStringAndSize((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
12647 static PyObject
*_wrap_new_Slider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12648 PyObject
*resultobj
;
12649 wxWindow
*arg1
= (wxWindow
*) 0 ;
12654 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
12655 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
12656 wxSize
const &arg7_defvalue
= wxDefaultSize
;
12657 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
12658 long arg8
= (long) wxSL_HORIZONTAL
;
12659 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
12660 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
12661 wxString
const &arg10_defvalue
= wxPySliderNameStr
;
12662 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
12666 bool temp10
= False
;
12667 PyObject
* obj0
= 0 ;
12668 PyObject
* obj1
= 0 ;
12669 PyObject
* obj2
= 0 ;
12670 PyObject
* obj3
= 0 ;
12671 PyObject
* obj4
= 0 ;
12672 PyObject
* obj5
= 0 ;
12673 PyObject
* obj6
= 0 ;
12674 PyObject
* obj7
= 0 ;
12675 PyObject
* obj8
= 0 ;
12676 PyObject
* obj9
= 0 ;
12677 char *kwnames
[] = {
12678 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:new_Slider",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
12682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12684 arg2
= (int) SWIG_AsInt(obj1
);
12685 if (PyErr_Occurred()) SWIG_fail
;
12686 arg3
= (int) SWIG_AsInt(obj2
);
12687 if (PyErr_Occurred()) SWIG_fail
;
12688 arg4
= (int) SWIG_AsInt(obj3
);
12689 if (PyErr_Occurred()) SWIG_fail
;
12690 arg5
= (int) SWIG_AsInt(obj4
);
12691 if (PyErr_Occurred()) SWIG_fail
;
12695 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
12701 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
12705 arg8
= (long) SWIG_AsLong(obj7
);
12706 if (PyErr_Occurred()) SWIG_fail
;
12709 if ((SWIG_ConvertPtr(obj8
,(void **)(&arg9
),SWIGTYPE_p_wxValidator
,
12710 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12712 if (arg9
== NULL
) {
12713 PyErr_SetString(PyExc_TypeError
,"null reference");
12719 arg10
= wxString_in_helper(obj9
);
12720 if (arg10
== NULL
) SWIG_fail
;
12725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12726 result
= (wxSlider
*)new wxSlider(arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
12728 wxPyEndAllowThreads(__tstate
);
12729 if (PyErr_Occurred()) SWIG_fail
;
12731 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSlider
, 1);
12746 static PyObject
*_wrap_new_PreSlider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12747 PyObject
*resultobj
;
12749 char *kwnames
[] = {
12753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSlider",kwnames
)) goto fail
;
12755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12756 result
= (wxSlider
*)new wxSlider();
12758 wxPyEndAllowThreads(__tstate
);
12759 if (PyErr_Occurred()) SWIG_fail
;
12761 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSlider
, 1);
12768 static PyObject
*_wrap_Slider_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12769 PyObject
*resultobj
;
12770 wxSlider
*arg1
= (wxSlider
*) 0 ;
12771 wxWindow
*arg2
= (wxWindow
*) 0 ;
12776 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
12777 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
12778 wxSize
const &arg8_defvalue
= wxDefaultSize
;
12779 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
12780 long arg9
= (long) wxSL_HORIZONTAL
;
12781 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
12782 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
12783 wxString
const &arg11_defvalue
= wxPySliderNameStr
;
12784 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
12788 bool temp11
= False
;
12789 PyObject
* obj0
= 0 ;
12790 PyObject
* obj1
= 0 ;
12791 PyObject
* obj2
= 0 ;
12792 PyObject
* obj3
= 0 ;
12793 PyObject
* obj4
= 0 ;
12794 PyObject
* obj5
= 0 ;
12795 PyObject
* obj6
= 0 ;
12796 PyObject
* obj7
= 0 ;
12797 PyObject
* obj8
= 0 ;
12798 PyObject
* obj9
= 0 ;
12799 PyObject
* obj10
= 0 ;
12800 char *kwnames
[] = {
12801 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|OOOOO:Slider_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
12805 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12807 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
12808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12809 arg3
= (int) SWIG_AsInt(obj2
);
12810 if (PyErr_Occurred()) SWIG_fail
;
12811 arg4
= (int) SWIG_AsInt(obj3
);
12812 if (PyErr_Occurred()) SWIG_fail
;
12813 arg5
= (int) SWIG_AsInt(obj4
);
12814 if (PyErr_Occurred()) SWIG_fail
;
12815 arg6
= (int) SWIG_AsInt(obj5
);
12816 if (PyErr_Occurred()) SWIG_fail
;
12820 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
12826 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
12830 arg9
= (long) SWIG_AsLong(obj8
);
12831 if (PyErr_Occurred()) SWIG_fail
;
12834 if ((SWIG_ConvertPtr(obj9
,(void **)(&arg10
),SWIGTYPE_p_wxValidator
,
12835 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12837 if (arg10
== NULL
) {
12838 PyErr_SetString(PyExc_TypeError
,"null reference");
12844 arg11
= wxString_in_helper(obj10
);
12845 if (arg11
== NULL
) SWIG_fail
;
12850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12851 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
,(wxSize
const &)*arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
12853 wxPyEndAllowThreads(__tstate
);
12854 if (PyErr_Occurred()) SWIG_fail
;
12857 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12873 static PyObject
*_wrap_Slider_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12874 PyObject
*resultobj
;
12875 wxSlider
*arg1
= (wxSlider
*) 0 ;
12877 PyObject
* obj0
= 0 ;
12878 char *kwnames
[] = {
12879 (char *) "self", NULL
12882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetValue",kwnames
,&obj0
)) goto fail
;
12883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12887 result
= (int)((wxSlider
const *)arg1
)->GetValue();
12889 wxPyEndAllowThreads(__tstate
);
12890 if (PyErr_Occurred()) SWIG_fail
;
12892 resultobj
= SWIG_FromInt((int)result
);
12899 static PyObject
*_wrap_Slider_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12900 PyObject
*resultobj
;
12901 wxSlider
*arg1
= (wxSlider
*) 0 ;
12903 PyObject
* obj0
= 0 ;
12904 PyObject
* obj1
= 0 ;
12905 char *kwnames
[] = {
12906 (char *) "self",(char *) "value", NULL
12909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
12910 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12911 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12912 arg2
= (int) SWIG_AsInt(obj1
);
12913 if (PyErr_Occurred()) SWIG_fail
;
12915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12916 (arg1
)->SetValue(arg2
);
12918 wxPyEndAllowThreads(__tstate
);
12919 if (PyErr_Occurred()) SWIG_fail
;
12921 Py_INCREF(Py_None
); resultobj
= Py_None
;
12928 static PyObject
*_wrap_Slider_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12929 PyObject
*resultobj
;
12930 wxSlider
*arg1
= (wxSlider
*) 0 ;
12933 PyObject
* obj0
= 0 ;
12934 PyObject
* obj1
= 0 ;
12935 PyObject
* obj2
= 0 ;
12936 char *kwnames
[] = {
12937 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
12940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12941 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12943 arg2
= (int) SWIG_AsInt(obj1
);
12944 if (PyErr_Occurred()) SWIG_fail
;
12945 arg3
= (int) SWIG_AsInt(obj2
);
12946 if (PyErr_Occurred()) SWIG_fail
;
12948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12949 (arg1
)->SetRange(arg2
,arg3
);
12951 wxPyEndAllowThreads(__tstate
);
12952 if (PyErr_Occurred()) SWIG_fail
;
12954 Py_INCREF(Py_None
); resultobj
= Py_None
;
12961 static PyObject
*_wrap_Slider_GetMin(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_GetMin",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
)->GetMin();
12977 wxPyEndAllowThreads(__tstate
);
12978 if (PyErr_Occurred()) SWIG_fail
;
12980 resultobj
= SWIG_FromInt((int)result
);
12987 static PyObject
*_wrap_Slider_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12988 PyObject
*resultobj
;
12989 wxSlider
*arg1
= (wxSlider
*) 0 ;
12991 PyObject
* obj0
= 0 ;
12992 char *kwnames
[] = {
12993 (char *) "self", NULL
12996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMax",kwnames
,&obj0
)) goto fail
;
12997 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13001 result
= (int)((wxSlider
const *)arg1
)->GetMax();
13003 wxPyEndAllowThreads(__tstate
);
13004 if (PyErr_Occurred()) SWIG_fail
;
13006 resultobj
= SWIG_FromInt((int)result
);
13013 static PyObject
*_wrap_Slider_SetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13014 PyObject
*resultobj
;
13015 wxSlider
*arg1
= (wxSlider
*) 0 ;
13017 PyObject
* obj0
= 0 ;
13018 PyObject
* obj1
= 0 ;
13019 char *kwnames
[] = {
13020 (char *) "self",(char *) "minValue", NULL
13023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
13024 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13025 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13026 arg2
= (int) SWIG_AsInt(obj1
);
13027 if (PyErr_Occurred()) SWIG_fail
;
13029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13030 (arg1
)->SetMin(arg2
);
13032 wxPyEndAllowThreads(__tstate
);
13033 if (PyErr_Occurred()) SWIG_fail
;
13035 Py_INCREF(Py_None
); resultobj
= Py_None
;
13042 static PyObject
*_wrap_Slider_SetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13043 PyObject
*resultobj
;
13044 wxSlider
*arg1
= (wxSlider
*) 0 ;
13046 PyObject
* obj0
= 0 ;
13047 PyObject
* obj1
= 0 ;
13048 char *kwnames
[] = {
13049 (char *) "self",(char *) "maxValue", NULL
13052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
13053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13055 arg2
= (int) SWIG_AsInt(obj1
);
13056 if (PyErr_Occurred()) SWIG_fail
;
13058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13059 (arg1
)->SetMax(arg2
);
13061 wxPyEndAllowThreads(__tstate
);
13062 if (PyErr_Occurred()) SWIG_fail
;
13064 Py_INCREF(Py_None
); resultobj
= Py_None
;
13071 static PyObject
*_wrap_Slider_SetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13072 PyObject
*resultobj
;
13073 wxSlider
*arg1
= (wxSlider
*) 0 ;
13075 PyObject
* obj0
= 0 ;
13076 PyObject
* obj1
= 0 ;
13077 char *kwnames
[] = {
13078 (char *) "self",(char *) "lineSize", NULL
13081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetLineSize",kwnames
,&obj0
,&obj1
)) goto fail
;
13082 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13084 arg2
= (int) SWIG_AsInt(obj1
);
13085 if (PyErr_Occurred()) SWIG_fail
;
13087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13088 (arg1
)->SetLineSize(arg2
);
13090 wxPyEndAllowThreads(__tstate
);
13091 if (PyErr_Occurred()) SWIG_fail
;
13093 Py_INCREF(Py_None
); resultobj
= Py_None
;
13100 static PyObject
*_wrap_Slider_SetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13101 PyObject
*resultobj
;
13102 wxSlider
*arg1
= (wxSlider
*) 0 ;
13104 PyObject
* obj0
= 0 ;
13105 PyObject
* obj1
= 0 ;
13106 char *kwnames
[] = {
13107 (char *) "self",(char *) "pageSize", NULL
13110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
13111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13113 arg2
= (int) SWIG_AsInt(obj1
);
13114 if (PyErr_Occurred()) SWIG_fail
;
13116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13117 (arg1
)->SetPageSize(arg2
);
13119 wxPyEndAllowThreads(__tstate
);
13120 if (PyErr_Occurred()) SWIG_fail
;
13122 Py_INCREF(Py_None
); resultobj
= Py_None
;
13129 static PyObject
*_wrap_Slider_GetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13130 PyObject
*resultobj
;
13131 wxSlider
*arg1
= (wxSlider
*) 0 ;
13133 PyObject
* obj0
= 0 ;
13134 char *kwnames
[] = {
13135 (char *) "self", NULL
13138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetLineSize",kwnames
,&obj0
)) goto fail
;
13139 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13143 result
= (int)((wxSlider
const *)arg1
)->GetLineSize();
13145 wxPyEndAllowThreads(__tstate
);
13146 if (PyErr_Occurred()) SWIG_fail
;
13148 resultobj
= SWIG_FromInt((int)result
);
13155 static PyObject
*_wrap_Slider_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13156 PyObject
*resultobj
;
13157 wxSlider
*arg1
= (wxSlider
*) 0 ;
13159 PyObject
* obj0
= 0 ;
13160 char *kwnames
[] = {
13161 (char *) "self", NULL
13164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetPageSize",kwnames
,&obj0
)) goto fail
;
13165 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13169 result
= (int)((wxSlider
const *)arg1
)->GetPageSize();
13171 wxPyEndAllowThreads(__tstate
);
13172 if (PyErr_Occurred()) SWIG_fail
;
13174 resultobj
= SWIG_FromInt((int)result
);
13181 static PyObject
*_wrap_Slider_SetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13182 PyObject
*resultobj
;
13183 wxSlider
*arg1
= (wxSlider
*) 0 ;
13185 PyObject
* obj0
= 0 ;
13186 PyObject
* obj1
= 0 ;
13187 char *kwnames
[] = {
13188 (char *) "self",(char *) "lenPixels", NULL
13191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetThumbLength",kwnames
,&obj0
,&obj1
)) goto fail
;
13192 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13194 arg2
= (int) SWIG_AsInt(obj1
);
13195 if (PyErr_Occurred()) SWIG_fail
;
13197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13198 (arg1
)->SetThumbLength(arg2
);
13200 wxPyEndAllowThreads(__tstate
);
13201 if (PyErr_Occurred()) SWIG_fail
;
13203 Py_INCREF(Py_None
); resultobj
= Py_None
;
13210 static PyObject
*_wrap_Slider_GetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13211 PyObject
*resultobj
;
13212 wxSlider
*arg1
= (wxSlider
*) 0 ;
13214 PyObject
* obj0
= 0 ;
13215 char *kwnames
[] = {
13216 (char *) "self", NULL
13219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetThumbLength",kwnames
,&obj0
)) goto fail
;
13220 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13224 result
= (int)((wxSlider
const *)arg1
)->GetThumbLength();
13226 wxPyEndAllowThreads(__tstate
);
13227 if (PyErr_Occurred()) SWIG_fail
;
13229 resultobj
= SWIG_FromInt((int)result
);
13236 static PyObject
*_wrap_Slider_SetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13237 PyObject
*resultobj
;
13238 wxSlider
*arg1
= (wxSlider
*) 0 ;
13240 int arg3
= (int) 1 ;
13241 PyObject
* obj0
= 0 ;
13242 PyObject
* obj1
= 0 ;
13243 PyObject
* obj2
= 0 ;
13244 char *kwnames
[] = {
13245 (char *) "self",(char *) "n",(char *) "pos", NULL
13248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Slider_SetTickFreq",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13251 arg2
= (int) SWIG_AsInt(obj1
);
13252 if (PyErr_Occurred()) SWIG_fail
;
13254 arg3
= (int) SWIG_AsInt(obj2
);
13255 if (PyErr_Occurred()) SWIG_fail
;
13258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13259 (arg1
)->SetTickFreq(arg2
,arg3
);
13261 wxPyEndAllowThreads(__tstate
);
13262 if (PyErr_Occurred()) SWIG_fail
;
13264 Py_INCREF(Py_None
); resultobj
= Py_None
;
13271 static PyObject
*_wrap_Slider_GetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13272 PyObject
*resultobj
;
13273 wxSlider
*arg1
= (wxSlider
*) 0 ;
13275 PyObject
* obj0
= 0 ;
13276 char *kwnames
[] = {
13277 (char *) "self", NULL
13280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetTickFreq",kwnames
,&obj0
)) goto fail
;
13281 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13285 result
= (int)((wxSlider
const *)arg1
)->GetTickFreq();
13287 wxPyEndAllowThreads(__tstate
);
13288 if (PyErr_Occurred()) SWIG_fail
;
13290 resultobj
= SWIG_FromInt((int)result
);
13297 static PyObject
*_wrap_Slider_ClearTicks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13298 PyObject
*resultobj
;
13299 wxSlider
*arg1
= (wxSlider
*) 0 ;
13300 PyObject
* obj0
= 0 ;
13301 char *kwnames
[] = {
13302 (char *) "self", NULL
13305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearTicks",kwnames
,&obj0
)) goto fail
;
13306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13310 (arg1
)->ClearTicks();
13312 wxPyEndAllowThreads(__tstate
);
13313 if (PyErr_Occurred()) SWIG_fail
;
13315 Py_INCREF(Py_None
); resultobj
= Py_None
;
13322 static PyObject
*_wrap_Slider_SetTick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13323 PyObject
*resultobj
;
13324 wxSlider
*arg1
= (wxSlider
*) 0 ;
13326 PyObject
* obj0
= 0 ;
13327 PyObject
* obj1
= 0 ;
13328 char *kwnames
[] = {
13329 (char *) "self",(char *) "tickPos", NULL
13332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetTick",kwnames
,&obj0
,&obj1
)) goto fail
;
13333 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13334 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13335 arg2
= (int) SWIG_AsInt(obj1
);
13336 if (PyErr_Occurred()) SWIG_fail
;
13338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13339 (arg1
)->SetTick(arg2
);
13341 wxPyEndAllowThreads(__tstate
);
13342 if (PyErr_Occurred()) SWIG_fail
;
13344 Py_INCREF(Py_None
); resultobj
= Py_None
;
13351 static PyObject
*_wrap_Slider_ClearSel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13352 PyObject
*resultobj
;
13353 wxSlider
*arg1
= (wxSlider
*) 0 ;
13354 PyObject
* obj0
= 0 ;
13355 char *kwnames
[] = {
13356 (char *) "self", NULL
13359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearSel",kwnames
,&obj0
)) goto fail
;
13360 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13364 (arg1
)->ClearSel();
13366 wxPyEndAllowThreads(__tstate
);
13367 if (PyErr_Occurred()) SWIG_fail
;
13369 Py_INCREF(Py_None
); resultobj
= Py_None
;
13376 static PyObject
*_wrap_Slider_GetSelEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13377 PyObject
*resultobj
;
13378 wxSlider
*arg1
= (wxSlider
*) 0 ;
13380 PyObject
* obj0
= 0 ;
13381 char *kwnames
[] = {
13382 (char *) "self", NULL
13385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelEnd",kwnames
,&obj0
)) goto fail
;
13386 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13387 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13390 result
= (int)((wxSlider
const *)arg1
)->GetSelEnd();
13392 wxPyEndAllowThreads(__tstate
);
13393 if (PyErr_Occurred()) SWIG_fail
;
13395 resultobj
= SWIG_FromInt((int)result
);
13402 static PyObject
*_wrap_Slider_GetSelStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13403 PyObject
*resultobj
;
13404 wxSlider
*arg1
= (wxSlider
*) 0 ;
13406 PyObject
* obj0
= 0 ;
13407 char *kwnames
[] = {
13408 (char *) "self", NULL
13411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelStart",kwnames
,&obj0
)) goto fail
;
13412 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13416 result
= (int)((wxSlider
const *)arg1
)->GetSelStart();
13418 wxPyEndAllowThreads(__tstate
);
13419 if (PyErr_Occurred()) SWIG_fail
;
13421 resultobj
= SWIG_FromInt((int)result
);
13428 static PyObject
*_wrap_Slider_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13429 PyObject
*resultobj
;
13430 wxSlider
*arg1
= (wxSlider
*) 0 ;
13433 PyObject
* obj0
= 0 ;
13434 PyObject
* obj1
= 0 ;
13435 PyObject
* obj2
= 0 ;
13436 char *kwnames
[] = {
13437 (char *) "self",(char *) "min",(char *) "max", NULL
13440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13443 arg2
= (int) SWIG_AsInt(obj1
);
13444 if (PyErr_Occurred()) SWIG_fail
;
13445 arg3
= (int) SWIG_AsInt(obj2
);
13446 if (PyErr_Occurred()) SWIG_fail
;
13448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13449 (arg1
)->SetSelection(arg2
,arg3
);
13451 wxPyEndAllowThreads(__tstate
);
13452 if (PyErr_Occurred()) SWIG_fail
;
13454 Py_INCREF(Py_None
); resultobj
= Py_None
;
13461 static PyObject
*_wrap_Slider_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13462 PyObject
*resultobj
;
13463 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
13464 wxVisualAttributes result
;
13465 PyObject
* obj0
= 0 ;
13466 char *kwnames
[] = {
13467 (char *) "variant", NULL
13470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
13472 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
13473 if (PyErr_Occurred()) SWIG_fail
;
13476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13477 result
= wxSlider::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
13479 wxPyEndAllowThreads(__tstate
);
13480 if (PyErr_Occurred()) SWIG_fail
;
13483 wxVisualAttributes
* resultptr
;
13484 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
13485 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
13493 static PyObject
* Slider_swigregister(PyObject
*self
, PyObject
*args
) {
13495 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13496 SWIG_TypeClientData(SWIGTYPE_p_wxSlider
, obj
);
13498 return Py_BuildValue((char *)"");
13500 static int _wrap_ToggleButtonNameStr_set(PyObject
*_val
) {
13501 PyErr_SetString(PyExc_TypeError
,"Variable ToggleButtonNameStr is read-only.");
13506 static PyObject
*_wrap_ToggleButtonNameStr_get() {
13511 pyobj
= PyUnicode_FromWideChar((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
13513 pyobj
= PyString_FromStringAndSize((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
13520 static PyObject
*_wrap_new_ToggleButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13521 PyObject
*resultobj
;
13522 wxWindow
*arg1
= (wxWindow
*) 0 ;
13524 wxString
*arg3
= 0 ;
13525 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
13526 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
13527 wxSize
const &arg5_defvalue
= wxDefaultSize
;
13528 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
13529 long arg6
= (long) 0 ;
13530 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
13531 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
13532 wxString
const &arg8_defvalue
= wxPyToggleButtonNameStr
;
13533 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
13534 wxToggleButton
*result
;
13535 bool temp3
= False
;
13538 bool temp8
= False
;
13539 PyObject
* obj0
= 0 ;
13540 PyObject
* obj1
= 0 ;
13541 PyObject
* obj2
= 0 ;
13542 PyObject
* obj3
= 0 ;
13543 PyObject
* obj4
= 0 ;
13544 PyObject
* obj5
= 0 ;
13545 PyObject
* obj6
= 0 ;
13546 PyObject
* obj7
= 0 ;
13547 char *kwnames
[] = {
13548 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
13551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_ToggleButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
13552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
13553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13554 arg2
= (int) SWIG_AsInt(obj1
);
13555 if (PyErr_Occurred()) SWIG_fail
;
13557 arg3
= wxString_in_helper(obj2
);
13558 if (arg3
== NULL
) SWIG_fail
;
13564 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
13570 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
13574 arg6
= (long) SWIG_AsLong(obj5
);
13575 if (PyErr_Occurred()) SWIG_fail
;
13578 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
13579 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13581 if (arg7
== NULL
) {
13582 PyErr_SetString(PyExc_TypeError
,"null reference");
13588 arg8
= wxString_in_helper(obj7
);
13589 if (arg8
== NULL
) SWIG_fail
;
13594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13595 result
= (wxToggleButton
*)new wxToggleButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
13597 wxPyEndAllowThreads(__tstate
);
13598 if (PyErr_Occurred()) SWIG_fail
;
13600 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToggleButton
, 1);
13623 static PyObject
*_wrap_new_PreToggleButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13624 PyObject
*resultobj
;
13625 wxToggleButton
*result
;
13626 char *kwnames
[] = {
13630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToggleButton",kwnames
)) goto fail
;
13632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13633 result
= (wxToggleButton
*)new wxToggleButton();
13635 wxPyEndAllowThreads(__tstate
);
13636 if (PyErr_Occurred()) SWIG_fail
;
13638 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToggleButton
, 1);
13645 static PyObject
*_wrap_ToggleButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13646 PyObject
*resultobj
;
13647 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
13648 wxWindow
*arg2
= (wxWindow
*) 0 ;
13650 wxString
*arg4
= 0 ;
13651 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
13652 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
13653 wxSize
const &arg6_defvalue
= wxDefaultSize
;
13654 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
13655 long arg7
= (long) 0 ;
13656 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
13657 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
13658 wxString
const &arg9_defvalue
= wxPyToggleButtonNameStr
;
13659 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
13661 bool temp4
= False
;
13664 bool temp9
= False
;
13665 PyObject
* obj0
= 0 ;
13666 PyObject
* obj1
= 0 ;
13667 PyObject
* obj2
= 0 ;
13668 PyObject
* obj3
= 0 ;
13669 PyObject
* obj4
= 0 ;
13670 PyObject
* obj5
= 0 ;
13671 PyObject
* obj6
= 0 ;
13672 PyObject
* obj7
= 0 ;
13673 PyObject
* obj8
= 0 ;
13674 char *kwnames
[] = {
13675 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
13678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToggleButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
13679 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
13680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13681 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
13682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13683 arg3
= (int) SWIG_AsInt(obj2
);
13684 if (PyErr_Occurred()) SWIG_fail
;
13686 arg4
= wxString_in_helper(obj3
);
13687 if (arg4
== NULL
) SWIG_fail
;
13693 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
13699 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
13703 arg7
= (long) SWIG_AsLong(obj6
);
13704 if (PyErr_Occurred()) SWIG_fail
;
13707 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
13708 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13710 if (arg8
== NULL
) {
13711 PyErr_SetString(PyExc_TypeError
,"null reference");
13717 arg9
= wxString_in_helper(obj8
);
13718 if (arg9
== NULL
) SWIG_fail
;
13723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13724 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
13726 wxPyEndAllowThreads(__tstate
);
13727 if (PyErr_Occurred()) SWIG_fail
;
13730 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13754 static PyObject
*_wrap_ToggleButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13755 PyObject
*resultobj
;
13756 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
13758 PyObject
* obj0
= 0 ;
13759 PyObject
* obj1
= 0 ;
13760 char *kwnames
[] = {
13761 (char *) "self",(char *) "value", NULL
13764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
13765 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
13766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13767 arg2
= (bool) SWIG_AsBool(obj1
);
13768 if (PyErr_Occurred()) SWIG_fail
;
13770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13771 (arg1
)->SetValue(arg2
);
13773 wxPyEndAllowThreads(__tstate
);
13774 if (PyErr_Occurred()) SWIG_fail
;
13776 Py_INCREF(Py_None
); resultobj
= Py_None
;
13783 static PyObject
*_wrap_ToggleButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13784 PyObject
*resultobj
;
13785 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
13787 PyObject
* obj0
= 0 ;
13788 char *kwnames
[] = {
13789 (char *) "self", NULL
13792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToggleButton_GetValue",kwnames
,&obj0
)) goto fail
;
13793 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
13794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13797 result
= (bool)((wxToggleButton
const *)arg1
)->GetValue();
13799 wxPyEndAllowThreads(__tstate
);
13800 if (PyErr_Occurred()) SWIG_fail
;
13803 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13811 static PyObject
*_wrap_ToggleButton_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13812 PyObject
*resultobj
;
13813 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
13814 wxString
*arg2
= 0 ;
13815 bool temp2
= False
;
13816 PyObject
* obj0
= 0 ;
13817 PyObject
* obj1
= 0 ;
13818 char *kwnames
[] = {
13819 (char *) "self",(char *) "label", NULL
13822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
13823 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
13824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13826 arg2
= wxString_in_helper(obj1
);
13827 if (arg2
== NULL
) SWIG_fail
;
13831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13832 (arg1
)->SetLabel((wxString
const &)*arg2
);
13834 wxPyEndAllowThreads(__tstate
);
13835 if (PyErr_Occurred()) SWIG_fail
;
13837 Py_INCREF(Py_None
); resultobj
= Py_None
;
13852 static PyObject
*_wrap_ToggleButton_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13853 PyObject
*resultobj
;
13854 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
13855 wxVisualAttributes result
;
13856 PyObject
* obj0
= 0 ;
13857 char *kwnames
[] = {
13858 (char *) "variant", NULL
13861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
13863 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
13864 if (PyErr_Occurred()) SWIG_fail
;
13867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13868 result
= wxToggleButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
13870 wxPyEndAllowThreads(__tstate
);
13871 if (PyErr_Occurred()) SWIG_fail
;
13874 wxVisualAttributes
* resultptr
;
13875 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
13876 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
13884 static PyObject
* ToggleButton_swigregister(PyObject
*self
, PyObject
*args
) {
13886 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13887 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton
, obj
);
13889 return Py_BuildValue((char *)"");
13891 static int _wrap_NOTEBOOK_NAME_set(PyObject
*_val
) {
13892 PyErr_SetString(PyExc_TypeError
,"Variable NOTEBOOK_NAME is read-only.");
13897 static PyObject
*_wrap_NOTEBOOK_NAME_get() {
13902 pyobj
= PyUnicode_FromWideChar((&wxPyNOTEBOOK_NAME
)->c_str(), (&wxPyNOTEBOOK_NAME
)->Len());
13904 pyobj
= PyString_FromStringAndSize((&wxPyNOTEBOOK_NAME
)->c_str(), (&wxPyNOTEBOOK_NAME
)->Len());
13911 static PyObject
*_wrap_BookCtrl_GetPageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13912 PyObject
*resultobj
;
13913 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13915 PyObject
* obj0
= 0 ;
13916 char *kwnames
[] = {
13917 (char *) "self", NULL
13920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetPageCount",kwnames
,&obj0
)) goto fail
;
13921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13925 result
= (size_t)((wxBookCtrl
const *)arg1
)->GetPageCount();
13927 wxPyEndAllowThreads(__tstate
);
13928 if (PyErr_Occurred()) SWIG_fail
;
13930 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
13937 static PyObject
*_wrap_BookCtrl_GetPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13938 PyObject
*resultobj
;
13939 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13942 PyObject
* obj0
= 0 ;
13943 PyObject
* obj1
= 0 ;
13944 char *kwnames
[] = {
13945 (char *) "self",(char *) "n", NULL
13948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPage",kwnames
,&obj0
,&obj1
)) goto fail
;
13949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13951 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13952 if (PyErr_Occurred()) SWIG_fail
;
13954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13955 result
= (wxWindow
*)(arg1
)->GetPage(arg2
);
13957 wxPyEndAllowThreads(__tstate
);
13958 if (PyErr_Occurred()) SWIG_fail
;
13961 resultobj
= wxPyMake_wxObject(result
);
13969 static PyObject
*_wrap_BookCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13970 PyObject
*resultobj
;
13971 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13973 PyObject
* obj0
= 0 ;
13974 char *kwnames
[] = {
13975 (char *) "self", NULL
13978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
13979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13983 result
= (int)((wxBookCtrl
const *)arg1
)->GetSelection();
13985 wxPyEndAllowThreads(__tstate
);
13986 if (PyErr_Occurred()) SWIG_fail
;
13988 resultobj
= SWIG_FromInt((int)result
);
13995 static PyObject
*_wrap_BookCtrl_SetPageText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13996 PyObject
*resultobj
;
13997 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13999 wxString
*arg3
= 0 ;
14001 bool temp3
= False
;
14002 PyObject
* obj0
= 0 ;
14003 PyObject
* obj1
= 0 ;
14004 PyObject
* obj2
= 0 ;
14005 char *kwnames
[] = {
14006 (char *) "self",(char *) "n",(char *) "strText", NULL
14009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrl_SetPageText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14010 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14011 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14012 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14013 if (PyErr_Occurred()) SWIG_fail
;
14015 arg3
= wxString_in_helper(obj2
);
14016 if (arg3
== NULL
) SWIG_fail
;
14020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14021 result
= (bool)(arg1
)->SetPageText(arg2
,(wxString
const &)*arg3
);
14023 wxPyEndAllowThreads(__tstate
);
14024 if (PyErr_Occurred()) SWIG_fail
;
14027 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14043 static PyObject
*_wrap_BookCtrl_GetPageText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14044 PyObject
*resultobj
;
14045 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14048 PyObject
* obj0
= 0 ;
14049 PyObject
* obj1
= 0 ;
14050 char *kwnames
[] = {
14051 (char *) "self",(char *) "n", NULL
14054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPageText",kwnames
,&obj0
,&obj1
)) goto fail
;
14055 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14056 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14057 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14058 if (PyErr_Occurred()) SWIG_fail
;
14060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14061 result
= ((wxBookCtrl
const *)arg1
)->GetPageText(arg2
);
14063 wxPyEndAllowThreads(__tstate
);
14064 if (PyErr_Occurred()) SWIG_fail
;
14068 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14070 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14079 static PyObject
*_wrap_BookCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14080 PyObject
*resultobj
;
14081 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14082 wxImageList
*arg2
= (wxImageList
*) 0 ;
14083 PyObject
* obj0
= 0 ;
14084 PyObject
* obj1
= 0 ;
14085 char *kwnames
[] = {
14086 (char *) "self",(char *) "imageList", NULL
14089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
14090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14092 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
14093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14096 (arg1
)->SetImageList(arg2
);
14098 wxPyEndAllowThreads(__tstate
);
14099 if (PyErr_Occurred()) SWIG_fail
;
14101 Py_INCREF(Py_None
); resultobj
= Py_None
;
14108 static PyObject
*_wrap_BookCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14109 PyObject
*resultobj
;
14110 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14111 wxImageList
*arg2
= (wxImageList
*) 0 ;
14112 PyObject
* obj0
= 0 ;
14113 PyObject
* obj1
= 0 ;
14114 char *kwnames
[] = {
14115 (char *) "self",(char *) "imageList", NULL
14118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
14119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14121 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
14122 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
14124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14125 (arg1
)->AssignImageList(arg2
);
14127 wxPyEndAllowThreads(__tstate
);
14128 if (PyErr_Occurred()) SWIG_fail
;
14130 Py_INCREF(Py_None
); resultobj
= Py_None
;
14137 static PyObject
*_wrap_BookCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14138 PyObject
*resultobj
;
14139 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14140 wxImageList
*result
;
14141 PyObject
* obj0
= 0 ;
14142 char *kwnames
[] = {
14143 (char *) "self", NULL
14146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
14147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14151 result
= (wxImageList
*)((wxBookCtrl
const *)arg1
)->GetImageList();
14153 wxPyEndAllowThreads(__tstate
);
14154 if (PyErr_Occurred()) SWIG_fail
;
14157 resultobj
= wxPyMake_wxObject(result
);
14165 static PyObject
*_wrap_BookCtrl_GetPageImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14166 PyObject
*resultobj
;
14167 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14170 PyObject
* obj0
= 0 ;
14171 PyObject
* obj1
= 0 ;
14172 char *kwnames
[] = {
14173 (char *) "self",(char *) "n", NULL
14176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPageImage",kwnames
,&obj0
,&obj1
)) goto fail
;
14177 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14179 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14180 if (PyErr_Occurred()) SWIG_fail
;
14182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14183 result
= (int)((wxBookCtrl
const *)arg1
)->GetPageImage(arg2
);
14185 wxPyEndAllowThreads(__tstate
);
14186 if (PyErr_Occurred()) SWIG_fail
;
14188 resultobj
= SWIG_FromInt((int)result
);
14195 static PyObject
*_wrap_BookCtrl_SetPageImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14196 PyObject
*resultobj
;
14197 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14201 PyObject
* obj0
= 0 ;
14202 PyObject
* obj1
= 0 ;
14203 PyObject
* obj2
= 0 ;
14204 char *kwnames
[] = {
14205 (char *) "self",(char *) "n",(char *) "imageId", NULL
14208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrl_SetPageImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14211 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14212 if (PyErr_Occurred()) SWIG_fail
;
14213 arg3
= (int) SWIG_AsInt(obj2
);
14214 if (PyErr_Occurred()) SWIG_fail
;
14216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14217 result
= (bool)(arg1
)->SetPageImage(arg2
,arg3
);
14219 wxPyEndAllowThreads(__tstate
);
14220 if (PyErr_Occurred()) SWIG_fail
;
14223 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14231 static PyObject
*_wrap_BookCtrl_SetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14232 PyObject
*resultobj
;
14233 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14236 PyObject
* obj0
= 0 ;
14237 PyObject
* obj1
= 0 ;
14238 char *kwnames
[] = {
14239 (char *) "self",(char *) "size", NULL
14242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
14243 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14247 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14251 (arg1
)->SetPageSize((wxSize
const &)*arg2
);
14253 wxPyEndAllowThreads(__tstate
);
14254 if (PyErr_Occurred()) SWIG_fail
;
14256 Py_INCREF(Py_None
); resultobj
= Py_None
;
14263 static PyObject
*_wrap_BookCtrl_CalcSizeFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14264 PyObject
*resultobj
;
14265 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14269 PyObject
* obj0
= 0 ;
14270 PyObject
* obj1
= 0 ;
14271 char *kwnames
[] = {
14272 (char *) "self",(char *) "sizePage", NULL
14275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
14276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14280 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14284 result
= ((wxBookCtrl
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
14286 wxPyEndAllowThreads(__tstate
);
14287 if (PyErr_Occurred()) SWIG_fail
;
14290 wxSize
* resultptr
;
14291 resultptr
= new wxSize((wxSize
&) result
);
14292 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
14300 static PyObject
*_wrap_BookCtrl_DeletePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14301 PyObject
*resultobj
;
14302 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14305 PyObject
* obj0
= 0 ;
14306 PyObject
* obj1
= 0 ;
14307 char *kwnames
[] = {
14308 (char *) "self",(char *) "n", NULL
14311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_DeletePage",kwnames
,&obj0
,&obj1
)) goto fail
;
14312 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14314 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14315 if (PyErr_Occurred()) SWIG_fail
;
14317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14318 result
= (bool)(arg1
)->DeletePage(arg2
);
14320 wxPyEndAllowThreads(__tstate
);
14321 if (PyErr_Occurred()) SWIG_fail
;
14324 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14332 static PyObject
*_wrap_BookCtrl_RemovePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14333 PyObject
*resultobj
;
14334 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14337 PyObject
* obj0
= 0 ;
14338 PyObject
* obj1
= 0 ;
14339 char *kwnames
[] = {
14340 (char *) "self",(char *) "n", NULL
14343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_RemovePage",kwnames
,&obj0
,&obj1
)) goto fail
;
14344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14346 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14347 if (PyErr_Occurred()) SWIG_fail
;
14349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14350 result
= (bool)(arg1
)->RemovePage(arg2
);
14352 wxPyEndAllowThreads(__tstate
);
14353 if (PyErr_Occurred()) SWIG_fail
;
14356 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14364 static PyObject
*_wrap_BookCtrl_DeleteAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14365 PyObject
*resultobj
;
14366 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14368 PyObject
* obj0
= 0 ;
14369 char *kwnames
[] = {
14370 (char *) "self", NULL
14373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_DeleteAllPages",kwnames
,&obj0
)) goto fail
;
14374 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14378 result
= (bool)(arg1
)->DeleteAllPages();
14380 wxPyEndAllowThreads(__tstate
);
14381 if (PyErr_Occurred()) SWIG_fail
;
14384 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14392 static PyObject
*_wrap_BookCtrl_AddPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14393 PyObject
*resultobj
;
14394 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14395 wxWindow
*arg2
= (wxWindow
*) 0 ;
14396 wxString
*arg3
= 0 ;
14397 bool arg4
= (bool) False
;
14398 int arg5
= (int) -1 ;
14400 bool temp3
= False
;
14401 PyObject
* obj0
= 0 ;
14402 PyObject
* obj1
= 0 ;
14403 PyObject
* obj2
= 0 ;
14404 PyObject
* obj3
= 0 ;
14405 PyObject
* obj4
= 0 ;
14406 char *kwnames
[] = {
14407 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
14410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:BookCtrl_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14413 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
14414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14416 arg3
= wxString_in_helper(obj2
);
14417 if (arg3
== NULL
) SWIG_fail
;
14421 arg4
= (bool) SWIG_AsBool(obj3
);
14422 if (PyErr_Occurred()) SWIG_fail
;
14425 arg5
= (int) SWIG_AsInt(obj4
);
14426 if (PyErr_Occurred()) SWIG_fail
;
14429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14430 result
= (bool)(arg1
)->AddPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
14432 wxPyEndAllowThreads(__tstate
);
14433 if (PyErr_Occurred()) SWIG_fail
;
14436 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14452 static PyObject
*_wrap_BookCtrl_InsertPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14453 PyObject
*resultobj
;
14454 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14456 wxWindow
*arg3
= (wxWindow
*) 0 ;
14457 wxString
*arg4
= 0 ;
14458 bool arg5
= (bool) False
;
14459 int arg6
= (int) -1 ;
14461 bool temp4
= False
;
14462 PyObject
* obj0
= 0 ;
14463 PyObject
* obj1
= 0 ;
14464 PyObject
* obj2
= 0 ;
14465 PyObject
* obj3
= 0 ;
14466 PyObject
* obj4
= 0 ;
14467 PyObject
* obj5
= 0 ;
14468 char *kwnames
[] = {
14469 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
14472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:BookCtrl_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14475 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14476 if (PyErr_Occurred()) SWIG_fail
;
14477 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
14478 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14480 arg4
= wxString_in_helper(obj3
);
14481 if (arg4
== NULL
) SWIG_fail
;
14485 arg5
= (bool) SWIG_AsBool(obj4
);
14486 if (PyErr_Occurred()) SWIG_fail
;
14489 arg6
= (int) SWIG_AsInt(obj5
);
14490 if (PyErr_Occurred()) SWIG_fail
;
14493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14494 result
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
14496 wxPyEndAllowThreads(__tstate
);
14497 if (PyErr_Occurred()) SWIG_fail
;
14500 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14516 static PyObject
*_wrap_BookCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14517 PyObject
*resultobj
;
14518 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14521 PyObject
* obj0
= 0 ;
14522 PyObject
* obj1
= 0 ;
14523 char *kwnames
[] = {
14524 (char *) "self",(char *) "n", NULL
14527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
14528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14530 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14531 if (PyErr_Occurred()) SWIG_fail
;
14533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14534 result
= (int)(arg1
)->SetSelection(arg2
);
14536 wxPyEndAllowThreads(__tstate
);
14537 if (PyErr_Occurred()) SWIG_fail
;
14539 resultobj
= SWIG_FromInt((int)result
);
14546 static PyObject
*_wrap_BookCtrl_AdvanceSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14547 PyObject
*resultobj
;
14548 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14549 bool arg2
= (bool) True
;
14550 PyObject
* obj0
= 0 ;
14551 PyObject
* obj1
= 0 ;
14552 char *kwnames
[] = {
14553 (char *) "self",(char *) "forward", NULL
14556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:BookCtrl_AdvanceSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
14557 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14560 arg2
= (bool) SWIG_AsBool(obj1
);
14561 if (PyErr_Occurred()) SWIG_fail
;
14564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14565 (arg1
)->AdvanceSelection(arg2
);
14567 wxPyEndAllowThreads(__tstate
);
14568 if (PyErr_Occurred()) SWIG_fail
;
14570 Py_INCREF(Py_None
); resultobj
= Py_None
;
14577 static PyObject
*_wrap_BookCtrl_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14578 PyObject
*resultobj
;
14579 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
14580 wxVisualAttributes result
;
14581 PyObject
* obj0
= 0 ;
14582 char *kwnames
[] = {
14583 (char *) "variant", NULL
14586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BookCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
14588 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
14589 if (PyErr_Occurred()) SWIG_fail
;
14592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14593 result
= wxBookCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
14595 wxPyEndAllowThreads(__tstate
);
14596 if (PyErr_Occurred()) SWIG_fail
;
14599 wxVisualAttributes
* resultptr
;
14600 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
14601 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
14609 static PyObject
* BookCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
14611 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14612 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrl
, obj
);
14614 return Py_BuildValue((char *)"");
14616 static PyObject
*_wrap_new_BookCtrlEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14617 PyObject
*resultobj
;
14618 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
14619 int arg2
= (int) 0 ;
14620 int arg3
= (int) -1 ;
14621 int arg4
= (int) -1 ;
14622 wxBookCtrlEvent
*result
;
14623 PyObject
* obj0
= 0 ;
14624 PyObject
* obj1
= 0 ;
14625 PyObject
* obj2
= 0 ;
14626 PyObject
* obj3
= 0 ;
14627 char *kwnames
[] = {
14628 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
14631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_BookCtrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14633 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
14634 if (PyErr_Occurred()) SWIG_fail
;
14637 arg2
= (int) SWIG_AsInt(obj1
);
14638 if (PyErr_Occurred()) SWIG_fail
;
14641 arg3
= (int) SWIG_AsInt(obj2
);
14642 if (PyErr_Occurred()) SWIG_fail
;
14645 arg4
= (int) SWIG_AsInt(obj3
);
14646 if (PyErr_Occurred()) SWIG_fail
;
14649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14650 result
= (wxBookCtrlEvent
*)new wxBookCtrlEvent(arg1
,arg2
,arg3
,arg4
);
14652 wxPyEndAllowThreads(__tstate
);
14653 if (PyErr_Occurred()) SWIG_fail
;
14655 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlEvent
, 1);
14662 static PyObject
*_wrap_BookCtrlEvent_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14663 PyObject
*resultobj
;
14664 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
14666 PyObject
* obj0
= 0 ;
14667 char *kwnames
[] = {
14668 (char *) "self", NULL
14671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
14672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
14673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14676 result
= (int)((wxBookCtrlEvent
const *)arg1
)->GetSelection();
14678 wxPyEndAllowThreads(__tstate
);
14679 if (PyErr_Occurred()) SWIG_fail
;
14681 resultobj
= SWIG_FromInt((int)result
);
14688 static PyObject
*_wrap_BookCtrlEvent_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14689 PyObject
*resultobj
;
14690 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
14692 PyObject
* obj0
= 0 ;
14693 PyObject
* obj1
= 0 ;
14694 char *kwnames
[] = {
14695 (char *) "self",(char *) "nSel", NULL
14698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlEvent_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
14699 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
14700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14701 arg2
= (int) SWIG_AsInt(obj1
);
14702 if (PyErr_Occurred()) SWIG_fail
;
14704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14705 (arg1
)->SetSelection(arg2
);
14707 wxPyEndAllowThreads(__tstate
);
14708 if (PyErr_Occurred()) SWIG_fail
;
14710 Py_INCREF(Py_None
); resultobj
= Py_None
;
14717 static PyObject
*_wrap_BookCtrlEvent_GetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14718 PyObject
*resultobj
;
14719 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
14721 PyObject
* obj0
= 0 ;
14722 char *kwnames
[] = {
14723 (char *) "self", NULL
14726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlEvent_GetOldSelection",kwnames
,&obj0
)) goto fail
;
14727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
14728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14731 result
= (int)((wxBookCtrlEvent
const *)arg1
)->GetOldSelection();
14733 wxPyEndAllowThreads(__tstate
);
14734 if (PyErr_Occurred()) SWIG_fail
;
14736 resultobj
= SWIG_FromInt((int)result
);
14743 static PyObject
*_wrap_BookCtrlEvent_SetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14744 PyObject
*resultobj
;
14745 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
14747 PyObject
* obj0
= 0 ;
14748 PyObject
* obj1
= 0 ;
14749 char *kwnames
[] = {
14750 (char *) "self",(char *) "nOldSel", NULL
14753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlEvent_SetOldSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
14754 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
14755 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14756 arg2
= (int) SWIG_AsInt(obj1
);
14757 if (PyErr_Occurred()) SWIG_fail
;
14759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14760 (arg1
)->SetOldSelection(arg2
);
14762 wxPyEndAllowThreads(__tstate
);
14763 if (PyErr_Occurred()) SWIG_fail
;
14765 Py_INCREF(Py_None
); resultobj
= Py_None
;
14772 static PyObject
* BookCtrlEvent_swigregister(PyObject
*self
, PyObject
*args
) {
14774 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14775 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlEvent
, obj
);
14777 return Py_BuildValue((char *)"");
14779 static PyObject
*_wrap_new_Notebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14780 PyObject
*resultobj
;
14781 wxWindow
*arg1
= (wxWindow
*) 0 ;
14782 int arg2
= (int) -1 ;
14783 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14784 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14785 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14786 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14787 long arg5
= (long) 0 ;
14788 wxString
const &arg6_defvalue
= wxPyNOTEBOOK_NAME
;
14789 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14790 wxNotebook
*result
;
14793 bool temp6
= False
;
14794 PyObject
* obj0
= 0 ;
14795 PyObject
* obj1
= 0 ;
14796 PyObject
* obj2
= 0 ;
14797 PyObject
* obj3
= 0 ;
14798 PyObject
* obj4
= 0 ;
14799 PyObject
* obj5
= 0 ;
14800 char *kwnames
[] = {
14801 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Notebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14805 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
14806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14808 arg2
= (int) SWIG_AsInt(obj1
);
14809 if (PyErr_Occurred()) SWIG_fail
;
14814 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14820 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14824 arg5
= (long) SWIG_AsLong(obj4
);
14825 if (PyErr_Occurred()) SWIG_fail
;
14829 arg6
= wxString_in_helper(obj5
);
14830 if (arg6
== NULL
) SWIG_fail
;
14835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14836 result
= (wxNotebook
*)new wxNotebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14838 wxPyEndAllowThreads(__tstate
);
14839 if (PyErr_Occurred()) SWIG_fail
;
14842 resultobj
= wxPyMake_wxObject(result
);
14858 static PyObject
*_wrap_new_PreNotebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14859 PyObject
*resultobj
;
14860 wxNotebook
*result
;
14861 char *kwnames
[] = {
14865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreNotebook",kwnames
)) goto fail
;
14867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14868 result
= (wxNotebook
*)new wxNotebook();
14870 wxPyEndAllowThreads(__tstate
);
14871 if (PyErr_Occurred()) SWIG_fail
;
14874 resultobj
= wxPyMake_wxObject(result
);
14882 static PyObject
*_wrap_Notebook_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14883 PyObject
*resultobj
;
14884 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14885 wxWindow
*arg2
= (wxWindow
*) 0 ;
14887 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14888 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14889 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14890 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14891 long arg6
= (long) 0 ;
14892 wxString
const &arg7_defvalue
= wxPyNOTEBOOK_NAME
;
14893 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14897 bool temp7
= False
;
14898 PyObject
* obj0
= 0 ;
14899 PyObject
* obj1
= 0 ;
14900 PyObject
* obj2
= 0 ;
14901 PyObject
* obj3
= 0 ;
14902 PyObject
* obj4
= 0 ;
14903 PyObject
* obj5
= 0 ;
14904 PyObject
* obj6
= 0 ;
14905 char *kwnames
[] = {
14906 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Notebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14910 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
14911 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14912 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
14913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14914 arg3
= (int) SWIG_AsInt(obj2
);
14915 if (PyErr_Occurred()) SWIG_fail
;
14919 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14925 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14929 arg6
= (long) SWIG_AsLong(obj5
);
14930 if (PyErr_Occurred()) SWIG_fail
;
14934 arg7
= wxString_in_helper(obj6
);
14935 if (arg7
== NULL
) SWIG_fail
;
14940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14941 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14943 wxPyEndAllowThreads(__tstate
);
14944 if (PyErr_Occurred()) SWIG_fail
;
14947 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14963 static PyObject
*_wrap_Notebook_GetRowCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14964 PyObject
*resultobj
;
14965 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14967 PyObject
* obj0
= 0 ;
14968 char *kwnames
[] = {
14969 (char *) "self", NULL
14972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Notebook_GetRowCount",kwnames
,&obj0
)) goto fail
;
14973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
14974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14977 result
= (int)((wxNotebook
const *)arg1
)->GetRowCount();
14979 wxPyEndAllowThreads(__tstate
);
14980 if (PyErr_Occurred()) SWIG_fail
;
14982 resultobj
= SWIG_FromInt((int)result
);
14989 static PyObject
*_wrap_Notebook_SetPadding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14990 PyObject
*resultobj
;
14991 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14994 PyObject
* obj0
= 0 ;
14995 PyObject
* obj1
= 0 ;
14996 char *kwnames
[] = {
14997 (char *) "self",(char *) "padding", NULL
15000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetPadding",kwnames
,&obj0
,&obj1
)) goto fail
;
15001 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15005 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15009 (arg1
)->SetPadding((wxSize
const &)*arg2
);
15011 wxPyEndAllowThreads(__tstate
);
15012 if (PyErr_Occurred()) SWIG_fail
;
15014 Py_INCREF(Py_None
); resultobj
= Py_None
;
15021 static PyObject
*_wrap_Notebook_SetTabSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15022 PyObject
*resultobj
;
15023 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15026 PyObject
* obj0
= 0 ;
15027 PyObject
* obj1
= 0 ;
15028 char *kwnames
[] = {
15029 (char *) "self",(char *) "sz", NULL
15032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetTabSize",kwnames
,&obj0
,&obj1
)) goto fail
;
15033 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15037 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15041 (arg1
)->SetTabSize((wxSize
const &)*arg2
);
15043 wxPyEndAllowThreads(__tstate
);
15044 if (PyErr_Occurred()) SWIG_fail
;
15046 Py_INCREF(Py_None
); resultobj
= Py_None
;
15053 static PyObject
*_wrap_Notebook_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15054 PyObject
*resultobj
;
15055 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15056 wxPoint
*arg2
= 0 ;
15057 long *arg3
= (long *) 0 ;
15061 PyObject
* obj0
= 0 ;
15062 PyObject
* obj1
= 0 ;
15063 char *kwnames
[] = {
15064 (char *) "self",(char *) "pt", NULL
15068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
15069 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15073 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15077 result
= (int)((wxNotebook
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
15079 wxPyEndAllowThreads(__tstate
);
15080 if (PyErr_Occurred()) SWIG_fail
;
15082 resultobj
= SWIG_FromInt((int)result
);
15084 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15085 resultobj
= t_output_helper(resultobj
,o
);
15093 static PyObject
*_wrap_Notebook_CalcSizeFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15094 PyObject
*resultobj
;
15095 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15099 PyObject
* obj0
= 0 ;
15100 PyObject
* obj1
= 0 ;
15101 char *kwnames
[] = {
15102 (char *) "self",(char *) "sizePage", NULL
15105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
15106 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15110 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15114 result
= ((wxNotebook
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
15116 wxPyEndAllowThreads(__tstate
);
15117 if (PyErr_Occurred()) SWIG_fail
;
15120 wxSize
* resultptr
;
15121 resultptr
= new wxSize((wxSize
&) result
);
15122 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15130 static PyObject
*_wrap_Notebook_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15131 PyObject
*resultobj
;
15132 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
15133 wxVisualAttributes result
;
15134 PyObject
* obj0
= 0 ;
15135 char *kwnames
[] = {
15136 (char *) "variant", NULL
15139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
15141 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
15142 if (PyErr_Occurred()) SWIG_fail
;
15145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15146 result
= wxNotebook::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
15148 wxPyEndAllowThreads(__tstate
);
15149 if (PyErr_Occurred()) SWIG_fail
;
15152 wxVisualAttributes
* resultptr
;
15153 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
15154 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
15162 static PyObject
* Notebook_swigregister(PyObject
*self
, PyObject
*args
) {
15164 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15165 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook
, obj
);
15167 return Py_BuildValue((char *)"");
15169 static PyObject
*_wrap_new_NotebookEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15170 PyObject
*resultobj
;
15171 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15172 int arg2
= (int) 0 ;
15173 int arg3
= (int) -1 ;
15174 int arg4
= (int) -1 ;
15175 wxNotebookEvent
*result
;
15176 PyObject
* obj0
= 0 ;
15177 PyObject
* obj1
= 0 ;
15178 PyObject
* obj2
= 0 ;
15179 PyObject
* obj3
= 0 ;
15180 char *kwnames
[] = {
15181 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
15184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_NotebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15186 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
15187 if (PyErr_Occurred()) SWIG_fail
;
15190 arg2
= (int) SWIG_AsInt(obj1
);
15191 if (PyErr_Occurred()) SWIG_fail
;
15194 arg3
= (int) SWIG_AsInt(obj2
);
15195 if (PyErr_Occurred()) SWIG_fail
;
15198 arg4
= (int) SWIG_AsInt(obj3
);
15199 if (PyErr_Occurred()) SWIG_fail
;
15202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15203 result
= (wxNotebookEvent
*)new wxNotebookEvent(arg1
,arg2
,arg3
,arg4
);
15205 wxPyEndAllowThreads(__tstate
);
15206 if (PyErr_Occurred()) SWIG_fail
;
15208 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebookEvent
, 1);
15215 static PyObject
* NotebookEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15217 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15218 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent
, obj
);
15220 return Py_BuildValue((char *)"");
15222 static PyObject
*_wrap_new_Listbook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15223 PyObject
*resultobj
;
15224 wxWindow
*arg1
= (wxWindow
*) 0 ;
15225 int arg2
= (int) -1 ;
15226 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15227 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15228 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15229 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15230 long arg5
= (long) 0 ;
15231 wxString
const &arg6_defvalue
= wxPyEmptyString
;
15232 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15233 wxListbook
*result
;
15236 bool temp6
= False
;
15237 PyObject
* obj0
= 0 ;
15238 PyObject
* obj1
= 0 ;
15239 PyObject
* obj2
= 0 ;
15240 PyObject
* obj3
= 0 ;
15241 PyObject
* obj4
= 0 ;
15242 PyObject
* obj5
= 0 ;
15243 char *kwnames
[] = {
15244 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Listbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15251 arg2
= (int) SWIG_AsInt(obj1
);
15252 if (PyErr_Occurred()) SWIG_fail
;
15257 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15263 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15267 arg5
= (long) SWIG_AsLong(obj4
);
15268 if (PyErr_Occurred()) SWIG_fail
;
15272 arg6
= wxString_in_helper(obj5
);
15273 if (arg6
== NULL
) SWIG_fail
;
15278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15279 result
= (wxListbook
*)new wxListbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15281 wxPyEndAllowThreads(__tstate
);
15282 if (PyErr_Occurred()) SWIG_fail
;
15284 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1);
15299 static PyObject
*_wrap_new_PreListbook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15300 PyObject
*resultobj
;
15301 wxListbook
*result
;
15302 char *kwnames
[] = {
15306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListbook",kwnames
)) goto fail
;
15308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15309 result
= (wxListbook
*)new wxListbook();
15311 wxPyEndAllowThreads(__tstate
);
15312 if (PyErr_Occurred()) SWIG_fail
;
15314 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1);
15321 static PyObject
*_wrap_Listbook_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15322 PyObject
*resultobj
;
15323 wxListbook
*arg1
= (wxListbook
*) 0 ;
15324 wxWindow
*arg2
= (wxWindow
*) 0 ;
15326 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15327 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15328 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15329 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15330 long arg6
= (long) 0 ;
15331 wxString
const &arg7_defvalue
= wxPyEmptyString
;
15332 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15336 bool temp7
= False
;
15337 PyObject
* obj0
= 0 ;
15338 PyObject
* obj1
= 0 ;
15339 PyObject
* obj2
= 0 ;
15340 PyObject
* obj3
= 0 ;
15341 PyObject
* obj4
= 0 ;
15342 PyObject
* obj5
= 0 ;
15343 PyObject
* obj6
= 0 ;
15344 char *kwnames
[] = {
15345 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Listbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
15349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListbook
,
15350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15351 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
15352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15353 arg3
= (int) SWIG_AsInt(obj2
);
15354 if (PyErr_Occurred()) SWIG_fail
;
15358 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15364 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15368 arg6
= (long) SWIG_AsLong(obj5
);
15369 if (PyErr_Occurred()) SWIG_fail
;
15373 arg7
= wxString_in_helper(obj6
);
15374 if (arg7
== NULL
) SWIG_fail
;
15379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15380 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
15382 wxPyEndAllowThreads(__tstate
);
15383 if (PyErr_Occurred()) SWIG_fail
;
15386 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15402 static PyObject
*_wrap_Listbook_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15403 PyObject
*resultobj
;
15404 wxListbook
*arg1
= (wxListbook
*) 0 ;
15406 PyObject
* obj0
= 0 ;
15407 char *kwnames
[] = {
15408 (char *) "self", NULL
15411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Listbook_IsVertical",kwnames
,&obj0
)) goto fail
;
15412 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListbook
,
15413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15416 result
= (bool)((wxListbook
const *)arg1
)->IsVertical();
15418 wxPyEndAllowThreads(__tstate
);
15419 if (PyErr_Occurred()) SWIG_fail
;
15422 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15430 static PyObject
* Listbook_swigregister(PyObject
*self
, PyObject
*args
) {
15432 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15433 SWIG_TypeClientData(SWIGTYPE_p_wxListbook
, obj
);
15435 return Py_BuildValue((char *)"");
15437 static PyObject
*_wrap_new_ListbookEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15438 PyObject
*resultobj
;
15439 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15440 int arg2
= (int) 0 ;
15441 int arg3
= (int) -1 ;
15442 int arg4
= (int) -1 ;
15443 wxListbookEvent
*result
;
15444 PyObject
* obj0
= 0 ;
15445 PyObject
* obj1
= 0 ;
15446 PyObject
* obj2
= 0 ;
15447 PyObject
* obj3
= 0 ;
15448 char *kwnames
[] = {
15449 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
15452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ListbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15454 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
15455 if (PyErr_Occurred()) SWIG_fail
;
15458 arg2
= (int) SWIG_AsInt(obj1
);
15459 if (PyErr_Occurred()) SWIG_fail
;
15462 arg3
= (int) SWIG_AsInt(obj2
);
15463 if (PyErr_Occurred()) SWIG_fail
;
15466 arg4
= (int) SWIG_AsInt(obj3
);
15467 if (PyErr_Occurred()) SWIG_fail
;
15470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15471 result
= (wxListbookEvent
*)new wxListbookEvent(arg1
,arg2
,arg3
,arg4
);
15473 wxPyEndAllowThreads(__tstate
);
15474 if (PyErr_Occurred()) SWIG_fail
;
15476 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbookEvent
, 1);
15483 static PyObject
* ListbookEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15485 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15486 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent
, obj
);
15488 return Py_BuildValue((char *)"");
15490 static PyObject
*_wrap_new_BookCtrlSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15491 PyObject
*resultobj
;
15492 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
15493 wxBookCtrlSizer
*result
;
15494 PyObject
* obj0
= 0 ;
15495 char *kwnames
[] = {
15496 (char *) "nb", NULL
15499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BookCtrlSizer",kwnames
,&obj0
)) goto fail
;
15500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
15501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15504 result
= (wxBookCtrlSizer
*)new wxBookCtrlSizer(arg1
);
15506 wxPyEndAllowThreads(__tstate
);
15507 if (PyErr_Occurred()) SWIG_fail
;
15509 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlSizer
, 1);
15516 static PyObject
*_wrap_BookCtrlSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15517 PyObject
*resultobj
;
15518 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
15519 PyObject
* obj0
= 0 ;
15520 char *kwnames
[] = {
15521 (char *) "self", NULL
15524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
15525 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlSizer
,
15526 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15529 (arg1
)->RecalcSizes();
15531 wxPyEndAllowThreads(__tstate
);
15532 if (PyErr_Occurred()) SWIG_fail
;
15534 Py_INCREF(Py_None
); resultobj
= Py_None
;
15541 static PyObject
*_wrap_BookCtrlSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15542 PyObject
*resultobj
;
15543 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
15545 PyObject
* obj0
= 0 ;
15546 char *kwnames
[] = {
15547 (char *) "self", NULL
15550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
15551 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlSizer
,
15552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15555 result
= (arg1
)->CalcMin();
15557 wxPyEndAllowThreads(__tstate
);
15558 if (PyErr_Occurred()) SWIG_fail
;
15561 wxSize
* resultptr
;
15562 resultptr
= new wxSize((wxSize
&) result
);
15563 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15571 static PyObject
*_wrap_BookCtrlSizer_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15572 PyObject
*resultobj
;
15573 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
15574 wxBookCtrl
*result
;
15575 PyObject
* obj0
= 0 ;
15576 char *kwnames
[] = {
15577 (char *) "self", NULL
15580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_GetControl",kwnames
,&obj0
)) goto fail
;
15581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlSizer
,
15582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15585 result
= (wxBookCtrl
*)(arg1
)->GetControl();
15587 wxPyEndAllowThreads(__tstate
);
15588 if (PyErr_Occurred()) SWIG_fail
;
15590 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrl
, 0);
15597 static PyObject
* BookCtrlSizer_swigregister(PyObject
*self
, PyObject
*args
) {
15599 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15600 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer
, obj
);
15602 return Py_BuildValue((char *)"");
15604 static PyObject
*_wrap_new_NotebookSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15605 PyObject
*resultobj
;
15606 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15607 wxNotebookSizer
*result
;
15608 PyObject
* obj0
= 0 ;
15609 char *kwnames
[] = {
15610 (char *) "nb", NULL
15613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NotebookSizer",kwnames
,&obj0
)) goto fail
;
15614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15618 result
= (wxNotebookSizer
*)new wxNotebookSizer(arg1
);
15620 wxPyEndAllowThreads(__tstate
);
15621 if (PyErr_Occurred()) SWIG_fail
;
15623 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebookSizer
, 1);
15630 static PyObject
*_wrap_NotebookSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15631 PyObject
*resultobj
;
15632 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
15633 PyObject
* obj0
= 0 ;
15634 char *kwnames
[] = {
15635 (char *) "self", NULL
15638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
15639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebookSizer
,
15640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15643 (arg1
)->RecalcSizes();
15645 wxPyEndAllowThreads(__tstate
);
15646 if (PyErr_Occurred()) SWIG_fail
;
15648 Py_INCREF(Py_None
); resultobj
= Py_None
;
15655 static PyObject
*_wrap_NotebookSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15656 PyObject
*resultobj
;
15657 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
15659 PyObject
* obj0
= 0 ;
15660 char *kwnames
[] = {
15661 (char *) "self", NULL
15664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
15665 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebookSizer
,
15666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15669 result
= (arg1
)->CalcMin();
15671 wxPyEndAllowThreads(__tstate
);
15672 if (PyErr_Occurred()) SWIG_fail
;
15675 wxSize
* resultptr
;
15676 resultptr
= new wxSize((wxSize
&) result
);
15677 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15685 static PyObject
*_wrap_NotebookSizer_GetNotebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15686 PyObject
*resultobj
;
15687 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
15688 wxNotebook
*result
;
15689 PyObject
* obj0
= 0 ;
15690 char *kwnames
[] = {
15691 (char *) "self", NULL
15694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_GetNotebook",kwnames
,&obj0
)) goto fail
;
15695 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebookSizer
,
15696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15699 result
= (wxNotebook
*)(arg1
)->GetNotebook();
15701 wxPyEndAllowThreads(__tstate
);
15702 if (PyErr_Occurred()) SWIG_fail
;
15705 resultobj
= wxPyMake_wxObject(result
);
15713 static PyObject
* NotebookSizer_swigregister(PyObject
*self
, PyObject
*args
) {
15715 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15716 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer
, obj
);
15718 return Py_BuildValue((char *)"");
15720 static PyObject
*_wrap_ToolBarToolBase_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15721 PyObject
*resultobj
;
15722 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15724 PyObject
* obj0
= 0 ;
15725 char *kwnames
[] = {
15726 (char *) "self", NULL
15729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetId",kwnames
,&obj0
)) goto fail
;
15730 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15734 result
= (int)(arg1
)->GetId();
15736 wxPyEndAllowThreads(__tstate
);
15737 if (PyErr_Occurred()) SWIG_fail
;
15739 resultobj
= SWIG_FromInt((int)result
);
15746 static PyObject
*_wrap_ToolBarToolBase_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15747 PyObject
*resultobj
;
15748 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15750 PyObject
* obj0
= 0 ;
15751 char *kwnames
[] = {
15752 (char *) "self", NULL
15755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetControl",kwnames
,&obj0
)) goto fail
;
15756 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15760 result
= (wxControl
*)(arg1
)->GetControl();
15762 wxPyEndAllowThreads(__tstate
);
15763 if (PyErr_Occurred()) SWIG_fail
;
15766 resultobj
= wxPyMake_wxObject(result
);
15774 static PyObject
*_wrap_ToolBarToolBase_GetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15775 PyObject
*resultobj
;
15776 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15777 wxToolBarBase
*result
;
15778 PyObject
* obj0
= 0 ;
15779 char *kwnames
[] = {
15780 (char *) "self", NULL
15783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetToolBar",kwnames
,&obj0
)) goto fail
;
15784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15788 result
= (wxToolBarBase
*)(arg1
)->GetToolBar();
15790 wxPyEndAllowThreads(__tstate
);
15791 if (PyErr_Occurred()) SWIG_fail
;
15794 resultobj
= wxPyMake_wxObject(result
);
15802 static PyObject
*_wrap_ToolBarToolBase_IsButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15803 PyObject
*resultobj
;
15804 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15806 PyObject
* obj0
= 0 ;
15807 char *kwnames
[] = {
15808 (char *) "self", NULL
15811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsButton",kwnames
,&obj0
)) goto fail
;
15812 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15813 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15816 result
= (int)(arg1
)->IsButton();
15818 wxPyEndAllowThreads(__tstate
);
15819 if (PyErr_Occurred()) SWIG_fail
;
15821 resultobj
= SWIG_FromInt((int)result
);
15828 static PyObject
*_wrap_ToolBarToolBase_IsControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15829 PyObject
*resultobj
;
15830 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15832 PyObject
* obj0
= 0 ;
15833 char *kwnames
[] = {
15834 (char *) "self", NULL
15837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsControl",kwnames
,&obj0
)) goto fail
;
15838 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15842 result
= (int)(arg1
)->IsControl();
15844 wxPyEndAllowThreads(__tstate
);
15845 if (PyErr_Occurred()) SWIG_fail
;
15847 resultobj
= SWIG_FromInt((int)result
);
15854 static PyObject
*_wrap_ToolBarToolBase_IsSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15855 PyObject
*resultobj
;
15856 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15858 PyObject
* obj0
= 0 ;
15859 char *kwnames
[] = {
15860 (char *) "self", NULL
15863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsSeparator",kwnames
,&obj0
)) goto fail
;
15864 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15868 result
= (int)(arg1
)->IsSeparator();
15870 wxPyEndAllowThreads(__tstate
);
15871 if (PyErr_Occurred()) SWIG_fail
;
15873 resultobj
= SWIG_FromInt((int)result
);
15880 static PyObject
*_wrap_ToolBarToolBase_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15881 PyObject
*resultobj
;
15882 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15884 PyObject
* obj0
= 0 ;
15885 char *kwnames
[] = {
15886 (char *) "self", NULL
15889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetStyle",kwnames
,&obj0
)) goto fail
;
15890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15894 result
= (int)(arg1
)->GetStyle();
15896 wxPyEndAllowThreads(__tstate
);
15897 if (PyErr_Occurred()) SWIG_fail
;
15899 resultobj
= SWIG_FromInt((int)result
);
15906 static PyObject
*_wrap_ToolBarToolBase_GetKind(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15907 PyObject
*resultobj
;
15908 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15910 PyObject
* obj0
= 0 ;
15911 char *kwnames
[] = {
15912 (char *) "self", NULL
15915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetKind",kwnames
,&obj0
)) goto fail
;
15916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15920 result
= (int)(arg1
)->GetKind();
15922 wxPyEndAllowThreads(__tstate
);
15923 if (PyErr_Occurred()) SWIG_fail
;
15925 resultobj
= SWIG_FromInt((int)result
);
15932 static PyObject
*_wrap_ToolBarToolBase_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15933 PyObject
*resultobj
;
15934 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15936 PyObject
* obj0
= 0 ;
15937 char *kwnames
[] = {
15938 (char *) "self", NULL
15941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsEnabled",kwnames
,&obj0
)) goto fail
;
15942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15946 result
= (bool)(arg1
)->IsEnabled();
15948 wxPyEndAllowThreads(__tstate
);
15949 if (PyErr_Occurred()) SWIG_fail
;
15952 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15960 static PyObject
*_wrap_ToolBarToolBase_IsToggled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15961 PyObject
*resultobj
;
15962 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15964 PyObject
* obj0
= 0 ;
15965 char *kwnames
[] = {
15966 (char *) "self", NULL
15969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsToggled",kwnames
,&obj0
)) goto fail
;
15970 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15974 result
= (bool)(arg1
)->IsToggled();
15976 wxPyEndAllowThreads(__tstate
);
15977 if (PyErr_Occurred()) SWIG_fail
;
15980 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15988 static PyObject
*_wrap_ToolBarToolBase_CanBeToggled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15989 PyObject
*resultobj
;
15990 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15992 PyObject
* obj0
= 0 ;
15993 char *kwnames
[] = {
15994 (char *) "self", NULL
15997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames
,&obj0
)) goto fail
;
15998 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16002 result
= (bool)(arg1
)->CanBeToggled();
16004 wxPyEndAllowThreads(__tstate
);
16005 if (PyErr_Occurred()) SWIG_fail
;
16008 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16016 static PyObject
*_wrap_ToolBarToolBase_GetNormalBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16017 PyObject
*resultobj
;
16018 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16020 PyObject
* obj0
= 0 ;
16021 char *kwnames
[] = {
16022 (char *) "self", NULL
16025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames
,&obj0
)) goto fail
;
16026 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16031 wxBitmap
const &_result_ref
= (arg1
)->GetNormalBitmap();
16032 result
= (wxBitmap
*) &_result_ref
;
16035 wxPyEndAllowThreads(__tstate
);
16036 if (PyErr_Occurred()) SWIG_fail
;
16039 wxBitmap
* resultptr
= new wxBitmap(*result
);
16040 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
16048 static PyObject
*_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16049 PyObject
*resultobj
;
16050 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16052 PyObject
* obj0
= 0 ;
16053 char *kwnames
[] = {
16054 (char *) "self", NULL
16057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
;
16058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16063 wxBitmap
const &_result_ref
= (arg1
)->GetDisabledBitmap();
16064 result
= (wxBitmap
*) &_result_ref
;
16067 wxPyEndAllowThreads(__tstate
);
16068 if (PyErr_Occurred()) SWIG_fail
;
16071 wxBitmap
* resultptr
= new wxBitmap(*result
);
16072 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
16080 static PyObject
*_wrap_ToolBarToolBase_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16081 PyObject
*resultobj
;
16082 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16084 PyObject
* obj0
= 0 ;
16085 char *kwnames
[] = {
16086 (char *) "self", NULL
16089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetBitmap",kwnames
,&obj0
)) goto fail
;
16090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16094 result
= (arg1
)->GetBitmap();
16096 wxPyEndAllowThreads(__tstate
);
16097 if (PyErr_Occurred()) SWIG_fail
;
16100 wxBitmap
* resultptr
;
16101 resultptr
= new wxBitmap((wxBitmap
&) result
);
16102 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
16110 static PyObject
*_wrap_ToolBarToolBase_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16111 PyObject
*resultobj
;
16112 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16114 PyObject
* obj0
= 0 ;
16115 char *kwnames
[] = {
16116 (char *) "self", NULL
16119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLabel",kwnames
,&obj0
)) goto fail
;
16120 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16121 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16124 result
= (arg1
)->GetLabel();
16126 wxPyEndAllowThreads(__tstate
);
16127 if (PyErr_Occurred()) SWIG_fail
;
16131 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16133 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16142 static PyObject
*_wrap_ToolBarToolBase_GetShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16143 PyObject
*resultobj
;
16144 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16146 PyObject
* obj0
= 0 ;
16147 char *kwnames
[] = {
16148 (char *) "self", NULL
16151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames
,&obj0
)) goto fail
;
16152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16156 result
= (arg1
)->GetShortHelp();
16158 wxPyEndAllowThreads(__tstate
);
16159 if (PyErr_Occurred()) SWIG_fail
;
16163 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16165 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16174 static PyObject
*_wrap_ToolBarToolBase_GetLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16175 PyObject
*resultobj
;
16176 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16178 PyObject
* obj0
= 0 ;
16179 char *kwnames
[] = {
16180 (char *) "self", NULL
16183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames
,&obj0
)) goto fail
;
16184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16188 result
= (arg1
)->GetLongHelp();
16190 wxPyEndAllowThreads(__tstate
);
16191 if (PyErr_Occurred()) SWIG_fail
;
16195 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16197 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16206 static PyObject
*_wrap_ToolBarToolBase_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16207 PyObject
*resultobj
;
16208 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16211 PyObject
* obj0
= 0 ;
16212 PyObject
* obj1
= 0 ;
16213 char *kwnames
[] = {
16214 (char *) "self",(char *) "enable", NULL
16217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
16218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16220 arg2
= (bool) SWIG_AsBool(obj1
);
16221 if (PyErr_Occurred()) SWIG_fail
;
16223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16224 result
= (bool)(arg1
)->Enable(arg2
);
16226 wxPyEndAllowThreads(__tstate
);
16227 if (PyErr_Occurred()) SWIG_fail
;
16230 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16238 static PyObject
*_wrap_ToolBarToolBase_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16239 PyObject
*resultobj
;
16240 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16241 PyObject
* obj0
= 0 ;
16242 char *kwnames
[] = {
16243 (char *) "self", NULL
16246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Toggle",kwnames
,&obj0
)) goto fail
;
16247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16253 wxPyEndAllowThreads(__tstate
);
16254 if (PyErr_Occurred()) SWIG_fail
;
16256 Py_INCREF(Py_None
); resultobj
= Py_None
;
16263 static PyObject
*_wrap_ToolBarToolBase_SetToggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16264 PyObject
*resultobj
;
16265 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16268 PyObject
* obj0
= 0 ;
16269 PyObject
* obj1
= 0 ;
16270 char *kwnames
[] = {
16271 (char *) "self",(char *) "toggle", NULL
16274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetToggle",kwnames
,&obj0
,&obj1
)) goto fail
;
16275 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16277 arg2
= (bool) SWIG_AsBool(obj1
);
16278 if (PyErr_Occurred()) SWIG_fail
;
16280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16281 result
= (bool)(arg1
)->SetToggle(arg2
);
16283 wxPyEndAllowThreads(__tstate
);
16284 if (PyErr_Occurred()) SWIG_fail
;
16287 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16295 static PyObject
*_wrap_ToolBarToolBase_SetShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16296 PyObject
*resultobj
;
16297 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16298 wxString
*arg2
= 0 ;
16300 bool temp2
= False
;
16301 PyObject
* obj0
= 0 ;
16302 PyObject
* obj1
= 0 ;
16303 char *kwnames
[] = {
16304 (char *) "self",(char *) "help", NULL
16307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
16308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16311 arg2
= wxString_in_helper(obj1
);
16312 if (arg2
== NULL
) SWIG_fail
;
16316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16317 result
= (bool)(arg1
)->SetShortHelp((wxString
const &)*arg2
);
16319 wxPyEndAllowThreads(__tstate
);
16320 if (PyErr_Occurred()) SWIG_fail
;
16323 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16339 static PyObject
*_wrap_ToolBarToolBase_SetLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16340 PyObject
*resultobj
;
16341 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16342 wxString
*arg2
= 0 ;
16344 bool temp2
= False
;
16345 PyObject
* obj0
= 0 ;
16346 PyObject
* obj1
= 0 ;
16347 char *kwnames
[] = {
16348 (char *) "self",(char *) "help", NULL
16351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
16352 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16355 arg2
= wxString_in_helper(obj1
);
16356 if (arg2
== NULL
) SWIG_fail
;
16360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16361 result
= (bool)(arg1
)->SetLongHelp((wxString
const &)*arg2
);
16363 wxPyEndAllowThreads(__tstate
);
16364 if (PyErr_Occurred()) SWIG_fail
;
16367 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16383 static PyObject
*_wrap_ToolBarToolBase_SetNormalBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16384 PyObject
*resultobj
;
16385 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16386 wxBitmap
*arg2
= 0 ;
16387 PyObject
* obj0
= 0 ;
16388 PyObject
* obj1
= 0 ;
16389 char *kwnames
[] = {
16390 (char *) "self",(char *) "bmp", NULL
16393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
16394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16396 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
16397 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16399 if (arg2
== NULL
) {
16400 PyErr_SetString(PyExc_TypeError
,"null reference");
16404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16405 (arg1
)->SetNormalBitmap((wxBitmap
const &)*arg2
);
16407 wxPyEndAllowThreads(__tstate
);
16408 if (PyErr_Occurred()) SWIG_fail
;
16410 Py_INCREF(Py_None
); resultobj
= Py_None
;
16417 static PyObject
*_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16418 PyObject
*resultobj
;
16419 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16420 wxBitmap
*arg2
= 0 ;
16421 PyObject
* obj0
= 0 ;
16422 PyObject
* obj1
= 0 ;
16423 char *kwnames
[] = {
16424 (char *) "self",(char *) "bmp", NULL
16427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
16428 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16430 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
16431 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16433 if (arg2
== NULL
) {
16434 PyErr_SetString(PyExc_TypeError
,"null reference");
16438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16439 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
16441 wxPyEndAllowThreads(__tstate
);
16442 if (PyErr_Occurred()) SWIG_fail
;
16444 Py_INCREF(Py_None
); resultobj
= Py_None
;
16451 static PyObject
*_wrap_ToolBarToolBase_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16452 PyObject
*resultobj
;
16453 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16454 wxString
*arg2
= 0 ;
16455 bool temp2
= False
;
16456 PyObject
* obj0
= 0 ;
16457 PyObject
* obj1
= 0 ;
16458 char *kwnames
[] = {
16459 (char *) "self",(char *) "label", NULL
16462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
16463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16466 arg2
= wxString_in_helper(obj1
);
16467 if (arg2
== NULL
) SWIG_fail
;
16471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16472 (arg1
)->SetLabel((wxString
const &)*arg2
);
16474 wxPyEndAllowThreads(__tstate
);
16475 if (PyErr_Occurred()) SWIG_fail
;
16477 Py_INCREF(Py_None
); resultobj
= Py_None
;
16492 static PyObject
*_wrap_ToolBarToolBase_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16493 PyObject
*resultobj
;
16494 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16495 PyObject
* obj0
= 0 ;
16496 char *kwnames
[] = {
16497 (char *) "self", NULL
16500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Detach",kwnames
,&obj0
)) goto fail
;
16501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16507 wxPyEndAllowThreads(__tstate
);
16508 if (PyErr_Occurred()) SWIG_fail
;
16510 Py_INCREF(Py_None
); resultobj
= Py_None
;
16517 static PyObject
*_wrap_ToolBarToolBase_Attach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16518 PyObject
*resultobj
;
16519 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16520 wxToolBarBase
*arg2
= (wxToolBarBase
*) 0 ;
16521 PyObject
* obj0
= 0 ;
16522 PyObject
* obj1
= 0 ;
16523 char *kwnames
[] = {
16524 (char *) "self",(char *) "tbar", NULL
16527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
16528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16530 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBarBase
,
16531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16534 (arg1
)->Attach(arg2
);
16536 wxPyEndAllowThreads(__tstate
);
16537 if (PyErr_Occurred()) SWIG_fail
;
16539 Py_INCREF(Py_None
); resultobj
= Py_None
;
16546 static PyObject
*_wrap_ToolBarToolBase_GetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16547 PyObject
*resultobj
;
16548 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16550 PyObject
* obj0
= 0 ;
16551 char *kwnames
[] = {
16552 (char *) "self", NULL
16555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetClientData",kwnames
,&obj0
)) goto fail
;
16556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16560 result
= (PyObject
*)wxToolBarToolBase_GetClientData(arg1
);
16562 wxPyEndAllowThreads(__tstate
);
16563 if (PyErr_Occurred()) SWIG_fail
;
16565 resultobj
= result
;
16572 static PyObject
*_wrap_ToolBarToolBase_SetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16573 PyObject
*resultobj
;
16574 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16575 PyObject
*arg2
= (PyObject
*) 0 ;
16576 PyObject
* obj0
= 0 ;
16577 PyObject
* obj1
= 0 ;
16578 char *kwnames
[] = {
16579 (char *) "self",(char *) "clientData", NULL
16582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
16583 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16588 wxToolBarToolBase_SetClientData(arg1
,arg2
);
16590 wxPyEndAllowThreads(__tstate
);
16591 if (PyErr_Occurred()) SWIG_fail
;
16593 Py_INCREF(Py_None
); resultobj
= Py_None
;
16600 static PyObject
* ToolBarToolBase_swigregister(PyObject
*self
, PyObject
*args
) {
16602 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16603 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase
, obj
);
16605 return Py_BuildValue((char *)"");
16607 static PyObject
*_wrap_ToolBarBase_DoAddTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16608 PyObject
*resultobj
;
16609 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16611 wxString
*arg3
= 0 ;
16612 wxBitmap
*arg4
= 0 ;
16613 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
16614 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
16615 int arg6
= (int) wxITEM_NORMAL
;
16616 wxString
const &arg7_defvalue
= wxPyEmptyString
;
16617 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
16618 wxString
const &arg8_defvalue
= wxPyEmptyString
;
16619 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
16620 PyObject
*arg9
= (PyObject
*) NULL
;
16621 wxToolBarToolBase
*result
;
16622 bool temp3
= False
;
16623 bool temp7
= False
;
16624 bool temp8
= False
;
16625 PyObject
* obj0
= 0 ;
16626 PyObject
* obj1
= 0 ;
16627 PyObject
* obj2
= 0 ;
16628 PyObject
* obj3
= 0 ;
16629 PyObject
* obj4
= 0 ;
16630 PyObject
* obj5
= 0 ;
16631 PyObject
* obj6
= 0 ;
16632 PyObject
* obj7
= 0 ;
16633 PyObject
* obj8
= 0 ;
16634 char *kwnames
[] = {
16635 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
16638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
16639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16641 arg2
= (int) SWIG_AsInt(obj1
);
16642 if (PyErr_Occurred()) SWIG_fail
;
16644 arg3
= wxString_in_helper(obj2
);
16645 if (arg3
== NULL
) SWIG_fail
;
16648 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
16649 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16651 if (arg4
== NULL
) {
16652 PyErr_SetString(PyExc_TypeError
,"null reference");
16656 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxBitmap
,
16657 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16659 if (arg5
== NULL
) {
16660 PyErr_SetString(PyExc_TypeError
,"null reference");
16665 arg6
= (wxItemKind
) SWIG_AsInt(obj5
);
16666 if (PyErr_Occurred()) SWIG_fail
;
16670 arg7
= wxString_in_helper(obj6
);
16671 if (arg7
== NULL
) SWIG_fail
;
16677 arg8
= wxString_in_helper(obj7
);
16678 if (arg8
== NULL
) SWIG_fail
;
16686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16687 result
= (wxToolBarToolBase
*)wxToolBarBase_DoAddTool(arg1
,arg2
,(wxString
const &)*arg3
,(wxBitmap
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxItemKind
)arg6
,(wxString
const &)*arg7
,(wxString
const &)*arg8
,arg9
);
16689 wxPyEndAllowThreads(__tstate
);
16690 if (PyErr_Occurred()) SWIG_fail
;
16693 resultobj
= wxPyMake_wxObject(result
);
16725 static PyObject
*_wrap_ToolBarBase_DoInsertTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16726 PyObject
*resultobj
;
16727 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16730 wxString
*arg4
= 0 ;
16731 wxBitmap
*arg5
= 0 ;
16732 wxBitmap
const &arg6_defvalue
= wxNullBitmap
;
16733 wxBitmap
*arg6
= (wxBitmap
*) &arg6_defvalue
;
16734 int arg7
= (int) wxITEM_NORMAL
;
16735 wxString
const &arg8_defvalue
= wxPyEmptyString
;
16736 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
16737 wxString
const &arg9_defvalue
= wxPyEmptyString
;
16738 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
16739 PyObject
*arg10
= (PyObject
*) NULL
;
16740 wxToolBarToolBase
*result
;
16741 bool temp4
= False
;
16742 bool temp8
= False
;
16743 bool temp9
= False
;
16744 PyObject
* obj0
= 0 ;
16745 PyObject
* obj1
= 0 ;
16746 PyObject
* obj2
= 0 ;
16747 PyObject
* obj3
= 0 ;
16748 PyObject
* obj4
= 0 ;
16749 PyObject
* obj5
= 0 ;
16750 PyObject
* obj6
= 0 ;
16751 PyObject
* obj7
= 0 ;
16752 PyObject
* obj8
= 0 ;
16753 PyObject
* obj9
= 0 ;
16754 char *kwnames
[] = {
16755 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
16758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
16759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16761 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
16762 if (PyErr_Occurred()) SWIG_fail
;
16763 arg3
= (int) SWIG_AsInt(obj2
);
16764 if (PyErr_Occurred()) SWIG_fail
;
16766 arg4
= wxString_in_helper(obj3
);
16767 if (arg4
== NULL
) SWIG_fail
;
16770 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxBitmap
,
16771 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16773 if (arg5
== NULL
) {
16774 PyErr_SetString(PyExc_TypeError
,"null reference");
16778 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxBitmap
,
16779 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16781 if (arg6
== NULL
) {
16782 PyErr_SetString(PyExc_TypeError
,"null reference");
16787 arg7
= (wxItemKind
) SWIG_AsInt(obj6
);
16788 if (PyErr_Occurred()) SWIG_fail
;
16792 arg8
= wxString_in_helper(obj7
);
16793 if (arg8
== NULL
) SWIG_fail
;
16799 arg9
= wxString_in_helper(obj8
);
16800 if (arg9
== NULL
) SWIG_fail
;
16808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16809 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
);
16811 wxPyEndAllowThreads(__tstate
);
16812 if (PyErr_Occurred()) SWIG_fail
;
16815 resultobj
= wxPyMake_wxObject(result
);
16847 static PyObject
*_wrap_ToolBarBase_AddToolItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16848 PyObject
*resultobj
;
16849 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16850 wxToolBarToolBase
*arg2
= (wxToolBarToolBase
*) 0 ;
16851 wxToolBarToolBase
*result
;
16852 PyObject
* obj0
= 0 ;
16853 PyObject
* obj1
= 0 ;
16854 char *kwnames
[] = {
16855 (char *) "self",(char *) "tool", NULL
16858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddToolItem",kwnames
,&obj0
,&obj1
)) goto fail
;
16859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16861 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBarToolBase
,
16862 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16865 result
= (wxToolBarToolBase
*)(arg1
)->AddTool(arg2
);
16867 wxPyEndAllowThreads(__tstate
);
16868 if (PyErr_Occurred()) SWIG_fail
;
16871 resultobj
= wxPyMake_wxObject(result
);
16879 static PyObject
*_wrap_ToolBarBase_InsertToolItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16880 PyObject
*resultobj
;
16881 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16883 wxToolBarToolBase
*arg3
= (wxToolBarToolBase
*) 0 ;
16884 wxToolBarToolBase
*result
;
16885 PyObject
* obj0
= 0 ;
16886 PyObject
* obj1
= 0 ;
16887 PyObject
* obj2
= 0 ;
16888 char *kwnames
[] = {
16889 (char *) "self",(char *) "pos",(char *) "tool", NULL
16892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16895 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
16896 if (PyErr_Occurred()) SWIG_fail
;
16897 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxToolBarToolBase
,
16898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16901 result
= (wxToolBarToolBase
*)(arg1
)->InsertTool(arg2
,arg3
);
16903 wxPyEndAllowThreads(__tstate
);
16904 if (PyErr_Occurred()) SWIG_fail
;
16907 resultobj
= wxPyMake_wxObject(result
);
16915 static PyObject
*_wrap_ToolBarBase_AddControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16916 PyObject
*resultobj
;
16917 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16918 wxControl
*arg2
= (wxControl
*) 0 ;
16919 wxToolBarToolBase
*result
;
16920 PyObject
* obj0
= 0 ;
16921 PyObject
* obj1
= 0 ;
16922 char *kwnames
[] = {
16923 (char *) "self",(char *) "control", NULL
16926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddControl",kwnames
,&obj0
,&obj1
)) goto fail
;
16927 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16929 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxControl
,
16930 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16933 result
= (wxToolBarToolBase
*)(arg1
)->AddControl(arg2
);
16935 wxPyEndAllowThreads(__tstate
);
16936 if (PyErr_Occurred()) SWIG_fail
;
16939 resultobj
= wxPyMake_wxObject(result
);
16947 static PyObject
*_wrap_ToolBarBase_InsertControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16948 PyObject
*resultobj
;
16949 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16951 wxControl
*arg3
= (wxControl
*) 0 ;
16952 wxToolBarToolBase
*result
;
16953 PyObject
* obj0
= 0 ;
16954 PyObject
* obj1
= 0 ;
16955 PyObject
* obj2
= 0 ;
16956 char *kwnames
[] = {
16957 (char *) "self",(char *) "pos",(char *) "control", NULL
16960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertControl",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16961 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16963 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
16964 if (PyErr_Occurred()) SWIG_fail
;
16965 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxControl
,
16966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16969 result
= (wxToolBarToolBase
*)(arg1
)->InsertControl(arg2
,arg3
);
16971 wxPyEndAllowThreads(__tstate
);
16972 if (PyErr_Occurred()) SWIG_fail
;
16975 resultobj
= wxPyMake_wxObject(result
);
16983 static PyObject
*_wrap_ToolBarBase_FindControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16984 PyObject
*resultobj
;
16985 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16988 PyObject
* obj0
= 0 ;
16989 PyObject
* obj1
= 0 ;
16990 char *kwnames
[] = {
16991 (char *) "self",(char *) "id", NULL
16994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindControl",kwnames
,&obj0
,&obj1
)) goto fail
;
16995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16997 arg2
= (int) SWIG_AsInt(obj1
);
16998 if (PyErr_Occurred()) SWIG_fail
;
17000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17001 result
= (wxControl
*)(arg1
)->FindControl(arg2
);
17003 wxPyEndAllowThreads(__tstate
);
17004 if (PyErr_Occurred()) SWIG_fail
;
17007 resultobj
= wxPyMake_wxObject(result
);
17015 static PyObject
*_wrap_ToolBarBase_AddSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17016 PyObject
*resultobj
;
17017 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17018 wxToolBarToolBase
*result
;
17019 PyObject
* obj0
= 0 ;
17020 char *kwnames
[] = {
17021 (char *) "self", NULL
17024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_AddSeparator",kwnames
,&obj0
)) goto fail
;
17025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17029 result
= (wxToolBarToolBase
*)(arg1
)->AddSeparator();
17031 wxPyEndAllowThreads(__tstate
);
17032 if (PyErr_Occurred()) SWIG_fail
;
17035 resultobj
= wxPyMake_wxObject(result
);
17043 static PyObject
*_wrap_ToolBarBase_InsertSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17044 PyObject
*resultobj
;
17045 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17047 wxToolBarToolBase
*result
;
17048 PyObject
* obj0
= 0 ;
17049 PyObject
* obj1
= 0 ;
17050 char *kwnames
[] = {
17051 (char *) "self",(char *) "pos", NULL
17054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
17055 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17056 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17057 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
17058 if (PyErr_Occurred()) SWIG_fail
;
17060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17061 result
= (wxToolBarToolBase
*)(arg1
)->InsertSeparator(arg2
);
17063 wxPyEndAllowThreads(__tstate
);
17064 if (PyErr_Occurred()) SWIG_fail
;
17067 resultobj
= wxPyMake_wxObject(result
);
17075 static PyObject
*_wrap_ToolBarBase_RemoveTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17076 PyObject
*resultobj
;
17077 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17079 wxToolBarToolBase
*result
;
17080 PyObject
* obj0
= 0 ;
17081 PyObject
* obj1
= 0 ;
17082 char *kwnames
[] = {
17083 (char *) "self",(char *) "id", NULL
17086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_RemoveTool",kwnames
,&obj0
,&obj1
)) goto fail
;
17087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17089 arg2
= (int) SWIG_AsInt(obj1
);
17090 if (PyErr_Occurred()) SWIG_fail
;
17092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17093 result
= (wxToolBarToolBase
*)(arg1
)->RemoveTool(arg2
);
17095 wxPyEndAllowThreads(__tstate
);
17096 if (PyErr_Occurred()) SWIG_fail
;
17099 resultobj
= wxPyMake_wxObject(result
);
17107 static PyObject
*_wrap_ToolBarBase_DeleteToolByPos(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 *) "pos", NULL
17118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteToolByPos",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
= (size_t) SWIG_AsUnsignedLong(obj1
);
17122 if (PyErr_Occurred()) SWIG_fail
;
17124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17125 result
= (bool)(arg1
)->DeleteToolByPos(arg2
);
17127 wxPyEndAllowThreads(__tstate
);
17128 if (PyErr_Occurred()) SWIG_fail
;
17131 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17139 static PyObject
*_wrap_ToolBarBase_DeleteTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17140 PyObject
*resultobj
;
17141 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17144 PyObject
* obj0
= 0 ;
17145 PyObject
* obj1
= 0 ;
17146 char *kwnames
[] = {
17147 (char *) "self",(char *) "id", NULL
17150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteTool",kwnames
,&obj0
,&obj1
)) goto fail
;
17151 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17153 arg2
= (int) SWIG_AsInt(obj1
);
17154 if (PyErr_Occurred()) SWIG_fail
;
17156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17157 result
= (bool)(arg1
)->DeleteTool(arg2
);
17159 wxPyEndAllowThreads(__tstate
);
17160 if (PyErr_Occurred()) SWIG_fail
;
17163 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17171 static PyObject
*_wrap_ToolBarBase_ClearTools(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17172 PyObject
*resultobj
;
17173 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17174 PyObject
* obj0
= 0 ;
17175 char *kwnames
[] = {
17176 (char *) "self", NULL
17179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_ClearTools",kwnames
,&obj0
)) goto fail
;
17180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17184 (arg1
)->ClearTools();
17186 wxPyEndAllowThreads(__tstate
);
17187 if (PyErr_Occurred()) SWIG_fail
;
17189 Py_INCREF(Py_None
); resultobj
= Py_None
;
17196 static PyObject
*_wrap_ToolBarBase_Realize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17197 PyObject
*resultobj
;
17198 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17200 PyObject
* obj0
= 0 ;
17201 char *kwnames
[] = {
17202 (char *) "self", NULL
17205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_Realize",kwnames
,&obj0
)) goto fail
;
17206 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17210 result
= (bool)(arg1
)->Realize();
17212 wxPyEndAllowThreads(__tstate
);
17213 if (PyErr_Occurred()) SWIG_fail
;
17216 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17224 static PyObject
*_wrap_ToolBarBase_EnableTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17225 PyObject
*resultobj
;
17226 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17229 PyObject
* obj0
= 0 ;
17230 PyObject
* obj1
= 0 ;
17231 PyObject
* obj2
= 0 ;
17232 char *kwnames
[] = {
17233 (char *) "self",(char *) "id",(char *) "enable", NULL
17236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_EnableTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17239 arg2
= (int) SWIG_AsInt(obj1
);
17240 if (PyErr_Occurred()) SWIG_fail
;
17241 arg3
= (bool) SWIG_AsBool(obj2
);
17242 if (PyErr_Occurred()) SWIG_fail
;
17244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17245 (arg1
)->EnableTool(arg2
,arg3
);
17247 wxPyEndAllowThreads(__tstate
);
17248 if (PyErr_Occurred()) SWIG_fail
;
17250 Py_INCREF(Py_None
); resultobj
= Py_None
;
17257 static PyObject
*_wrap_ToolBarBase_ToggleTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17258 PyObject
*resultobj
;
17259 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17262 PyObject
* obj0
= 0 ;
17263 PyObject
* obj1
= 0 ;
17264 PyObject
* obj2
= 0 ;
17265 char *kwnames
[] = {
17266 (char *) "self",(char *) "id",(char *) "toggle", NULL
17269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_ToggleTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17270 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17272 arg2
= (int) SWIG_AsInt(obj1
);
17273 if (PyErr_Occurred()) SWIG_fail
;
17274 arg3
= (bool) SWIG_AsBool(obj2
);
17275 if (PyErr_Occurred()) SWIG_fail
;
17277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17278 (arg1
)->ToggleTool(arg2
,arg3
);
17280 wxPyEndAllowThreads(__tstate
);
17281 if (PyErr_Occurred()) SWIG_fail
;
17283 Py_INCREF(Py_None
); resultobj
= Py_None
;
17290 static PyObject
*_wrap_ToolBarBase_SetToggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17291 PyObject
*resultobj
;
17292 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17295 PyObject
* obj0
= 0 ;
17296 PyObject
* obj1
= 0 ;
17297 PyObject
* obj2
= 0 ;
17298 char *kwnames
[] = {
17299 (char *) "self",(char *) "id",(char *) "toggle", NULL
17302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToggle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17305 arg2
= (int) SWIG_AsInt(obj1
);
17306 if (PyErr_Occurred()) SWIG_fail
;
17307 arg3
= (bool) SWIG_AsBool(obj2
);
17308 if (PyErr_Occurred()) SWIG_fail
;
17310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17311 (arg1
)->SetToggle(arg2
,arg3
);
17313 wxPyEndAllowThreads(__tstate
);
17314 if (PyErr_Occurred()) SWIG_fail
;
17316 Py_INCREF(Py_None
); resultobj
= Py_None
;
17323 static PyObject
*_wrap_ToolBarBase_GetToolClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17324 PyObject
*resultobj
;
17325 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17328 PyObject
* obj0
= 0 ;
17329 PyObject
* obj1
= 0 ;
17330 char *kwnames
[] = {
17331 (char *) "self",(char *) "id", NULL
17334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
17335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17337 arg2
= (int) SWIG_AsInt(obj1
);
17338 if (PyErr_Occurred()) SWIG_fail
;
17340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17341 result
= (PyObject
*)wxToolBarBase_GetToolClientData(arg1
,arg2
);
17343 wxPyEndAllowThreads(__tstate
);
17344 if (PyErr_Occurred()) SWIG_fail
;
17346 resultobj
= result
;
17353 static PyObject
*_wrap_ToolBarBase_SetToolClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17354 PyObject
*resultobj
;
17355 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17357 PyObject
*arg3
= (PyObject
*) 0 ;
17358 PyObject
* obj0
= 0 ;
17359 PyObject
* obj1
= 0 ;
17360 PyObject
* obj2
= 0 ;
17361 char *kwnames
[] = {
17362 (char *) "self",(char *) "id",(char *) "clientData", NULL
17365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17366 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17368 arg2
= (int) SWIG_AsInt(obj1
);
17369 if (PyErr_Occurred()) SWIG_fail
;
17372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17373 wxToolBarBase_SetToolClientData(arg1
,arg2
,arg3
);
17375 wxPyEndAllowThreads(__tstate
);
17376 if (PyErr_Occurred()) SWIG_fail
;
17378 Py_INCREF(Py_None
); resultobj
= Py_None
;
17385 static PyObject
*_wrap_ToolBarBase_GetToolPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17386 PyObject
*resultobj
;
17387 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17390 PyObject
* obj0
= 0 ;
17391 PyObject
* obj1
= 0 ;
17392 char *kwnames
[] = {
17393 (char *) "self",(char *) "id", NULL
17396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolPos",kwnames
,&obj0
,&obj1
)) goto fail
;
17397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17399 arg2
= (int) SWIG_AsInt(obj1
);
17400 if (PyErr_Occurred()) SWIG_fail
;
17402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17403 result
= (int)((wxToolBarBase
const *)arg1
)->GetToolPos(arg2
);
17405 wxPyEndAllowThreads(__tstate
);
17406 if (PyErr_Occurred()) SWIG_fail
;
17408 resultobj
= SWIG_FromInt((int)result
);
17415 static PyObject
*_wrap_ToolBarBase_GetToolState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17416 PyObject
*resultobj
;
17417 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17420 PyObject
* obj0
= 0 ;
17421 PyObject
* obj1
= 0 ;
17422 char *kwnames
[] = {
17423 (char *) "self",(char *) "id", NULL
17426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolState",kwnames
,&obj0
,&obj1
)) 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
;
17432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17433 result
= (bool)(arg1
)->GetToolState(arg2
);
17435 wxPyEndAllowThreads(__tstate
);
17436 if (PyErr_Occurred()) SWIG_fail
;
17439 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17447 static PyObject
*_wrap_ToolBarBase_GetToolEnabled(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_GetToolEnabled",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
= (bool)(arg1
)->GetToolEnabled(arg2
);
17467 wxPyEndAllowThreads(__tstate
);
17468 if (PyErr_Occurred()) SWIG_fail
;
17471 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17479 static PyObject
*_wrap_ToolBarBase_SetToolShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17480 PyObject
*resultobj
;
17481 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17483 wxString
*arg3
= 0 ;
17484 bool temp3
= False
;
17485 PyObject
* obj0
= 0 ;
17486 PyObject
* obj1
= 0 ;
17487 PyObject
* obj2
= 0 ;
17488 char *kwnames
[] = {
17489 (char *) "self",(char *) "id",(char *) "helpString", NULL
17492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17493 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17495 arg2
= (int) SWIG_AsInt(obj1
);
17496 if (PyErr_Occurred()) SWIG_fail
;
17498 arg3
= wxString_in_helper(obj2
);
17499 if (arg3
== NULL
) SWIG_fail
;
17503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17504 (arg1
)->SetToolShortHelp(arg2
,(wxString
const &)*arg3
);
17506 wxPyEndAllowThreads(__tstate
);
17507 if (PyErr_Occurred()) SWIG_fail
;
17509 Py_INCREF(Py_None
); resultobj
= Py_None
;
17524 static PyObject
*_wrap_ToolBarBase_GetToolShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17525 PyObject
*resultobj
;
17526 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17529 PyObject
* obj0
= 0 ;
17530 PyObject
* obj1
= 0 ;
17531 char *kwnames
[] = {
17532 (char *) "self",(char *) "id", NULL
17535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
17536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17538 arg2
= (int) SWIG_AsInt(obj1
);
17539 if (PyErr_Occurred()) SWIG_fail
;
17541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17542 result
= (arg1
)->GetToolShortHelp(arg2
);
17544 wxPyEndAllowThreads(__tstate
);
17545 if (PyErr_Occurred()) SWIG_fail
;
17549 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17551 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17560 static PyObject
*_wrap_ToolBarBase_SetToolLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17561 PyObject
*resultobj
;
17562 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17564 wxString
*arg3
= 0 ;
17565 bool temp3
= False
;
17566 PyObject
* obj0
= 0 ;
17567 PyObject
* obj1
= 0 ;
17568 PyObject
* obj2
= 0 ;
17569 char *kwnames
[] = {
17570 (char *) "self",(char *) "id",(char *) "helpString", NULL
17573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17574 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17576 arg2
= (int) SWIG_AsInt(obj1
);
17577 if (PyErr_Occurred()) SWIG_fail
;
17579 arg3
= wxString_in_helper(obj2
);
17580 if (arg3
== NULL
) SWIG_fail
;
17584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17585 (arg1
)->SetToolLongHelp(arg2
,(wxString
const &)*arg3
);
17587 wxPyEndAllowThreads(__tstate
);
17588 if (PyErr_Occurred()) SWIG_fail
;
17590 Py_INCREF(Py_None
); resultobj
= Py_None
;
17605 static PyObject
*_wrap_ToolBarBase_GetToolLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17606 PyObject
*resultobj
;
17607 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17610 PyObject
* obj0
= 0 ;
17611 PyObject
* obj1
= 0 ;
17612 char *kwnames
[] = {
17613 (char *) "self",(char *) "id", NULL
17616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames
,&obj0
,&obj1
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17623 result
= (arg1
)->GetToolLongHelp(arg2
);
17625 wxPyEndAllowThreads(__tstate
);
17626 if (PyErr_Occurred()) SWIG_fail
;
17630 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17632 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17641 static PyObject
*_wrap_ToolBarBase_SetMarginsXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17642 PyObject
*resultobj
;
17643 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17646 PyObject
* obj0
= 0 ;
17647 PyObject
* obj1
= 0 ;
17648 PyObject
* obj2
= 0 ;
17649 char *kwnames
[] = {
17650 (char *) "self",(char *) "x",(char *) "y", NULL
17653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17654 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17655 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17656 arg2
= (int) SWIG_AsInt(obj1
);
17657 if (PyErr_Occurred()) SWIG_fail
;
17658 arg3
= (int) SWIG_AsInt(obj2
);
17659 if (PyErr_Occurred()) SWIG_fail
;
17661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17662 (arg1
)->SetMargins(arg2
,arg3
);
17664 wxPyEndAllowThreads(__tstate
);
17665 if (PyErr_Occurred()) SWIG_fail
;
17667 Py_INCREF(Py_None
); resultobj
= Py_None
;
17674 static PyObject
*_wrap_ToolBarBase_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17675 PyObject
*resultobj
;
17676 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17679 PyObject
* obj0
= 0 ;
17680 PyObject
* obj1
= 0 ;
17681 char *kwnames
[] = {
17682 (char *) "self",(char *) "size", NULL
17685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
17686 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17687 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17690 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17694 (arg1
)->SetMargins((wxSize
const &)*arg2
);
17696 wxPyEndAllowThreads(__tstate
);
17697 if (PyErr_Occurred()) SWIG_fail
;
17699 Py_INCREF(Py_None
); resultobj
= Py_None
;
17706 static PyObject
*_wrap_ToolBarBase_SetToolPacking(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17707 PyObject
*resultobj
;
17708 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17710 PyObject
* obj0
= 0 ;
17711 PyObject
* obj1
= 0 ;
17712 char *kwnames
[] = {
17713 (char *) "self",(char *) "packing", NULL
17716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolPacking",kwnames
,&obj0
,&obj1
)) goto fail
;
17717 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17719 arg2
= (int) SWIG_AsInt(obj1
);
17720 if (PyErr_Occurred()) SWIG_fail
;
17722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17723 (arg1
)->SetToolPacking(arg2
);
17725 wxPyEndAllowThreads(__tstate
);
17726 if (PyErr_Occurred()) SWIG_fail
;
17728 Py_INCREF(Py_None
); resultobj
= Py_None
;
17735 static PyObject
*_wrap_ToolBarBase_SetToolSeparation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17736 PyObject
*resultobj
;
17737 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17739 PyObject
* obj0
= 0 ;
17740 PyObject
* obj1
= 0 ;
17741 char *kwnames
[] = {
17742 (char *) "self",(char *) "separation", NULL
17745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames
,&obj0
,&obj1
)) goto fail
;
17746 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17748 arg2
= (int) SWIG_AsInt(obj1
);
17749 if (PyErr_Occurred()) SWIG_fail
;
17751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17752 (arg1
)->SetToolSeparation(arg2
);
17754 wxPyEndAllowThreads(__tstate
);
17755 if (PyErr_Occurred()) SWIG_fail
;
17757 Py_INCREF(Py_None
); resultobj
= Py_None
;
17764 static PyObject
*_wrap_ToolBarBase_GetToolMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17765 PyObject
*resultobj
;
17766 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17768 PyObject
* obj0
= 0 ;
17769 char *kwnames
[] = {
17770 (char *) "self", NULL
17773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolMargins",kwnames
,&obj0
)) goto fail
;
17774 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17778 result
= (arg1
)->GetToolMargins();
17780 wxPyEndAllowThreads(__tstate
);
17781 if (PyErr_Occurred()) SWIG_fail
;
17784 wxSize
* resultptr
;
17785 resultptr
= new wxSize((wxSize
&) result
);
17786 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17794 static PyObject
*_wrap_ToolBarBase_GetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17795 PyObject
*resultobj
;
17796 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17798 PyObject
* obj0
= 0 ;
17799 char *kwnames
[] = {
17800 (char *) "self", NULL
17803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMargins",kwnames
,&obj0
)) goto fail
;
17804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17808 result
= (arg1
)->GetMargins();
17810 wxPyEndAllowThreads(__tstate
);
17811 if (PyErr_Occurred()) SWIG_fail
;
17814 wxSize
* resultptr
;
17815 resultptr
= new wxSize((wxSize
&) result
);
17816 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17824 static PyObject
*_wrap_ToolBarBase_GetToolPacking(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17825 PyObject
*resultobj
;
17826 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17828 PyObject
* obj0
= 0 ;
17829 char *kwnames
[] = {
17830 (char *) "self", NULL
17833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolPacking",kwnames
,&obj0
)) goto fail
;
17834 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17838 result
= (int)(arg1
)->GetToolPacking();
17840 wxPyEndAllowThreads(__tstate
);
17841 if (PyErr_Occurred()) SWIG_fail
;
17843 resultobj
= SWIG_FromInt((int)result
);
17850 static PyObject
*_wrap_ToolBarBase_GetToolSeparation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17851 PyObject
*resultobj
;
17852 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17854 PyObject
* obj0
= 0 ;
17855 char *kwnames
[] = {
17856 (char *) "self", NULL
17859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSeparation",kwnames
,&obj0
)) goto fail
;
17860 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17864 result
= (int)(arg1
)->GetToolSeparation();
17866 wxPyEndAllowThreads(__tstate
);
17867 if (PyErr_Occurred()) SWIG_fail
;
17869 resultobj
= SWIG_FromInt((int)result
);
17876 static PyObject
*_wrap_ToolBarBase_SetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17877 PyObject
*resultobj
;
17878 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17880 PyObject
* obj0
= 0 ;
17881 PyObject
* obj1
= 0 ;
17882 char *kwnames
[] = {
17883 (char *) "self",(char *) "nRows", NULL
17886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
17887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17889 arg2
= (int) SWIG_AsInt(obj1
);
17890 if (PyErr_Occurred()) SWIG_fail
;
17892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17893 (arg1
)->SetRows(arg2
);
17895 wxPyEndAllowThreads(__tstate
);
17896 if (PyErr_Occurred()) SWIG_fail
;
17898 Py_INCREF(Py_None
); resultobj
= Py_None
;
17905 static PyObject
*_wrap_ToolBarBase_SetMaxRowsCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17906 PyObject
*resultobj
;
17907 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17910 PyObject
* obj0
= 0 ;
17911 PyObject
* obj1
= 0 ;
17912 PyObject
* obj2
= 0 ;
17913 char *kwnames
[] = {
17914 (char *) "self",(char *) "rows",(char *) "cols", NULL
17917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17918 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17920 arg2
= (int) SWIG_AsInt(obj1
);
17921 if (PyErr_Occurred()) SWIG_fail
;
17922 arg3
= (int) SWIG_AsInt(obj2
);
17923 if (PyErr_Occurred()) SWIG_fail
;
17925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17926 (arg1
)->SetMaxRowsCols(arg2
,arg3
);
17928 wxPyEndAllowThreads(__tstate
);
17929 if (PyErr_Occurred()) SWIG_fail
;
17931 Py_INCREF(Py_None
); resultobj
= Py_None
;
17938 static PyObject
*_wrap_ToolBarBase_GetMaxRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17939 PyObject
*resultobj
;
17940 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17942 PyObject
* obj0
= 0 ;
17943 char *kwnames
[] = {
17944 (char *) "self", NULL
17947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxRows",kwnames
,&obj0
)) goto fail
;
17948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17952 result
= (int)(arg1
)->GetMaxRows();
17954 wxPyEndAllowThreads(__tstate
);
17955 if (PyErr_Occurred()) SWIG_fail
;
17957 resultobj
= SWIG_FromInt((int)result
);
17964 static PyObject
*_wrap_ToolBarBase_GetMaxCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17965 PyObject
*resultobj
;
17966 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17968 PyObject
* obj0
= 0 ;
17969 char *kwnames
[] = {
17970 (char *) "self", NULL
17973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxCols",kwnames
,&obj0
)) goto fail
;
17974 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17978 result
= (int)(arg1
)->GetMaxCols();
17980 wxPyEndAllowThreads(__tstate
);
17981 if (PyErr_Occurred()) SWIG_fail
;
17983 resultobj
= SWIG_FromInt((int)result
);
17990 static PyObject
*_wrap_ToolBarBase_SetToolBitmapSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17991 PyObject
*resultobj
;
17992 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17995 PyObject
* obj0
= 0 ;
17996 PyObject
* obj1
= 0 ;
17997 char *kwnames
[] = {
17998 (char *) "self",(char *) "size", NULL
18001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames
,&obj0
,&obj1
)) goto fail
;
18002 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18003 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18006 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
18009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18010 (arg1
)->SetToolBitmapSize((wxSize
const &)*arg2
);
18012 wxPyEndAllowThreads(__tstate
);
18013 if (PyErr_Occurred()) SWIG_fail
;
18015 Py_INCREF(Py_None
); resultobj
= Py_None
;
18022 static PyObject
*_wrap_ToolBarBase_GetToolBitmapSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18023 PyObject
*resultobj
;
18024 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18026 PyObject
* obj0
= 0 ;
18027 char *kwnames
[] = {
18028 (char *) "self", NULL
18031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames
,&obj0
)) goto fail
;
18032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18036 result
= (arg1
)->GetToolBitmapSize();
18038 wxPyEndAllowThreads(__tstate
);
18039 if (PyErr_Occurred()) SWIG_fail
;
18042 wxSize
* resultptr
;
18043 resultptr
= new wxSize((wxSize
&) result
);
18044 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18052 static PyObject
*_wrap_ToolBarBase_GetToolSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18053 PyObject
*resultobj
;
18054 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18056 PyObject
* obj0
= 0 ;
18057 char *kwnames
[] = {
18058 (char *) "self", NULL
18061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSize",kwnames
,&obj0
)) goto fail
;
18062 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18066 result
= (arg1
)->GetToolSize();
18068 wxPyEndAllowThreads(__tstate
);
18069 if (PyErr_Occurred()) SWIG_fail
;
18072 wxSize
* resultptr
;
18073 resultptr
= new wxSize((wxSize
&) result
);
18074 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18082 static PyObject
*_wrap_ToolBarBase_FindToolForPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18083 PyObject
*resultobj
;
18084 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18087 wxToolBarToolBase
*result
;
18088 PyObject
* obj0
= 0 ;
18089 PyObject
* obj1
= 0 ;
18090 PyObject
* obj2
= 0 ;
18091 char *kwnames
[] = {
18092 (char *) "self",(char *) "x",(char *) "y", NULL
18095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18096 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18098 arg2
= (int) SWIG_AsInt(obj1
);
18099 if (PyErr_Occurred()) SWIG_fail
;
18100 arg3
= (int) SWIG_AsInt(obj2
);
18101 if (PyErr_Occurred()) SWIG_fail
;
18103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18104 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
18106 wxPyEndAllowThreads(__tstate
);
18107 if (PyErr_Occurred()) SWIG_fail
;
18110 resultobj
= wxPyMake_wxObject(result
);
18118 static PyObject
*_wrap_ToolBarBase_FindById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18119 PyObject
*resultobj
;
18120 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18122 wxToolBarToolBase
*result
;
18123 PyObject
* obj0
= 0 ;
18124 PyObject
* obj1
= 0 ;
18125 char *kwnames
[] = {
18126 (char *) "self",(char *) "toolid", NULL
18129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindById",kwnames
,&obj0
,&obj1
)) goto fail
;
18130 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18131 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18132 arg2
= (int) SWIG_AsInt(obj1
);
18133 if (PyErr_Occurred()) SWIG_fail
;
18135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18136 result
= (wxToolBarToolBase
*)((wxToolBarBase
const *)arg1
)->FindById(arg2
);
18138 wxPyEndAllowThreads(__tstate
);
18139 if (PyErr_Occurred()) SWIG_fail
;
18142 resultobj
= wxPyMake_wxObject(result
);
18150 static PyObject
*_wrap_ToolBarBase_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18151 PyObject
*resultobj
;
18152 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18154 PyObject
* obj0
= 0 ;
18155 char *kwnames
[] = {
18156 (char *) "self", NULL
18159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_IsVertical",kwnames
,&obj0
)) goto fail
;
18160 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18161 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18164 result
= (bool)(arg1
)->IsVertical();
18166 wxPyEndAllowThreads(__tstate
);
18167 if (PyErr_Occurred()) SWIG_fail
;
18170 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18178 static PyObject
* ToolBarBase_swigregister(PyObject
*self
, PyObject
*args
) {
18180 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18181 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase
, obj
);
18183 return Py_BuildValue((char *)"");
18185 static PyObject
*_wrap_new_ToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18186 PyObject
*resultobj
;
18187 wxWindow
*arg1
= (wxWindow
*) 0 ;
18189 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
18190 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
18191 wxSize
const &arg4_defvalue
= wxDefaultSize
;
18192 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
18193 long arg5
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
18194 wxString
const &arg6_defvalue
= wxPyToolBarNameStr
;
18195 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
18199 bool temp6
= False
;
18200 PyObject
* obj0
= 0 ;
18201 PyObject
* obj1
= 0 ;
18202 PyObject
* obj2
= 0 ;
18203 PyObject
* obj3
= 0 ;
18204 PyObject
* obj4
= 0 ;
18205 PyObject
* obj5
= 0 ;
18206 char *kwnames
[] = {
18207 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_ToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
18212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18213 arg2
= (int) SWIG_AsInt(obj1
);
18214 if (PyErr_Occurred()) SWIG_fail
;
18218 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18224 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
18228 arg5
= (long) SWIG_AsLong(obj4
);
18229 if (PyErr_Occurred()) SWIG_fail
;
18233 arg6
= wxString_in_helper(obj5
);
18234 if (arg6
== NULL
) SWIG_fail
;
18239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18240 result
= (wxToolBar
*)new wxToolBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
18242 wxPyEndAllowThreads(__tstate
);
18243 if (PyErr_Occurred()) SWIG_fail
;
18246 resultobj
= wxPyMake_wxObject(result
);
18262 static PyObject
*_wrap_new_PreToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18263 PyObject
*resultobj
;
18265 char *kwnames
[] = {
18269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToolBar",kwnames
)) goto fail
;
18271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18272 result
= (wxToolBar
*)new wxToolBar();
18274 wxPyEndAllowThreads(__tstate
);
18275 if (PyErr_Occurred()) SWIG_fail
;
18278 resultobj
= wxPyMake_wxObject(result
);
18286 static PyObject
*_wrap_ToolBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18287 PyObject
*resultobj
;
18288 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
18289 wxWindow
*arg2
= (wxWindow
*) 0 ;
18291 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
18292 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
18293 wxSize
const &arg5_defvalue
= wxDefaultSize
;
18294 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
18295 long arg6
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
18296 wxString
const &arg7_defvalue
= wxPyToolBarNameStr
;
18297 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
18301 bool temp7
= False
;
18302 PyObject
* obj0
= 0 ;
18303 PyObject
* obj1
= 0 ;
18304 PyObject
* obj2
= 0 ;
18305 PyObject
* obj3
= 0 ;
18306 PyObject
* obj4
= 0 ;
18307 PyObject
* obj5
= 0 ;
18308 PyObject
* obj6
= 0 ;
18309 char *kwnames
[] = {
18310 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:ToolBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
18314 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBar
,
18315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18316 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18318 arg3
= (int) SWIG_AsInt(obj2
);
18319 if (PyErr_Occurred()) SWIG_fail
;
18323 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18329 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
18333 arg6
= (long) SWIG_AsLong(obj5
);
18334 if (PyErr_Occurred()) SWIG_fail
;
18338 arg7
= wxString_in_helper(obj6
);
18339 if (arg7
== NULL
) SWIG_fail
;
18344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18345 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
18347 wxPyEndAllowThreads(__tstate
);
18348 if (PyErr_Occurred()) SWIG_fail
;
18351 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18367 static PyObject
*_wrap_ToolBar_FindToolForPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18368 PyObject
*resultobj
;
18369 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
18372 wxToolBarToolBase
*result
;
18373 PyObject
* obj0
= 0 ;
18374 PyObject
* obj1
= 0 ;
18375 PyObject
* obj2
= 0 ;
18376 char *kwnames
[] = {
18377 (char *) "self",(char *) "x",(char *) "y", NULL
18380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBar_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBar
,
18382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18383 arg2
= (int) SWIG_AsInt(obj1
);
18384 if (PyErr_Occurred()) SWIG_fail
;
18385 arg3
= (int) SWIG_AsInt(obj2
);
18386 if (PyErr_Occurred()) SWIG_fail
;
18388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18389 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
18391 wxPyEndAllowThreads(__tstate
);
18392 if (PyErr_Occurred()) SWIG_fail
;
18395 resultobj
= wxPyMake_wxObject(result
);
18403 static PyObject
*_wrap_ToolBar_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18404 PyObject
*resultobj
;
18405 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
18406 wxVisualAttributes result
;
18407 PyObject
* obj0
= 0 ;
18408 char *kwnames
[] = {
18409 (char *) "variant", NULL
18412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
18414 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
18415 if (PyErr_Occurred()) SWIG_fail
;
18418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18419 result
= wxToolBar::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
18421 wxPyEndAllowThreads(__tstate
);
18422 if (PyErr_Occurred()) SWIG_fail
;
18425 wxVisualAttributes
* resultptr
;
18426 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
18427 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
18435 static PyObject
* ToolBar_swigregister(PyObject
*self
, PyObject
*args
) {
18437 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18438 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar
, obj
);
18440 return Py_BuildValue((char *)"");
18442 static int _wrap_ListCtrlNameStr_set(PyObject
*_val
) {
18443 PyErr_SetString(PyExc_TypeError
,"Variable ListCtrlNameStr is read-only.");
18448 static PyObject
*_wrap_ListCtrlNameStr_get() {
18453 pyobj
= PyUnicode_FromWideChar((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
18455 pyobj
= PyString_FromStringAndSize((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
18462 static PyObject
*_wrap_new_ListItemAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18463 PyObject
*resultobj
;
18464 wxColour
const &arg1_defvalue
= wxNullColour
;
18465 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
18466 wxColour
const &arg2_defvalue
= wxNullColour
;
18467 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
18468 wxFont
const &arg3_defvalue
= wxNullFont
;
18469 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
18470 wxListItemAttr
*result
;
18473 PyObject
* obj0
= 0 ;
18474 PyObject
* obj1
= 0 ;
18475 PyObject
* obj2
= 0 ;
18476 char *kwnames
[] = {
18477 (char *) "colText",(char *) "colBack",(char *) "font", NULL
18480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ListItemAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18484 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
18490 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18494 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
18495 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18497 if (arg3
== NULL
) {
18498 PyErr_SetString(PyExc_TypeError
,"null reference");
18503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18504 result
= (wxListItemAttr
*)new wxListItemAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
);
18506 wxPyEndAllowThreads(__tstate
);
18507 if (PyErr_Occurred()) SWIG_fail
;
18509 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 1);
18516 static PyObject
*_wrap_ListItemAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18517 PyObject
*resultobj
;
18518 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18519 wxColour
*arg2
= 0 ;
18521 PyObject
* obj0
= 0 ;
18522 PyObject
* obj1
= 0 ;
18523 char *kwnames
[] = {
18524 (char *) "self",(char *) "colText", NULL
18527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18532 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18536 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
18538 wxPyEndAllowThreads(__tstate
);
18539 if (PyErr_Occurred()) SWIG_fail
;
18541 Py_INCREF(Py_None
); resultobj
= Py_None
;
18548 static PyObject
*_wrap_ListItemAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18549 PyObject
*resultobj
;
18550 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18551 wxColour
*arg2
= 0 ;
18553 PyObject
* obj0
= 0 ;
18554 PyObject
* obj1
= 0 ;
18555 char *kwnames
[] = {
18556 (char *) "self",(char *) "colBack", NULL
18559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18560 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18564 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18568 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
18570 wxPyEndAllowThreads(__tstate
);
18571 if (PyErr_Occurred()) SWIG_fail
;
18573 Py_INCREF(Py_None
); resultobj
= Py_None
;
18580 static PyObject
*_wrap_ListItemAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18581 PyObject
*resultobj
;
18582 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18584 PyObject
* obj0
= 0 ;
18585 PyObject
* obj1
= 0 ;
18586 char *kwnames
[] = {
18587 (char *) "self",(char *) "font", NULL
18590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
18591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18593 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
18594 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18596 if (arg2
== NULL
) {
18597 PyErr_SetString(PyExc_TypeError
,"null reference");
18601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18602 (arg1
)->SetFont((wxFont
const &)*arg2
);
18604 wxPyEndAllowThreads(__tstate
);
18605 if (PyErr_Occurred()) SWIG_fail
;
18607 Py_INCREF(Py_None
); resultobj
= Py_None
;
18614 static PyObject
*_wrap_ListItemAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18615 PyObject
*resultobj
;
18616 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18618 PyObject
* obj0
= 0 ;
18619 char *kwnames
[] = {
18620 (char *) "self", NULL
18623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
18624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18628 result
= (bool)(arg1
)->HasTextColour();
18630 wxPyEndAllowThreads(__tstate
);
18631 if (PyErr_Occurred()) SWIG_fail
;
18634 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18642 static PyObject
*_wrap_ListItemAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18643 PyObject
*resultobj
;
18644 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18646 PyObject
* obj0
= 0 ;
18647 char *kwnames
[] = {
18648 (char *) "self", NULL
18651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
18652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18656 result
= (bool)(arg1
)->HasBackgroundColour();
18658 wxPyEndAllowThreads(__tstate
);
18659 if (PyErr_Occurred()) SWIG_fail
;
18662 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18670 static PyObject
*_wrap_ListItemAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18671 PyObject
*resultobj
;
18672 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18674 PyObject
* obj0
= 0 ;
18675 char *kwnames
[] = {
18676 (char *) "self", NULL
18679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasFont",kwnames
,&obj0
)) goto fail
;
18680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18684 result
= (bool)(arg1
)->HasFont();
18686 wxPyEndAllowThreads(__tstate
);
18687 if (PyErr_Occurred()) SWIG_fail
;
18690 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18698 static PyObject
*_wrap_ListItemAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18699 PyObject
*resultobj
;
18700 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18702 PyObject
* obj0
= 0 ;
18703 char *kwnames
[] = {
18704 (char *) "self", NULL
18707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
18708 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18709 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18712 result
= (arg1
)->GetTextColour();
18714 wxPyEndAllowThreads(__tstate
);
18715 if (PyErr_Occurred()) SWIG_fail
;
18718 wxColour
* resultptr
;
18719 resultptr
= new wxColour((wxColour
&) result
);
18720 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18728 static PyObject
*_wrap_ListItemAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18729 PyObject
*resultobj
;
18730 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18732 PyObject
* obj0
= 0 ;
18733 char *kwnames
[] = {
18734 (char *) "self", NULL
18737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
18738 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18739 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18742 result
= (arg1
)->GetBackgroundColour();
18744 wxPyEndAllowThreads(__tstate
);
18745 if (PyErr_Occurred()) SWIG_fail
;
18748 wxColour
* resultptr
;
18749 resultptr
= new wxColour((wxColour
&) result
);
18750 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18758 static PyObject
*_wrap_ListItemAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18759 PyObject
*resultobj
;
18760 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18762 PyObject
* obj0
= 0 ;
18763 char *kwnames
[] = {
18764 (char *) "self", NULL
18767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetFont",kwnames
,&obj0
)) goto fail
;
18768 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18772 result
= (arg1
)->GetFont();
18774 wxPyEndAllowThreads(__tstate
);
18775 if (PyErr_Occurred()) SWIG_fail
;
18778 wxFont
* resultptr
;
18779 resultptr
= new wxFont((wxFont
&) result
);
18780 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
18788 static PyObject
*_wrap_ListItemAttr_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18789 PyObject
*resultobj
;
18790 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18791 PyObject
* obj0
= 0 ;
18792 char *kwnames
[] = {
18793 (char *) "self", NULL
18796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_Destroy",kwnames
,&obj0
)) goto fail
;
18797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18801 wxListItemAttr_Destroy(arg1
);
18803 wxPyEndAllowThreads(__tstate
);
18804 if (PyErr_Occurred()) SWIG_fail
;
18806 Py_INCREF(Py_None
); resultobj
= Py_None
;
18813 static PyObject
* ListItemAttr_swigregister(PyObject
*self
, PyObject
*args
) {
18815 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18816 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr
, obj
);
18818 return Py_BuildValue((char *)"");
18820 static PyObject
*_wrap_new_ListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18821 PyObject
*resultobj
;
18822 wxListItem
*result
;
18823 char *kwnames
[] = {
18827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ListItem",kwnames
)) goto fail
;
18829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18830 result
= (wxListItem
*)new wxListItem();
18832 wxPyEndAllowThreads(__tstate
);
18833 if (PyErr_Occurred()) SWIG_fail
;
18836 resultobj
= wxPyMake_wxObject(result
);
18844 static PyObject
*_wrap_delete_ListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18845 PyObject
*resultobj
;
18846 wxListItem
*arg1
= (wxListItem
*) 0 ;
18847 PyObject
* obj0
= 0 ;
18848 char *kwnames
[] = {
18849 (char *) "self", NULL
18852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ListItem",kwnames
,&obj0
)) goto fail
;
18853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18859 wxPyEndAllowThreads(__tstate
);
18860 if (PyErr_Occurred()) SWIG_fail
;
18862 Py_INCREF(Py_None
); resultobj
= Py_None
;
18869 static PyObject
*_wrap_ListItem_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18870 PyObject
*resultobj
;
18871 wxListItem
*arg1
= (wxListItem
*) 0 ;
18872 PyObject
* obj0
= 0 ;
18873 char *kwnames
[] = {
18874 (char *) "self", NULL
18877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_Clear",kwnames
,&obj0
)) goto fail
;
18878 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18884 wxPyEndAllowThreads(__tstate
);
18885 if (PyErr_Occurred()) SWIG_fail
;
18887 Py_INCREF(Py_None
); resultobj
= Py_None
;
18894 static PyObject
*_wrap_ListItem_ClearAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18895 PyObject
*resultobj
;
18896 wxListItem
*arg1
= (wxListItem
*) 0 ;
18897 PyObject
* obj0
= 0 ;
18898 char *kwnames
[] = {
18899 (char *) "self", NULL
18902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_ClearAttributes",kwnames
,&obj0
)) goto fail
;
18903 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18904 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18907 (arg1
)->ClearAttributes();
18909 wxPyEndAllowThreads(__tstate
);
18910 if (PyErr_Occurred()) SWIG_fail
;
18912 Py_INCREF(Py_None
); resultobj
= Py_None
;
18919 static PyObject
*_wrap_ListItem_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18920 PyObject
*resultobj
;
18921 wxListItem
*arg1
= (wxListItem
*) 0 ;
18923 PyObject
* obj0
= 0 ;
18924 PyObject
* obj1
= 0 ;
18925 char *kwnames
[] = {
18926 (char *) "self",(char *) "mask", NULL
18929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
18930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18932 arg2
= (long) SWIG_AsLong(obj1
);
18933 if (PyErr_Occurred()) SWIG_fail
;
18935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18936 (arg1
)->SetMask(arg2
);
18938 wxPyEndAllowThreads(__tstate
);
18939 if (PyErr_Occurred()) SWIG_fail
;
18941 Py_INCREF(Py_None
); resultobj
= Py_None
;
18948 static PyObject
*_wrap_ListItem_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18949 PyObject
*resultobj
;
18950 wxListItem
*arg1
= (wxListItem
*) 0 ;
18952 PyObject
* obj0
= 0 ;
18953 PyObject
* obj1
= 0 ;
18954 char *kwnames
[] = {
18955 (char *) "self",(char *) "id", NULL
18958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
18959 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18961 arg2
= (long) SWIG_AsLong(obj1
);
18962 if (PyErr_Occurred()) SWIG_fail
;
18964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18965 (arg1
)->SetId(arg2
);
18967 wxPyEndAllowThreads(__tstate
);
18968 if (PyErr_Occurred()) SWIG_fail
;
18970 Py_INCREF(Py_None
); resultobj
= Py_None
;
18977 static PyObject
*_wrap_ListItem_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18978 PyObject
*resultobj
;
18979 wxListItem
*arg1
= (wxListItem
*) 0 ;
18981 PyObject
* obj0
= 0 ;
18982 PyObject
* obj1
= 0 ;
18983 char *kwnames
[] = {
18984 (char *) "self",(char *) "col", NULL
18987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
18988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18990 arg2
= (int) SWIG_AsInt(obj1
);
18991 if (PyErr_Occurred()) SWIG_fail
;
18993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18994 (arg1
)->SetColumn(arg2
);
18996 wxPyEndAllowThreads(__tstate
);
18997 if (PyErr_Occurred()) SWIG_fail
;
18999 Py_INCREF(Py_None
); resultobj
= Py_None
;
19006 static PyObject
*_wrap_ListItem_SetState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19007 PyObject
*resultobj
;
19008 wxListItem
*arg1
= (wxListItem
*) 0 ;
19010 PyObject
* obj0
= 0 ;
19011 PyObject
* obj1
= 0 ;
19012 char *kwnames
[] = {
19013 (char *) "self",(char *) "state", NULL
19016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetState",kwnames
,&obj0
,&obj1
)) goto fail
;
19017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19019 arg2
= (long) SWIG_AsLong(obj1
);
19020 if (PyErr_Occurred()) SWIG_fail
;
19022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19023 (arg1
)->SetState(arg2
);
19025 wxPyEndAllowThreads(__tstate
);
19026 if (PyErr_Occurred()) SWIG_fail
;
19028 Py_INCREF(Py_None
); resultobj
= Py_None
;
19035 static PyObject
*_wrap_ListItem_SetStateMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19036 PyObject
*resultobj
;
19037 wxListItem
*arg1
= (wxListItem
*) 0 ;
19039 PyObject
* obj0
= 0 ;
19040 PyObject
* obj1
= 0 ;
19041 char *kwnames
[] = {
19042 (char *) "self",(char *) "stateMask", NULL
19045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetStateMask",kwnames
,&obj0
,&obj1
)) goto fail
;
19046 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19047 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19048 arg2
= (long) SWIG_AsLong(obj1
);
19049 if (PyErr_Occurred()) SWIG_fail
;
19051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19052 (arg1
)->SetStateMask(arg2
);
19054 wxPyEndAllowThreads(__tstate
);
19055 if (PyErr_Occurred()) SWIG_fail
;
19057 Py_INCREF(Py_None
); resultobj
= Py_None
;
19064 static PyObject
*_wrap_ListItem_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19065 PyObject
*resultobj
;
19066 wxListItem
*arg1
= (wxListItem
*) 0 ;
19067 wxString
*arg2
= 0 ;
19068 bool temp2
= False
;
19069 PyObject
* obj0
= 0 ;
19070 PyObject
* obj1
= 0 ;
19071 char *kwnames
[] = {
19072 (char *) "self",(char *) "text", NULL
19075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
19076 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19079 arg2
= wxString_in_helper(obj1
);
19080 if (arg2
== NULL
) SWIG_fail
;
19084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19085 (arg1
)->SetText((wxString
const &)*arg2
);
19087 wxPyEndAllowThreads(__tstate
);
19088 if (PyErr_Occurred()) SWIG_fail
;
19090 Py_INCREF(Py_None
); resultobj
= Py_None
;
19105 static PyObject
*_wrap_ListItem_SetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19106 PyObject
*resultobj
;
19107 wxListItem
*arg1
= (wxListItem
*) 0 ;
19109 PyObject
* obj0
= 0 ;
19110 PyObject
* obj1
= 0 ;
19111 char *kwnames
[] = {
19112 (char *) "self",(char *) "image", NULL
19115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetImage",kwnames
,&obj0
,&obj1
)) goto fail
;
19116 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19118 arg2
= (int) SWIG_AsInt(obj1
);
19119 if (PyErr_Occurred()) SWIG_fail
;
19121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19122 (arg1
)->SetImage(arg2
);
19124 wxPyEndAllowThreads(__tstate
);
19125 if (PyErr_Occurred()) SWIG_fail
;
19127 Py_INCREF(Py_None
); resultobj
= Py_None
;
19134 static PyObject
*_wrap_ListItem_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19135 PyObject
*resultobj
;
19136 wxListItem
*arg1
= (wxListItem
*) 0 ;
19138 PyObject
* obj0
= 0 ;
19139 PyObject
* obj1
= 0 ;
19140 char *kwnames
[] = {
19141 (char *) "self",(char *) "data", NULL
19144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
19145 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19147 arg2
= (long) SWIG_AsLong(obj1
);
19148 if (PyErr_Occurred()) SWIG_fail
;
19150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19151 (arg1
)->SetData(arg2
);
19153 wxPyEndAllowThreads(__tstate
);
19154 if (PyErr_Occurred()) SWIG_fail
;
19156 Py_INCREF(Py_None
); resultobj
= Py_None
;
19163 static PyObject
*_wrap_ListItem_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19164 PyObject
*resultobj
;
19165 wxListItem
*arg1
= (wxListItem
*) 0 ;
19167 PyObject
* obj0
= 0 ;
19168 PyObject
* obj1
= 0 ;
19169 char *kwnames
[] = {
19170 (char *) "self",(char *) "width", NULL
19173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
19174 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19175 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19176 arg2
= (int) SWIG_AsInt(obj1
);
19177 if (PyErr_Occurred()) SWIG_fail
;
19179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19180 (arg1
)->SetWidth(arg2
);
19182 wxPyEndAllowThreads(__tstate
);
19183 if (PyErr_Occurred()) SWIG_fail
;
19185 Py_INCREF(Py_None
); resultobj
= Py_None
;
19192 static PyObject
*_wrap_ListItem_SetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19193 PyObject
*resultobj
;
19194 wxListItem
*arg1
= (wxListItem
*) 0 ;
19196 PyObject
* obj0
= 0 ;
19197 PyObject
* obj1
= 0 ;
19198 char *kwnames
[] = {
19199 (char *) "self",(char *) "align", NULL
19202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetAlign",kwnames
,&obj0
,&obj1
)) goto fail
;
19203 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19205 arg2
= (wxListColumnFormat
) SWIG_AsInt(obj1
);
19206 if (PyErr_Occurred()) SWIG_fail
;
19208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19209 (arg1
)->SetAlign((wxListColumnFormat
)arg2
);
19211 wxPyEndAllowThreads(__tstate
);
19212 if (PyErr_Occurred()) SWIG_fail
;
19214 Py_INCREF(Py_None
); resultobj
= Py_None
;
19221 static PyObject
*_wrap_ListItem_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19222 PyObject
*resultobj
;
19223 wxListItem
*arg1
= (wxListItem
*) 0 ;
19224 wxColour
*arg2
= 0 ;
19226 PyObject
* obj0
= 0 ;
19227 PyObject
* obj1
= 0 ;
19228 char *kwnames
[] = {
19229 (char *) "self",(char *) "colText", NULL
19232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
19233 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19237 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19241 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
19243 wxPyEndAllowThreads(__tstate
);
19244 if (PyErr_Occurred()) SWIG_fail
;
19246 Py_INCREF(Py_None
); resultobj
= Py_None
;
19253 static PyObject
*_wrap_ListItem_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19254 PyObject
*resultobj
;
19255 wxListItem
*arg1
= (wxListItem
*) 0 ;
19256 wxColour
*arg2
= 0 ;
19258 PyObject
* obj0
= 0 ;
19259 PyObject
* obj1
= 0 ;
19260 char *kwnames
[] = {
19261 (char *) "self",(char *) "colBack", NULL
19264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
19265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19269 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19273 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
19275 wxPyEndAllowThreads(__tstate
);
19276 if (PyErr_Occurred()) SWIG_fail
;
19278 Py_INCREF(Py_None
); resultobj
= Py_None
;
19285 static PyObject
*_wrap_ListItem_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19286 PyObject
*resultobj
;
19287 wxListItem
*arg1
= (wxListItem
*) 0 ;
19289 PyObject
* obj0
= 0 ;
19290 PyObject
* obj1
= 0 ;
19291 char *kwnames
[] = {
19292 (char *) "self",(char *) "font", NULL
19295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
19296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19298 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
19299 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19301 if (arg2
== NULL
) {
19302 PyErr_SetString(PyExc_TypeError
,"null reference");
19306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19307 (arg1
)->SetFont((wxFont
const &)*arg2
);
19309 wxPyEndAllowThreads(__tstate
);
19310 if (PyErr_Occurred()) SWIG_fail
;
19312 Py_INCREF(Py_None
); resultobj
= Py_None
;
19319 static PyObject
*_wrap_ListItem_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19320 PyObject
*resultobj
;
19321 wxListItem
*arg1
= (wxListItem
*) 0 ;
19323 PyObject
* obj0
= 0 ;
19324 char *kwnames
[] = {
19325 (char *) "self", NULL
19328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetMask",kwnames
,&obj0
)) goto fail
;
19329 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19333 result
= (long)(arg1
)->GetMask();
19335 wxPyEndAllowThreads(__tstate
);
19336 if (PyErr_Occurred()) SWIG_fail
;
19338 resultobj
= SWIG_FromLong((long)result
);
19345 static PyObject
*_wrap_ListItem_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19346 PyObject
*resultobj
;
19347 wxListItem
*arg1
= (wxListItem
*) 0 ;
19349 PyObject
* obj0
= 0 ;
19350 char *kwnames
[] = {
19351 (char *) "self", NULL
19354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetId",kwnames
,&obj0
)) goto fail
;
19355 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19359 result
= (long)(arg1
)->GetId();
19361 wxPyEndAllowThreads(__tstate
);
19362 if (PyErr_Occurred()) SWIG_fail
;
19364 resultobj
= SWIG_FromLong((long)result
);
19371 static PyObject
*_wrap_ListItem_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19372 PyObject
*resultobj
;
19373 wxListItem
*arg1
= (wxListItem
*) 0 ;
19375 PyObject
* obj0
= 0 ;
19376 char *kwnames
[] = {
19377 (char *) "self", NULL
19380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetColumn",kwnames
,&obj0
)) goto fail
;
19381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19385 result
= (int)(arg1
)->GetColumn();
19387 wxPyEndAllowThreads(__tstate
);
19388 if (PyErr_Occurred()) SWIG_fail
;
19390 resultobj
= SWIG_FromInt((int)result
);
19397 static PyObject
*_wrap_ListItem_GetState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19398 PyObject
*resultobj
;
19399 wxListItem
*arg1
= (wxListItem
*) 0 ;
19401 PyObject
* obj0
= 0 ;
19402 char *kwnames
[] = {
19403 (char *) "self", NULL
19406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetState",kwnames
,&obj0
)) goto fail
;
19407 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19408 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19411 result
= (long)(arg1
)->GetState();
19413 wxPyEndAllowThreads(__tstate
);
19414 if (PyErr_Occurred()) SWIG_fail
;
19416 resultobj
= SWIG_FromLong((long)result
);
19423 static PyObject
*_wrap_ListItem_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19424 PyObject
*resultobj
;
19425 wxListItem
*arg1
= (wxListItem
*) 0 ;
19427 PyObject
* obj0
= 0 ;
19428 char *kwnames
[] = {
19429 (char *) "self", NULL
19432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetText",kwnames
,&obj0
)) goto fail
;
19433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19438 wxString
const &_result_ref
= (arg1
)->GetText();
19439 result
= (wxString
*) &_result_ref
;
19442 wxPyEndAllowThreads(__tstate
);
19443 if (PyErr_Occurred()) SWIG_fail
;
19447 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19449 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19458 static PyObject
*_wrap_ListItem_GetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19459 PyObject
*resultobj
;
19460 wxListItem
*arg1
= (wxListItem
*) 0 ;
19462 PyObject
* obj0
= 0 ;
19463 char *kwnames
[] = {
19464 (char *) "self", NULL
19467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetImage",kwnames
,&obj0
)) goto fail
;
19468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19472 result
= (int)(arg1
)->GetImage();
19474 wxPyEndAllowThreads(__tstate
);
19475 if (PyErr_Occurred()) SWIG_fail
;
19477 resultobj
= SWIG_FromInt((int)result
);
19484 static PyObject
*_wrap_ListItem_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19485 PyObject
*resultobj
;
19486 wxListItem
*arg1
= (wxListItem
*) 0 ;
19488 PyObject
* obj0
= 0 ;
19489 char *kwnames
[] = {
19490 (char *) "self", NULL
19493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetData",kwnames
,&obj0
)) goto fail
;
19494 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19498 result
= (long)(arg1
)->GetData();
19500 wxPyEndAllowThreads(__tstate
);
19501 if (PyErr_Occurred()) SWIG_fail
;
19503 resultobj
= SWIG_FromLong((long)result
);
19510 static PyObject
*_wrap_ListItem_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19511 PyObject
*resultobj
;
19512 wxListItem
*arg1
= (wxListItem
*) 0 ;
19514 PyObject
* obj0
= 0 ;
19515 char *kwnames
[] = {
19516 (char *) "self", NULL
19519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetWidth",kwnames
,&obj0
)) goto fail
;
19520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19524 result
= (int)(arg1
)->GetWidth();
19526 wxPyEndAllowThreads(__tstate
);
19527 if (PyErr_Occurred()) SWIG_fail
;
19529 resultobj
= SWIG_FromInt((int)result
);
19536 static PyObject
*_wrap_ListItem_GetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19537 PyObject
*resultobj
;
19538 wxListItem
*arg1
= (wxListItem
*) 0 ;
19540 PyObject
* obj0
= 0 ;
19541 char *kwnames
[] = {
19542 (char *) "self", NULL
19545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAlign",kwnames
,&obj0
)) goto fail
;
19546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19550 result
= (int)(arg1
)->GetAlign();
19552 wxPyEndAllowThreads(__tstate
);
19553 if (PyErr_Occurred()) SWIG_fail
;
19555 resultobj
= SWIG_FromInt((int)result
);
19562 static PyObject
*_wrap_ListItem_GetAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19563 PyObject
*resultobj
;
19564 wxListItem
*arg1
= (wxListItem
*) 0 ;
19565 wxListItemAttr
*result
;
19566 PyObject
* obj0
= 0 ;
19567 char *kwnames
[] = {
19568 (char *) "self", NULL
19571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAttributes",kwnames
,&obj0
)) goto fail
;
19572 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19573 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19576 result
= (wxListItemAttr
*)(arg1
)->GetAttributes();
19578 wxPyEndAllowThreads(__tstate
);
19579 if (PyErr_Occurred()) SWIG_fail
;
19581 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 0);
19588 static PyObject
*_wrap_ListItem_HasAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19589 PyObject
*resultobj
;
19590 wxListItem
*arg1
= (wxListItem
*) 0 ;
19592 PyObject
* obj0
= 0 ;
19593 char *kwnames
[] = {
19594 (char *) "self", NULL
19597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_HasAttributes",kwnames
,&obj0
)) goto fail
;
19598 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19602 result
= (bool)(arg1
)->HasAttributes();
19604 wxPyEndAllowThreads(__tstate
);
19605 if (PyErr_Occurred()) SWIG_fail
;
19608 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19616 static PyObject
*_wrap_ListItem_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19617 PyObject
*resultobj
;
19618 wxListItem
*arg1
= (wxListItem
*) 0 ;
19620 PyObject
* obj0
= 0 ;
19621 char *kwnames
[] = {
19622 (char *) "self", NULL
19625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetTextColour",kwnames
,&obj0
)) goto fail
;
19626 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19627 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19630 result
= ((wxListItem
const *)arg1
)->GetTextColour();
19632 wxPyEndAllowThreads(__tstate
);
19633 if (PyErr_Occurred()) SWIG_fail
;
19636 wxColour
* resultptr
;
19637 resultptr
= new wxColour((wxColour
&) result
);
19638 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
19646 static PyObject
*_wrap_ListItem_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19647 PyObject
*resultobj
;
19648 wxListItem
*arg1
= (wxListItem
*) 0 ;
19650 PyObject
* obj0
= 0 ;
19651 char *kwnames
[] = {
19652 (char *) "self", NULL
19655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
19656 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19660 result
= ((wxListItem
const *)arg1
)->GetBackgroundColour();
19662 wxPyEndAllowThreads(__tstate
);
19663 if (PyErr_Occurred()) SWIG_fail
;
19666 wxColour
* resultptr
;
19667 resultptr
= new wxColour((wxColour
&) result
);
19668 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
19676 static PyObject
*_wrap_ListItem_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19677 PyObject
*resultobj
;
19678 wxListItem
*arg1
= (wxListItem
*) 0 ;
19680 PyObject
* obj0
= 0 ;
19681 char *kwnames
[] = {
19682 (char *) "self", NULL
19685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetFont",kwnames
,&obj0
)) goto fail
;
19686 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19687 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19690 result
= ((wxListItem
const *)arg1
)->GetFont();
19692 wxPyEndAllowThreads(__tstate
);
19693 if (PyErr_Occurred()) SWIG_fail
;
19696 wxFont
* resultptr
;
19697 resultptr
= new wxFont((wxFont
&) result
);
19698 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
19706 static PyObject
*_wrap_ListItem_m_mask_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19707 PyObject
*resultobj
;
19708 wxListItem
*arg1
= (wxListItem
*) 0 ;
19710 PyObject
* obj0
= 0 ;
19711 PyObject
* obj1
= 0 ;
19712 char *kwnames
[] = {
19713 (char *) "self",(char *) "m_mask", NULL
19716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_mask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19717 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19719 arg2
= (long) SWIG_AsLong(obj1
);
19720 if (PyErr_Occurred()) SWIG_fail
;
19721 if (arg1
) (arg1
)->m_mask
= arg2
;
19723 Py_INCREF(Py_None
); resultobj
= Py_None
;
19730 static PyObject
*_wrap_ListItem_m_mask_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19731 PyObject
*resultobj
;
19732 wxListItem
*arg1
= (wxListItem
*) 0 ;
19734 PyObject
* obj0
= 0 ;
19735 char *kwnames
[] = {
19736 (char *) "self", NULL
19739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_mask_get",kwnames
,&obj0
)) goto fail
;
19740 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19742 result
= (long) ((arg1
)->m_mask
);
19744 resultobj
= SWIG_FromLong((long)result
);
19751 static PyObject
*_wrap_ListItem_m_itemId_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19752 PyObject
*resultobj
;
19753 wxListItem
*arg1
= (wxListItem
*) 0 ;
19755 PyObject
* obj0
= 0 ;
19756 PyObject
* obj1
= 0 ;
19757 char *kwnames
[] = {
19758 (char *) "self",(char *) "m_itemId", NULL
19761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_itemId_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19762 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19764 arg2
= (long) SWIG_AsLong(obj1
);
19765 if (PyErr_Occurred()) SWIG_fail
;
19766 if (arg1
) (arg1
)->m_itemId
= arg2
;
19768 Py_INCREF(Py_None
); resultobj
= Py_None
;
19775 static PyObject
*_wrap_ListItem_m_itemId_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19776 PyObject
*resultobj
;
19777 wxListItem
*arg1
= (wxListItem
*) 0 ;
19779 PyObject
* obj0
= 0 ;
19780 char *kwnames
[] = {
19781 (char *) "self", NULL
19784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_itemId_get",kwnames
,&obj0
)) goto fail
;
19785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19787 result
= (long) ((arg1
)->m_itemId
);
19789 resultobj
= SWIG_FromLong((long)result
);
19796 static PyObject
*_wrap_ListItem_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19797 PyObject
*resultobj
;
19798 wxListItem
*arg1
= (wxListItem
*) 0 ;
19800 PyObject
* obj0
= 0 ;
19801 PyObject
* obj1
= 0 ;
19802 char *kwnames
[] = {
19803 (char *) "self",(char *) "m_col", NULL
19806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19809 arg2
= (int) SWIG_AsInt(obj1
);
19810 if (PyErr_Occurred()) SWIG_fail
;
19811 if (arg1
) (arg1
)->m_col
= arg2
;
19813 Py_INCREF(Py_None
); resultobj
= Py_None
;
19820 static PyObject
*_wrap_ListItem_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19821 PyObject
*resultobj
;
19822 wxListItem
*arg1
= (wxListItem
*) 0 ;
19824 PyObject
* obj0
= 0 ;
19825 char *kwnames
[] = {
19826 (char *) "self", NULL
19829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_col_get",kwnames
,&obj0
)) goto fail
;
19830 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19831 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19832 result
= (int) ((arg1
)->m_col
);
19834 resultobj
= SWIG_FromInt((int)result
);
19841 static PyObject
*_wrap_ListItem_m_state_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19842 PyObject
*resultobj
;
19843 wxListItem
*arg1
= (wxListItem
*) 0 ;
19845 PyObject
* obj0
= 0 ;
19846 PyObject
* obj1
= 0 ;
19847 char *kwnames
[] = {
19848 (char *) "self",(char *) "m_state", NULL
19851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_state_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19854 arg2
= (long) SWIG_AsLong(obj1
);
19855 if (PyErr_Occurred()) SWIG_fail
;
19856 if (arg1
) (arg1
)->m_state
= arg2
;
19858 Py_INCREF(Py_None
); resultobj
= Py_None
;
19865 static PyObject
*_wrap_ListItem_m_state_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19866 PyObject
*resultobj
;
19867 wxListItem
*arg1
= (wxListItem
*) 0 ;
19869 PyObject
* obj0
= 0 ;
19870 char *kwnames
[] = {
19871 (char *) "self", NULL
19874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_state_get",kwnames
,&obj0
)) goto fail
;
19875 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19877 result
= (long) ((arg1
)->m_state
);
19879 resultobj
= SWIG_FromLong((long)result
);
19886 static PyObject
*_wrap_ListItem_m_stateMask_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19887 PyObject
*resultobj
;
19888 wxListItem
*arg1
= (wxListItem
*) 0 ;
19890 PyObject
* obj0
= 0 ;
19891 PyObject
* obj1
= 0 ;
19892 char *kwnames
[] = {
19893 (char *) "self",(char *) "m_stateMask", NULL
19896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_stateMask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19899 arg2
= (long) SWIG_AsLong(obj1
);
19900 if (PyErr_Occurred()) SWIG_fail
;
19901 if (arg1
) (arg1
)->m_stateMask
= arg2
;
19903 Py_INCREF(Py_None
); resultobj
= Py_None
;
19910 static PyObject
*_wrap_ListItem_m_stateMask_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19911 PyObject
*resultobj
;
19912 wxListItem
*arg1
= (wxListItem
*) 0 ;
19914 PyObject
* obj0
= 0 ;
19915 char *kwnames
[] = {
19916 (char *) "self", NULL
19919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_stateMask_get",kwnames
,&obj0
)) goto fail
;
19920 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19922 result
= (long) ((arg1
)->m_stateMask
);
19924 resultobj
= SWIG_FromLong((long)result
);
19931 static PyObject
*_wrap_ListItem_m_text_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19932 PyObject
*resultobj
;
19933 wxListItem
*arg1
= (wxListItem
*) 0 ;
19934 wxString
*arg2
= (wxString
*) 0 ;
19935 bool temp2
= False
;
19936 PyObject
* obj0
= 0 ;
19937 PyObject
* obj1
= 0 ;
19938 char *kwnames
[] = {
19939 (char *) "self",(char *) "m_text", NULL
19942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_text_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19943 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19946 arg2
= wxString_in_helper(obj1
);
19947 if (arg2
== NULL
) SWIG_fail
;
19950 if (arg1
) (arg1
)->m_text
= *arg2
;
19952 Py_INCREF(Py_None
); resultobj
= Py_None
;
19967 static PyObject
*_wrap_ListItem_m_text_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19968 PyObject
*resultobj
;
19969 wxListItem
*arg1
= (wxListItem
*) 0 ;
19971 PyObject
* obj0
= 0 ;
19972 char *kwnames
[] = {
19973 (char *) "self", NULL
19976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_text_get",kwnames
,&obj0
)) goto fail
;
19977 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19979 result
= (wxString
*)& ((arg1
)->m_text
);
19983 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19985 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19994 static PyObject
*_wrap_ListItem_m_image_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19995 PyObject
*resultobj
;
19996 wxListItem
*arg1
= (wxListItem
*) 0 ;
19998 PyObject
* obj0
= 0 ;
19999 PyObject
* obj1
= 0 ;
20000 char *kwnames
[] = {
20001 (char *) "self",(char *) "m_image", NULL
20004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_image_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20007 arg2
= (int) SWIG_AsInt(obj1
);
20008 if (PyErr_Occurred()) SWIG_fail
;
20009 if (arg1
) (arg1
)->m_image
= arg2
;
20011 Py_INCREF(Py_None
); resultobj
= Py_None
;
20018 static PyObject
*_wrap_ListItem_m_image_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20019 PyObject
*resultobj
;
20020 wxListItem
*arg1
= (wxListItem
*) 0 ;
20022 PyObject
* obj0
= 0 ;
20023 char *kwnames
[] = {
20024 (char *) "self", NULL
20027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_image_get",kwnames
,&obj0
)) goto fail
;
20028 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20030 result
= (int) ((arg1
)->m_image
);
20032 resultobj
= SWIG_FromInt((int)result
);
20039 static PyObject
*_wrap_ListItem_m_data_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20040 PyObject
*resultobj
;
20041 wxListItem
*arg1
= (wxListItem
*) 0 ;
20043 PyObject
* obj0
= 0 ;
20044 PyObject
* obj1
= 0 ;
20045 char *kwnames
[] = {
20046 (char *) "self",(char *) "m_data", NULL
20049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_data_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20050 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20052 arg2
= (long) SWIG_AsLong(obj1
);
20053 if (PyErr_Occurred()) SWIG_fail
;
20054 if (arg1
) (arg1
)->m_data
= arg2
;
20056 Py_INCREF(Py_None
); resultobj
= Py_None
;
20063 static PyObject
*_wrap_ListItem_m_data_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20064 PyObject
*resultobj
;
20065 wxListItem
*arg1
= (wxListItem
*) 0 ;
20067 PyObject
* obj0
= 0 ;
20068 char *kwnames
[] = {
20069 (char *) "self", NULL
20072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_data_get",kwnames
,&obj0
)) goto fail
;
20073 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20075 result
= (long) ((arg1
)->m_data
);
20077 resultobj
= SWIG_FromLong((long)result
);
20084 static PyObject
*_wrap_ListItem_m_format_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20085 PyObject
*resultobj
;
20086 wxListItem
*arg1
= (wxListItem
*) 0 ;
20088 PyObject
* obj0
= 0 ;
20089 PyObject
* obj1
= 0 ;
20090 char *kwnames
[] = {
20091 (char *) "self",(char *) "m_format", NULL
20094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_format_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20095 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20097 arg2
= (int) SWIG_AsInt(obj1
);
20098 if (PyErr_Occurred()) SWIG_fail
;
20099 if (arg1
) (arg1
)->m_format
= arg2
;
20101 Py_INCREF(Py_None
); resultobj
= Py_None
;
20108 static PyObject
*_wrap_ListItem_m_format_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20109 PyObject
*resultobj
;
20110 wxListItem
*arg1
= (wxListItem
*) 0 ;
20112 PyObject
* obj0
= 0 ;
20113 char *kwnames
[] = {
20114 (char *) "self", NULL
20117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_format_get",kwnames
,&obj0
)) goto fail
;
20118 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20120 result
= (int) ((arg1
)->m_format
);
20122 resultobj
= SWIG_FromInt((int)result
);
20129 static PyObject
*_wrap_ListItem_m_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20130 PyObject
*resultobj
;
20131 wxListItem
*arg1
= (wxListItem
*) 0 ;
20133 PyObject
* obj0
= 0 ;
20134 PyObject
* obj1
= 0 ;
20135 char *kwnames
[] = {
20136 (char *) "self",(char *) "m_width", NULL
20139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20142 arg2
= (int) SWIG_AsInt(obj1
);
20143 if (PyErr_Occurred()) SWIG_fail
;
20144 if (arg1
) (arg1
)->m_width
= arg2
;
20146 Py_INCREF(Py_None
); resultobj
= Py_None
;
20153 static PyObject
*_wrap_ListItem_m_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20154 PyObject
*resultobj
;
20155 wxListItem
*arg1
= (wxListItem
*) 0 ;
20157 PyObject
* obj0
= 0 ;
20158 char *kwnames
[] = {
20159 (char *) "self", NULL
20162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_width_get",kwnames
,&obj0
)) goto fail
;
20163 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20165 result
= (int) ((arg1
)->m_width
);
20167 resultobj
= SWIG_FromInt((int)result
);
20174 static PyObject
* ListItem_swigregister(PyObject
*self
, PyObject
*args
) {
20176 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20177 SWIG_TypeClientData(SWIGTYPE_p_wxListItem
, obj
);
20179 return Py_BuildValue((char *)"");
20181 static PyObject
*_wrap_new_ListEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20182 PyObject
*resultobj
;
20183 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20184 int arg2
= (int) 0 ;
20185 wxListEvent
*result
;
20186 PyObject
* obj0
= 0 ;
20187 PyObject
* obj1
= 0 ;
20188 char *kwnames
[] = {
20189 (char *) "commandType",(char *) "id", NULL
20192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ListEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20194 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
20195 if (PyErr_Occurred()) SWIG_fail
;
20198 arg2
= (int) SWIG_AsInt(obj1
);
20199 if (PyErr_Occurred()) SWIG_fail
;
20202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20203 result
= (wxListEvent
*)new wxListEvent(arg1
,arg2
);
20205 wxPyEndAllowThreads(__tstate
);
20206 if (PyErr_Occurred()) SWIG_fail
;
20208 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListEvent
, 1);
20215 static PyObject
*_wrap_ListEvent_m_code_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20216 PyObject
*resultobj
;
20217 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20219 PyObject
* obj0
= 0 ;
20220 PyObject
* obj1
= 0 ;
20221 char *kwnames
[] = {
20222 (char *) "self",(char *) "m_code", NULL
20225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_code_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20226 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20228 arg2
= (int) SWIG_AsInt(obj1
);
20229 if (PyErr_Occurred()) SWIG_fail
;
20230 if (arg1
) (arg1
)->m_code
= arg2
;
20232 Py_INCREF(Py_None
); resultobj
= Py_None
;
20239 static PyObject
*_wrap_ListEvent_m_code_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20240 PyObject
*resultobj
;
20241 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20243 PyObject
* obj0
= 0 ;
20244 char *kwnames
[] = {
20245 (char *) "self", NULL
20248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_code_get",kwnames
,&obj0
)) goto fail
;
20249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20251 result
= (int) ((arg1
)->m_code
);
20253 resultobj
= SWIG_FromInt((int)result
);
20260 static PyObject
*_wrap_ListEvent_m_oldItemIndex_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20261 PyObject
*resultobj
;
20262 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20264 PyObject
* obj0
= 0 ;
20265 PyObject
* obj1
= 0 ;
20266 char *kwnames
[] = {
20267 (char *) "self",(char *) "m_oldItemIndex", NULL
20270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_oldItemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20273 arg2
= (long) SWIG_AsLong(obj1
);
20274 if (PyErr_Occurred()) SWIG_fail
;
20275 if (arg1
) (arg1
)->m_oldItemIndex
= arg2
;
20277 Py_INCREF(Py_None
); resultobj
= Py_None
;
20284 static PyObject
*_wrap_ListEvent_m_oldItemIndex_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20285 PyObject
*resultobj
;
20286 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20288 PyObject
* obj0
= 0 ;
20289 char *kwnames
[] = {
20290 (char *) "self", NULL
20293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames
,&obj0
)) goto fail
;
20294 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20296 result
= (long) ((arg1
)->m_oldItemIndex
);
20298 resultobj
= SWIG_FromLong((long)result
);
20305 static PyObject
*_wrap_ListEvent_m_itemIndex_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20306 PyObject
*resultobj
;
20307 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20309 PyObject
* obj0
= 0 ;
20310 PyObject
* obj1
= 0 ;
20311 char *kwnames
[] = {
20312 (char *) "self",(char *) "m_itemIndex", NULL
20315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_itemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20316 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20318 arg2
= (long) SWIG_AsLong(obj1
);
20319 if (PyErr_Occurred()) SWIG_fail
;
20320 if (arg1
) (arg1
)->m_itemIndex
= arg2
;
20322 Py_INCREF(Py_None
); resultobj
= Py_None
;
20329 static PyObject
*_wrap_ListEvent_m_itemIndex_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20330 PyObject
*resultobj
;
20331 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20333 PyObject
* obj0
= 0 ;
20334 char *kwnames
[] = {
20335 (char *) "self", NULL
20338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_itemIndex_get",kwnames
,&obj0
)) goto fail
;
20339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20341 result
= (long) ((arg1
)->m_itemIndex
);
20343 resultobj
= SWIG_FromLong((long)result
);
20350 static PyObject
*_wrap_ListEvent_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20351 PyObject
*resultobj
;
20352 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20354 PyObject
* obj0
= 0 ;
20355 PyObject
* obj1
= 0 ;
20356 char *kwnames
[] = {
20357 (char *) "self",(char *) "m_col", NULL
20360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20361 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20363 arg2
= (int) SWIG_AsInt(obj1
);
20364 if (PyErr_Occurred()) SWIG_fail
;
20365 if (arg1
) (arg1
)->m_col
= arg2
;
20367 Py_INCREF(Py_None
); resultobj
= Py_None
;
20374 static PyObject
*_wrap_ListEvent_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20375 PyObject
*resultobj
;
20376 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20378 PyObject
* obj0
= 0 ;
20379 char *kwnames
[] = {
20380 (char *) "self", NULL
20383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_col_get",kwnames
,&obj0
)) goto fail
;
20384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20386 result
= (int) ((arg1
)->m_col
);
20388 resultobj
= SWIG_FromInt((int)result
);
20395 static PyObject
*_wrap_ListEvent_m_pointDrag_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20396 PyObject
*resultobj
;
20397 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20398 wxPoint
*arg2
= (wxPoint
*) 0 ;
20399 PyObject
* obj0
= 0 ;
20400 PyObject
* obj1
= 0 ;
20401 char *kwnames
[] = {
20402 (char *) "self",(char *) "m_pointDrag", NULL
20405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_pointDrag_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20406 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20408 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPoint
,
20409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20410 if (arg1
) (arg1
)->m_pointDrag
= *arg2
;
20412 Py_INCREF(Py_None
); resultobj
= Py_None
;
20419 static PyObject
*_wrap_ListEvent_m_pointDrag_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20420 PyObject
*resultobj
;
20421 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20423 PyObject
* obj0
= 0 ;
20424 char *kwnames
[] = {
20425 (char *) "self", NULL
20428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_pointDrag_get",kwnames
,&obj0
)) goto fail
;
20429 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20431 result
= (wxPoint
*)& ((arg1
)->m_pointDrag
);
20433 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
20440 static PyObject
*_wrap_ListEvent_m_item_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20441 PyObject
*resultobj
;
20442 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20443 wxListItem
*result
;
20444 PyObject
* obj0
= 0 ;
20445 char *kwnames
[] = {
20446 (char *) "self", NULL
20449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_item_get",kwnames
,&obj0
)) goto fail
;
20450 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20452 result
= (wxListItem
*)& ((arg1
)->m_item
);
20455 resultobj
= wxPyMake_wxObject(result
);
20463 static PyObject
*_wrap_ListEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20464 PyObject
*resultobj
;
20465 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20467 PyObject
* obj0
= 0 ;
20468 char *kwnames
[] = {
20469 (char *) "self", NULL
20472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
20473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20477 result
= (int)(arg1
)->GetKeyCode();
20479 wxPyEndAllowThreads(__tstate
);
20480 if (PyErr_Occurred()) SWIG_fail
;
20482 resultobj
= SWIG_FromInt((int)result
);
20489 static PyObject
*_wrap_ListEvent_GetIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20490 PyObject
*resultobj
;
20491 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20493 PyObject
* obj0
= 0 ;
20494 char *kwnames
[] = {
20495 (char *) "self", NULL
20498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetIndex",kwnames
,&obj0
)) goto fail
;
20499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20503 result
= (long)(arg1
)->GetIndex();
20505 wxPyEndAllowThreads(__tstate
);
20506 if (PyErr_Occurred()) SWIG_fail
;
20508 resultobj
= SWIG_FromLong((long)result
);
20515 static PyObject
*_wrap_ListEvent_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20516 PyObject
*resultobj
;
20517 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20519 PyObject
* obj0
= 0 ;
20520 char *kwnames
[] = {
20521 (char *) "self", NULL
20524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetColumn",kwnames
,&obj0
)) goto fail
;
20525 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20526 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20529 result
= (int)(arg1
)->GetColumn();
20531 wxPyEndAllowThreads(__tstate
);
20532 if (PyErr_Occurred()) SWIG_fail
;
20534 resultobj
= SWIG_FromInt((int)result
);
20541 static PyObject
*_wrap_ListEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20542 PyObject
*resultobj
;
20543 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20545 PyObject
* obj0
= 0 ;
20546 char *kwnames
[] = {
20547 (char *) "self", NULL
20550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
20551 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20555 result
= (arg1
)->GetPoint();
20557 wxPyEndAllowThreads(__tstate
);
20558 if (PyErr_Occurred()) SWIG_fail
;
20561 wxPoint
* resultptr
;
20562 resultptr
= new wxPoint((wxPoint
&) result
);
20563 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
20571 static PyObject
*_wrap_ListEvent_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20572 PyObject
*resultobj
;
20573 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20575 PyObject
* obj0
= 0 ;
20576 char *kwnames
[] = {
20577 (char *) "self", NULL
20580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
20581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20586 wxString
const &_result_ref
= (arg1
)->GetLabel();
20587 result
= (wxString
*) &_result_ref
;
20590 wxPyEndAllowThreads(__tstate
);
20591 if (PyErr_Occurred()) SWIG_fail
;
20595 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20597 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20606 static PyObject
*_wrap_ListEvent_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20607 PyObject
*resultobj
;
20608 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20610 PyObject
* obj0
= 0 ;
20611 char *kwnames
[] = {
20612 (char *) "self", NULL
20615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetText",kwnames
,&obj0
)) goto fail
;
20616 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20621 wxString
const &_result_ref
= (arg1
)->GetText();
20622 result
= (wxString
*) &_result_ref
;
20625 wxPyEndAllowThreads(__tstate
);
20626 if (PyErr_Occurred()) SWIG_fail
;
20630 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20632 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20641 static PyObject
*_wrap_ListEvent_GetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20642 PyObject
*resultobj
;
20643 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20645 PyObject
* obj0
= 0 ;
20646 char *kwnames
[] = {
20647 (char *) "self", NULL
20650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetImage",kwnames
,&obj0
)) goto fail
;
20651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20655 result
= (int)(arg1
)->GetImage();
20657 wxPyEndAllowThreads(__tstate
);
20658 if (PyErr_Occurred()) SWIG_fail
;
20660 resultobj
= SWIG_FromInt((int)result
);
20667 static PyObject
*_wrap_ListEvent_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20668 PyObject
*resultobj
;
20669 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20671 PyObject
* obj0
= 0 ;
20672 char *kwnames
[] = {
20673 (char *) "self", NULL
20676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetData",kwnames
,&obj0
)) goto fail
;
20677 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20681 result
= (long)(arg1
)->GetData();
20683 wxPyEndAllowThreads(__tstate
);
20684 if (PyErr_Occurred()) SWIG_fail
;
20686 resultobj
= SWIG_FromLong((long)result
);
20693 static PyObject
*_wrap_ListEvent_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20694 PyObject
*resultobj
;
20695 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20697 PyObject
* obj0
= 0 ;
20698 char *kwnames
[] = {
20699 (char *) "self", NULL
20702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetMask",kwnames
,&obj0
)) goto fail
;
20703 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20707 result
= (long)(arg1
)->GetMask();
20709 wxPyEndAllowThreads(__tstate
);
20710 if (PyErr_Occurred()) SWIG_fail
;
20712 resultobj
= SWIG_FromLong((long)result
);
20719 static PyObject
*_wrap_ListEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20720 PyObject
*resultobj
;
20721 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20722 wxListItem
*result
;
20723 PyObject
* obj0
= 0 ;
20724 char *kwnames
[] = {
20725 (char *) "self", NULL
20728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetItem",kwnames
,&obj0
)) goto fail
;
20729 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20734 wxListItem
const &_result_ref
= (arg1
)->GetItem();
20735 result
= (wxListItem
*) &_result_ref
;
20738 wxPyEndAllowThreads(__tstate
);
20739 if (PyErr_Occurred()) SWIG_fail
;
20741 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItem
, 0);
20748 static PyObject
*_wrap_ListEvent_GetCacheFrom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20749 PyObject
*resultobj
;
20750 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20752 PyObject
* obj0
= 0 ;
20753 char *kwnames
[] = {
20754 (char *) "self", NULL
20757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheFrom",kwnames
,&obj0
)) goto fail
;
20758 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20762 result
= (long)(arg1
)->GetCacheFrom();
20764 wxPyEndAllowThreads(__tstate
);
20765 if (PyErr_Occurred()) SWIG_fail
;
20767 resultobj
= SWIG_FromLong((long)result
);
20774 static PyObject
*_wrap_ListEvent_GetCacheTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20775 PyObject
*resultobj
;
20776 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20778 PyObject
* obj0
= 0 ;
20779 char *kwnames
[] = {
20780 (char *) "self", NULL
20783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheTo",kwnames
,&obj0
)) goto fail
;
20784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20788 result
= (long)(arg1
)->GetCacheTo();
20790 wxPyEndAllowThreads(__tstate
);
20791 if (PyErr_Occurred()) SWIG_fail
;
20793 resultobj
= SWIG_FromLong((long)result
);
20800 static PyObject
*_wrap_ListEvent_IsEditCancelled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20801 PyObject
*resultobj
;
20802 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20804 PyObject
* obj0
= 0 ;
20805 char *kwnames
[] = {
20806 (char *) "self", NULL
20809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
20810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20814 result
= (bool)((wxListEvent
const *)arg1
)->IsEditCancelled();
20816 wxPyEndAllowThreads(__tstate
);
20817 if (PyErr_Occurred()) SWIG_fail
;
20820 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20828 static PyObject
*_wrap_ListEvent_SetEditCanceled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20829 PyObject
*resultobj
;
20830 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20832 PyObject
* obj0
= 0 ;
20833 PyObject
* obj1
= 0 ;
20834 char *kwnames
[] = {
20835 (char *) "self",(char *) "editCancelled", NULL
20838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
20839 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20841 arg2
= (bool) SWIG_AsBool(obj1
);
20842 if (PyErr_Occurred()) SWIG_fail
;
20844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20845 (arg1
)->SetEditCanceled(arg2
);
20847 wxPyEndAllowThreads(__tstate
);
20848 if (PyErr_Occurred()) SWIG_fail
;
20850 Py_INCREF(Py_None
); resultobj
= Py_None
;
20857 static PyObject
* ListEvent_swigregister(PyObject
*self
, PyObject
*args
) {
20859 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20860 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent
, obj
);
20862 return Py_BuildValue((char *)"");
20864 static PyObject
*_wrap_new_ListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20865 PyObject
*resultobj
;
20866 wxWindow
*arg1
= (wxWindow
*) 0 ;
20867 int arg2
= (int) -1 ;
20868 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
20869 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
20870 wxSize
const &arg4_defvalue
= wxDefaultSize
;
20871 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
20872 long arg5
= (long) wxLC_ICON
;
20873 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
20874 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
20875 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
20876 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20877 wxPyListCtrl
*result
;
20880 bool temp7
= False
;
20881 PyObject
* obj0
= 0 ;
20882 PyObject
* obj1
= 0 ;
20883 PyObject
* obj2
= 0 ;
20884 PyObject
* obj3
= 0 ;
20885 PyObject
* obj4
= 0 ;
20886 PyObject
* obj5
= 0 ;
20887 PyObject
* obj6
= 0 ;
20888 char *kwnames
[] = {
20889 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
20892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
20893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
20894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20896 arg2
= (int) SWIG_AsInt(obj1
);
20897 if (PyErr_Occurred()) SWIG_fail
;
20902 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20908 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
20912 arg5
= (long) SWIG_AsLong(obj4
);
20913 if (PyErr_Occurred()) SWIG_fail
;
20916 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
20917 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20919 if (arg6
== NULL
) {
20920 PyErr_SetString(PyExc_TypeError
,"null reference");
20926 arg7
= wxString_in_helper(obj6
);
20927 if (arg7
== NULL
) SWIG_fail
;
20932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20933 result
= (wxPyListCtrl
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
20935 wxPyEndAllowThreads(__tstate
);
20936 if (PyErr_Occurred()) SWIG_fail
;
20938 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1);
20953 static PyObject
*_wrap_new_PreListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20954 PyObject
*resultobj
;
20955 wxPyListCtrl
*result
;
20956 char *kwnames
[] = {
20960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListCtrl",kwnames
)) goto fail
;
20962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20963 result
= (wxPyListCtrl
*)new wxPyListCtrl();
20965 wxPyEndAllowThreads(__tstate
);
20966 if (PyErr_Occurred()) SWIG_fail
;
20968 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1);
20975 static PyObject
*_wrap_ListCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20976 PyObject
*resultobj
;
20977 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20978 wxWindow
*arg2
= (wxWindow
*) 0 ;
20979 int arg3
= (int) -1 ;
20980 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20981 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20982 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20983 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20984 long arg6
= (long) wxLC_ICON
;
20985 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
20986 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
20987 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
20988 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
20992 bool temp8
= False
;
20993 PyObject
* obj0
= 0 ;
20994 PyObject
* obj1
= 0 ;
20995 PyObject
* obj2
= 0 ;
20996 PyObject
* obj3
= 0 ;
20997 PyObject
* obj4
= 0 ;
20998 PyObject
* obj5
= 0 ;
20999 PyObject
* obj6
= 0 ;
21000 PyObject
* obj7
= 0 ;
21001 char *kwnames
[] = {
21002 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
21005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
21006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21008 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21011 arg3
= (int) SWIG_AsInt(obj2
);
21012 if (PyErr_Occurred()) SWIG_fail
;
21017 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21023 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21027 arg6
= (long) SWIG_AsLong(obj5
);
21028 if (PyErr_Occurred()) SWIG_fail
;
21031 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
21032 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21034 if (arg7
== NULL
) {
21035 PyErr_SetString(PyExc_TypeError
,"null reference");
21041 arg8
= wxString_in_helper(obj7
);
21042 if (arg8
== NULL
) SWIG_fail
;
21047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21048 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
21050 wxPyEndAllowThreads(__tstate
);
21051 if (PyErr_Occurred()) SWIG_fail
;
21054 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21070 static PyObject
*_wrap_ListCtrl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21071 PyObject
*resultobj
;
21072 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21073 PyObject
*arg2
= (PyObject
*) 0 ;
21074 PyObject
*arg3
= (PyObject
*) 0 ;
21075 PyObject
* obj0
= 0 ;
21076 PyObject
* obj1
= 0 ;
21077 PyObject
* obj2
= 0 ;
21078 char *kwnames
[] = {
21079 (char *) "self",(char *) "self",(char *) "_class", NULL
21082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21083 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21089 (arg1
)->_setCallbackInfo(arg2
,arg3
);
21091 wxPyEndAllowThreads(__tstate
);
21092 if (PyErr_Occurred()) SWIG_fail
;
21094 Py_INCREF(Py_None
); resultobj
= Py_None
;
21101 static PyObject
*_wrap_ListCtrl_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21102 PyObject
*resultobj
;
21103 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21104 wxColour
*arg2
= 0 ;
21107 PyObject
* obj0
= 0 ;
21108 PyObject
* obj1
= 0 ;
21109 char *kwnames
[] = {
21110 (char *) "self",(char *) "col", NULL
21113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21114 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21115 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21118 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21122 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
21124 wxPyEndAllowThreads(__tstate
);
21125 if (PyErr_Occurred()) SWIG_fail
;
21128 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21136 static PyObject
*_wrap_ListCtrl_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21137 PyObject
*resultobj
;
21138 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21139 wxColour
*arg2
= 0 ;
21142 PyObject
* obj0
= 0 ;
21143 PyObject
* obj1
= 0 ;
21144 char *kwnames
[] = {
21145 (char *) "self",(char *) "col", NULL
21148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21153 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21157 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
21159 wxPyEndAllowThreads(__tstate
);
21160 if (PyErr_Occurred()) SWIG_fail
;
21163 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21171 static PyObject
*_wrap_ListCtrl_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21172 PyObject
*resultobj
;
21173 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21175 wxListItem
*result
;
21176 PyObject
* obj0
= 0 ;
21177 PyObject
* obj1
= 0 ;
21178 char *kwnames
[] = {
21179 (char *) "self",(char *) "col", NULL
21182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
21183 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21184 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21185 arg2
= (int) SWIG_AsInt(obj1
);
21186 if (PyErr_Occurred()) SWIG_fail
;
21188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21189 result
= (wxListItem
*)wxPyListCtrl_GetColumn(arg1
,arg2
);
21191 wxPyEndAllowThreads(__tstate
);
21192 if (PyErr_Occurred()) SWIG_fail
;
21195 resultobj
= wxPyMake_wxObject(result
);
21203 static PyObject
*_wrap_ListCtrl_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21204 PyObject
*resultobj
;
21205 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21207 wxListItem
*arg3
= 0 ;
21209 PyObject
* obj0
= 0 ;
21210 PyObject
* obj1
= 0 ;
21211 PyObject
* obj2
= 0 ;
21212 char *kwnames
[] = {
21213 (char *) "self",(char *) "col",(char *) "item", NULL
21216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumn",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21217 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21218 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21219 arg2
= (int) SWIG_AsInt(obj1
);
21220 if (PyErr_Occurred()) SWIG_fail
;
21221 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxListItem
,
21222 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21224 if (arg3
== NULL
) {
21225 PyErr_SetString(PyExc_TypeError
,"null reference");
21229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21230 result
= (bool)(arg1
)->SetColumn(arg2
,*arg3
);
21232 wxPyEndAllowThreads(__tstate
);
21233 if (PyErr_Occurred()) SWIG_fail
;
21236 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21244 static PyObject
*_wrap_ListCtrl_GetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21245 PyObject
*resultobj
;
21246 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21249 PyObject
* obj0
= 0 ;
21250 PyObject
* obj1
= 0 ;
21251 char *kwnames
[] = {
21252 (char *) "self",(char *) "col", NULL
21255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
21256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21258 arg2
= (int) SWIG_AsInt(obj1
);
21259 if (PyErr_Occurred()) SWIG_fail
;
21261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21262 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
21264 wxPyEndAllowThreads(__tstate
);
21265 if (PyErr_Occurred()) SWIG_fail
;
21267 resultobj
= SWIG_FromInt((int)result
);
21274 static PyObject
*_wrap_ListCtrl_SetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21275 PyObject
*resultobj
;
21276 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21280 PyObject
* obj0
= 0 ;
21281 PyObject
* obj1
= 0 ;
21282 PyObject
* obj2
= 0 ;
21283 char *kwnames
[] = {
21284 (char *) "self",(char *) "col",(char *) "width", NULL
21287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21288 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21289 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21290 arg2
= (int) SWIG_AsInt(obj1
);
21291 if (PyErr_Occurred()) SWIG_fail
;
21292 arg3
= (int) SWIG_AsInt(obj2
);
21293 if (PyErr_Occurred()) SWIG_fail
;
21295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21296 result
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
);
21298 wxPyEndAllowThreads(__tstate
);
21299 if (PyErr_Occurred()) SWIG_fail
;
21302 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21310 static PyObject
*_wrap_ListCtrl_GetCountPerPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21311 PyObject
*resultobj
;
21312 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21314 PyObject
* obj0
= 0 ;
21315 char *kwnames
[] = {
21316 (char *) "self", NULL
21319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetCountPerPage",kwnames
,&obj0
)) goto fail
;
21320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21324 result
= (int)((wxPyListCtrl
const *)arg1
)->GetCountPerPage();
21326 wxPyEndAllowThreads(__tstate
);
21327 if (PyErr_Occurred()) SWIG_fail
;
21329 resultobj
= SWIG_FromInt((int)result
);
21336 static PyObject
*_wrap_ListCtrl_GetViewRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21337 PyObject
*resultobj
;
21338 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21340 PyObject
* obj0
= 0 ;
21341 char *kwnames
[] = {
21342 (char *) "self", NULL
21345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetViewRect",kwnames
,&obj0
)) goto fail
;
21346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21350 result
= ((wxPyListCtrl
const *)arg1
)->GetViewRect();
21352 wxPyEndAllowThreads(__tstate
);
21353 if (PyErr_Occurred()) SWIG_fail
;
21356 wxRect
* resultptr
;
21357 resultptr
= new wxRect((wxRect
&) result
);
21358 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
21366 static PyObject
*_wrap_ListCtrl_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21367 PyObject
*resultobj
;
21368 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21370 int arg3
= (int) 0 ;
21371 wxListItem
*result
;
21372 PyObject
* obj0
= 0 ;
21373 PyObject
* obj1
= 0 ;
21374 PyObject
* obj2
= 0 ;
21375 char *kwnames
[] = {
21376 (char *) "self",(char *) "itemId",(char *) "col", NULL
21379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21380 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21382 arg2
= (long) SWIG_AsLong(obj1
);
21383 if (PyErr_Occurred()) SWIG_fail
;
21385 arg3
= (int) SWIG_AsInt(obj2
);
21386 if (PyErr_Occurred()) SWIG_fail
;
21389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21390 result
= (wxListItem
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
);
21392 wxPyEndAllowThreads(__tstate
);
21393 if (PyErr_Occurred()) SWIG_fail
;
21396 resultobj
= wxPyMake_wxObject(result
);
21404 static PyObject
*_wrap_ListCtrl_SetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21405 PyObject
*resultobj
;
21406 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21407 wxListItem
*arg2
= 0 ;
21409 PyObject
* obj0
= 0 ;
21410 PyObject
* obj1
= 0 ;
21411 char *kwnames
[] = {
21412 (char *) "self",(char *) "info", NULL
21415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
21416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21418 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxListItem
,
21419 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21421 if (arg2
== NULL
) {
21422 PyErr_SetString(PyExc_TypeError
,"null reference");
21426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21427 result
= (bool)(arg1
)->SetItem(*arg2
);
21429 wxPyEndAllowThreads(__tstate
);
21430 if (PyErr_Occurred()) SWIG_fail
;
21433 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21441 static PyObject
*_wrap_ListCtrl_SetStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21442 PyObject
*resultobj
;
21443 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21446 wxString
*arg4
= 0 ;
21447 int arg5
= (int) -1 ;
21449 bool temp4
= False
;
21450 PyObject
* obj0
= 0 ;
21451 PyObject
* obj1
= 0 ;
21452 PyObject
* obj2
= 0 ;
21453 PyObject
* obj3
= 0 ;
21454 PyObject
* obj4
= 0 ;
21455 char *kwnames
[] = {
21456 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
21459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
21460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21462 arg2
= (long) SWIG_AsLong(obj1
);
21463 if (PyErr_Occurred()) SWIG_fail
;
21464 arg3
= (int) SWIG_AsInt(obj2
);
21465 if (PyErr_Occurred()) SWIG_fail
;
21467 arg4
= wxString_in_helper(obj3
);
21468 if (arg4
== NULL
) SWIG_fail
;
21472 arg5
= (int) SWIG_AsInt(obj4
);
21473 if (PyErr_Occurred()) SWIG_fail
;
21476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21477 result
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
21479 wxPyEndAllowThreads(__tstate
);
21480 if (PyErr_Occurred()) SWIG_fail
;
21482 resultobj
= SWIG_FromLong((long)result
);
21497 static PyObject
*_wrap_ListCtrl_GetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21498 PyObject
*resultobj
;
21499 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21503 PyObject
* obj0
= 0 ;
21504 PyObject
* obj1
= 0 ;
21505 PyObject
* obj2
= 0 ;
21506 char *kwnames
[] = {
21507 (char *) "self",(char *) "item",(char *) "stateMask", NULL
21510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_GetItemState",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21511 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21513 arg2
= (long) SWIG_AsLong(obj1
);
21514 if (PyErr_Occurred()) SWIG_fail
;
21515 arg3
= (long) SWIG_AsLong(obj2
);
21516 if (PyErr_Occurred()) SWIG_fail
;
21518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21519 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemState(arg2
,arg3
);
21521 wxPyEndAllowThreads(__tstate
);
21522 if (PyErr_Occurred()) SWIG_fail
;
21524 resultobj
= SWIG_FromInt((int)result
);
21531 static PyObject
*_wrap_ListCtrl_SetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21532 PyObject
*resultobj
;
21533 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21538 PyObject
* obj0
= 0 ;
21539 PyObject
* obj1
= 0 ;
21540 PyObject
* obj2
= 0 ;
21541 PyObject
* obj3
= 0 ;
21542 char *kwnames
[] = {
21543 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
21546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemState",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21549 arg2
= (long) SWIG_AsLong(obj1
);
21550 if (PyErr_Occurred()) SWIG_fail
;
21551 arg3
= (long) SWIG_AsLong(obj2
);
21552 if (PyErr_Occurred()) SWIG_fail
;
21553 arg4
= (long) SWIG_AsLong(obj3
);
21554 if (PyErr_Occurred()) SWIG_fail
;
21556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21557 result
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
);
21559 wxPyEndAllowThreads(__tstate
);
21560 if (PyErr_Occurred()) SWIG_fail
;
21563 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21571 static PyObject
*_wrap_ListCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21572 PyObject
*resultobj
;
21573 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21578 PyObject
* obj0
= 0 ;
21579 PyObject
* obj1
= 0 ;
21580 PyObject
* obj2
= 0 ;
21581 PyObject
* obj3
= 0 ;
21582 char *kwnames
[] = {
21583 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
21586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21587 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21589 arg2
= (long) SWIG_AsLong(obj1
);
21590 if (PyErr_Occurred()) SWIG_fail
;
21591 arg3
= (int) SWIG_AsInt(obj2
);
21592 if (PyErr_Occurred()) SWIG_fail
;
21593 arg4
= (int) SWIG_AsInt(obj3
);
21594 if (PyErr_Occurred()) SWIG_fail
;
21596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21597 result
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
);
21599 wxPyEndAllowThreads(__tstate
);
21600 if (PyErr_Occurred()) SWIG_fail
;
21603 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21611 static PyObject
*_wrap_ListCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21612 PyObject
*resultobj
;
21613 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21616 PyObject
* obj0
= 0 ;
21617 PyObject
* obj1
= 0 ;
21618 char *kwnames
[] = {
21619 (char *) "self",(char *) "item", NULL
21622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
21623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21625 arg2
= (long) SWIG_AsLong(obj1
);
21626 if (PyErr_Occurred()) SWIG_fail
;
21628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21629 result
= ((wxPyListCtrl
const *)arg1
)->GetItemText(arg2
);
21631 wxPyEndAllowThreads(__tstate
);
21632 if (PyErr_Occurred()) SWIG_fail
;
21636 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21638 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21647 static PyObject
*_wrap_ListCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21648 PyObject
*resultobj
;
21649 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21651 wxString
*arg3
= 0 ;
21652 bool temp3
= False
;
21653 PyObject
* obj0
= 0 ;
21654 PyObject
* obj1
= 0 ;
21655 PyObject
* obj2
= 0 ;
21656 char *kwnames
[] = {
21657 (char *) "self",(char *) "item",(char *) "str", NULL
21660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21663 arg2
= (long) SWIG_AsLong(obj1
);
21664 if (PyErr_Occurred()) SWIG_fail
;
21666 arg3
= wxString_in_helper(obj2
);
21667 if (arg3
== NULL
) SWIG_fail
;
21671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21672 (arg1
)->SetItemText(arg2
,(wxString
const &)*arg3
);
21674 wxPyEndAllowThreads(__tstate
);
21675 if (PyErr_Occurred()) SWIG_fail
;
21677 Py_INCREF(Py_None
); resultobj
= Py_None
;
21692 static PyObject
*_wrap_ListCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21693 PyObject
*resultobj
;
21694 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21697 PyObject
* obj0
= 0 ;
21698 PyObject
* obj1
= 0 ;
21699 char *kwnames
[] = {
21700 (char *) "self",(char *) "item", NULL
21703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
21704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21706 arg2
= (long) SWIG_AsLong(obj1
);
21707 if (PyErr_Occurred()) SWIG_fail
;
21709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21710 result
= (long)((wxPyListCtrl
const *)arg1
)->GetItemData(arg2
);
21712 wxPyEndAllowThreads(__tstate
);
21713 if (PyErr_Occurred()) SWIG_fail
;
21715 resultobj
= SWIG_FromLong((long)result
);
21722 static PyObject
*_wrap_ListCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21723 PyObject
*resultobj
;
21724 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21728 PyObject
* obj0
= 0 ;
21729 PyObject
* obj1
= 0 ;
21730 PyObject
* obj2
= 0 ;
21731 char *kwnames
[] = {
21732 (char *) "self",(char *) "item",(char *) "data", NULL
21735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21736 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21738 arg2
= (long) SWIG_AsLong(obj1
);
21739 if (PyErr_Occurred()) SWIG_fail
;
21740 arg3
= (long) SWIG_AsLong(obj2
);
21741 if (PyErr_Occurred()) SWIG_fail
;
21743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21744 result
= (bool)(arg1
)->SetItemData(arg2
,arg3
);
21746 wxPyEndAllowThreads(__tstate
);
21747 if (PyErr_Occurred()) SWIG_fail
;
21750 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21758 static PyObject
*_wrap_ListCtrl_GetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21759 PyObject
*resultobj
;
21760 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21763 PyObject
* obj0
= 0 ;
21764 PyObject
* obj1
= 0 ;
21765 char *kwnames
[] = {
21766 (char *) "self",(char *) "item", NULL
21769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
21770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21772 arg2
= (long) SWIG_AsLong(obj1
);
21773 if (PyErr_Occurred()) SWIG_fail
;
21775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21776 result
= wxPyListCtrl_GetItemPosition(arg1
,arg2
);
21778 wxPyEndAllowThreads(__tstate
);
21779 if (PyErr_Occurred()) SWIG_fail
;
21782 wxPoint
* resultptr
;
21783 resultptr
= new wxPoint((wxPoint
&) result
);
21784 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
21792 static PyObject
*_wrap_ListCtrl_GetItemRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21793 PyObject
*resultobj
;
21794 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21796 int arg3
= (int) wxLIST_RECT_BOUNDS
;
21798 PyObject
* obj0
= 0 ;
21799 PyObject
* obj1
= 0 ;
21800 PyObject
* obj2
= 0 ;
21801 char *kwnames
[] = {
21802 (char *) "self",(char *) "item",(char *) "code", NULL
21805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItemRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21806 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21807 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21808 arg2
= (long) SWIG_AsLong(obj1
);
21809 if (PyErr_Occurred()) SWIG_fail
;
21811 arg3
= (int) SWIG_AsInt(obj2
);
21812 if (PyErr_Occurred()) SWIG_fail
;
21815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21816 result
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
);
21818 wxPyEndAllowThreads(__tstate
);
21819 if (PyErr_Occurred()) SWIG_fail
;
21822 wxRect
* resultptr
;
21823 resultptr
= new wxRect((wxRect
&) result
);
21824 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
21832 static PyObject
*_wrap_ListCtrl_SetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21833 PyObject
*resultobj
;
21834 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21836 wxPoint
*arg3
= 0 ;
21839 PyObject
* obj0
= 0 ;
21840 PyObject
* obj1
= 0 ;
21841 PyObject
* obj2
= 0 ;
21842 char *kwnames
[] = {
21843 (char *) "self",(char *) "item",(char *) "pos", NULL
21846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21847 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21849 arg2
= (long) SWIG_AsLong(obj1
);
21850 if (PyErr_Occurred()) SWIG_fail
;
21853 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21857 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint
const &)*arg3
);
21859 wxPyEndAllowThreads(__tstate
);
21860 if (PyErr_Occurred()) SWIG_fail
;
21863 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21871 static PyObject
*_wrap_ListCtrl_GetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21872 PyObject
*resultobj
;
21873 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21875 PyObject
* obj0
= 0 ;
21876 char *kwnames
[] = {
21877 (char *) "self", NULL
21880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemCount",kwnames
,&obj0
)) goto fail
;
21881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21885 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemCount();
21887 wxPyEndAllowThreads(__tstate
);
21888 if (PyErr_Occurred()) SWIG_fail
;
21890 resultobj
= SWIG_FromInt((int)result
);
21897 static PyObject
*_wrap_ListCtrl_GetColumnCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21898 PyObject
*resultobj
;
21899 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21901 PyObject
* obj0
= 0 ;
21902 char *kwnames
[] = {
21903 (char *) "self", NULL
21906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetColumnCount",kwnames
,&obj0
)) goto fail
;
21907 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21911 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnCount();
21913 wxPyEndAllowThreads(__tstate
);
21914 if (PyErr_Occurred()) SWIG_fail
;
21916 resultobj
= SWIG_FromInt((int)result
);
21923 static PyObject
*_wrap_ListCtrl_GetItemSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21924 PyObject
*resultobj
;
21925 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21927 PyObject
* obj0
= 0 ;
21928 char *kwnames
[] = {
21929 (char *) "self", NULL
21932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemSpacing",kwnames
,&obj0
)) goto fail
;
21933 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21937 result
= ((wxPyListCtrl
const *)arg1
)->GetItemSpacing();
21939 wxPyEndAllowThreads(__tstate
);
21940 if (PyErr_Occurred()) SWIG_fail
;
21943 wxSize
* resultptr
;
21944 resultptr
= new wxSize((wxSize
&) result
);
21945 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
21953 static PyObject
*_wrap_ListCtrl_SetItemSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21954 PyObject
*resultobj
;
21955 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21957 bool arg3
= (bool) False
;
21958 PyObject
* obj0
= 0 ;
21959 PyObject
* obj1
= 0 ;
21960 PyObject
* obj2
= 0 ;
21961 char *kwnames
[] = {
21962 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
21965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetItemSpacing",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21966 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21968 arg2
= (int) SWIG_AsInt(obj1
);
21969 if (PyErr_Occurred()) SWIG_fail
;
21971 arg3
= (bool) SWIG_AsBool(obj2
);
21972 if (PyErr_Occurred()) SWIG_fail
;
21975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21976 (arg1
)->SetItemSpacing(arg2
,arg3
);
21978 wxPyEndAllowThreads(__tstate
);
21979 if (PyErr_Occurred()) SWIG_fail
;
21981 Py_INCREF(Py_None
); resultobj
= Py_None
;
21988 static PyObject
*_wrap_ListCtrl_GetSelectedItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21989 PyObject
*resultobj
;
21990 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21992 PyObject
* obj0
= 0 ;
21993 char *kwnames
[] = {
21994 (char *) "self", NULL
21997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames
,&obj0
)) goto fail
;
21998 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22002 result
= (int)((wxPyListCtrl
const *)arg1
)->GetSelectedItemCount();
22004 wxPyEndAllowThreads(__tstate
);
22005 if (PyErr_Occurred()) SWIG_fail
;
22007 resultobj
= SWIG_FromInt((int)result
);
22014 static PyObject
*_wrap_ListCtrl_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22015 PyObject
*resultobj
;
22016 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22018 PyObject
* obj0
= 0 ;
22019 char *kwnames
[] = {
22020 (char *) "self", NULL
22023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTextColour",kwnames
,&obj0
)) goto fail
;
22024 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22025 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22028 result
= ((wxPyListCtrl
const *)arg1
)->GetTextColour();
22030 wxPyEndAllowThreads(__tstate
);
22031 if (PyErr_Occurred()) SWIG_fail
;
22034 wxColour
* resultptr
;
22035 resultptr
= new wxColour((wxColour
&) result
);
22036 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
22044 static PyObject
*_wrap_ListCtrl_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22045 PyObject
*resultobj
;
22046 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22047 wxColour
*arg2
= 0 ;
22049 PyObject
* obj0
= 0 ;
22050 PyObject
* obj1
= 0 ;
22051 char *kwnames
[] = {
22052 (char *) "self",(char *) "col", NULL
22055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
22056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22060 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22064 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
22066 wxPyEndAllowThreads(__tstate
);
22067 if (PyErr_Occurred()) SWIG_fail
;
22069 Py_INCREF(Py_None
); resultobj
= Py_None
;
22076 static PyObject
*_wrap_ListCtrl_GetTopItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22077 PyObject
*resultobj
;
22078 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22080 PyObject
* obj0
= 0 ;
22081 char *kwnames
[] = {
22082 (char *) "self", NULL
22085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTopItem",kwnames
,&obj0
)) goto fail
;
22086 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22087 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22090 result
= (long)((wxPyListCtrl
const *)arg1
)->GetTopItem();
22092 wxPyEndAllowThreads(__tstate
);
22093 if (PyErr_Occurred()) SWIG_fail
;
22095 resultobj
= SWIG_FromLong((long)result
);
22102 static PyObject
*_wrap_ListCtrl_SetSingleStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22103 PyObject
*resultobj
;
22104 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22106 bool arg3
= (bool) True
;
22107 PyObject
* obj0
= 0 ;
22108 PyObject
* obj1
= 0 ;
22109 PyObject
* obj2
= 0 ;
22110 char *kwnames
[] = {
22111 (char *) "self",(char *) "style",(char *) "add", NULL
22114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22115 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22117 arg2
= (long) SWIG_AsLong(obj1
);
22118 if (PyErr_Occurred()) SWIG_fail
;
22120 arg3
= (bool) SWIG_AsBool(obj2
);
22121 if (PyErr_Occurred()) SWIG_fail
;
22124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22125 (arg1
)->SetSingleStyle(arg2
,arg3
);
22127 wxPyEndAllowThreads(__tstate
);
22128 if (PyErr_Occurred()) SWIG_fail
;
22130 Py_INCREF(Py_None
); resultobj
= Py_None
;
22137 static PyObject
*_wrap_ListCtrl_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22138 PyObject
*resultobj
;
22139 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22141 PyObject
* obj0
= 0 ;
22142 PyObject
* obj1
= 0 ;
22143 char *kwnames
[] = {
22144 (char *) "self",(char *) "style", NULL
22147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
22148 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22150 arg2
= (long) SWIG_AsLong(obj1
);
22151 if (PyErr_Occurred()) SWIG_fail
;
22153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22154 (arg1
)->SetWindowStyleFlag(arg2
);
22156 wxPyEndAllowThreads(__tstate
);
22157 if (PyErr_Occurred()) SWIG_fail
;
22159 Py_INCREF(Py_None
); resultobj
= Py_None
;
22166 static PyObject
*_wrap_ListCtrl_GetNextItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22167 PyObject
*resultobj
;
22168 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22170 int arg3
= (int) wxLIST_NEXT_ALL
;
22171 int arg4
= (int) wxLIST_STATE_DONTCARE
;
22173 PyObject
* obj0
= 0 ;
22174 PyObject
* obj1
= 0 ;
22175 PyObject
* obj2
= 0 ;
22176 PyObject
* obj3
= 0 ;
22177 char *kwnames
[] = {
22178 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
22181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22184 arg2
= (long) SWIG_AsLong(obj1
);
22185 if (PyErr_Occurred()) SWIG_fail
;
22187 arg3
= (int) SWIG_AsInt(obj2
);
22188 if (PyErr_Occurred()) SWIG_fail
;
22191 arg4
= (int) SWIG_AsInt(obj3
);
22192 if (PyErr_Occurred()) SWIG_fail
;
22195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22196 result
= (long)((wxPyListCtrl
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
22198 wxPyEndAllowThreads(__tstate
);
22199 if (PyErr_Occurred()) SWIG_fail
;
22201 resultobj
= SWIG_FromLong((long)result
);
22208 static PyObject
*_wrap_ListCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22209 PyObject
*resultobj
;
22210 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22212 wxImageList
*result
;
22213 PyObject
* obj0
= 0 ;
22214 PyObject
* obj1
= 0 ;
22215 char *kwnames
[] = {
22216 (char *) "self",(char *) "which", NULL
22219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
22220 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22222 arg2
= (int) SWIG_AsInt(obj1
);
22223 if (PyErr_Occurred()) SWIG_fail
;
22225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22226 result
= (wxImageList
*)((wxPyListCtrl
const *)arg1
)->GetImageList(arg2
);
22228 wxPyEndAllowThreads(__tstate
);
22229 if (PyErr_Occurred()) SWIG_fail
;
22232 resultobj
= wxPyMake_wxObject(result
);
22240 static PyObject
*_wrap_ListCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22241 PyObject
*resultobj
;
22242 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22243 wxImageList
*arg2
= (wxImageList
*) 0 ;
22245 PyObject
* obj0
= 0 ;
22246 PyObject
* obj1
= 0 ;
22247 PyObject
* obj2
= 0 ;
22248 char *kwnames
[] = {
22249 (char *) "self",(char *) "imageList",(char *) "which", NULL
22252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22253 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22255 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
22256 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22257 arg3
= (int) SWIG_AsInt(obj2
);
22258 if (PyErr_Occurred()) SWIG_fail
;
22260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22261 (arg1
)->SetImageList(arg2
,arg3
);
22263 wxPyEndAllowThreads(__tstate
);
22264 if (PyErr_Occurred()) SWIG_fail
;
22266 Py_INCREF(Py_None
); resultobj
= Py_None
;
22273 static PyObject
*_wrap_ListCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22274 PyObject
*resultobj
;
22275 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22276 wxImageList
*arg2
= (wxImageList
*) 0 ;
22278 PyObject
* obj0
= 0 ;
22279 PyObject
* obj1
= 0 ;
22280 PyObject
* obj2
= 0 ;
22281 char *kwnames
[] = {
22282 (char *) "self",(char *) "imageList",(char *) "which", NULL
22285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22288 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
22289 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
22290 arg3
= (int) SWIG_AsInt(obj2
);
22291 if (PyErr_Occurred()) SWIG_fail
;
22293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22294 (arg1
)->AssignImageList(arg2
,arg3
);
22296 wxPyEndAllowThreads(__tstate
);
22297 if (PyErr_Occurred()) SWIG_fail
;
22299 Py_INCREF(Py_None
); resultobj
= Py_None
;
22306 static PyObject
*_wrap_ListCtrl_InReportView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22307 PyObject
*resultobj
;
22308 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22310 PyObject
* obj0
= 0 ;
22311 char *kwnames
[] = {
22312 (char *) "self", NULL
22315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_InReportView",kwnames
,&obj0
)) goto fail
;
22316 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22320 result
= (bool)((wxPyListCtrl
const *)arg1
)->InReportView();
22322 wxPyEndAllowThreads(__tstate
);
22323 if (PyErr_Occurred()) SWIG_fail
;
22326 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22334 static PyObject
*_wrap_ListCtrl_IsVirtual(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22335 PyObject
*resultobj
;
22336 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22338 PyObject
* obj0
= 0 ;
22339 char *kwnames
[] = {
22340 (char *) "self", NULL
22343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_IsVirtual",kwnames
,&obj0
)) goto fail
;
22344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22348 result
= (bool)((wxPyListCtrl
const *)arg1
)->IsVirtual();
22350 wxPyEndAllowThreads(__tstate
);
22351 if (PyErr_Occurred()) SWIG_fail
;
22354 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22362 static PyObject
*_wrap_ListCtrl_RefreshItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22363 PyObject
*resultobj
;
22364 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22366 PyObject
* obj0
= 0 ;
22367 PyObject
* obj1
= 0 ;
22368 char *kwnames
[] = {
22369 (char *) "self",(char *) "item", NULL
22372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_RefreshItem",kwnames
,&obj0
,&obj1
)) goto fail
;
22373 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22375 arg2
= (long) SWIG_AsLong(obj1
);
22376 if (PyErr_Occurred()) SWIG_fail
;
22378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22379 (arg1
)->RefreshItem(arg2
);
22381 wxPyEndAllowThreads(__tstate
);
22382 if (PyErr_Occurred()) SWIG_fail
;
22384 Py_INCREF(Py_None
); resultobj
= Py_None
;
22391 static PyObject
*_wrap_ListCtrl_RefreshItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22392 PyObject
*resultobj
;
22393 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22396 PyObject
* obj0
= 0 ;
22397 PyObject
* obj1
= 0 ;
22398 PyObject
* obj2
= 0 ;
22399 char *kwnames
[] = {
22400 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
22403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_RefreshItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22404 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22406 arg2
= (long) SWIG_AsLong(obj1
);
22407 if (PyErr_Occurred()) SWIG_fail
;
22408 arg3
= (long) SWIG_AsLong(obj2
);
22409 if (PyErr_Occurred()) SWIG_fail
;
22411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22412 (arg1
)->RefreshItems(arg2
,arg3
);
22414 wxPyEndAllowThreads(__tstate
);
22415 if (PyErr_Occurred()) SWIG_fail
;
22417 Py_INCREF(Py_None
); resultobj
= Py_None
;
22424 static PyObject
*_wrap_ListCtrl_Arrange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22425 PyObject
*resultobj
;
22426 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22427 int arg2
= (int) wxLIST_ALIGN_DEFAULT
;
22429 PyObject
* obj0
= 0 ;
22430 PyObject
* obj1
= 0 ;
22431 char *kwnames
[] = {
22432 (char *) "self",(char *) "flag", NULL
22435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListCtrl_Arrange",kwnames
,&obj0
,&obj1
)) goto fail
;
22436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22439 arg2
= (int) SWIG_AsInt(obj1
);
22440 if (PyErr_Occurred()) SWIG_fail
;
22443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22444 result
= (bool)(arg1
)->Arrange(arg2
);
22446 wxPyEndAllowThreads(__tstate
);
22447 if (PyErr_Occurred()) SWIG_fail
;
22450 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22458 static PyObject
*_wrap_ListCtrl_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22459 PyObject
*resultobj
;
22460 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22463 PyObject
* obj0
= 0 ;
22464 PyObject
* obj1
= 0 ;
22465 char *kwnames
[] = {
22466 (char *) "self",(char *) "item", NULL
22469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
22470 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22472 arg2
= (long) SWIG_AsLong(obj1
);
22473 if (PyErr_Occurred()) SWIG_fail
;
22475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22476 result
= (bool)(arg1
)->DeleteItem(arg2
);
22478 wxPyEndAllowThreads(__tstate
);
22479 if (PyErr_Occurred()) SWIG_fail
;
22482 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22490 static PyObject
*_wrap_ListCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22491 PyObject
*resultobj
;
22492 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22494 PyObject
* obj0
= 0 ;
22495 char *kwnames
[] = {
22496 (char *) "self", NULL
22499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
22500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22504 result
= (bool)(arg1
)->DeleteAllItems();
22506 wxPyEndAllowThreads(__tstate
);
22507 if (PyErr_Occurred()) SWIG_fail
;
22510 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22518 static PyObject
*_wrap_ListCtrl_DeleteColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22519 PyObject
*resultobj
;
22520 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22523 PyObject
* obj0
= 0 ;
22524 PyObject
* obj1
= 0 ;
22525 char *kwnames
[] = {
22526 (char *) "self",(char *) "col", NULL
22529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
22530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22532 arg2
= (int) SWIG_AsInt(obj1
);
22533 if (PyErr_Occurred()) SWIG_fail
;
22535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22536 result
= (bool)(arg1
)->DeleteColumn(arg2
);
22538 wxPyEndAllowThreads(__tstate
);
22539 if (PyErr_Occurred()) SWIG_fail
;
22542 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22550 static PyObject
*_wrap_ListCtrl_DeleteAllColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22551 PyObject
*resultobj
;
22552 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22554 PyObject
* obj0
= 0 ;
22555 char *kwnames
[] = {
22556 (char *) "self", NULL
22559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllColumns",kwnames
,&obj0
)) goto fail
;
22560 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22564 result
= (bool)(arg1
)->DeleteAllColumns();
22566 wxPyEndAllowThreads(__tstate
);
22567 if (PyErr_Occurred()) SWIG_fail
;
22570 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22578 static PyObject
*_wrap_ListCtrl_ClearAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22579 PyObject
*resultobj
;
22580 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22581 PyObject
* obj0
= 0 ;
22582 char *kwnames
[] = {
22583 (char *) "self", NULL
22586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_ClearAll",kwnames
,&obj0
)) goto fail
;
22587 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22591 (arg1
)->ClearAll();
22593 wxPyEndAllowThreads(__tstate
);
22594 if (PyErr_Occurred()) SWIG_fail
;
22596 Py_INCREF(Py_None
); resultobj
= Py_None
;
22603 static PyObject
*_wrap_ListCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22604 PyObject
*resultobj
;
22605 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22607 PyObject
* obj0
= 0 ;
22608 PyObject
* obj1
= 0 ;
22609 char *kwnames
[] = {
22610 (char *) "self",(char *) "item", NULL
22613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
22614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22616 arg2
= (long) SWIG_AsLong(obj1
);
22617 if (PyErr_Occurred()) SWIG_fail
;
22619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22620 (arg1
)->EditLabel(arg2
);
22622 wxPyEndAllowThreads(__tstate
);
22623 if (PyErr_Occurred()) SWIG_fail
;
22625 Py_INCREF(Py_None
); resultobj
= Py_None
;
22632 static PyObject
*_wrap_ListCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22633 PyObject
*resultobj
;
22634 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22637 PyObject
* obj0
= 0 ;
22638 PyObject
* obj1
= 0 ;
22639 char *kwnames
[] = {
22640 (char *) "self",(char *) "item", NULL
22643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
22644 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22645 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22646 arg2
= (long) SWIG_AsLong(obj1
);
22647 if (PyErr_Occurred()) SWIG_fail
;
22649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22650 result
= (bool)(arg1
)->EnsureVisible(arg2
);
22652 wxPyEndAllowThreads(__tstate
);
22653 if (PyErr_Occurred()) SWIG_fail
;
22656 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22664 static PyObject
*_wrap_ListCtrl_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22665 PyObject
*resultobj
;
22666 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22668 wxString
*arg3
= 0 ;
22669 bool arg4
= (bool) False
;
22671 bool temp3
= False
;
22672 PyObject
* obj0
= 0 ;
22673 PyObject
* obj1
= 0 ;
22674 PyObject
* obj2
= 0 ;
22675 PyObject
* obj3
= 0 ;
22676 char *kwnames
[] = {
22677 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
22680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_FindItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22683 arg2
= (long) SWIG_AsLong(obj1
);
22684 if (PyErr_Occurred()) SWIG_fail
;
22686 arg3
= wxString_in_helper(obj2
);
22687 if (arg3
== NULL
) SWIG_fail
;
22691 arg4
= (bool) SWIG_AsBool(obj3
);
22692 if (PyErr_Occurred()) SWIG_fail
;
22695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22696 result
= (long)(arg1
)->FindItem(arg2
,(wxString
const &)*arg3
,arg4
);
22698 wxPyEndAllowThreads(__tstate
);
22699 if (PyErr_Occurred()) SWIG_fail
;
22701 resultobj
= SWIG_FromLong((long)result
);
22716 static PyObject
*_wrap_ListCtrl_FindItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22717 PyObject
*resultobj
;
22718 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22722 PyObject
* obj0
= 0 ;
22723 PyObject
* obj1
= 0 ;
22724 PyObject
* obj2
= 0 ;
22725 char *kwnames
[] = {
22726 (char *) "self",(char *) "start",(char *) "data", NULL
22729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_FindItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22730 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22732 arg2
= (long) SWIG_AsLong(obj1
);
22733 if (PyErr_Occurred()) SWIG_fail
;
22734 arg3
= (long) SWIG_AsLong(obj2
);
22735 if (PyErr_Occurred()) SWIG_fail
;
22737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22738 result
= (long)(arg1
)->FindItem(arg2
,arg3
);
22740 wxPyEndAllowThreads(__tstate
);
22741 if (PyErr_Occurred()) SWIG_fail
;
22743 resultobj
= SWIG_FromLong((long)result
);
22750 static PyObject
*_wrap_ListCtrl_FindItemAtPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22751 PyObject
*resultobj
;
22752 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22754 wxPoint
*arg3
= 0 ;
22758 PyObject
* obj0
= 0 ;
22759 PyObject
* obj1
= 0 ;
22760 PyObject
* obj2
= 0 ;
22761 PyObject
* obj3
= 0 ;
22762 char *kwnames
[] = {
22763 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
22766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22767 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22768 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22769 arg2
= (long) SWIG_AsLong(obj1
);
22770 if (PyErr_Occurred()) SWIG_fail
;
22773 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22775 arg4
= (int) SWIG_AsInt(obj3
);
22776 if (PyErr_Occurred()) SWIG_fail
;
22778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22779 result
= (long)(arg1
)->FindItem(arg2
,(wxPoint
const &)*arg3
,arg4
);
22781 wxPyEndAllowThreads(__tstate
);
22782 if (PyErr_Occurred()) SWIG_fail
;
22784 resultobj
= SWIG_FromLong((long)result
);
22791 static PyObject
*_wrap_ListCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22792 PyObject
*resultobj
;
22793 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22794 wxPoint
*arg2
= 0 ;
22799 PyObject
* obj0
= 0 ;
22800 PyObject
* obj1
= 0 ;
22801 char *kwnames
[] = {
22802 (char *) "self",(char *) "point", NULL
22806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
22807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22811 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22815 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
22817 wxPyEndAllowThreads(__tstate
);
22818 if (PyErr_Occurred()) SWIG_fail
;
22820 resultobj
= SWIG_FromLong((long)result
);
22822 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22823 resultobj
= t_output_helper(resultobj
,o
);
22831 static PyObject
*_wrap_ListCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22832 PyObject
*resultobj
;
22833 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22834 wxListItem
*arg2
= 0 ;
22836 PyObject
* obj0
= 0 ;
22837 PyObject
* obj1
= 0 ;
22838 char *kwnames
[] = {
22839 (char *) "self",(char *) "info", NULL
22842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) goto fail
;
22843 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22845 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxListItem
,
22846 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22848 if (arg2
== NULL
) {
22849 PyErr_SetString(PyExc_TypeError
,"null reference");
22853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22854 result
= (long)(arg1
)->InsertItem(*arg2
);
22856 wxPyEndAllowThreads(__tstate
);
22857 if (PyErr_Occurred()) SWIG_fail
;
22859 resultobj
= SWIG_FromLong((long)result
);
22866 static PyObject
*_wrap_ListCtrl_InsertStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22867 PyObject
*resultobj
;
22868 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22870 wxString
*arg3
= 0 ;
22872 bool temp3
= False
;
22873 PyObject
* obj0
= 0 ;
22874 PyObject
* obj1
= 0 ;
22875 PyObject
* obj2
= 0 ;
22876 char *kwnames
[] = {
22877 (char *) "self",(char *) "index",(char *) "label", NULL
22880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertStringItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22883 arg2
= (long) SWIG_AsLong(obj1
);
22884 if (PyErr_Occurred()) SWIG_fail
;
22886 arg3
= wxString_in_helper(obj2
);
22887 if (arg3
== NULL
) SWIG_fail
;
22891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22892 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
);
22894 wxPyEndAllowThreads(__tstate
);
22895 if (PyErr_Occurred()) SWIG_fail
;
22897 resultobj
= SWIG_FromLong((long)result
);
22912 static PyObject
*_wrap_ListCtrl_InsertImageItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22913 PyObject
*resultobj
;
22914 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22918 PyObject
* obj0
= 0 ;
22919 PyObject
* obj1
= 0 ;
22920 PyObject
* obj2
= 0 ;
22921 char *kwnames
[] = {
22922 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
22925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertImageItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22926 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22927 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22928 arg2
= (long) SWIG_AsLong(obj1
);
22929 if (PyErr_Occurred()) SWIG_fail
;
22930 arg3
= (int) SWIG_AsInt(obj2
);
22931 if (PyErr_Occurred()) SWIG_fail
;
22933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22934 result
= (long)(arg1
)->InsertItem(arg2
,arg3
);
22936 wxPyEndAllowThreads(__tstate
);
22937 if (PyErr_Occurred()) SWIG_fail
;
22939 resultobj
= SWIG_FromLong((long)result
);
22946 static PyObject
*_wrap_ListCtrl_InsertImageStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22947 PyObject
*resultobj
;
22948 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22950 wxString
*arg3
= 0 ;
22953 bool temp3
= False
;
22954 PyObject
* obj0
= 0 ;
22955 PyObject
* obj1
= 0 ;
22956 PyObject
* obj2
= 0 ;
22957 PyObject
* obj3
= 0 ;
22958 char *kwnames
[] = {
22959 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
22962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22963 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22965 arg2
= (long) SWIG_AsLong(obj1
);
22966 if (PyErr_Occurred()) SWIG_fail
;
22968 arg3
= wxString_in_helper(obj2
);
22969 if (arg3
== NULL
) SWIG_fail
;
22972 arg4
= (int) SWIG_AsInt(obj3
);
22973 if (PyErr_Occurred()) SWIG_fail
;
22975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22976 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
22978 wxPyEndAllowThreads(__tstate
);
22979 if (PyErr_Occurred()) SWIG_fail
;
22981 resultobj
= SWIG_FromLong((long)result
);
22996 static PyObject
*_wrap_ListCtrl_InsertColumnInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22997 PyObject
*resultobj
;
22998 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23000 wxListItem
*arg3
= 0 ;
23002 PyObject
* obj0
= 0 ;
23003 PyObject
* obj1
= 0 ;
23004 PyObject
* obj2
= 0 ;
23005 char *kwnames
[] = {
23006 (char *) "self",(char *) "col",(char *) "info", NULL
23009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertColumnInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23010 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23011 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23012 arg2
= (long) SWIG_AsLong(obj1
);
23013 if (PyErr_Occurred()) SWIG_fail
;
23014 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxListItem
,
23015 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23017 if (arg3
== NULL
) {
23018 PyErr_SetString(PyExc_TypeError
,"null reference");
23022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23023 result
= (long)(arg1
)->InsertColumn(arg2
,*arg3
);
23025 wxPyEndAllowThreads(__tstate
);
23026 if (PyErr_Occurred()) SWIG_fail
;
23028 resultobj
= SWIG_FromLong((long)result
);
23035 static PyObject
*_wrap_ListCtrl_InsertColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23036 PyObject
*resultobj
;
23037 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23039 wxString
*arg3
= 0 ;
23040 int arg4
= (int) wxLIST_FORMAT_LEFT
;
23041 int arg5
= (int) -1 ;
23043 bool temp3
= False
;
23044 PyObject
* obj0
= 0 ;
23045 PyObject
* obj1
= 0 ;
23046 PyObject
* obj2
= 0 ;
23047 PyObject
* obj3
= 0 ;
23048 PyObject
* obj4
= 0 ;
23049 char *kwnames
[] = {
23050 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
23053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
23054 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23056 arg2
= (long) SWIG_AsLong(obj1
);
23057 if (PyErr_Occurred()) SWIG_fail
;
23059 arg3
= wxString_in_helper(obj2
);
23060 if (arg3
== NULL
) SWIG_fail
;
23064 arg4
= (int) SWIG_AsInt(obj3
);
23065 if (PyErr_Occurred()) SWIG_fail
;
23068 arg5
= (int) SWIG_AsInt(obj4
);
23069 if (PyErr_Occurred()) SWIG_fail
;
23072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23073 result
= (long)(arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
23075 wxPyEndAllowThreads(__tstate
);
23076 if (PyErr_Occurred()) SWIG_fail
;
23078 resultobj
= SWIG_FromLong((long)result
);
23093 static PyObject
*_wrap_ListCtrl_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23094 PyObject
*resultobj
;
23095 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23097 PyObject
* obj0
= 0 ;
23098 PyObject
* obj1
= 0 ;
23099 char *kwnames
[] = {
23100 (char *) "self",(char *) "count", NULL
23103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
23104 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23106 arg2
= (long) SWIG_AsLong(obj1
);
23107 if (PyErr_Occurred()) SWIG_fail
;
23109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23110 (arg1
)->SetItemCount(arg2
);
23112 wxPyEndAllowThreads(__tstate
);
23113 if (PyErr_Occurred()) SWIG_fail
;
23115 Py_INCREF(Py_None
); resultobj
= Py_None
;
23122 static PyObject
*_wrap_ListCtrl_ScrollList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23123 PyObject
*resultobj
;
23124 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23128 PyObject
* obj0
= 0 ;
23129 PyObject
* obj1
= 0 ;
23130 PyObject
* obj2
= 0 ;
23131 char *kwnames
[] = {
23132 (char *) "self",(char *) "dx",(char *) "dy", NULL
23135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_ScrollList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23136 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23137 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23138 arg2
= (int) SWIG_AsInt(obj1
);
23139 if (PyErr_Occurred()) SWIG_fail
;
23140 arg3
= (int) SWIG_AsInt(obj2
);
23141 if (PyErr_Occurred()) SWIG_fail
;
23143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23144 result
= (bool)(arg1
)->ScrollList(arg2
,arg3
);
23146 wxPyEndAllowThreads(__tstate
);
23147 if (PyErr_Occurred()) SWIG_fail
;
23150 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23158 static PyObject
*_wrap_ListCtrl_SetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23159 PyObject
*resultobj
;
23160 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23162 wxColour
*arg3
= 0 ;
23164 PyObject
* obj0
= 0 ;
23165 PyObject
* obj1
= 0 ;
23166 PyObject
* obj2
= 0 ;
23167 char *kwnames
[] = {
23168 (char *) "self",(char *) "item",(char *) "col", NULL
23171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23174 arg2
= (long) SWIG_AsLong(obj1
);
23175 if (PyErr_Occurred()) SWIG_fail
;
23178 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
23181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23182 (arg1
)->SetItemTextColour(arg2
,(wxColour
const &)*arg3
);
23184 wxPyEndAllowThreads(__tstate
);
23185 if (PyErr_Occurred()) SWIG_fail
;
23187 Py_INCREF(Py_None
); resultobj
= Py_None
;
23194 static PyObject
*_wrap_ListCtrl_GetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23195 PyObject
*resultobj
;
23196 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23199 PyObject
* obj0
= 0 ;
23200 PyObject
* obj1
= 0 ;
23201 char *kwnames
[] = {
23202 (char *) "self",(char *) "item", NULL
23205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23212 result
= ((wxPyListCtrl
const *)arg1
)->GetItemTextColour(arg2
);
23214 wxPyEndAllowThreads(__tstate
);
23215 if (PyErr_Occurred()) SWIG_fail
;
23218 wxColour
* resultptr
;
23219 resultptr
= new wxColour((wxColour
&) result
);
23220 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
23228 static PyObject
*_wrap_ListCtrl_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23229 PyObject
*resultobj
;
23230 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23232 wxColour
*arg3
= 0 ;
23234 PyObject
* obj0
= 0 ;
23235 PyObject
* obj1
= 0 ;
23236 PyObject
* obj2
= 0 ;
23237 char *kwnames
[] = {
23238 (char *) "self",(char *) "item",(char *) "col", NULL
23241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23242 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23244 arg2
= (long) SWIG_AsLong(obj1
);
23245 if (PyErr_Occurred()) SWIG_fail
;
23248 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
23251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23252 (arg1
)->SetItemBackgroundColour(arg2
,(wxColour
const &)*arg3
);
23254 wxPyEndAllowThreads(__tstate
);
23255 if (PyErr_Occurred()) SWIG_fail
;
23257 Py_INCREF(Py_None
); resultobj
= Py_None
;
23264 static PyObject
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23265 PyObject
*resultobj
;
23266 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23269 PyObject
* obj0
= 0 ;
23270 PyObject
* obj1
= 0 ;
23271 char *kwnames
[] = {
23272 (char *) "self",(char *) "item", NULL
23275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
23276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23278 arg2
= (long) SWIG_AsLong(obj1
);
23279 if (PyErr_Occurred()) SWIG_fail
;
23281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23282 result
= ((wxPyListCtrl
const *)arg1
)->GetItemBackgroundColour(arg2
);
23284 wxPyEndAllowThreads(__tstate
);
23285 if (PyErr_Occurred()) SWIG_fail
;
23288 wxColour
* resultptr
;
23289 resultptr
= new wxColour((wxColour
&) result
);
23290 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
23298 static PyObject
*_wrap_ListCtrl_SortItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23299 PyObject
*resultobj
;
23300 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23301 PyObject
*arg2
= (PyObject
*) 0 ;
23303 PyObject
* obj0
= 0 ;
23304 PyObject
* obj1
= 0 ;
23305 char *kwnames
[] = {
23306 (char *) "self",(char *) "func", NULL
23309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",kwnames
,&obj0
,&obj1
)) goto fail
;
23310 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23315 result
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
);
23317 wxPyEndAllowThreads(__tstate
);
23318 if (PyErr_Occurred()) SWIG_fail
;
23321 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23329 static PyObject
*_wrap_ListCtrl_GetMainWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23330 PyObject
*resultobj
;
23331 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23333 PyObject
* obj0
= 0 ;
23334 char *kwnames
[] = {
23335 (char *) "self", NULL
23338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetMainWindow",kwnames
,&obj0
)) goto fail
;
23339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23343 result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(arg1
);
23345 wxPyEndAllowThreads(__tstate
);
23346 if (PyErr_Occurred()) SWIG_fail
;
23349 resultobj
= wxPyMake_wxObject(result
);
23357 static PyObject
*_wrap_ListCtrl_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23358 PyObject
*resultobj
;
23359 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
23360 wxVisualAttributes result
;
23361 PyObject
* obj0
= 0 ;
23362 char *kwnames
[] = {
23363 (char *) "variant", NULL
23366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
23368 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
23369 if (PyErr_Occurred()) SWIG_fail
;
23372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23373 result
= wxPyListCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
23375 wxPyEndAllowThreads(__tstate
);
23376 if (PyErr_Occurred()) SWIG_fail
;
23379 wxVisualAttributes
* resultptr
;
23380 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
23381 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
23389 static PyObject
* ListCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
23391 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23392 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl
, obj
);
23394 return Py_BuildValue((char *)"");
23396 static PyObject
*_wrap_new_ListView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23397 PyObject
*resultobj
;
23398 wxWindow
*arg1
= (wxWindow
*) 0 ;
23399 int arg2
= (int) -1 ;
23400 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
23401 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
23402 wxSize
const &arg4_defvalue
= wxDefaultSize
;
23403 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
23404 long arg5
= (long) wxLC_REPORT
;
23405 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
23406 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
23407 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
23408 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23409 wxListView
*result
;
23412 bool temp7
= False
;
23413 PyObject
* obj0
= 0 ;
23414 PyObject
* obj1
= 0 ;
23415 PyObject
* obj2
= 0 ;
23416 PyObject
* obj3
= 0 ;
23417 PyObject
* obj4
= 0 ;
23418 PyObject
* obj5
= 0 ;
23419 PyObject
* obj6
= 0 ;
23420 char *kwnames
[] = {
23421 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListView",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23425 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23428 arg2
= (int) SWIG_AsInt(obj1
);
23429 if (PyErr_Occurred()) SWIG_fail
;
23434 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
23440 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
23444 arg5
= (long) SWIG_AsLong(obj4
);
23445 if (PyErr_Occurred()) SWIG_fail
;
23448 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
23449 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23451 if (arg6
== NULL
) {
23452 PyErr_SetString(PyExc_TypeError
,"null reference");
23458 arg7
= wxString_in_helper(obj6
);
23459 if (arg7
== NULL
) SWIG_fail
;
23464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23465 result
= (wxListView
*)new wxListView(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
23467 wxPyEndAllowThreads(__tstate
);
23468 if (PyErr_Occurred()) SWIG_fail
;
23470 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1);
23485 static PyObject
*_wrap_new_PreListView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23486 PyObject
*resultobj
;
23487 wxListView
*result
;
23488 char *kwnames
[] = {
23492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListView",kwnames
)) goto fail
;
23494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23495 result
= (wxListView
*)new wxListView();
23497 wxPyEndAllowThreads(__tstate
);
23498 if (PyErr_Occurred()) SWIG_fail
;
23500 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1);
23507 static PyObject
*_wrap_ListView_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23508 PyObject
*resultobj
;
23509 wxListView
*arg1
= (wxListView
*) 0 ;
23510 wxWindow
*arg2
= (wxWindow
*) 0 ;
23511 int arg3
= (int) -1 ;
23512 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
23513 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
23514 wxSize
const &arg5_defvalue
= wxDefaultSize
;
23515 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
23516 long arg6
= (long) wxLC_REPORT
;
23517 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
23518 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
23519 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
23520 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23524 bool temp8
= False
;
23525 PyObject
* obj0
= 0 ;
23526 PyObject
* obj1
= 0 ;
23527 PyObject
* obj2
= 0 ;
23528 PyObject
* obj3
= 0 ;
23529 PyObject
* obj4
= 0 ;
23530 PyObject
* obj5
= 0 ;
23531 PyObject
* obj6
= 0 ;
23532 PyObject
* obj7
= 0 ;
23533 char *kwnames
[] = {
23534 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListView_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
23538 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23540 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
23541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23543 arg3
= (int) SWIG_AsInt(obj2
);
23544 if (PyErr_Occurred()) SWIG_fail
;
23549 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
23555 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
23559 arg6
= (long) SWIG_AsLong(obj5
);
23560 if (PyErr_Occurred()) SWIG_fail
;
23563 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
23564 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23566 if (arg7
== NULL
) {
23567 PyErr_SetString(PyExc_TypeError
,"null reference");
23573 arg8
= wxString_in_helper(obj7
);
23574 if (arg8
== NULL
) SWIG_fail
;
23579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23580 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
23582 wxPyEndAllowThreads(__tstate
);
23583 if (PyErr_Occurred()) SWIG_fail
;
23586 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23602 static PyObject
*_wrap_ListView_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23603 PyObject
*resultobj
;
23604 wxListView
*arg1
= (wxListView
*) 0 ;
23606 bool arg3
= (bool) True
;
23607 PyObject
* obj0
= 0 ;
23608 PyObject
* obj1
= 0 ;
23609 PyObject
* obj2
= 0 ;
23610 char *kwnames
[] = {
23611 (char *) "self",(char *) "n",(char *) "on", NULL
23614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListView_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23615 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23617 arg2
= (long) SWIG_AsLong(obj1
);
23618 if (PyErr_Occurred()) SWIG_fail
;
23620 arg3
= (bool) SWIG_AsBool(obj2
);
23621 if (PyErr_Occurred()) SWIG_fail
;
23624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23625 (arg1
)->Select(arg2
,arg3
);
23627 wxPyEndAllowThreads(__tstate
);
23628 if (PyErr_Occurred()) SWIG_fail
;
23630 Py_INCREF(Py_None
); resultobj
= Py_None
;
23637 static PyObject
*_wrap_ListView_Focus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23638 PyObject
*resultobj
;
23639 wxListView
*arg1
= (wxListView
*) 0 ;
23641 PyObject
* obj0
= 0 ;
23642 PyObject
* obj1
= 0 ;
23643 char *kwnames
[] = {
23644 (char *) "self",(char *) "index", NULL
23647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_Focus",kwnames
,&obj0
,&obj1
)) goto fail
;
23648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23650 arg2
= (long) SWIG_AsLong(obj1
);
23651 if (PyErr_Occurred()) SWIG_fail
;
23653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23654 (arg1
)->Focus(arg2
);
23656 wxPyEndAllowThreads(__tstate
);
23657 if (PyErr_Occurred()) SWIG_fail
;
23659 Py_INCREF(Py_None
); resultobj
= Py_None
;
23666 static PyObject
*_wrap_ListView_GetFocusedItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23667 PyObject
*resultobj
;
23668 wxListView
*arg1
= (wxListView
*) 0 ;
23670 PyObject
* obj0
= 0 ;
23671 char *kwnames
[] = {
23672 (char *) "self", NULL
23675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFocusedItem",kwnames
,&obj0
)) goto fail
;
23676 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23680 result
= (long)((wxListView
const *)arg1
)->GetFocusedItem();
23682 wxPyEndAllowThreads(__tstate
);
23683 if (PyErr_Occurred()) SWIG_fail
;
23685 resultobj
= SWIG_FromLong((long)result
);
23692 static PyObject
*_wrap_ListView_GetNextSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23693 PyObject
*resultobj
;
23694 wxListView
*arg1
= (wxListView
*) 0 ;
23697 PyObject
* obj0
= 0 ;
23698 PyObject
* obj1
= 0 ;
23699 char *kwnames
[] = {
23700 (char *) "self",(char *) "item", NULL
23703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
23704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23706 arg2
= (long) SWIG_AsLong(obj1
);
23707 if (PyErr_Occurred()) SWIG_fail
;
23709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23710 result
= (long)((wxListView
const *)arg1
)->GetNextSelected(arg2
);
23712 wxPyEndAllowThreads(__tstate
);
23713 if (PyErr_Occurred()) SWIG_fail
;
23715 resultobj
= SWIG_FromLong((long)result
);
23722 static PyObject
*_wrap_ListView_GetFirstSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23723 PyObject
*resultobj
;
23724 wxListView
*arg1
= (wxListView
*) 0 ;
23726 PyObject
* obj0
= 0 ;
23727 char *kwnames
[] = {
23728 (char *) "self", NULL
23731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFirstSelected",kwnames
,&obj0
)) goto fail
;
23732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23736 result
= (long)((wxListView
const *)arg1
)->GetFirstSelected();
23738 wxPyEndAllowThreads(__tstate
);
23739 if (PyErr_Occurred()) SWIG_fail
;
23741 resultobj
= SWIG_FromLong((long)result
);
23748 static PyObject
*_wrap_ListView_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23749 PyObject
*resultobj
;
23750 wxListView
*arg1
= (wxListView
*) 0 ;
23753 PyObject
* obj0
= 0 ;
23754 PyObject
* obj1
= 0 ;
23755 char *kwnames
[] = {
23756 (char *) "self",(char *) "index", NULL
23759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
23760 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23762 arg2
= (long) SWIG_AsLong(obj1
);
23763 if (PyErr_Occurred()) SWIG_fail
;
23765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23766 result
= (bool)(arg1
)->IsSelected(arg2
);
23768 wxPyEndAllowThreads(__tstate
);
23769 if (PyErr_Occurred()) SWIG_fail
;
23772 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23780 static PyObject
*_wrap_ListView_SetColumnImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23781 PyObject
*resultobj
;
23782 wxListView
*arg1
= (wxListView
*) 0 ;
23785 PyObject
* obj0
= 0 ;
23786 PyObject
* obj1
= 0 ;
23787 PyObject
* obj2
= 0 ;
23788 char *kwnames
[] = {
23789 (char *) "self",(char *) "col",(char *) "image", NULL
23792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListView_SetColumnImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23793 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23795 arg2
= (int) SWIG_AsInt(obj1
);
23796 if (PyErr_Occurred()) SWIG_fail
;
23797 arg3
= (int) SWIG_AsInt(obj2
);
23798 if (PyErr_Occurred()) SWIG_fail
;
23800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23801 (arg1
)->SetColumnImage(arg2
,arg3
);
23803 wxPyEndAllowThreads(__tstate
);
23804 if (PyErr_Occurred()) SWIG_fail
;
23806 Py_INCREF(Py_None
); resultobj
= Py_None
;
23813 static PyObject
*_wrap_ListView_ClearColumnImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23814 PyObject
*resultobj
;
23815 wxListView
*arg1
= (wxListView
*) 0 ;
23817 PyObject
* obj0
= 0 ;
23818 PyObject
* obj1
= 0 ;
23819 char *kwnames
[] = {
23820 (char *) "self",(char *) "col", NULL
23823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_ClearColumnImage",kwnames
,&obj0
,&obj1
)) goto fail
;
23824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23826 arg2
= (int) SWIG_AsInt(obj1
);
23827 if (PyErr_Occurred()) SWIG_fail
;
23829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23830 (arg1
)->ClearColumnImage(arg2
);
23832 wxPyEndAllowThreads(__tstate
);
23833 if (PyErr_Occurred()) SWIG_fail
;
23835 Py_INCREF(Py_None
); resultobj
= Py_None
;
23842 static PyObject
* ListView_swigregister(PyObject
*self
, PyObject
*args
) {
23844 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23845 SWIG_TypeClientData(SWIGTYPE_p_wxListView
, obj
);
23847 return Py_BuildValue((char *)"");
23849 static int _wrap_TreeCtrlNameStr_set(PyObject
*_val
) {
23850 PyErr_SetString(PyExc_TypeError
,"Variable TreeCtrlNameStr is read-only.");
23855 static PyObject
*_wrap_TreeCtrlNameStr_get() {
23860 pyobj
= PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
23862 pyobj
= PyString_FromStringAndSize((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
23869 static PyObject
*_wrap_new_TreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23870 PyObject
*resultobj
;
23871 wxTreeItemId
*result
;
23872 char *kwnames
[] = {
23876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TreeItemId",kwnames
)) goto fail
;
23878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23879 result
= (wxTreeItemId
*)new wxTreeItemId();
23881 wxPyEndAllowThreads(__tstate
);
23882 if (PyErr_Occurred()) SWIG_fail
;
23884 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 1);
23891 static PyObject
*_wrap_delete_TreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23892 PyObject
*resultobj
;
23893 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
23894 PyObject
* obj0
= 0 ;
23895 char *kwnames
[] = {
23896 (char *) "self", NULL
23899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TreeItemId",kwnames
,&obj0
)) goto fail
;
23900 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
23901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23906 wxPyEndAllowThreads(__tstate
);
23907 if (PyErr_Occurred()) SWIG_fail
;
23909 Py_INCREF(Py_None
); resultobj
= Py_None
;
23916 static PyObject
*_wrap_TreeItemId_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23917 PyObject
*resultobj
;
23918 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
23920 PyObject
* obj0
= 0 ;
23921 char *kwnames
[] = {
23922 (char *) "self", NULL
23925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_IsOk",kwnames
,&obj0
)) goto fail
;
23926 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
23927 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23930 result
= (bool)((wxTreeItemId
const *)arg1
)->IsOk();
23932 wxPyEndAllowThreads(__tstate
);
23933 if (PyErr_Occurred()) SWIG_fail
;
23936 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23944 static PyObject
*_wrap_TreeItemId___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23945 PyObject
*resultobj
;
23946 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
23947 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
23949 PyObject
* obj0
= 0 ;
23950 PyObject
* obj1
= 0 ;
23951 char *kwnames
[] = {
23952 (char *) "self",(char *) "other", NULL
23955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
23956 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
23957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23958 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
23959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23962 result
= (bool)wxTreeItemId___eq__(arg1
,(wxTreeItemId
const *)arg2
);
23964 wxPyEndAllowThreads(__tstate
);
23965 if (PyErr_Occurred()) SWIG_fail
;
23968 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23976 static PyObject
*_wrap_TreeItemId___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23977 PyObject
*resultobj
;
23978 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
23979 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
23981 PyObject
* obj0
= 0 ;
23982 PyObject
* obj1
= 0 ;
23983 char *kwnames
[] = {
23984 (char *) "self",(char *) "other", NULL
23987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
23988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
23989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23990 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
23991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23994 result
= (bool)wxTreeItemId___ne__(arg1
,(wxTreeItemId
const *)arg2
);
23996 wxPyEndAllowThreads(__tstate
);
23997 if (PyErr_Occurred()) SWIG_fail
;
24000 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24008 static PyObject
*_wrap_TreeItemId_m_pItem_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24009 PyObject
*resultobj
;
24010 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24011 void *arg2
= (void *) 0 ;
24012 PyObject
* obj0
= 0 ;
24013 PyObject
* obj1
= 0 ;
24014 char *kwnames
[] = {
24015 (char *) "self",(char *) "m_pItem", NULL
24018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId_m_pItem_set",kwnames
,&obj0
,&obj1
)) goto fail
;
24019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24021 if ((SWIG_ConvertPtr(obj1
,&arg2
,0,SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
24022 if (arg1
) (arg1
)->m_pItem
= arg2
;
24024 Py_INCREF(Py_None
); resultobj
= Py_None
;
24031 static PyObject
*_wrap_TreeItemId_m_pItem_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24032 PyObject
*resultobj
;
24033 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24035 PyObject
* obj0
= 0 ;
24036 char *kwnames
[] = {
24037 (char *) "self", NULL
24040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_m_pItem_get",kwnames
,&obj0
)) goto fail
;
24041 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24043 result
= (void *) ((arg1
)->m_pItem
);
24045 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_void
, 0);
24052 static PyObject
* TreeItemId_swigregister(PyObject
*self
, PyObject
*args
) {
24054 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24055 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId
, obj
);
24057 return Py_BuildValue((char *)"");
24059 static PyObject
*_wrap_new_TreeItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24060 PyObject
*resultobj
;
24061 PyObject
*arg1
= (PyObject
*) NULL
;
24062 wxPyTreeItemData
*result
;
24063 PyObject
* obj0
= 0 ;
24064 char *kwnames
[] = {
24065 (char *) "obj", NULL
24068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) goto fail
;
24073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24074 result
= (wxPyTreeItemData
*)new wxPyTreeItemData(arg1
);
24076 wxPyEndAllowThreads(__tstate
);
24077 if (PyErr_Occurred()) SWIG_fail
;
24079 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 1);
24086 static PyObject
*_wrap_TreeItemData_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24087 PyObject
*resultobj
;
24088 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
24090 PyObject
* obj0
= 0 ;
24091 char *kwnames
[] = {
24092 (char *) "self", NULL
24095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetData",kwnames
,&obj0
)) goto fail
;
24096 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
24097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24100 result
= (PyObject
*)(arg1
)->GetData();
24102 wxPyEndAllowThreads(__tstate
);
24103 if (PyErr_Occurred()) SWIG_fail
;
24105 resultobj
= result
;
24112 static PyObject
*_wrap_TreeItemData_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24113 PyObject
*resultobj
;
24114 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
24115 PyObject
*arg2
= (PyObject
*) 0 ;
24116 PyObject
* obj0
= 0 ;
24117 PyObject
* obj1
= 0 ;
24118 char *kwnames
[] = {
24119 (char *) "self",(char *) "obj", NULL
24122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
24123 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
24124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24128 (arg1
)->SetData(arg2
);
24130 wxPyEndAllowThreads(__tstate
);
24131 if (PyErr_Occurred()) SWIG_fail
;
24133 Py_INCREF(Py_None
); resultobj
= Py_None
;
24140 static PyObject
*_wrap_TreeItemData_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24141 PyObject
*resultobj
;
24142 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
24143 wxTreeItemId
*result
;
24144 PyObject
* obj0
= 0 ;
24145 char *kwnames
[] = {
24146 (char *) "self", NULL
24149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetId",kwnames
,&obj0
)) goto fail
;
24150 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
24151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24155 wxTreeItemId
const &_result_ref
= (arg1
)->GetId();
24156 result
= (wxTreeItemId
*) &_result_ref
;
24159 wxPyEndAllowThreads(__tstate
);
24160 if (PyErr_Occurred()) SWIG_fail
;
24162 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 0);
24169 static PyObject
*_wrap_TreeItemData_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24170 PyObject
*resultobj
;
24171 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
24172 wxTreeItemId
*arg2
= 0 ;
24173 PyObject
* obj0
= 0 ;
24174 PyObject
* obj1
= 0 ;
24175 char *kwnames
[] = {
24176 (char *) "self",(char *) "id", NULL
24179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
24180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
24181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24182 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24183 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24185 if (arg2
== NULL
) {
24186 PyErr_SetString(PyExc_TypeError
,"null reference");
24190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24191 (arg1
)->SetId((wxTreeItemId
const &)*arg2
);
24193 wxPyEndAllowThreads(__tstate
);
24194 if (PyErr_Occurred()) SWIG_fail
;
24196 Py_INCREF(Py_None
); resultobj
= Py_None
;
24203 static PyObject
*_wrap_TreeItemData_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24204 PyObject
*resultobj
;
24205 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
24206 PyObject
* obj0
= 0 ;
24207 char *kwnames
[] = {
24208 (char *) "self", NULL
24211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_Destroy",kwnames
,&obj0
)) goto fail
;
24212 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
24213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24216 wxPyTreeItemData_Destroy(arg1
);
24218 wxPyEndAllowThreads(__tstate
);
24219 if (PyErr_Occurred()) SWIG_fail
;
24221 Py_INCREF(Py_None
); resultobj
= Py_None
;
24228 static PyObject
* TreeItemData_swigregister(PyObject
*self
, PyObject
*args
) {
24230 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24231 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData
, obj
);
24233 return Py_BuildValue((char *)"");
24235 static PyObject
*_wrap_new_TreeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24236 PyObject
*resultobj
;
24237 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
24238 int arg2
= (int) 0 ;
24239 wxTreeEvent
*result
;
24240 PyObject
* obj0
= 0 ;
24241 PyObject
* obj1
= 0 ;
24242 char *kwnames
[] = {
24243 (char *) "commandType",(char *) "id", NULL
24246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TreeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
24248 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
24249 if (PyErr_Occurred()) SWIG_fail
;
24252 arg2
= (int) SWIG_AsInt(obj1
);
24253 if (PyErr_Occurred()) SWIG_fail
;
24256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24257 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
);
24259 wxPyEndAllowThreads(__tstate
);
24260 if (PyErr_Occurred()) SWIG_fail
;
24262 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeEvent
, 1);
24269 static PyObject
*_wrap_TreeEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24270 PyObject
*resultobj
;
24271 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24272 wxTreeItemId result
;
24273 PyObject
* obj0
= 0 ;
24274 char *kwnames
[] = {
24275 (char *) "self", NULL
24278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetItem",kwnames
,&obj0
)) goto fail
;
24279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24283 result
= ((wxTreeEvent
const *)arg1
)->GetItem();
24285 wxPyEndAllowThreads(__tstate
);
24286 if (PyErr_Occurred()) SWIG_fail
;
24289 wxTreeItemId
* resultptr
;
24290 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
24291 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
24299 static PyObject
*_wrap_TreeEvent_SetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24300 PyObject
*resultobj
;
24301 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24302 wxTreeItemId
*arg2
= 0 ;
24303 PyObject
* obj0
= 0 ;
24304 PyObject
* obj1
= 0 ;
24305 char *kwnames
[] = {
24306 (char *) "self",(char *) "item", NULL
24309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
24310 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24312 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24313 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24315 if (arg2
== NULL
) {
24316 PyErr_SetString(PyExc_TypeError
,"null reference");
24320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24321 (arg1
)->SetItem((wxTreeItemId
const &)*arg2
);
24323 wxPyEndAllowThreads(__tstate
);
24324 if (PyErr_Occurred()) SWIG_fail
;
24326 Py_INCREF(Py_None
); resultobj
= Py_None
;
24333 static PyObject
*_wrap_TreeEvent_GetOldItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24334 PyObject
*resultobj
;
24335 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24336 wxTreeItemId result
;
24337 PyObject
* obj0
= 0 ;
24338 char *kwnames
[] = {
24339 (char *) "self", NULL
24342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetOldItem",kwnames
,&obj0
)) goto fail
;
24343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24347 result
= ((wxTreeEvent
const *)arg1
)->GetOldItem();
24349 wxPyEndAllowThreads(__tstate
);
24350 if (PyErr_Occurred()) SWIG_fail
;
24353 wxTreeItemId
* resultptr
;
24354 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
24355 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
24363 static PyObject
*_wrap_TreeEvent_SetOldItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24364 PyObject
*resultobj
;
24365 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24366 wxTreeItemId
*arg2
= 0 ;
24367 PyObject
* obj0
= 0 ;
24368 PyObject
* obj1
= 0 ;
24369 char *kwnames
[] = {
24370 (char *) "self",(char *) "item", NULL
24373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) goto fail
;
24374 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24376 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24377 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24379 if (arg2
== NULL
) {
24380 PyErr_SetString(PyExc_TypeError
,"null reference");
24384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24385 (arg1
)->SetOldItem((wxTreeItemId
const &)*arg2
);
24387 wxPyEndAllowThreads(__tstate
);
24388 if (PyErr_Occurred()) SWIG_fail
;
24390 Py_INCREF(Py_None
); resultobj
= Py_None
;
24397 static PyObject
*_wrap_TreeEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24398 PyObject
*resultobj
;
24399 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24401 PyObject
* obj0
= 0 ;
24402 char *kwnames
[] = {
24403 (char *) "self", NULL
24406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
24407 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24408 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24411 result
= ((wxTreeEvent
const *)arg1
)->GetPoint();
24413 wxPyEndAllowThreads(__tstate
);
24414 if (PyErr_Occurred()) SWIG_fail
;
24417 wxPoint
* resultptr
;
24418 resultptr
= new wxPoint((wxPoint
&) result
);
24419 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
24427 static PyObject
*_wrap_TreeEvent_SetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24428 PyObject
*resultobj
;
24429 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24430 wxPoint
*arg2
= 0 ;
24432 PyObject
* obj0
= 0 ;
24433 PyObject
* obj1
= 0 ;
24434 char *kwnames
[] = {
24435 (char *) "self",(char *) "pt", NULL
24438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
24439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24443 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
24446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24447 (arg1
)->SetPoint((wxPoint
const &)*arg2
);
24449 wxPyEndAllowThreads(__tstate
);
24450 if (PyErr_Occurred()) SWIG_fail
;
24452 Py_INCREF(Py_None
); resultobj
= Py_None
;
24459 static PyObject
*_wrap_TreeEvent_GetKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24460 PyObject
*resultobj
;
24461 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24462 wxKeyEvent
*result
;
24463 PyObject
* obj0
= 0 ;
24464 char *kwnames
[] = {
24465 (char *) "self", NULL
24468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyEvent",kwnames
,&obj0
)) goto fail
;
24469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24474 wxKeyEvent
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetKeyEvent();
24475 result
= (wxKeyEvent
*) &_result_ref
;
24478 wxPyEndAllowThreads(__tstate
);
24479 if (PyErr_Occurred()) SWIG_fail
;
24481 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 0);
24488 static PyObject
*_wrap_TreeEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24489 PyObject
*resultobj
;
24490 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24492 PyObject
* obj0
= 0 ;
24493 char *kwnames
[] = {
24494 (char *) "self", NULL
24497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
24498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24502 result
= (int)((wxTreeEvent
const *)arg1
)->GetKeyCode();
24504 wxPyEndAllowThreads(__tstate
);
24505 if (PyErr_Occurred()) SWIG_fail
;
24507 resultobj
= SWIG_FromInt((int)result
);
24514 static PyObject
*_wrap_TreeEvent_SetKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24515 PyObject
*resultobj
;
24516 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24517 wxKeyEvent
*arg2
= 0 ;
24518 PyObject
* obj0
= 0 ;
24519 PyObject
* obj1
= 0 ;
24520 char *kwnames
[] = {
24521 (char *) "self",(char *) "evt", NULL
24524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
24525 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24526 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24527 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxKeyEvent
,
24528 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24530 if (arg2
== NULL
) {
24531 PyErr_SetString(PyExc_TypeError
,"null reference");
24535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24536 (arg1
)->SetKeyEvent((wxKeyEvent
const &)*arg2
);
24538 wxPyEndAllowThreads(__tstate
);
24539 if (PyErr_Occurred()) SWIG_fail
;
24541 Py_INCREF(Py_None
); resultobj
= Py_None
;
24548 static PyObject
*_wrap_TreeEvent_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24549 PyObject
*resultobj
;
24550 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24552 PyObject
* obj0
= 0 ;
24553 char *kwnames
[] = {
24554 (char *) "self", NULL
24557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
24558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24563 wxString
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetLabel();
24564 result
= (wxString
*) &_result_ref
;
24567 wxPyEndAllowThreads(__tstate
);
24568 if (PyErr_Occurred()) SWIG_fail
;
24572 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
24574 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
24583 static PyObject
*_wrap_TreeEvent_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24584 PyObject
*resultobj
;
24585 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24586 wxString
*arg2
= 0 ;
24587 bool temp2
= False
;
24588 PyObject
* obj0
= 0 ;
24589 PyObject
* obj1
= 0 ;
24590 char *kwnames
[] = {
24591 (char *) "self",(char *) "label", NULL
24594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
24595 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24598 arg2
= wxString_in_helper(obj1
);
24599 if (arg2
== NULL
) SWIG_fail
;
24603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24604 (arg1
)->SetLabel((wxString
const &)*arg2
);
24606 wxPyEndAllowThreads(__tstate
);
24607 if (PyErr_Occurred()) SWIG_fail
;
24609 Py_INCREF(Py_None
); resultobj
= Py_None
;
24624 static PyObject
*_wrap_TreeEvent_IsEditCancelled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24625 PyObject
*resultobj
;
24626 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24628 PyObject
* obj0
= 0 ;
24629 char *kwnames
[] = {
24630 (char *) "self", NULL
24633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
24634 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24638 result
= (bool)((wxTreeEvent
const *)arg1
)->IsEditCancelled();
24640 wxPyEndAllowThreads(__tstate
);
24641 if (PyErr_Occurred()) SWIG_fail
;
24644 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24652 static PyObject
*_wrap_TreeEvent_SetEditCanceled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24653 PyObject
*resultobj
;
24654 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24656 PyObject
* obj0
= 0 ;
24657 PyObject
* obj1
= 0 ;
24658 char *kwnames
[] = {
24659 (char *) "self",(char *) "editCancelled", NULL
24662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
24663 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24665 arg2
= (bool) SWIG_AsBool(obj1
);
24666 if (PyErr_Occurred()) SWIG_fail
;
24668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24669 (arg1
)->SetEditCanceled(arg2
);
24671 wxPyEndAllowThreads(__tstate
);
24672 if (PyErr_Occurred()) SWIG_fail
;
24674 Py_INCREF(Py_None
); resultobj
= Py_None
;
24681 static PyObject
*_wrap_TreeEvent_SetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24682 PyObject
*resultobj
;
24683 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24684 wxString
*arg2
= 0 ;
24685 bool temp2
= False
;
24686 PyObject
* obj0
= 0 ;
24687 PyObject
* obj1
= 0 ;
24688 char *kwnames
[] = {
24689 (char *) "self",(char *) "toolTip", NULL
24692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
24693 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24696 arg2
= wxString_in_helper(obj1
);
24697 if (arg2
== NULL
) SWIG_fail
;
24701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24702 (arg1
)->SetToolTip((wxString
const &)*arg2
);
24704 wxPyEndAllowThreads(__tstate
);
24705 if (PyErr_Occurred()) SWIG_fail
;
24707 Py_INCREF(Py_None
); resultobj
= Py_None
;
24722 static PyObject
* TreeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
24724 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24725 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent
, obj
);
24727 return Py_BuildValue((char *)"");
24729 static PyObject
*_wrap_new_TreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24730 PyObject
*resultobj
;
24731 wxWindow
*arg1
= (wxWindow
*) 0 ;
24732 int arg2
= (int) -1 ;
24733 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
24734 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
24735 wxSize
const &arg4_defvalue
= wxDefaultSize
;
24736 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
24737 long arg5
= (long) wxTR_DEFAULT_STYLE
;
24738 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
24739 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
24740 wxString
const &arg7_defvalue
= wxPyTreeCtrlNameStr
;
24741 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
24742 wxPyTreeCtrl
*result
;
24745 bool temp7
= False
;
24746 PyObject
* obj0
= 0 ;
24747 PyObject
* obj1
= 0 ;
24748 PyObject
* obj2
= 0 ;
24749 PyObject
* obj3
= 0 ;
24750 PyObject
* obj4
= 0 ;
24751 PyObject
* obj5
= 0 ;
24752 PyObject
* obj6
= 0 ;
24753 char *kwnames
[] = {
24754 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
24757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_TreeCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
24758 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24761 arg2
= (int) SWIG_AsInt(obj1
);
24762 if (PyErr_Occurred()) SWIG_fail
;
24767 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
24773 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
24777 arg5
= (long) SWIG_AsLong(obj4
);
24778 if (PyErr_Occurred()) SWIG_fail
;
24781 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
24782 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24784 if (arg6
== NULL
) {
24785 PyErr_SetString(PyExc_TypeError
,"null reference");
24791 arg7
= wxString_in_helper(obj6
);
24792 if (arg7
== NULL
) SWIG_fail
;
24797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24798 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
24800 wxPyEndAllowThreads(__tstate
);
24801 if (PyErr_Occurred()) SWIG_fail
;
24804 resultobj
= wxPyMake_wxObject(result
);
24820 static PyObject
*_wrap_new_PreTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24821 PyObject
*resultobj
;
24822 wxPyTreeCtrl
*result
;
24823 char *kwnames
[] = {
24827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTreeCtrl",kwnames
)) goto fail
;
24829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24830 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl();
24832 wxPyEndAllowThreads(__tstate
);
24833 if (PyErr_Occurred()) SWIG_fail
;
24836 resultobj
= wxPyMake_wxObject(result
);
24844 static PyObject
*_wrap_TreeCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24845 PyObject
*resultobj
;
24846 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24847 wxWindow
*arg2
= (wxWindow
*) 0 ;
24848 int arg3
= (int) -1 ;
24849 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
24850 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
24851 wxSize
const &arg5_defvalue
= wxDefaultSize
;
24852 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
24853 long arg6
= (long) wxTR_DEFAULT_STYLE
;
24854 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
24855 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
24856 wxString
const &arg8_defvalue
= wxPyTreeCtrlNameStr
;
24857 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
24861 bool temp8
= False
;
24862 PyObject
* obj0
= 0 ;
24863 PyObject
* obj1
= 0 ;
24864 PyObject
* obj2
= 0 ;
24865 PyObject
* obj3
= 0 ;
24866 PyObject
* obj4
= 0 ;
24867 PyObject
* obj5
= 0 ;
24868 PyObject
* obj6
= 0 ;
24869 PyObject
* obj7
= 0 ;
24870 char *kwnames
[] = {
24871 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
24874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
24875 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24877 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24880 arg3
= (int) SWIG_AsInt(obj2
);
24881 if (PyErr_Occurred()) SWIG_fail
;
24886 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
24892 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
24896 arg6
= (long) SWIG_AsLong(obj5
);
24897 if (PyErr_Occurred()) SWIG_fail
;
24900 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
24901 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24903 if (arg7
== NULL
) {
24904 PyErr_SetString(PyExc_TypeError
,"null reference");
24910 arg8
= wxString_in_helper(obj7
);
24911 if (arg8
== NULL
) SWIG_fail
;
24916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24917 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
24919 wxPyEndAllowThreads(__tstate
);
24920 if (PyErr_Occurred()) SWIG_fail
;
24923 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24939 static PyObject
*_wrap_TreeCtrl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24940 PyObject
*resultobj
;
24941 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24942 PyObject
*arg2
= (PyObject
*) 0 ;
24943 PyObject
*arg3
= (PyObject
*) 0 ;
24944 PyObject
* obj0
= 0 ;
24945 PyObject
* obj1
= 0 ;
24946 PyObject
* obj2
= 0 ;
24947 char *kwnames
[] = {
24948 (char *) "self",(char *) "self",(char *) "_class", NULL
24951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24958 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24960 wxPyEndAllowThreads(__tstate
);
24961 if (PyErr_Occurred()) SWIG_fail
;
24963 Py_INCREF(Py_None
); resultobj
= Py_None
;
24970 static PyObject
*_wrap_TreeCtrl_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24971 PyObject
*resultobj
;
24972 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24974 PyObject
* obj0
= 0 ;
24975 char *kwnames
[] = {
24976 (char *) "self", NULL
24979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetCount",kwnames
,&obj0
)) goto fail
;
24980 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24984 result
= (size_t)((wxPyTreeCtrl
const *)arg1
)->GetCount();
24986 wxPyEndAllowThreads(__tstate
);
24987 if (PyErr_Occurred()) SWIG_fail
;
24989 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
24996 static PyObject
*_wrap_TreeCtrl_GetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24997 PyObject
*resultobj
;
24998 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24999 unsigned int result
;
25000 PyObject
* obj0
= 0 ;
25001 char *kwnames
[] = {
25002 (char *) "self", NULL
25005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetIndent",kwnames
,&obj0
)) goto fail
;
25006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25010 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetIndent();
25012 wxPyEndAllowThreads(__tstate
);
25013 if (PyErr_Occurred()) SWIG_fail
;
25015 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
25022 static PyObject
*_wrap_TreeCtrl_SetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25023 PyObject
*resultobj
;
25024 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25025 unsigned int arg2
;
25026 PyObject
* obj0
= 0 ;
25027 PyObject
* obj1
= 0 ;
25028 char *kwnames
[] = {
25029 (char *) "self",(char *) "indent", NULL
25032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
25033 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25035 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
25036 if (PyErr_Occurred()) SWIG_fail
;
25038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25039 (arg1
)->SetIndent(arg2
);
25041 wxPyEndAllowThreads(__tstate
);
25042 if (PyErr_Occurred()) SWIG_fail
;
25044 Py_INCREF(Py_None
); resultobj
= Py_None
;
25051 static PyObject
*_wrap_TreeCtrl_GetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25052 PyObject
*resultobj
;
25053 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25054 unsigned int result
;
25055 PyObject
* obj0
= 0 ;
25056 char *kwnames
[] = {
25057 (char *) "self", NULL
25060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSpacing",kwnames
,&obj0
)) goto fail
;
25061 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25065 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetSpacing();
25067 wxPyEndAllowThreads(__tstate
);
25068 if (PyErr_Occurred()) SWIG_fail
;
25070 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
25077 static PyObject
*_wrap_TreeCtrl_SetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25078 PyObject
*resultobj
;
25079 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25080 unsigned int arg2
;
25081 PyObject
* obj0
= 0 ;
25082 PyObject
* obj1
= 0 ;
25083 char *kwnames
[] = {
25084 (char *) "self",(char *) "spacing", NULL
25087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",kwnames
,&obj0
,&obj1
)) goto fail
;
25088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25090 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
25091 if (PyErr_Occurred()) SWIG_fail
;
25093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25094 (arg1
)->SetSpacing(arg2
);
25096 wxPyEndAllowThreads(__tstate
);
25097 if (PyErr_Occurred()) SWIG_fail
;
25099 Py_INCREF(Py_None
); resultobj
= Py_None
;
25106 static PyObject
*_wrap_TreeCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25107 PyObject
*resultobj
;
25108 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25109 wxImageList
*result
;
25110 PyObject
* obj0
= 0 ;
25111 char *kwnames
[] = {
25112 (char *) "self", NULL
25115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
25116 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25120 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetImageList();
25122 wxPyEndAllowThreads(__tstate
);
25123 if (PyErr_Occurred()) SWIG_fail
;
25126 resultobj
= wxPyMake_wxObject(result
);
25134 static PyObject
*_wrap_TreeCtrl_GetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25135 PyObject
*resultobj
;
25136 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25137 wxImageList
*result
;
25138 PyObject
* obj0
= 0 ;
25139 char *kwnames
[] = {
25140 (char *) "self", NULL
25143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetStateImageList",kwnames
,&obj0
)) goto fail
;
25144 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25148 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetStateImageList();
25150 wxPyEndAllowThreads(__tstate
);
25151 if (PyErr_Occurred()) SWIG_fail
;
25154 resultobj
= wxPyMake_wxObject(result
);
25162 static PyObject
*_wrap_TreeCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25163 PyObject
*resultobj
;
25164 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25165 wxImageList
*arg2
= (wxImageList
*) 0 ;
25166 PyObject
* obj0
= 0 ;
25167 PyObject
* obj1
= 0 ;
25168 char *kwnames
[] = {
25169 (char *) "self",(char *) "imageList", NULL
25172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
25173 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25174 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25175 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
25176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25179 (arg1
)->SetImageList(arg2
);
25181 wxPyEndAllowThreads(__tstate
);
25182 if (PyErr_Occurred()) SWIG_fail
;
25184 Py_INCREF(Py_None
); resultobj
= Py_None
;
25191 static PyObject
*_wrap_TreeCtrl_SetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25192 PyObject
*resultobj
;
25193 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25194 wxImageList
*arg2
= (wxImageList
*) 0 ;
25195 PyObject
* obj0
= 0 ;
25196 PyObject
* obj1
= 0 ;
25197 char *kwnames
[] = {
25198 (char *) "self",(char *) "imageList", NULL
25201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
25202 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25204 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
25205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25208 (arg1
)->SetStateImageList(arg2
);
25210 wxPyEndAllowThreads(__tstate
);
25211 if (PyErr_Occurred()) SWIG_fail
;
25213 Py_INCREF(Py_None
); resultobj
= Py_None
;
25220 static PyObject
*_wrap_TreeCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25221 PyObject
*resultobj
;
25222 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25223 wxImageList
*arg2
= (wxImageList
*) 0 ;
25224 PyObject
* obj0
= 0 ;
25225 PyObject
* obj1
= 0 ;
25226 char *kwnames
[] = {
25227 (char *) "self",(char *) "imageList", NULL
25230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
25231 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25233 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
25234 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
25236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25237 (arg1
)->AssignImageList(arg2
);
25239 wxPyEndAllowThreads(__tstate
);
25240 if (PyErr_Occurred()) SWIG_fail
;
25242 Py_INCREF(Py_None
); resultobj
= Py_None
;
25249 static PyObject
*_wrap_TreeCtrl_AssignStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25250 PyObject
*resultobj
;
25251 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25252 wxImageList
*arg2
= (wxImageList
*) 0 ;
25253 PyObject
* obj0
= 0 ;
25254 PyObject
* obj1
= 0 ;
25255 char *kwnames
[] = {
25256 (char *) "self",(char *) "imageList", NULL
25259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
25260 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25261 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25262 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
25263 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
25265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25266 (arg1
)->AssignStateImageList(arg2
);
25268 wxPyEndAllowThreads(__tstate
);
25269 if (PyErr_Occurred()) SWIG_fail
;
25271 Py_INCREF(Py_None
); resultobj
= Py_None
;
25278 static PyObject
*_wrap_TreeCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25279 PyObject
*resultobj
;
25280 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25281 wxTreeItemId
*arg2
= 0 ;
25283 PyObject
* obj0
= 0 ;
25284 PyObject
* obj1
= 0 ;
25285 char *kwnames
[] = {
25286 (char *) "self",(char *) "item", NULL
25289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
25290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25292 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25293 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25295 if (arg2
== NULL
) {
25296 PyErr_SetString(PyExc_TypeError
,"null reference");
25300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25301 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemText((wxTreeItemId
const &)*arg2
);
25303 wxPyEndAllowThreads(__tstate
);
25304 if (PyErr_Occurred()) SWIG_fail
;
25308 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25310 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25319 static PyObject
*_wrap_TreeCtrl_GetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25320 PyObject
*resultobj
;
25321 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25322 wxTreeItemId
*arg2
= 0 ;
25323 int arg3
= (int) wxTreeItemIcon_Normal
;
25325 PyObject
* obj0
= 0 ;
25326 PyObject
* obj1
= 0 ;
25327 PyObject
* obj2
= 0 ;
25328 char *kwnames
[] = {
25329 (char *) "self",(char *) "item",(char *) "which", NULL
25332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25333 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25334 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25335 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25336 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25338 if (arg2
== NULL
) {
25339 PyErr_SetString(PyExc_TypeError
,"null reference");
25343 arg3
= (wxTreeItemIcon
) SWIG_AsInt(obj2
);
25344 if (PyErr_Occurred()) SWIG_fail
;
25347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25348 result
= (int)((wxPyTreeCtrl
const *)arg1
)->GetItemImage((wxTreeItemId
const &)*arg2
,(wxTreeItemIcon
)arg3
);
25350 wxPyEndAllowThreads(__tstate
);
25351 if (PyErr_Occurred()) SWIG_fail
;
25353 resultobj
= SWIG_FromInt((int)result
);
25360 static PyObject
*_wrap_TreeCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25361 PyObject
*resultobj
;
25362 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25363 wxTreeItemId
*arg2
= 0 ;
25364 wxPyTreeItemData
*result
;
25365 PyObject
* obj0
= 0 ;
25366 PyObject
* obj1
= 0 ;
25367 char *kwnames
[] = {
25368 (char *) "self",(char *) "item", NULL
25371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
25372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25374 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25375 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25377 if (arg2
== NULL
) {
25378 PyErr_SetString(PyExc_TypeError
,"null reference");
25382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25383 result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
25385 wxPyEndAllowThreads(__tstate
);
25386 if (PyErr_Occurred()) SWIG_fail
;
25388 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 0);
25395 static PyObject
*_wrap_TreeCtrl_GetItemPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25396 PyObject
*resultobj
;
25397 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25398 wxTreeItemId
*arg2
= 0 ;
25400 PyObject
* obj0
= 0 ;
25401 PyObject
* obj1
= 0 ;
25402 char *kwnames
[] = {
25403 (char *) "self",(char *) "item", NULL
25406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemPyData",kwnames
,&obj0
,&obj1
)) goto fail
;
25407 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25408 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25409 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25410 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25412 if (arg2
== NULL
) {
25413 PyErr_SetString(PyExc_TypeError
,"null reference");
25417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25418 result
= (PyObject
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
25420 wxPyEndAllowThreads(__tstate
);
25421 if (PyErr_Occurred()) SWIG_fail
;
25423 resultobj
= result
;
25430 static PyObject
*_wrap_TreeCtrl_GetItemTextColour(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_GetItemTextColour",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
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
25455 wxPyEndAllowThreads(__tstate
);
25456 if (PyErr_Occurred()) SWIG_fail
;
25459 wxColour
* resultptr
;
25460 resultptr
= new wxColour((wxColour
&) result
);
25461 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
25469 static PyObject
*_wrap_TreeCtrl_GetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25470 PyObject
*resultobj
;
25471 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25472 wxTreeItemId
*arg2
= 0 ;
25474 PyObject
* obj0
= 0 ;
25475 PyObject
* obj1
= 0 ;
25476 char *kwnames
[] = {
25477 (char *) "self",(char *) "item", NULL
25480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
25481 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25483 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25484 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25486 if (arg2
== NULL
) {
25487 PyErr_SetString(PyExc_TypeError
,"null reference");
25491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25492 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId
const &)*arg2
);
25494 wxPyEndAllowThreads(__tstate
);
25495 if (PyErr_Occurred()) SWIG_fail
;
25498 wxColour
* resultptr
;
25499 resultptr
= new wxColour((wxColour
&) result
);
25500 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
25508 static PyObject
*_wrap_TreeCtrl_GetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25509 PyObject
*resultobj
;
25510 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25511 wxTreeItemId
*arg2
= 0 ;
25513 PyObject
* obj0
= 0 ;
25514 PyObject
* obj1
= 0 ;
25515 char *kwnames
[] = {
25516 (char *) "self",(char *) "item", NULL
25519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) goto fail
;
25520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25522 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25523 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25525 if (arg2
== NULL
) {
25526 PyErr_SetString(PyExc_TypeError
,"null reference");
25530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25531 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
25533 wxPyEndAllowThreads(__tstate
);
25534 if (PyErr_Occurred()) SWIG_fail
;
25537 wxFont
* resultptr
;
25538 resultptr
= new wxFont((wxFont
&) result
);
25539 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
25547 static PyObject
*_wrap_TreeCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25548 PyObject
*resultobj
;
25549 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25550 wxTreeItemId
*arg2
= 0 ;
25551 wxString
*arg3
= 0 ;
25552 bool temp3
= False
;
25553 PyObject
* obj0
= 0 ;
25554 PyObject
* obj1
= 0 ;
25555 PyObject
* obj2
= 0 ;
25556 char *kwnames
[] = {
25557 (char *) "self",(char *) "item",(char *) "text", NULL
25560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25561 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25563 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25564 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25566 if (arg2
== NULL
) {
25567 PyErr_SetString(PyExc_TypeError
,"null reference");
25571 arg3
= wxString_in_helper(obj2
);
25572 if (arg3
== NULL
) SWIG_fail
;
25576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25577 (arg1
)->SetItemText((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
);
25579 wxPyEndAllowThreads(__tstate
);
25580 if (PyErr_Occurred()) SWIG_fail
;
25582 Py_INCREF(Py_None
); resultobj
= Py_None
;
25597 static PyObject
*_wrap_TreeCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25598 PyObject
*resultobj
;
25599 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25600 wxTreeItemId
*arg2
= 0 ;
25602 int arg4
= (int) wxTreeItemIcon_Normal
;
25603 PyObject
* obj0
= 0 ;
25604 PyObject
* obj1
= 0 ;
25605 PyObject
* obj2
= 0 ;
25606 PyObject
* obj3
= 0 ;
25607 char *kwnames
[] = {
25608 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
25611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25612 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25614 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25615 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25617 if (arg2
== NULL
) {
25618 PyErr_SetString(PyExc_TypeError
,"null reference");
25621 arg3
= (int) SWIG_AsInt(obj2
);
25622 if (PyErr_Occurred()) SWIG_fail
;
25624 arg4
= (wxTreeItemIcon
) SWIG_AsInt(obj3
);
25625 if (PyErr_Occurred()) SWIG_fail
;
25628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25629 (arg1
)->SetItemImage((wxTreeItemId
const &)*arg2
,arg3
,(wxTreeItemIcon
)arg4
);
25631 wxPyEndAllowThreads(__tstate
);
25632 if (PyErr_Occurred()) SWIG_fail
;
25634 Py_INCREF(Py_None
); resultobj
= Py_None
;
25641 static PyObject
*_wrap_TreeCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25642 PyObject
*resultobj
;
25643 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25644 wxTreeItemId
*arg2
= 0 ;
25645 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
25646 PyObject
* obj0
= 0 ;
25647 PyObject
* obj1
= 0 ;
25648 PyObject
* obj2
= 0 ;
25649 char *kwnames
[] = {
25650 (char *) "self",(char *) "item",(char *) "data", NULL
25653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25654 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25655 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25656 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25657 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25659 if (arg2
== NULL
) {
25660 PyErr_SetString(PyExc_TypeError
,"null reference");
25663 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyTreeItemData
,
25664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25667 wxPyTreeCtrl_SetItemData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
25669 wxPyEndAllowThreads(__tstate
);
25670 if (PyErr_Occurred()) SWIG_fail
;
25672 Py_INCREF(Py_None
); resultobj
= Py_None
;
25679 static PyObject
*_wrap_TreeCtrl_SetItemPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25680 PyObject
*resultobj
;
25681 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25682 wxTreeItemId
*arg2
= 0 ;
25683 PyObject
*arg3
= (PyObject
*) 0 ;
25684 PyObject
* obj0
= 0 ;
25685 PyObject
* obj1
= 0 ;
25686 PyObject
* obj2
= 0 ;
25687 char *kwnames
[] = {
25688 (char *) "self",(char *) "item",(char *) "obj", NULL
25691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25692 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25694 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25695 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25697 if (arg2
== NULL
) {
25698 PyErr_SetString(PyExc_TypeError
,"null reference");
25703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25704 wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
25706 wxPyEndAllowThreads(__tstate
);
25707 if (PyErr_Occurred()) SWIG_fail
;
25709 Py_INCREF(Py_None
); resultobj
= Py_None
;
25716 static PyObject
*_wrap_TreeCtrl_SetItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25717 PyObject
*resultobj
;
25718 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25719 wxTreeItemId
*arg2
= 0 ;
25720 bool arg3
= (bool) True
;
25721 PyObject
* obj0
= 0 ;
25722 PyObject
* obj1
= 0 ;
25723 PyObject
* obj2
= 0 ;
25724 char *kwnames
[] = {
25725 (char *) "self",(char *) "item",(char *) "has", NULL
25728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25729 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25731 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25732 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25734 if (arg2
== NULL
) {
25735 PyErr_SetString(PyExc_TypeError
,"null reference");
25739 arg3
= (bool) SWIG_AsBool(obj2
);
25740 if (PyErr_Occurred()) SWIG_fail
;
25743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25744 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
25746 wxPyEndAllowThreads(__tstate
);
25747 if (PyErr_Occurred()) SWIG_fail
;
25749 Py_INCREF(Py_None
); resultobj
= Py_None
;
25756 static PyObject
*_wrap_TreeCtrl_SetItemBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25757 PyObject
*resultobj
;
25758 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25759 wxTreeItemId
*arg2
= 0 ;
25760 bool arg3
= (bool) True
;
25761 PyObject
* obj0
= 0 ;
25762 PyObject
* obj1
= 0 ;
25763 PyObject
* obj2
= 0 ;
25764 char *kwnames
[] = {
25765 (char *) "self",(char *) "item",(char *) "bold", NULL
25768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25769 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25771 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25772 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25774 if (arg2
== NULL
) {
25775 PyErr_SetString(PyExc_TypeError
,"null reference");
25779 arg3
= (bool) SWIG_AsBool(obj2
);
25780 if (PyErr_Occurred()) SWIG_fail
;
25783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25784 (arg1
)->SetItemBold((wxTreeItemId
const &)*arg2
,arg3
);
25786 wxPyEndAllowThreads(__tstate
);
25787 if (PyErr_Occurred()) SWIG_fail
;
25789 Py_INCREF(Py_None
); resultobj
= Py_None
;
25796 static PyObject
*_wrap_TreeCtrl_SetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25797 PyObject
*resultobj
;
25798 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25799 wxTreeItemId
*arg2
= 0 ;
25800 wxColour
*arg3
= 0 ;
25802 PyObject
* obj0
= 0 ;
25803 PyObject
* obj1
= 0 ;
25804 PyObject
* obj2
= 0 ;
25805 char *kwnames
[] = {
25806 (char *) "self",(char *) "item",(char *) "col", NULL
25809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25812 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25813 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25815 if (arg2
== NULL
) {
25816 PyErr_SetString(PyExc_TypeError
,"null reference");
25821 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
25824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25825 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
25827 wxPyEndAllowThreads(__tstate
);
25828 if (PyErr_Occurred()) SWIG_fail
;
25830 Py_INCREF(Py_None
); resultobj
= Py_None
;
25837 static PyObject
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25838 PyObject
*resultobj
;
25839 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25840 wxTreeItemId
*arg2
= 0 ;
25841 wxColour
*arg3
= 0 ;
25843 PyObject
* obj0
= 0 ;
25844 PyObject
* obj1
= 0 ;
25845 PyObject
* obj2
= 0 ;
25846 char *kwnames
[] = {
25847 (char *) "self",(char *) "item",(char *) "col", NULL
25850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25853 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25854 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25856 if (arg2
== NULL
) {
25857 PyErr_SetString(PyExc_TypeError
,"null reference");
25862 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
25865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25866 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
25868 wxPyEndAllowThreads(__tstate
);
25869 if (PyErr_Occurred()) SWIG_fail
;
25871 Py_INCREF(Py_None
); resultobj
= Py_None
;
25878 static PyObject
*_wrap_TreeCtrl_SetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25879 PyObject
*resultobj
;
25880 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25881 wxTreeItemId
*arg2
= 0 ;
25883 PyObject
* obj0
= 0 ;
25884 PyObject
* obj1
= 0 ;
25885 PyObject
* obj2
= 0 ;
25886 char *kwnames
[] = {
25887 (char *) "self",(char *) "item",(char *) "font", NULL
25890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25891 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25892 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25893 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25894 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25896 if (arg2
== NULL
) {
25897 PyErr_SetString(PyExc_TypeError
,"null reference");
25900 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
25901 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25903 if (arg3
== NULL
) {
25904 PyErr_SetString(PyExc_TypeError
,"null reference");
25908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25909 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
25911 wxPyEndAllowThreads(__tstate
);
25912 if (PyErr_Occurred()) SWIG_fail
;
25914 Py_INCREF(Py_None
); resultobj
= Py_None
;
25921 static PyObject
*_wrap_TreeCtrl_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25922 PyObject
*resultobj
;
25923 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25924 wxTreeItemId
*arg2
= 0 ;
25926 PyObject
* obj0
= 0 ;
25927 PyObject
* obj1
= 0 ;
25928 char *kwnames
[] = {
25929 (char *) "self",(char *) "item", NULL
25932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
25933 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25935 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25936 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25938 if (arg2
== NULL
) {
25939 PyErr_SetString(PyExc_TypeError
,"null reference");
25943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25944 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsVisible((wxTreeItemId
const &)*arg2
);
25946 wxPyEndAllowThreads(__tstate
);
25947 if (PyErr_Occurred()) SWIG_fail
;
25950 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25958 static PyObject
*_wrap_TreeCtrl_ItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25959 PyObject
*resultobj
;
25960 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25961 wxTreeItemId
*arg2
= 0 ;
25963 PyObject
* obj0
= 0 ;
25964 PyObject
* obj1
= 0 ;
25965 char *kwnames
[] = {
25966 (char *) "self",(char *) "item", NULL
25969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
25970 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25972 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25973 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25975 if (arg2
== NULL
) {
25976 PyErr_SetString(PyExc_TypeError
,"null reference");
25980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25981 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->ItemHasChildren((wxTreeItemId
const &)*arg2
);
25983 wxPyEndAllowThreads(__tstate
);
25984 if (PyErr_Occurred()) SWIG_fail
;
25987 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25995 static PyObject
*_wrap_TreeCtrl_IsExpanded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25996 PyObject
*resultobj
;
25997 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25998 wxTreeItemId
*arg2
= 0 ;
26000 PyObject
* obj0
= 0 ;
26001 PyObject
* obj1
= 0 ;
26002 char *kwnames
[] = {
26003 (char *) "self",(char *) "item", NULL
26006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) goto fail
;
26007 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26009 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26010 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26012 if (arg2
== NULL
) {
26013 PyErr_SetString(PyExc_TypeError
,"null reference");
26017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26018 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsExpanded((wxTreeItemId
const &)*arg2
);
26020 wxPyEndAllowThreads(__tstate
);
26021 if (PyErr_Occurred()) SWIG_fail
;
26024 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26032 static PyObject
*_wrap_TreeCtrl_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26033 PyObject
*resultobj
;
26034 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26035 wxTreeItemId
*arg2
= 0 ;
26037 PyObject
* obj0
= 0 ;
26038 PyObject
* obj1
= 0 ;
26039 char *kwnames
[] = {
26040 (char *) "self",(char *) "item", NULL
26043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
26044 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26046 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26047 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26049 if (arg2
== NULL
) {
26050 PyErr_SetString(PyExc_TypeError
,"null reference");
26054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26055 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsSelected((wxTreeItemId
const &)*arg2
);
26057 wxPyEndAllowThreads(__tstate
);
26058 if (PyErr_Occurred()) SWIG_fail
;
26061 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26069 static PyObject
*_wrap_TreeCtrl_IsBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26070 PyObject
*resultobj
;
26071 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26072 wxTreeItemId
*arg2
= 0 ;
26074 PyObject
* obj0
= 0 ;
26075 PyObject
* obj1
= 0 ;
26076 char *kwnames
[] = {
26077 (char *) "self",(char *) "item", NULL
26080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsBold",kwnames
,&obj0
,&obj1
)) goto fail
;
26081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26083 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26084 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26086 if (arg2
== NULL
) {
26087 PyErr_SetString(PyExc_TypeError
,"null reference");
26091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26092 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsBold((wxTreeItemId
const &)*arg2
);
26094 wxPyEndAllowThreads(__tstate
);
26095 if (PyErr_Occurred()) SWIG_fail
;
26098 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26106 static PyObject
*_wrap_TreeCtrl_GetChildrenCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26107 PyObject
*resultobj
;
26108 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26109 wxTreeItemId
*arg2
= 0 ;
26110 bool arg3
= (bool) True
;
26112 PyObject
* obj0
= 0 ;
26113 PyObject
* obj1
= 0 ;
26114 PyObject
* obj2
= 0 ;
26115 char *kwnames
[] = {
26116 (char *) "self",(char *) "item",(char *) "recursively", NULL
26119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26120 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26121 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26122 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26123 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26125 if (arg2
== NULL
) {
26126 PyErr_SetString(PyExc_TypeError
,"null reference");
26130 arg3
= (bool) SWIG_AsBool(obj2
);
26131 if (PyErr_Occurred()) SWIG_fail
;
26134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26135 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
26137 wxPyEndAllowThreads(__tstate
);
26138 if (PyErr_Occurred()) SWIG_fail
;
26140 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
26147 static PyObject
*_wrap_TreeCtrl_GetRootItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26148 PyObject
*resultobj
;
26149 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26150 wxTreeItemId result
;
26151 PyObject
* obj0
= 0 ;
26152 char *kwnames
[] = {
26153 (char *) "self", NULL
26156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetRootItem",kwnames
,&obj0
)) goto fail
;
26157 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26158 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26161 result
= ((wxPyTreeCtrl
const *)arg1
)->GetRootItem();
26163 wxPyEndAllowThreads(__tstate
);
26164 if (PyErr_Occurred()) SWIG_fail
;
26167 wxTreeItemId
* resultptr
;
26168 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26169 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26177 static PyObject
*_wrap_TreeCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26178 PyObject
*resultobj
;
26179 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26180 wxTreeItemId result
;
26181 PyObject
* obj0
= 0 ;
26182 char *kwnames
[] = {
26183 (char *) "self", NULL
26186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
26187 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26191 result
= ((wxPyTreeCtrl
const *)arg1
)->GetSelection();
26193 wxPyEndAllowThreads(__tstate
);
26194 if (PyErr_Occurred()) SWIG_fail
;
26197 wxTreeItemId
* resultptr
;
26198 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26199 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26207 static PyObject
*_wrap_TreeCtrl_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26208 PyObject
*resultobj
;
26209 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26211 PyObject
* obj0
= 0 ;
26212 char *kwnames
[] = {
26213 (char *) "self", NULL
26216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelections",kwnames
,&obj0
)) goto fail
;
26217 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26218 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26221 result
= (PyObject
*)wxPyTreeCtrl_GetSelections(arg1
);
26223 wxPyEndAllowThreads(__tstate
);
26224 if (PyErr_Occurred()) SWIG_fail
;
26226 resultobj
= result
;
26233 static PyObject
*_wrap_TreeCtrl_GetItemParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26234 PyObject
*resultobj
;
26235 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26236 wxTreeItemId
*arg2
= 0 ;
26237 wxTreeItemId result
;
26238 PyObject
* obj0
= 0 ;
26239 PyObject
* obj1
= 0 ;
26240 char *kwnames
[] = {
26241 (char *) "self",(char *) "item", NULL
26244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) goto fail
;
26245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26247 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26248 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26250 if (arg2
== NULL
) {
26251 PyErr_SetString(PyExc_TypeError
,"null reference");
26255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26256 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
26258 wxPyEndAllowThreads(__tstate
);
26259 if (PyErr_Occurred()) SWIG_fail
;
26262 wxTreeItemId
* resultptr
;
26263 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26264 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26272 static PyObject
*_wrap_TreeCtrl_GetFirstChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26273 PyObject
*resultobj
;
26274 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26275 wxTreeItemId
*arg2
= 0 ;
26277 PyObject
* obj0
= 0 ;
26278 PyObject
* obj1
= 0 ;
26279 char *kwnames
[] = {
26280 (char *) "self",(char *) "item", NULL
26283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) goto fail
;
26284 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26286 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26287 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26289 if (arg2
== NULL
) {
26290 PyErr_SetString(PyExc_TypeError
,"null reference");
26294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26295 result
= (PyObject
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
26297 wxPyEndAllowThreads(__tstate
);
26298 if (PyErr_Occurred()) SWIG_fail
;
26300 resultobj
= result
;
26307 static PyObject
*_wrap_TreeCtrl_GetNextChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26308 PyObject
*resultobj
;
26309 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26310 wxTreeItemId
*arg2
= 0 ;
26311 void *arg3
= (void *) 0 ;
26313 PyObject
* obj0
= 0 ;
26314 PyObject
* obj1
= 0 ;
26315 PyObject
* obj2
= 0 ;
26316 char *kwnames
[] = {
26317 (char *) "self",(char *) "item",(char *) "cookie", NULL
26320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26321 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26323 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26324 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26326 if (arg2
== NULL
) {
26327 PyErr_SetString(PyExc_TypeError
,"null reference");
26330 if ((SWIG_ConvertPtr(obj2
,&arg3
,0,SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26333 result
= (PyObject
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
26335 wxPyEndAllowThreads(__tstate
);
26336 if (PyErr_Occurred()) SWIG_fail
;
26338 resultobj
= result
;
26345 static PyObject
*_wrap_TreeCtrl_GetLastChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26346 PyObject
*resultobj
;
26347 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26348 wxTreeItemId
*arg2
= 0 ;
26349 wxTreeItemId result
;
26350 PyObject
* obj0
= 0 ;
26351 PyObject
* obj1
= 0 ;
26352 char *kwnames
[] = {
26353 (char *) "self",(char *) "item", NULL
26356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) goto fail
;
26357 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26358 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26359 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26360 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26362 if (arg2
== NULL
) {
26363 PyErr_SetString(PyExc_TypeError
,"null reference");
26367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26368 result
= ((wxPyTreeCtrl
const *)arg1
)->GetLastChild((wxTreeItemId
const &)*arg2
);
26370 wxPyEndAllowThreads(__tstate
);
26371 if (PyErr_Occurred()) SWIG_fail
;
26374 wxTreeItemId
* resultptr
;
26375 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26376 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26384 static PyObject
*_wrap_TreeCtrl_GetNextSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26385 PyObject
*resultobj
;
26386 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26387 wxTreeItemId
*arg2
= 0 ;
26388 wxTreeItemId result
;
26389 PyObject
* obj0
= 0 ;
26390 PyObject
* obj1
= 0 ;
26391 char *kwnames
[] = {
26392 (char *) "self",(char *) "item", NULL
26395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
26396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26398 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26399 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26401 if (arg2
== NULL
) {
26402 PyErr_SetString(PyExc_TypeError
,"null reference");
26406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26407 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextSibling((wxTreeItemId
const &)*arg2
);
26409 wxPyEndAllowThreads(__tstate
);
26410 if (PyErr_Occurred()) SWIG_fail
;
26413 wxTreeItemId
* resultptr
;
26414 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26415 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26423 static PyObject
*_wrap_TreeCtrl_GetPrevSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26424 PyObject
*resultobj
;
26425 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26426 wxTreeItemId
*arg2
= 0 ;
26427 wxTreeItemId result
;
26428 PyObject
* obj0
= 0 ;
26429 PyObject
* obj1
= 0 ;
26430 char *kwnames
[] = {
26431 (char *) "self",(char *) "item", NULL
26434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
26435 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26437 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26438 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26440 if (arg2
== NULL
) {
26441 PyErr_SetString(PyExc_TypeError
,"null reference");
26445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26446 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevSibling((wxTreeItemId
const &)*arg2
);
26448 wxPyEndAllowThreads(__tstate
);
26449 if (PyErr_Occurred()) SWIG_fail
;
26452 wxTreeItemId
* resultptr
;
26453 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26454 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26462 static PyObject
*_wrap_TreeCtrl_GetFirstVisibleItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26463 PyObject
*resultobj
;
26464 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26465 wxTreeItemId result
;
26466 PyObject
* obj0
= 0 ;
26467 char *kwnames
[] = {
26468 (char *) "self", NULL
26471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames
,&obj0
)) goto fail
;
26472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26476 result
= ((wxPyTreeCtrl
const *)arg1
)->GetFirstVisibleItem();
26478 wxPyEndAllowThreads(__tstate
);
26479 if (PyErr_Occurred()) SWIG_fail
;
26482 wxTreeItemId
* resultptr
;
26483 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26484 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26492 static PyObject
*_wrap_TreeCtrl_GetNextVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26493 PyObject
*resultobj
;
26494 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26495 wxTreeItemId
*arg2
= 0 ;
26496 wxTreeItemId result
;
26497 PyObject
* obj0
= 0 ;
26498 PyObject
* obj1
= 0 ;
26499 char *kwnames
[] = {
26500 (char *) "self",(char *) "item", NULL
26503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
26504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26506 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26507 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26509 if (arg2
== NULL
) {
26510 PyErr_SetString(PyExc_TypeError
,"null reference");
26514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26515 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextVisible((wxTreeItemId
const &)*arg2
);
26517 wxPyEndAllowThreads(__tstate
);
26518 if (PyErr_Occurred()) SWIG_fail
;
26521 wxTreeItemId
* resultptr
;
26522 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26523 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26531 static PyObject
*_wrap_TreeCtrl_GetPrevVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26532 PyObject
*resultobj
;
26533 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26534 wxTreeItemId
*arg2
= 0 ;
26535 wxTreeItemId result
;
26536 PyObject
* obj0
= 0 ;
26537 PyObject
* obj1
= 0 ;
26538 char *kwnames
[] = {
26539 (char *) "self",(char *) "item", NULL
26542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
26543 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26545 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26546 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26548 if (arg2
== NULL
) {
26549 PyErr_SetString(PyExc_TypeError
,"null reference");
26553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26554 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevVisible((wxTreeItemId
const &)*arg2
);
26556 wxPyEndAllowThreads(__tstate
);
26557 if (PyErr_Occurred()) SWIG_fail
;
26560 wxTreeItemId
* resultptr
;
26561 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26562 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26570 static PyObject
*_wrap_TreeCtrl_AddRoot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26571 PyObject
*resultobj
;
26572 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26573 wxString
*arg2
= 0 ;
26574 int arg3
= (int) -1 ;
26575 int arg4
= (int) -1 ;
26576 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
26577 wxTreeItemId result
;
26578 bool temp2
= False
;
26579 PyObject
* obj0
= 0 ;
26580 PyObject
* obj1
= 0 ;
26581 PyObject
* obj2
= 0 ;
26582 PyObject
* obj3
= 0 ;
26583 PyObject
* obj4
= 0 ;
26584 char *kwnames
[] = {
26585 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
26588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
26589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26592 arg2
= wxString_in_helper(obj1
);
26593 if (arg2
== NULL
) SWIG_fail
;
26597 arg3
= (int) SWIG_AsInt(obj2
);
26598 if (PyErr_Occurred()) SWIG_fail
;
26601 arg4
= (int) SWIG_AsInt(obj3
);
26602 if (PyErr_Occurred()) SWIG_fail
;
26605 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxPyTreeItemData
,
26606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26610 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
26612 wxPyEndAllowThreads(__tstate
);
26613 if (PyErr_Occurred()) SWIG_fail
;
26616 wxTreeItemId
* resultptr
;
26617 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26618 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26634 static PyObject
*_wrap_TreeCtrl_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26635 PyObject
*resultobj
;
26636 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26637 wxTreeItemId
*arg2
= 0 ;
26638 wxString
*arg3
= 0 ;
26639 int arg4
= (int) -1 ;
26640 int arg5
= (int) -1 ;
26641 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
26642 wxTreeItemId result
;
26643 bool temp3
= False
;
26644 PyObject
* obj0
= 0 ;
26645 PyObject
* obj1
= 0 ;
26646 PyObject
* obj2
= 0 ;
26647 PyObject
* obj3
= 0 ;
26648 PyObject
* obj4
= 0 ;
26649 PyObject
* obj5
= 0 ;
26650 char *kwnames
[] = {
26651 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
26654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
26655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26657 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26658 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26660 if (arg2
== NULL
) {
26661 PyErr_SetString(PyExc_TypeError
,"null reference");
26665 arg3
= wxString_in_helper(obj2
);
26666 if (arg3
== NULL
) SWIG_fail
;
26670 arg4
= (int) SWIG_AsInt(obj3
);
26671 if (PyErr_Occurred()) SWIG_fail
;
26674 arg5
= (int) SWIG_AsInt(obj4
);
26675 if (PyErr_Occurred()) SWIG_fail
;
26678 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxPyTreeItemData
,
26679 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26683 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
26685 wxPyEndAllowThreads(__tstate
);
26686 if (PyErr_Occurred()) SWIG_fail
;
26689 wxTreeItemId
* resultptr
;
26690 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26691 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26707 static PyObject
*_wrap_TreeCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26708 PyObject
*resultobj
;
26709 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26710 wxTreeItemId
*arg2
= 0 ;
26711 wxTreeItemId
*arg3
= 0 ;
26712 wxString
*arg4
= 0 ;
26713 int arg5
= (int) -1 ;
26714 int arg6
= (int) -1 ;
26715 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
26716 wxTreeItemId result
;
26717 bool temp4
= False
;
26718 PyObject
* obj0
= 0 ;
26719 PyObject
* obj1
= 0 ;
26720 PyObject
* obj2
= 0 ;
26721 PyObject
* obj3
= 0 ;
26722 PyObject
* obj4
= 0 ;
26723 PyObject
* obj5
= 0 ;
26724 PyObject
* obj6
= 0 ;
26725 char *kwnames
[] = {
26726 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
26729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
26730 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26732 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26733 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26735 if (arg2
== NULL
) {
26736 PyErr_SetString(PyExc_TypeError
,"null reference");
26739 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTreeItemId
,
26740 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26742 if (arg3
== NULL
) {
26743 PyErr_SetString(PyExc_TypeError
,"null reference");
26747 arg4
= wxString_in_helper(obj3
);
26748 if (arg4
== NULL
) SWIG_fail
;
26752 arg5
= (int) SWIG_AsInt(obj4
);
26753 if (PyErr_Occurred()) SWIG_fail
;
26756 arg6
= (int) SWIG_AsInt(obj5
);
26757 if (PyErr_Occurred()) SWIG_fail
;
26760 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxPyTreeItemData
,
26761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26765 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
26767 wxPyEndAllowThreads(__tstate
);
26768 if (PyErr_Occurred()) SWIG_fail
;
26771 wxTreeItemId
* resultptr
;
26772 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26773 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26789 static PyObject
*_wrap_TreeCtrl_InsertItemBefore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26790 PyObject
*resultobj
;
26791 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26792 wxTreeItemId
*arg2
= 0 ;
26794 wxString
*arg4
= 0 ;
26795 int arg5
= (int) -1 ;
26796 int arg6
= (int) -1 ;
26797 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
26798 wxTreeItemId result
;
26799 bool temp4
= False
;
26800 PyObject
* obj0
= 0 ;
26801 PyObject
* obj1
= 0 ;
26802 PyObject
* obj2
= 0 ;
26803 PyObject
* obj3
= 0 ;
26804 PyObject
* obj4
= 0 ;
26805 PyObject
* obj5
= 0 ;
26806 PyObject
* obj6
= 0 ;
26807 char *kwnames
[] = {
26808 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
26811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
26812 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26813 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26814 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26815 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26817 if (arg2
== NULL
) {
26818 PyErr_SetString(PyExc_TypeError
,"null reference");
26821 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
26822 if (PyErr_Occurred()) SWIG_fail
;
26824 arg4
= wxString_in_helper(obj3
);
26825 if (arg4
== NULL
) SWIG_fail
;
26829 arg5
= (int) SWIG_AsInt(obj4
);
26830 if (PyErr_Occurred()) SWIG_fail
;
26833 arg6
= (int) SWIG_AsInt(obj5
);
26834 if (PyErr_Occurred()) SWIG_fail
;
26837 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxPyTreeItemData
,
26838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26842 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
26844 wxPyEndAllowThreads(__tstate
);
26845 if (PyErr_Occurred()) SWIG_fail
;
26848 wxTreeItemId
* resultptr
;
26849 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26850 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26866 static PyObject
*_wrap_TreeCtrl_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26867 PyObject
*resultobj
;
26868 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26869 wxTreeItemId
*arg2
= 0 ;
26870 wxString
*arg3
= 0 ;
26871 int arg4
= (int) -1 ;
26872 int arg5
= (int) -1 ;
26873 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
26874 wxTreeItemId result
;
26875 bool temp3
= False
;
26876 PyObject
* obj0
= 0 ;
26877 PyObject
* obj1
= 0 ;
26878 PyObject
* obj2
= 0 ;
26879 PyObject
* obj3
= 0 ;
26880 PyObject
* obj4
= 0 ;
26881 PyObject
* obj5
= 0 ;
26882 char *kwnames
[] = {
26883 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
26886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
26887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26889 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26890 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26892 if (arg2
== NULL
) {
26893 PyErr_SetString(PyExc_TypeError
,"null reference");
26897 arg3
= wxString_in_helper(obj2
);
26898 if (arg3
== NULL
) SWIG_fail
;
26902 arg4
= (int) SWIG_AsInt(obj3
);
26903 if (PyErr_Occurred()) SWIG_fail
;
26906 arg5
= (int) SWIG_AsInt(obj4
);
26907 if (PyErr_Occurred()) SWIG_fail
;
26910 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxPyTreeItemData
,
26911 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26915 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
26917 wxPyEndAllowThreads(__tstate
);
26918 if (PyErr_Occurred()) SWIG_fail
;
26921 wxTreeItemId
* resultptr
;
26922 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26923 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26939 static PyObject
*_wrap_TreeCtrl_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26940 PyObject
*resultobj
;
26941 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26942 wxTreeItemId
*arg2
= 0 ;
26943 PyObject
* obj0
= 0 ;
26944 PyObject
* obj1
= 0 ;
26945 char *kwnames
[] = {
26946 (char *) "self",(char *) "item", NULL
26949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
26950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26952 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26953 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26955 if (arg2
== NULL
) {
26956 PyErr_SetString(PyExc_TypeError
,"null reference");
26960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26961 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
26963 wxPyEndAllowThreads(__tstate
);
26964 if (PyErr_Occurred()) SWIG_fail
;
26966 Py_INCREF(Py_None
); resultobj
= Py_None
;
26973 static PyObject
*_wrap_TreeCtrl_DeleteChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26974 PyObject
*resultobj
;
26975 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26976 wxTreeItemId
*arg2
= 0 ;
26977 PyObject
* obj0
= 0 ;
26978 PyObject
* obj1
= 0 ;
26979 char *kwnames
[] = {
26980 (char *) "self",(char *) "item", NULL
26983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
26984 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26986 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26987 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26989 if (arg2
== NULL
) {
26990 PyErr_SetString(PyExc_TypeError
,"null reference");
26994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26995 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
26997 wxPyEndAllowThreads(__tstate
);
26998 if (PyErr_Occurred()) SWIG_fail
;
27000 Py_INCREF(Py_None
); resultobj
= Py_None
;
27007 static PyObject
*_wrap_TreeCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27008 PyObject
*resultobj
;
27009 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27010 PyObject
* obj0
= 0 ;
27011 char *kwnames
[] = {
27012 (char *) "self", NULL
27015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
27016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27020 (arg1
)->DeleteAllItems();
27022 wxPyEndAllowThreads(__tstate
);
27023 if (PyErr_Occurred()) SWIG_fail
;
27025 Py_INCREF(Py_None
); resultobj
= Py_None
;
27032 static PyObject
*_wrap_TreeCtrl_Expand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27033 PyObject
*resultobj
;
27034 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27035 wxTreeItemId
*arg2
= 0 ;
27036 PyObject
* obj0
= 0 ;
27037 PyObject
* obj1
= 0 ;
27038 char *kwnames
[] = {
27039 (char *) "self",(char *) "item", NULL
27042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Expand",kwnames
,&obj0
,&obj1
)) goto fail
;
27043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27045 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27046 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27048 if (arg2
== NULL
) {
27049 PyErr_SetString(PyExc_TypeError
,"null reference");
27053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27054 (arg1
)->Expand((wxTreeItemId
const &)*arg2
);
27056 wxPyEndAllowThreads(__tstate
);
27057 if (PyErr_Occurred()) SWIG_fail
;
27059 Py_INCREF(Py_None
); resultobj
= Py_None
;
27066 static PyObject
*_wrap_TreeCtrl_Collapse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27067 PyObject
*resultobj
;
27068 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27069 wxTreeItemId
*arg2
= 0 ;
27070 PyObject
* obj0
= 0 ;
27071 PyObject
* obj1
= 0 ;
27072 char *kwnames
[] = {
27073 (char *) "self",(char *) "item", NULL
27076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Collapse",kwnames
,&obj0
,&obj1
)) goto fail
;
27077 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27078 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27079 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27080 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27082 if (arg2
== NULL
) {
27083 PyErr_SetString(PyExc_TypeError
,"null reference");
27087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27088 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
27090 wxPyEndAllowThreads(__tstate
);
27091 if (PyErr_Occurred()) SWIG_fail
;
27093 Py_INCREF(Py_None
); resultobj
= Py_None
;
27100 static PyObject
*_wrap_TreeCtrl_CollapseAndReset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27101 PyObject
*resultobj
;
27102 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27103 wxTreeItemId
*arg2
= 0 ;
27104 PyObject
* obj0
= 0 ;
27105 PyObject
* obj1
= 0 ;
27106 char *kwnames
[] = {
27107 (char *) "self",(char *) "item", NULL
27110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) goto fail
;
27111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27113 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27114 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27116 if (arg2
== NULL
) {
27117 PyErr_SetString(PyExc_TypeError
,"null reference");
27121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27122 (arg1
)->CollapseAndReset((wxTreeItemId
const &)*arg2
);
27124 wxPyEndAllowThreads(__tstate
);
27125 if (PyErr_Occurred()) SWIG_fail
;
27127 Py_INCREF(Py_None
); resultobj
= Py_None
;
27134 static PyObject
*_wrap_TreeCtrl_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27135 PyObject
*resultobj
;
27136 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27137 wxTreeItemId
*arg2
= 0 ;
27138 PyObject
* obj0
= 0 ;
27139 PyObject
* obj1
= 0 ;
27140 char *kwnames
[] = {
27141 (char *) "self",(char *) "item", NULL
27144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
27145 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27147 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27148 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27150 if (arg2
== NULL
) {
27151 PyErr_SetString(PyExc_TypeError
,"null reference");
27155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27156 (arg1
)->Toggle((wxTreeItemId
const &)*arg2
);
27158 wxPyEndAllowThreads(__tstate
);
27159 if (PyErr_Occurred()) SWIG_fail
;
27161 Py_INCREF(Py_None
); resultobj
= Py_None
;
27168 static PyObject
*_wrap_TreeCtrl_Unselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27169 PyObject
*resultobj
;
27170 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27171 PyObject
* obj0
= 0 ;
27172 char *kwnames
[] = {
27173 (char *) "self", NULL
27176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_Unselect",kwnames
,&obj0
)) goto fail
;
27177 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27181 (arg1
)->Unselect();
27183 wxPyEndAllowThreads(__tstate
);
27184 if (PyErr_Occurred()) SWIG_fail
;
27186 Py_INCREF(Py_None
); resultobj
= Py_None
;
27193 static PyObject
*_wrap_TreeCtrl_UnselectItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27194 PyObject
*resultobj
;
27195 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27196 wxTreeItemId
*arg2
= 0 ;
27197 PyObject
* obj0
= 0 ;
27198 PyObject
* obj1
= 0 ;
27199 char *kwnames
[] = {
27200 (char *) "self",(char *) "item", NULL
27203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_UnselectItem",kwnames
,&obj0
,&obj1
)) goto fail
;
27204 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27206 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27207 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27209 if (arg2
== NULL
) {
27210 PyErr_SetString(PyExc_TypeError
,"null reference");
27214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27215 (arg1
)->UnselectItem((wxTreeItemId
const &)*arg2
);
27217 wxPyEndAllowThreads(__tstate
);
27218 if (PyErr_Occurred()) SWIG_fail
;
27220 Py_INCREF(Py_None
); resultobj
= Py_None
;
27227 static PyObject
*_wrap_TreeCtrl_UnselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27228 PyObject
*resultobj
;
27229 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27230 PyObject
* obj0
= 0 ;
27231 char *kwnames
[] = {
27232 (char *) "self", NULL
27235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_UnselectAll",kwnames
,&obj0
)) goto fail
;
27236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27240 (arg1
)->UnselectAll();
27242 wxPyEndAllowThreads(__tstate
);
27243 if (PyErr_Occurred()) SWIG_fail
;
27245 Py_INCREF(Py_None
); resultobj
= Py_None
;
27252 static PyObject
*_wrap_TreeCtrl_SelectItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27253 PyObject
*resultobj
;
27254 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27255 wxTreeItemId
*arg2
= 0 ;
27256 bool arg3
= (bool) True
;
27257 PyObject
* obj0
= 0 ;
27258 PyObject
* obj1
= 0 ;
27259 PyObject
* obj2
= 0 ;
27260 char *kwnames
[] = {
27261 (char *) "self",(char *) "item",(char *) "select", NULL
27264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27267 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27268 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27270 if (arg2
== NULL
) {
27271 PyErr_SetString(PyExc_TypeError
,"null reference");
27275 arg3
= (bool) SWIG_AsBool(obj2
);
27276 if (PyErr_Occurred()) SWIG_fail
;
27279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27280 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
,arg3
);
27282 wxPyEndAllowThreads(__tstate
);
27283 if (PyErr_Occurred()) SWIG_fail
;
27285 Py_INCREF(Py_None
); resultobj
= Py_None
;
27292 static PyObject
*_wrap_TreeCtrl_ToggleItemSelection(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_ToggleItemSelection",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
)->ToggleItemSelection((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_EnsureVisible(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_EnsureVisible",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
)->EnsureVisible((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_ScrollTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27361 PyObject
*resultobj
;
27362 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27363 wxTreeItemId
*arg2
= 0 ;
27364 PyObject
* obj0
= 0 ;
27365 PyObject
* obj1
= 0 ;
27366 char *kwnames
[] = {
27367 (char *) "self",(char *) "item", NULL
27370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) goto fail
;
27371 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27372 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27373 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27374 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27376 if (arg2
== NULL
) {
27377 PyErr_SetString(PyExc_TypeError
,"null reference");
27381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27382 (arg1
)->ScrollTo((wxTreeItemId
const &)*arg2
);
27384 wxPyEndAllowThreads(__tstate
);
27385 if (PyErr_Occurred()) SWIG_fail
;
27387 Py_INCREF(Py_None
); resultobj
= Py_None
;
27394 static PyObject
*_wrap_TreeCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27395 PyObject
*resultobj
;
27396 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27397 wxTreeItemId
*arg2
= 0 ;
27398 PyObject
* obj0
= 0 ;
27399 PyObject
* obj1
= 0 ;
27400 char *kwnames
[] = {
27401 (char *) "self",(char *) "item", NULL
27404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
27405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27407 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27408 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27410 if (arg2
== NULL
) {
27411 PyErr_SetString(PyExc_TypeError
,"null reference");
27415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27416 (arg1
)->EditLabel((wxTreeItemId
const &)*arg2
);
27418 wxPyEndAllowThreads(__tstate
);
27419 if (PyErr_Occurred()) SWIG_fail
;
27421 Py_INCREF(Py_None
); resultobj
= Py_None
;
27428 static PyObject
*_wrap_TreeCtrl_GetEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27429 PyObject
*resultobj
;
27430 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27431 wxTextCtrl
*result
;
27432 PyObject
* obj0
= 0 ;
27433 char *kwnames
[] = {
27434 (char *) "self", NULL
27437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetEditControl",kwnames
,&obj0
)) goto fail
;
27438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27442 result
= (wxTextCtrl
*)((wxPyTreeCtrl
const *)arg1
)->GetEditControl();
27444 wxPyEndAllowThreads(__tstate
);
27445 if (PyErr_Occurred()) SWIG_fail
;
27448 resultobj
= wxPyMake_wxObject(result
);
27456 static PyObject
*_wrap_TreeCtrl_SortChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27457 PyObject
*resultobj
;
27458 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27459 wxTreeItemId
*arg2
= 0 ;
27460 PyObject
* obj0
= 0 ;
27461 PyObject
* obj1
= 0 ;
27462 char *kwnames
[] = {
27463 (char *) "self",(char *) "item", NULL
27466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SortChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
27467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27469 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27470 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27472 if (arg2
== NULL
) {
27473 PyErr_SetString(PyExc_TypeError
,"null reference");
27477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27478 (arg1
)->SortChildren((wxTreeItemId
const &)*arg2
);
27480 wxPyEndAllowThreads(__tstate
);
27481 if (PyErr_Occurred()) SWIG_fail
;
27483 Py_INCREF(Py_None
); resultobj
= Py_None
;
27490 static PyObject
*_wrap_TreeCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27491 PyObject
*resultobj
;
27492 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27493 wxPoint
*arg2
= 0 ;
27495 wxTreeItemId result
;
27498 PyObject
* obj0
= 0 ;
27499 PyObject
* obj1
= 0 ;
27500 char *kwnames
[] = {
27501 (char *) "self",(char *) "point", NULL
27505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
27506 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27510 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
27513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27514 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
27516 wxPyEndAllowThreads(__tstate
);
27517 if (PyErr_Occurred()) SWIG_fail
;
27520 wxTreeItemId
* resultptr
;
27521 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27522 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27525 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
27526 resultobj
= t_output_helper(resultobj
,o
);
27534 static PyObject
*_wrap_TreeCtrl_GetBoundingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27535 PyObject
*resultobj
;
27536 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27537 wxTreeItemId
*arg2
= 0 ;
27538 bool arg3
= (bool) False
;
27540 PyObject
* obj0
= 0 ;
27541 PyObject
* obj1
= 0 ;
27542 PyObject
* obj2
= 0 ;
27543 char *kwnames
[] = {
27544 (char *) "self",(char *) "item",(char *) "textOnly", NULL
27547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27548 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27549 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27550 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27551 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27553 if (arg2
== NULL
) {
27554 PyErr_SetString(PyExc_TypeError
,"null reference");
27558 arg3
= (bool) SWIG_AsBool(obj2
);
27559 if (PyErr_Occurred()) SWIG_fail
;
27562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27563 result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
27565 wxPyEndAllowThreads(__tstate
);
27566 if (PyErr_Occurred()) SWIG_fail
;
27568 resultobj
= result
;
27575 static PyObject
*_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27576 PyObject
*resultobj
;
27577 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
27578 wxVisualAttributes result
;
27579 PyObject
* obj0
= 0 ;
27580 char *kwnames
[] = {
27581 (char *) "variant", NULL
27584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
27586 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
27587 if (PyErr_Occurred()) SWIG_fail
;
27590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27591 result
= wxPyTreeCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
27593 wxPyEndAllowThreads(__tstate
);
27594 if (PyErr_Occurred()) SWIG_fail
;
27597 wxVisualAttributes
* resultptr
;
27598 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
27599 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
27607 static PyObject
* TreeCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
27609 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27610 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl
, obj
);
27612 return Py_BuildValue((char *)"");
27614 static int _wrap_DirDialogDefaultFolderStr_set(PyObject
*_val
) {
27615 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogDefaultFolderStr is read-only.");
27620 static PyObject
*_wrap_DirDialogDefaultFolderStr_get() {
27625 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
27627 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
27634 static PyObject
*_wrap_new_GenericDirCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27635 PyObject
*resultobj
;
27636 wxWindow
*arg1
= (wxWindow
*) 0 ;
27637 int arg2
= (int) (int)-1 ;
27638 wxString
const &arg3_defvalue
= wxPyDirDialogDefaultFolderStr
;
27639 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
27640 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
27641 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
27642 wxSize
const &arg5_defvalue
= wxDefaultSize
;
27643 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
27644 long arg6
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
27645 wxString
const &arg7_defvalue
= wxPyEmptyString
;
27646 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
27647 int arg8
= (int) 0 ;
27648 wxString
const &arg9_defvalue
= wxPyTreeCtrlNameStr
;
27649 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
27650 wxGenericDirCtrl
*result
;
27651 bool temp3
= False
;
27654 bool temp7
= False
;
27655 bool temp9
= False
;
27656 PyObject
* obj0
= 0 ;
27657 PyObject
* obj1
= 0 ;
27658 PyObject
* obj2
= 0 ;
27659 PyObject
* obj3
= 0 ;
27660 PyObject
* obj4
= 0 ;
27661 PyObject
* obj5
= 0 ;
27662 PyObject
* obj6
= 0 ;
27663 PyObject
* obj7
= 0 ;
27664 PyObject
* obj8
= 0 ;
27665 char *kwnames
[] = {
27666 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
27669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
27670 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27673 arg2
= (int const) SWIG_AsInt(obj1
);
27674 if (PyErr_Occurred()) SWIG_fail
;
27678 arg3
= wxString_in_helper(obj2
);
27679 if (arg3
== NULL
) SWIG_fail
;
27686 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
27692 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
27696 arg6
= (long) SWIG_AsLong(obj5
);
27697 if (PyErr_Occurred()) SWIG_fail
;
27701 arg7
= wxString_in_helper(obj6
);
27702 if (arg7
== NULL
) SWIG_fail
;
27707 arg8
= (int) SWIG_AsInt(obj7
);
27708 if (PyErr_Occurred()) SWIG_fail
;
27712 arg9
= wxString_in_helper(obj8
);
27713 if (arg9
== NULL
) SWIG_fail
;
27718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27719 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
27721 wxPyEndAllowThreads(__tstate
);
27722 if (PyErr_Occurred()) SWIG_fail
;
27724 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1);
27755 static PyObject
*_wrap_new_PreGenericDirCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27756 PyObject
*resultobj
;
27757 wxGenericDirCtrl
*result
;
27758 char *kwnames
[] = {
27762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGenericDirCtrl",kwnames
)) goto fail
;
27764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27765 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl();
27767 wxPyEndAllowThreads(__tstate
);
27768 if (PyErr_Occurred()) SWIG_fail
;
27770 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1);
27777 static PyObject
*_wrap_GenericDirCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27778 PyObject
*resultobj
;
27779 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27780 wxWindow
*arg2
= (wxWindow
*) 0 ;
27781 int arg3
= (int) (int)-1 ;
27782 wxString
const &arg4_defvalue
= wxPyDirDialogDefaultFolderStr
;
27783 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
27784 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
27785 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
27786 wxSize
const &arg6_defvalue
= wxDefaultSize
;
27787 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
27788 long arg7
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
27789 wxString
const &arg8_defvalue
= wxPyEmptyString
;
27790 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
27791 int arg9
= (int) 0 ;
27792 wxString
const &arg10_defvalue
= wxPyTreeCtrlNameStr
;
27793 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
27795 bool temp4
= False
;
27798 bool temp8
= False
;
27799 bool temp10
= False
;
27800 PyObject
* obj0
= 0 ;
27801 PyObject
* obj1
= 0 ;
27802 PyObject
* obj2
= 0 ;
27803 PyObject
* obj3
= 0 ;
27804 PyObject
* obj4
= 0 ;
27805 PyObject
* obj5
= 0 ;
27806 PyObject
* obj6
= 0 ;
27807 PyObject
* obj7
= 0 ;
27808 PyObject
* obj8
= 0 ;
27809 PyObject
* obj9
= 0 ;
27810 char *kwnames
[] = {
27811 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
27814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
27815 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27817 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
27818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27820 arg3
= (int const) SWIG_AsInt(obj2
);
27821 if (PyErr_Occurred()) SWIG_fail
;
27825 arg4
= wxString_in_helper(obj3
);
27826 if (arg4
== NULL
) SWIG_fail
;
27833 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
27839 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
27843 arg7
= (long) SWIG_AsLong(obj6
);
27844 if (PyErr_Occurred()) SWIG_fail
;
27848 arg8
= wxString_in_helper(obj7
);
27849 if (arg8
== NULL
) SWIG_fail
;
27854 arg9
= (int) SWIG_AsInt(obj8
);
27855 if (PyErr_Occurred()) SWIG_fail
;
27859 arg10
= wxString_in_helper(obj9
);
27860 if (arg10
== NULL
) SWIG_fail
;
27865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27866 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
,arg9
,(wxString
const &)*arg10
);
27868 wxPyEndAllowThreads(__tstate
);
27869 if (PyErr_Occurred()) SWIG_fail
;
27872 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27904 static PyObject
*_wrap_GenericDirCtrl_ExpandPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27905 PyObject
*resultobj
;
27906 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27907 wxString
*arg2
= 0 ;
27909 bool temp2
= False
;
27910 PyObject
* obj0
= 0 ;
27911 PyObject
* obj1
= 0 ;
27912 char *kwnames
[] = {
27913 (char *) "self",(char *) "path", NULL
27916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) goto fail
;
27917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27920 arg2
= wxString_in_helper(obj1
);
27921 if (arg2
== NULL
) SWIG_fail
;
27925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27926 result
= (bool)(arg1
)->ExpandPath((wxString
const &)*arg2
);
27928 wxPyEndAllowThreads(__tstate
);
27929 if (PyErr_Occurred()) SWIG_fail
;
27932 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27948 static PyObject
*_wrap_GenericDirCtrl_GetDefaultPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27949 PyObject
*resultobj
;
27950 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27952 PyObject
* obj0
= 0 ;
27953 char *kwnames
[] = {
27954 (char *) "self", NULL
27957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames
,&obj0
)) goto fail
;
27958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27962 result
= ((wxGenericDirCtrl
const *)arg1
)->GetDefaultPath();
27964 wxPyEndAllowThreads(__tstate
);
27965 if (PyErr_Occurred()) SWIG_fail
;
27969 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27971 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27980 static PyObject
*_wrap_GenericDirCtrl_SetDefaultPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27981 PyObject
*resultobj
;
27982 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27983 wxString
*arg2
= 0 ;
27984 bool temp2
= False
;
27985 PyObject
* obj0
= 0 ;
27986 PyObject
* obj1
= 0 ;
27987 char *kwnames
[] = {
27988 (char *) "self",(char *) "path", NULL
27991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames
,&obj0
,&obj1
)) goto fail
;
27992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27995 arg2
= wxString_in_helper(obj1
);
27996 if (arg2
== NULL
) SWIG_fail
;
28000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28001 (arg1
)->SetDefaultPath((wxString
const &)*arg2
);
28003 wxPyEndAllowThreads(__tstate
);
28004 if (PyErr_Occurred()) SWIG_fail
;
28006 Py_INCREF(Py_None
); resultobj
= Py_None
;
28021 static PyObject
*_wrap_GenericDirCtrl_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28022 PyObject
*resultobj
;
28023 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28025 PyObject
* obj0
= 0 ;
28026 char *kwnames
[] = {
28027 (char *) "self", NULL
28030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetPath",kwnames
,&obj0
)) goto fail
;
28031 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28032 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28035 result
= ((wxGenericDirCtrl
const *)arg1
)->GetPath();
28037 wxPyEndAllowThreads(__tstate
);
28038 if (PyErr_Occurred()) SWIG_fail
;
28042 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28044 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28053 static PyObject
*_wrap_GenericDirCtrl_GetFilePath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28054 PyObject
*resultobj
;
28055 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28057 PyObject
* obj0
= 0 ;
28058 char *kwnames
[] = {
28059 (char *) "self", NULL
28062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilePath",kwnames
,&obj0
)) goto fail
;
28063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28067 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilePath();
28069 wxPyEndAllowThreads(__tstate
);
28070 if (PyErr_Occurred()) SWIG_fail
;
28074 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28076 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28085 static PyObject
*_wrap_GenericDirCtrl_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28086 PyObject
*resultobj
;
28087 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28088 wxString
*arg2
= 0 ;
28089 bool temp2
= False
;
28090 PyObject
* obj0
= 0 ;
28091 PyObject
* obj1
= 0 ;
28092 char *kwnames
[] = {
28093 (char *) "self",(char *) "path", NULL
28096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
28097 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28100 arg2
= wxString_in_helper(obj1
);
28101 if (arg2
== NULL
) SWIG_fail
;
28105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28106 (arg1
)->SetPath((wxString
const &)*arg2
);
28108 wxPyEndAllowThreads(__tstate
);
28109 if (PyErr_Occurred()) SWIG_fail
;
28111 Py_INCREF(Py_None
); resultobj
= Py_None
;
28126 static PyObject
*_wrap_GenericDirCtrl_ShowHidden(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28127 PyObject
*resultobj
;
28128 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28130 PyObject
* obj0
= 0 ;
28131 PyObject
* obj1
= 0 ;
28132 char *kwnames
[] = {
28133 (char *) "self",(char *) "show", NULL
28136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames
,&obj0
,&obj1
)) goto fail
;
28137 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28139 arg2
= (bool) SWIG_AsBool(obj1
);
28140 if (PyErr_Occurred()) SWIG_fail
;
28142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28143 (arg1
)->ShowHidden(arg2
);
28145 wxPyEndAllowThreads(__tstate
);
28146 if (PyErr_Occurred()) SWIG_fail
;
28148 Py_INCREF(Py_None
); resultobj
= Py_None
;
28155 static PyObject
*_wrap_GenericDirCtrl_GetShowHidden(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28156 PyObject
*resultobj
;
28157 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28159 PyObject
* obj0
= 0 ;
28160 char *kwnames
[] = {
28161 (char *) "self", NULL
28164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames
,&obj0
)) goto fail
;
28165 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28169 result
= (bool)(arg1
)->GetShowHidden();
28171 wxPyEndAllowThreads(__tstate
);
28172 if (PyErr_Occurred()) SWIG_fail
;
28175 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28183 static PyObject
*_wrap_GenericDirCtrl_GetFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28184 PyObject
*resultobj
;
28185 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28187 PyObject
* obj0
= 0 ;
28188 char *kwnames
[] = {
28189 (char *) "self", NULL
28192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilter",kwnames
,&obj0
)) goto fail
;
28193 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28197 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilter();
28199 wxPyEndAllowThreads(__tstate
);
28200 if (PyErr_Occurred()) SWIG_fail
;
28204 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28206 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28215 static PyObject
*_wrap_GenericDirCtrl_SetFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28216 PyObject
*resultobj
;
28217 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28218 wxString
*arg2
= 0 ;
28219 bool temp2
= False
;
28220 PyObject
* obj0
= 0 ;
28221 PyObject
* obj1
= 0 ;
28222 char *kwnames
[] = {
28223 (char *) "self",(char *) "filter", NULL
28226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) goto fail
;
28227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28230 arg2
= wxString_in_helper(obj1
);
28231 if (arg2
== NULL
) SWIG_fail
;
28235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28236 (arg1
)->SetFilter((wxString
const &)*arg2
);
28238 wxPyEndAllowThreads(__tstate
);
28239 if (PyErr_Occurred()) SWIG_fail
;
28241 Py_INCREF(Py_None
); resultobj
= Py_None
;
28256 static PyObject
*_wrap_GenericDirCtrl_GetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28257 PyObject
*resultobj
;
28258 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28260 PyObject
* obj0
= 0 ;
28261 char *kwnames
[] = {
28262 (char *) "self", NULL
28265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
28266 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28270 result
= (int)((wxGenericDirCtrl
const *)arg1
)->GetFilterIndex();
28272 wxPyEndAllowThreads(__tstate
);
28273 if (PyErr_Occurred()) SWIG_fail
;
28275 resultobj
= SWIG_FromInt((int)result
);
28282 static PyObject
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28283 PyObject
*resultobj
;
28284 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28286 PyObject
* obj0
= 0 ;
28287 PyObject
* obj1
= 0 ;
28288 char *kwnames
[] = {
28289 (char *) "self",(char *) "n", NULL
28292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
28293 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28294 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28295 arg2
= (int) SWIG_AsInt(obj1
);
28296 if (PyErr_Occurred()) SWIG_fail
;
28298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28299 (arg1
)->SetFilterIndex(arg2
);
28301 wxPyEndAllowThreads(__tstate
);
28302 if (PyErr_Occurred()) SWIG_fail
;
28304 Py_INCREF(Py_None
); resultobj
= Py_None
;
28311 static PyObject
*_wrap_GenericDirCtrl_GetRootId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28312 PyObject
*resultobj
;
28313 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28314 wxTreeItemId result
;
28315 PyObject
* obj0
= 0 ;
28316 char *kwnames
[] = {
28317 (char *) "self", NULL
28320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetRootId",kwnames
,&obj0
)) goto fail
;
28321 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28325 result
= (arg1
)->GetRootId();
28327 wxPyEndAllowThreads(__tstate
);
28328 if (PyErr_Occurred()) SWIG_fail
;
28331 wxTreeItemId
* resultptr
;
28332 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
28333 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
28341 static PyObject
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28342 PyObject
*resultobj
;
28343 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28344 wxPyTreeCtrl
*result
;
28345 PyObject
* obj0
= 0 ;
28346 char *kwnames
[] = {
28347 (char *) "self", NULL
28350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames
,&obj0
)) goto fail
;
28351 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28355 result
= (wxPyTreeCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetTreeCtrl();
28357 wxPyEndAllowThreads(__tstate
);
28358 if (PyErr_Occurred()) SWIG_fail
;
28361 resultobj
= wxPyMake_wxObject(result
);
28369 static PyObject
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28370 PyObject
*resultobj
;
28371 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28372 wxDirFilterListCtrl
*result
;
28373 PyObject
* obj0
= 0 ;
28374 char *kwnames
[] = {
28375 (char *) "self", NULL
28378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames
,&obj0
)) goto fail
;
28379 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28380 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28383 result
= (wxDirFilterListCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetFilterListCtrl();
28385 wxPyEndAllowThreads(__tstate
);
28386 if (PyErr_Occurred()) SWIG_fail
;
28388 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 0);
28395 static PyObject
*_wrap_GenericDirCtrl_FindChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28396 PyObject
*resultobj
;
28397 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28398 wxTreeItemId arg2
;
28399 wxString
*arg3
= 0 ;
28401 wxTreeItemId result
;
28402 wxTreeItemId
*argp2
;
28403 bool temp3
= False
;
28405 PyObject
* obj0
= 0 ;
28406 PyObject
* obj1
= 0 ;
28407 PyObject
* obj2
= 0 ;
28408 char *kwnames
[] = {
28409 (char *) "self",(char *) "parentId",(char *) "path", NULL
28413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28414 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28415 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28416 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxTreeItemId
,
28417 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
28420 arg3
= wxString_in_helper(obj2
);
28421 if (arg3
== NULL
) SWIG_fail
;
28425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28426 result
= (arg1
)->FindChild(arg2
,(wxString
const &)*arg3
,*arg4
);
28428 wxPyEndAllowThreads(__tstate
);
28429 if (PyErr_Occurred()) SWIG_fail
;
28432 wxTreeItemId
* resultptr
;
28433 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
28434 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
28437 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
28438 resultobj
= t_output_helper(resultobj
,o
);
28454 static PyObject
*_wrap_GenericDirCtrl_DoResize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28455 PyObject
*resultobj
;
28456 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28457 PyObject
* obj0
= 0 ;
28458 char *kwnames
[] = {
28459 (char *) "self", NULL
28462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_DoResize",kwnames
,&obj0
)) goto fail
;
28463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28467 (arg1
)->DoResize();
28469 wxPyEndAllowThreads(__tstate
);
28470 if (PyErr_Occurred()) SWIG_fail
;
28472 Py_INCREF(Py_None
); resultobj
= Py_None
;
28479 static PyObject
*_wrap_GenericDirCtrl_ReCreateTree(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28480 PyObject
*resultobj
;
28481 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28482 PyObject
* obj0
= 0 ;
28483 char *kwnames
[] = {
28484 (char *) "self", NULL
28487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames
,&obj0
)) goto fail
;
28488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28492 (arg1
)->ReCreateTree();
28494 wxPyEndAllowThreads(__tstate
);
28495 if (PyErr_Occurred()) SWIG_fail
;
28497 Py_INCREF(Py_None
); resultobj
= Py_None
;
28504 static PyObject
* GenericDirCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
28506 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28507 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl
, obj
);
28509 return Py_BuildValue((char *)"");
28511 static PyObject
*_wrap_new_DirFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28512 PyObject
*resultobj
;
28513 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28514 int arg2
= (int) (int)-1 ;
28515 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28516 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28517 wxSize
const &arg4_defvalue
= wxDefaultSize
;
28518 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
28519 long arg5
= (long) 0 ;
28520 wxDirFilterListCtrl
*result
;
28523 PyObject
* obj0
= 0 ;
28524 PyObject
* obj1
= 0 ;
28525 PyObject
* obj2
= 0 ;
28526 PyObject
* obj3
= 0 ;
28527 PyObject
* obj4
= 0 ;
28528 char *kwnames
[] = {
28529 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
28532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28536 arg2
= (int const) SWIG_AsInt(obj1
);
28537 if (PyErr_Occurred()) SWIG_fail
;
28542 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28548 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
28552 arg5
= (long) SWIG_AsLong(obj4
);
28553 if (PyErr_Occurred()) SWIG_fail
;
28556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28557 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
28559 wxPyEndAllowThreads(__tstate
);
28560 if (PyErr_Occurred()) SWIG_fail
;
28562 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1);
28569 static PyObject
*_wrap_new_PreDirFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28570 PyObject
*resultobj
;
28571 wxDirFilterListCtrl
*result
;
28572 char *kwnames
[] = {
28576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDirFilterListCtrl",kwnames
)) goto fail
;
28578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28579 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl();
28581 wxPyEndAllowThreads(__tstate
);
28582 if (PyErr_Occurred()) SWIG_fail
;
28584 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1);
28591 static PyObject
*_wrap_DirFilterListCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28592 PyObject
*resultobj
;
28593 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
28594 wxGenericDirCtrl
*arg2
= (wxGenericDirCtrl
*) 0 ;
28595 int arg3
= (int) (int)-1 ;
28596 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
28597 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
28598 wxSize
const &arg5_defvalue
= wxDefaultSize
;
28599 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
28600 long arg6
= (long) 0 ;
28604 PyObject
* obj0
= 0 ;
28605 PyObject
* obj1
= 0 ;
28606 PyObject
* obj2
= 0 ;
28607 PyObject
* obj3
= 0 ;
28608 PyObject
* obj4
= 0 ;
28609 PyObject
* obj5
= 0 ;
28610 char *kwnames
[] = {
28611 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
28614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
28615 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirFilterListCtrl
,
28616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28617 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGenericDirCtrl
,
28618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28620 arg3
= (int const) SWIG_AsInt(obj2
);
28621 if (PyErr_Occurred()) SWIG_fail
;
28626 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
28632 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
28636 arg6
= (long) SWIG_AsLong(obj5
);
28637 if (PyErr_Occurred()) SWIG_fail
;
28640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28641 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
28643 wxPyEndAllowThreads(__tstate
);
28644 if (PyErr_Occurred()) SWIG_fail
;
28647 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28655 static PyObject
*_wrap_DirFilterListCtrl_FillFilterList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28656 PyObject
*resultobj
;
28657 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
28658 wxString
*arg2
= 0 ;
28660 bool temp2
= False
;
28661 PyObject
* obj0
= 0 ;
28662 PyObject
* obj1
= 0 ;
28663 PyObject
* obj2
= 0 ;
28664 char *kwnames
[] = {
28665 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
28668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28669 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirFilterListCtrl
,
28670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28672 arg2
= wxString_in_helper(obj1
);
28673 if (arg2
== NULL
) SWIG_fail
;
28676 arg3
= (int) SWIG_AsInt(obj2
);
28677 if (PyErr_Occurred()) SWIG_fail
;
28679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28680 (arg1
)->FillFilterList((wxString
const &)*arg2
,arg3
);
28682 wxPyEndAllowThreads(__tstate
);
28683 if (PyErr_Occurred()) SWIG_fail
;
28685 Py_INCREF(Py_None
); resultobj
= Py_None
;
28700 static PyObject
* DirFilterListCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
28702 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28703 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl
, obj
);
28705 return Py_BuildValue((char *)"");
28707 static PyObject
*_wrap_new_PyControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28708 PyObject
*resultobj
;
28709 wxWindow
*arg1
= (wxWindow
*) 0 ;
28711 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28712 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28713 wxSize
const &arg4_defvalue
= wxDefaultSize
;
28714 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
28715 long arg5
= (long) 0 ;
28716 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
28717 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
28718 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
28719 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28720 wxPyControl
*result
;
28723 bool temp7
= False
;
28724 PyObject
* obj0
= 0 ;
28725 PyObject
* obj1
= 0 ;
28726 PyObject
* obj2
= 0 ;
28727 PyObject
* obj3
= 0 ;
28728 PyObject
* obj4
= 0 ;
28729 PyObject
* obj5
= 0 ;
28730 PyObject
* obj6
= 0 ;
28731 char *kwnames
[] = {
28732 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:new_PyControl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
28736 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28738 arg2
= (int const) SWIG_AsInt(obj1
);
28739 if (PyErr_Occurred()) SWIG_fail
;
28743 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28749 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
28753 arg5
= (long) SWIG_AsLong(obj4
);
28754 if (PyErr_Occurred()) SWIG_fail
;
28757 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
28758 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28760 if (arg6
== NULL
) {
28761 PyErr_SetString(PyExc_TypeError
,"null reference");
28767 arg7
= wxString_in_helper(obj6
);
28768 if (arg7
== NULL
) SWIG_fail
;
28773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28774 result
= (wxPyControl
*)new wxPyControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
28776 wxPyEndAllowThreads(__tstate
);
28777 if (PyErr_Occurred()) SWIG_fail
;
28779 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControl
, 1);
28794 static PyObject
*_wrap_new_PrePyControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28795 PyObject
*resultobj
;
28796 wxPyControl
*result
;
28797 char *kwnames
[] = {
28801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyControl",kwnames
)) goto fail
;
28803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28804 result
= (wxPyControl
*)new wxPyControl();
28806 wxPyEndAllowThreads(__tstate
);
28807 if (PyErr_Occurred()) SWIG_fail
;
28809 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControl
, 1);
28816 static PyObject
*_wrap_PyControl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28817 PyObject
*resultobj
;
28818 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28819 PyObject
*arg2
= (PyObject
*) 0 ;
28820 PyObject
*arg3
= (PyObject
*) 0 ;
28821 PyObject
* obj0
= 0 ;
28822 PyObject
* obj1
= 0 ;
28823 PyObject
* obj2
= 0 ;
28824 char *kwnames
[] = {
28825 (char *) "self",(char *) "self",(char *) "_class", NULL
28828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28835 (arg1
)->_setCallbackInfo(arg2
,arg3
);
28837 wxPyEndAllowThreads(__tstate
);
28838 if (PyErr_Occurred()) SWIG_fail
;
28840 Py_INCREF(Py_None
); resultobj
= Py_None
;
28847 static PyObject
*_wrap_PyControl_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28848 PyObject
*resultobj
;
28849 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28854 PyObject
* obj0
= 0 ;
28855 PyObject
* obj1
= 0 ;
28856 PyObject
* obj2
= 0 ;
28857 PyObject
* obj3
= 0 ;
28858 PyObject
* obj4
= 0 ;
28859 char *kwnames
[] = {
28860 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
28863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyControl_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28864 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28866 arg2
= (int) SWIG_AsInt(obj1
);
28867 if (PyErr_Occurred()) SWIG_fail
;
28868 arg3
= (int) SWIG_AsInt(obj2
);
28869 if (PyErr_Occurred()) SWIG_fail
;
28870 arg4
= (int) SWIG_AsInt(obj3
);
28871 if (PyErr_Occurred()) SWIG_fail
;
28872 arg5
= (int) SWIG_AsInt(obj4
);
28873 if (PyErr_Occurred()) SWIG_fail
;
28875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28876 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
28878 wxPyEndAllowThreads(__tstate
);
28879 if (PyErr_Occurred()) SWIG_fail
;
28881 Py_INCREF(Py_None
); resultobj
= Py_None
;
28888 static PyObject
*_wrap_PyControl_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28889 PyObject
*resultobj
;
28890 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28895 int arg6
= (int) wxSIZE_AUTO
;
28896 PyObject
* obj0
= 0 ;
28897 PyObject
* obj1
= 0 ;
28898 PyObject
* obj2
= 0 ;
28899 PyObject
* obj3
= 0 ;
28900 PyObject
* obj4
= 0 ;
28901 PyObject
* obj5
= 0 ;
28902 char *kwnames
[] = {
28903 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
28906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyControl_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
28907 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28909 arg2
= (int) SWIG_AsInt(obj1
);
28910 if (PyErr_Occurred()) SWIG_fail
;
28911 arg3
= (int) SWIG_AsInt(obj2
);
28912 if (PyErr_Occurred()) SWIG_fail
;
28913 arg4
= (int) SWIG_AsInt(obj3
);
28914 if (PyErr_Occurred()) SWIG_fail
;
28915 arg5
= (int) SWIG_AsInt(obj4
);
28916 if (PyErr_Occurred()) SWIG_fail
;
28918 arg6
= (int) SWIG_AsInt(obj5
);
28919 if (PyErr_Occurred()) SWIG_fail
;
28922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28923 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
28925 wxPyEndAllowThreads(__tstate
);
28926 if (PyErr_Occurred()) SWIG_fail
;
28928 Py_INCREF(Py_None
); resultobj
= Py_None
;
28935 static PyObject
*_wrap_PyControl_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28936 PyObject
*resultobj
;
28937 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28940 PyObject
* obj0
= 0 ;
28941 PyObject
* obj1
= 0 ;
28942 PyObject
* obj2
= 0 ;
28943 char *kwnames
[] = {
28944 (char *) "self",(char *) "width",(char *) "height", NULL
28947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28950 arg2
= (int) SWIG_AsInt(obj1
);
28951 if (PyErr_Occurred()) SWIG_fail
;
28952 arg3
= (int) SWIG_AsInt(obj2
);
28953 if (PyErr_Occurred()) SWIG_fail
;
28955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28956 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
28958 wxPyEndAllowThreads(__tstate
);
28959 if (PyErr_Occurred()) SWIG_fail
;
28961 Py_INCREF(Py_None
); resultobj
= Py_None
;
28968 static PyObject
*_wrap_PyControl_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28969 PyObject
*resultobj
;
28970 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28973 PyObject
* obj0
= 0 ;
28974 PyObject
* obj1
= 0 ;
28975 PyObject
* obj2
= 0 ;
28976 char *kwnames
[] = {
28977 (char *) "self",(char *) "x",(char *) "y", NULL
28980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28983 arg2
= (int) SWIG_AsInt(obj1
);
28984 if (PyErr_Occurred()) SWIG_fail
;
28985 arg3
= (int) SWIG_AsInt(obj2
);
28986 if (PyErr_Occurred()) SWIG_fail
;
28988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28989 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
28991 wxPyEndAllowThreads(__tstate
);
28992 if (PyErr_Occurred()) SWIG_fail
;
28994 Py_INCREF(Py_None
); resultobj
= Py_None
;
29001 static PyObject
*_wrap_PyControl_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29002 PyObject
*resultobj
;
29003 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29004 int *arg2
= (int *) 0 ;
29005 int *arg3
= (int *) 0 ;
29008 PyObject
* obj0
= 0 ;
29009 char *kwnames
[] = {
29010 (char *) "self", NULL
29015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
29016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29020 ((wxPyControl
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
29022 wxPyEndAllowThreads(__tstate
);
29023 if (PyErr_Occurred()) SWIG_fail
;
29025 Py_INCREF(Py_None
); resultobj
= Py_None
;
29027 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
29028 resultobj
= t_output_helper(resultobj
,o
);
29031 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
29032 resultobj
= t_output_helper(resultobj
,o
);
29040 static PyObject
*_wrap_PyControl_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29041 PyObject
*resultobj
;
29042 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29043 int *arg2
= (int *) 0 ;
29044 int *arg3
= (int *) 0 ;
29047 PyObject
* obj0
= 0 ;
29048 char *kwnames
[] = {
29049 (char *) "self", NULL
29054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
29055 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29056 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29059 ((wxPyControl
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
29061 wxPyEndAllowThreads(__tstate
);
29062 if (PyErr_Occurred()) SWIG_fail
;
29064 Py_INCREF(Py_None
); resultobj
= Py_None
;
29066 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
29067 resultobj
= t_output_helper(resultobj
,o
);
29070 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
29071 resultobj
= t_output_helper(resultobj
,o
);
29079 static PyObject
*_wrap_PyControl_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29080 PyObject
*resultobj
;
29081 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29082 int *arg2
= (int *) 0 ;
29083 int *arg3
= (int *) 0 ;
29086 PyObject
* obj0
= 0 ;
29087 char *kwnames
[] = {
29088 (char *) "self", NULL
29093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
29094 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29098 ((wxPyControl
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
29100 wxPyEndAllowThreads(__tstate
);
29101 if (PyErr_Occurred()) SWIG_fail
;
29103 Py_INCREF(Py_None
); resultobj
= Py_None
;
29105 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
29106 resultobj
= t_output_helper(resultobj
,o
);
29109 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
29110 resultobj
= t_output_helper(resultobj
,o
);
29118 static PyObject
*_wrap_PyControl_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29119 PyObject
*resultobj
;
29120 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29122 PyObject
* obj0
= 0 ;
29123 char *kwnames
[] = {
29124 (char *) "self", NULL
29127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
29128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29132 result
= ((wxPyControl
const *)arg1
)->base_DoGetVirtualSize();
29134 wxPyEndAllowThreads(__tstate
);
29135 if (PyErr_Occurred()) SWIG_fail
;
29138 wxSize
* resultptr
;
29139 resultptr
= new wxSize((wxSize
&) result
);
29140 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
29148 static PyObject
*_wrap_PyControl_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29149 PyObject
*resultobj
;
29150 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29152 PyObject
* obj0
= 0 ;
29153 char *kwnames
[] = {
29154 (char *) "self", NULL
29157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
29158 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29159 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29162 result
= ((wxPyControl
const *)arg1
)->base_DoGetBestSize();
29164 wxPyEndAllowThreads(__tstate
);
29165 if (PyErr_Occurred()) SWIG_fail
;
29168 wxSize
* resultptr
;
29169 resultptr
= new wxSize((wxSize
&) result
);
29170 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
29178 static PyObject
*_wrap_PyControl_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29179 PyObject
*resultobj
;
29180 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29181 PyObject
* obj0
= 0 ;
29182 char *kwnames
[] = {
29183 (char *) "self", NULL
29186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_InitDialog",kwnames
,&obj0
)) goto fail
;
29187 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29191 (arg1
)->base_InitDialog();
29193 wxPyEndAllowThreads(__tstate
);
29194 if (PyErr_Occurred()) SWIG_fail
;
29196 Py_INCREF(Py_None
); resultobj
= Py_None
;
29203 static PyObject
*_wrap_PyControl_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29204 PyObject
*resultobj
;
29205 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29207 PyObject
* obj0
= 0 ;
29208 char *kwnames
[] = {
29209 (char *) "self", NULL
29212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
29213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29217 result
= (bool)(arg1
)->base_TransferDataToWindow();
29219 wxPyEndAllowThreads(__tstate
);
29220 if (PyErr_Occurred()) SWIG_fail
;
29223 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29231 static PyObject
*_wrap_PyControl_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29232 PyObject
*resultobj
;
29233 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29235 PyObject
* obj0
= 0 ;
29236 char *kwnames
[] = {
29237 (char *) "self", NULL
29240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
29241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29245 result
= (bool)(arg1
)->base_TransferDataFromWindow();
29247 wxPyEndAllowThreads(__tstate
);
29248 if (PyErr_Occurred()) SWIG_fail
;
29251 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29259 static PyObject
*_wrap_PyControl_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29260 PyObject
*resultobj
;
29261 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29263 PyObject
* obj0
= 0 ;
29264 char *kwnames
[] = {
29265 (char *) "self", NULL
29268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_Validate",kwnames
,&obj0
)) goto fail
;
29269 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29273 result
= (bool)(arg1
)->base_Validate();
29275 wxPyEndAllowThreads(__tstate
);
29276 if (PyErr_Occurred()) SWIG_fail
;
29279 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29287 static PyObject
*_wrap_PyControl_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29288 PyObject
*resultobj
;
29289 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29291 PyObject
* obj0
= 0 ;
29292 char *kwnames
[] = {
29293 (char *) "self", NULL
29296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
29297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29301 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocus();
29303 wxPyEndAllowThreads(__tstate
);
29304 if (PyErr_Occurred()) SWIG_fail
;
29307 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29315 static PyObject
*_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29316 PyObject
*resultobj
;
29317 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29319 PyObject
* obj0
= 0 ;
29320 char *kwnames
[] = {
29321 (char *) "self", NULL
29324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
29325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29329 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocusFromKeyboard();
29331 wxPyEndAllowThreads(__tstate
);
29332 if (PyErr_Occurred()) SWIG_fail
;
29335 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29343 static PyObject
*_wrap_PyControl_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29344 PyObject
*resultobj
;
29345 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29347 PyObject
* obj0
= 0 ;
29348 char *kwnames
[] = {
29349 (char *) "self", NULL
29352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
29353 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29357 result
= ((wxPyControl
const *)arg1
)->base_GetMaxSize();
29359 wxPyEndAllowThreads(__tstate
);
29360 if (PyErr_Occurred()) SWIG_fail
;
29363 wxSize
* resultptr
;
29364 resultptr
= new wxSize((wxSize
&) result
);
29365 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
29373 static PyObject
*_wrap_PyControl_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29374 PyObject
*resultobj
;
29375 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29376 wxWindow
*arg2
= (wxWindow
*) 0 ;
29377 PyObject
* obj0
= 0 ;
29378 PyObject
* obj1
= 0 ;
29379 char *kwnames
[] = {
29380 (char *) "self",(char *) "child", NULL
29383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
29384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29386 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29387 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29390 (arg1
)->base_AddChild(arg2
);
29392 wxPyEndAllowThreads(__tstate
);
29393 if (PyErr_Occurred()) SWIG_fail
;
29395 Py_INCREF(Py_None
); resultobj
= Py_None
;
29402 static PyObject
*_wrap_PyControl_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29403 PyObject
*resultobj
;
29404 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29405 wxWindow
*arg2
= (wxWindow
*) 0 ;
29406 PyObject
* obj0
= 0 ;
29407 PyObject
* obj1
= 0 ;
29408 char *kwnames
[] = {
29409 (char *) "self",(char *) "child", NULL
29412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
29413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29415 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29419 (arg1
)->base_RemoveChild(arg2
);
29421 wxPyEndAllowThreads(__tstate
);
29422 if (PyErr_Occurred()) SWIG_fail
;
29424 Py_INCREF(Py_None
); resultobj
= Py_None
;
29431 static PyObject
*_wrap_PyControl_base_ShouldInheritColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29432 PyObject
*resultobj
;
29433 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29435 PyObject
* obj0
= 0 ;
29436 char *kwnames
[] = {
29437 (char *) "self", NULL
29440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
29441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29445 result
= (bool)(arg1
)->base_ShouldInheritColours();
29447 wxPyEndAllowThreads(__tstate
);
29448 if (PyErr_Occurred()) SWIG_fail
;
29451 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29459 static PyObject
*_wrap_PyControl_base_ApplyParentThemeBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29460 PyObject
*resultobj
;
29461 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29462 wxColour
*arg2
= 0 ;
29464 PyObject
* obj0
= 0 ;
29465 PyObject
* obj1
= 0 ;
29466 char *kwnames
[] = {
29467 (char *) "self",(char *) "c", NULL
29470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
29471 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29472 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29475 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29479 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
29481 wxPyEndAllowThreads(__tstate
);
29482 if (PyErr_Occurred()) SWIG_fail
;
29484 Py_INCREF(Py_None
); resultobj
= Py_None
;
29491 static PyObject
* PyControl_swigregister(PyObject
*self
, PyObject
*args
) {
29493 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29494 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl
, obj
);
29496 return Py_BuildValue((char *)"");
29498 static PyObject
*_wrap_new_HelpEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29499 PyObject
*resultobj
;
29500 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
29501 int arg2
= (int) 0 ;
29502 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
29503 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
29504 wxHelpEvent
*result
;
29506 PyObject
* obj0
= 0 ;
29507 PyObject
* obj1
= 0 ;
29508 PyObject
* obj2
= 0 ;
29509 char *kwnames
[] = {
29510 (char *) "type",(char *) "winid",(char *) "pt", NULL
29513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_HelpEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29515 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
29516 if (PyErr_Occurred()) SWIG_fail
;
29519 arg2
= (int) SWIG_AsInt(obj1
);
29520 if (PyErr_Occurred()) SWIG_fail
;
29525 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29530 result
= (wxHelpEvent
*)new wxHelpEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
29532 wxPyEndAllowThreads(__tstate
);
29533 if (PyErr_Occurred()) SWIG_fail
;
29535 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpEvent
, 1);
29542 static PyObject
*_wrap_HelpEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29543 PyObject
*resultobj
;
29544 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
29546 PyObject
* obj0
= 0 ;
29547 char *kwnames
[] = {
29548 (char *) "self", NULL
29551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
29552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
29553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29556 result
= ((wxHelpEvent
const *)arg1
)->GetPosition();
29558 wxPyEndAllowThreads(__tstate
);
29559 if (PyErr_Occurred()) SWIG_fail
;
29562 wxPoint
* resultptr
;
29563 resultptr
= new wxPoint((wxPoint
&) result
);
29564 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
29572 static PyObject
*_wrap_HelpEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29573 PyObject
*resultobj
;
29574 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
29575 wxPoint
*arg2
= 0 ;
29577 PyObject
* obj0
= 0 ;
29578 PyObject
* obj1
= 0 ;
29579 char *kwnames
[] = {
29580 (char *) "self",(char *) "pos", NULL
29583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
29584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
29585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29588 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29592 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
29594 wxPyEndAllowThreads(__tstate
);
29595 if (PyErr_Occurred()) SWIG_fail
;
29597 Py_INCREF(Py_None
); resultobj
= Py_None
;
29604 static PyObject
*_wrap_HelpEvent_GetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29605 PyObject
*resultobj
;
29606 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
29608 PyObject
* obj0
= 0 ;
29609 char *kwnames
[] = {
29610 (char *) "self", NULL
29613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetLink",kwnames
,&obj0
)) goto fail
;
29614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
29615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29619 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetLink();
29620 result
= (wxString
*) &_result_ref
;
29623 wxPyEndAllowThreads(__tstate
);
29624 if (PyErr_Occurred()) SWIG_fail
;
29628 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
29630 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
29639 static PyObject
*_wrap_HelpEvent_SetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29640 PyObject
*resultobj
;
29641 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
29642 wxString
*arg2
= 0 ;
29643 bool temp2
= False
;
29644 PyObject
* obj0
= 0 ;
29645 PyObject
* obj1
= 0 ;
29646 char *kwnames
[] = {
29647 (char *) "self",(char *) "link", NULL
29650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",kwnames
,&obj0
,&obj1
)) goto fail
;
29651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
29652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29654 arg2
= wxString_in_helper(obj1
);
29655 if (arg2
== NULL
) SWIG_fail
;
29659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29660 (arg1
)->SetLink((wxString
const &)*arg2
);
29662 wxPyEndAllowThreads(__tstate
);
29663 if (PyErr_Occurred()) SWIG_fail
;
29665 Py_INCREF(Py_None
); resultobj
= Py_None
;
29680 static PyObject
*_wrap_HelpEvent_GetTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29681 PyObject
*resultobj
;
29682 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
29684 PyObject
* obj0
= 0 ;
29685 char *kwnames
[] = {
29686 (char *) "self", NULL
29689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetTarget",kwnames
,&obj0
)) goto fail
;
29690 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
29691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29695 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetTarget();
29696 result
= (wxString
*) &_result_ref
;
29699 wxPyEndAllowThreads(__tstate
);
29700 if (PyErr_Occurred()) SWIG_fail
;
29704 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
29706 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
29715 static PyObject
*_wrap_HelpEvent_SetTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29716 PyObject
*resultobj
;
29717 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
29718 wxString
*arg2
= 0 ;
29719 bool temp2
= False
;
29720 PyObject
* obj0
= 0 ;
29721 PyObject
* obj1
= 0 ;
29722 char *kwnames
[] = {
29723 (char *) "self",(char *) "target", NULL
29726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
29727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
29728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29730 arg2
= wxString_in_helper(obj1
);
29731 if (arg2
== NULL
) SWIG_fail
;
29735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29736 (arg1
)->SetTarget((wxString
const &)*arg2
);
29738 wxPyEndAllowThreads(__tstate
);
29739 if (PyErr_Occurred()) SWIG_fail
;
29741 Py_INCREF(Py_None
); resultobj
= Py_None
;
29756 static PyObject
* HelpEvent_swigregister(PyObject
*self
, PyObject
*args
) {
29758 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29759 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent
, obj
);
29761 return Py_BuildValue((char *)"");
29763 static PyObject
*_wrap_new_ContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29764 PyObject
*resultobj
;
29765 wxWindow
*arg1
= (wxWindow
*) NULL
;
29766 bool arg2
= (bool) True
;
29767 wxContextHelp
*result
;
29768 PyObject
* obj0
= 0 ;
29769 PyObject
* obj1
= 0 ;
29770 char *kwnames
[] = {
29771 (char *) "window",(char *) "doNow", NULL
29774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
29776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
29777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29780 arg2
= (bool) SWIG_AsBool(obj1
);
29781 if (PyErr_Occurred()) SWIG_fail
;
29784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29785 result
= (wxContextHelp
*)new wxContextHelp(arg1
,arg2
);
29787 wxPyEndAllowThreads(__tstate
);
29788 if (PyErr_Occurred()) SWIG_fail
;
29790 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelp
, 1);
29797 static PyObject
*_wrap_delete_ContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29798 PyObject
*resultobj
;
29799 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
29800 PyObject
* obj0
= 0 ;
29801 char *kwnames
[] = {
29802 (char *) "self", NULL
29805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ContextHelp",kwnames
,&obj0
)) goto fail
;
29806 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextHelp
,
29807 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29812 wxPyEndAllowThreads(__tstate
);
29813 if (PyErr_Occurred()) SWIG_fail
;
29815 Py_INCREF(Py_None
); resultobj
= Py_None
;
29822 static PyObject
*_wrap_ContextHelp_BeginContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29823 PyObject
*resultobj
;
29824 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
29825 wxWindow
*arg2
= (wxWindow
*) NULL
;
29827 PyObject
* obj0
= 0 ;
29828 PyObject
* obj1
= 0 ;
29829 char *kwnames
[] = {
29830 (char *) "self",(char *) "window", NULL
29833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
29834 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextHelp
,
29835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29837 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29842 result
= (bool)(arg1
)->BeginContextHelp(arg2
);
29844 wxPyEndAllowThreads(__tstate
);
29845 if (PyErr_Occurred()) SWIG_fail
;
29848 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29856 static PyObject
*_wrap_ContextHelp_EndContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29857 PyObject
*resultobj
;
29858 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
29860 PyObject
* obj0
= 0 ;
29861 char *kwnames
[] = {
29862 (char *) "self", NULL
29865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextHelp_EndContextHelp",kwnames
,&obj0
)) goto fail
;
29866 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextHelp
,
29867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29870 result
= (bool)(arg1
)->EndContextHelp();
29872 wxPyEndAllowThreads(__tstate
);
29873 if (PyErr_Occurred()) SWIG_fail
;
29876 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29884 static PyObject
* ContextHelp_swigregister(PyObject
*self
, PyObject
*args
) {
29886 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29887 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp
, obj
);
29889 return Py_BuildValue((char *)"");
29891 static PyObject
*_wrap_new_ContextHelpButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29892 PyObject
*resultobj
;
29893 wxWindow
*arg1
= (wxWindow
*) 0 ;
29894 int arg2
= (int) wxID_CONTEXT_HELP
;
29895 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
29896 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
29897 wxSize
const &arg4_defvalue
= wxDefaultSize
;
29898 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
29899 long arg5
= (long) wxBU_AUTODRAW
;
29900 wxContextHelpButton
*result
;
29903 PyObject
* obj0
= 0 ;
29904 PyObject
* obj1
= 0 ;
29905 PyObject
* obj2
= 0 ;
29906 PyObject
* obj3
= 0 ;
29907 PyObject
* obj4
= 0 ;
29908 char *kwnames
[] = {
29909 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
29912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_ContextHelpButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
29914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29916 arg2
= (int) SWIG_AsInt(obj1
);
29917 if (PyErr_Occurred()) SWIG_fail
;
29922 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29928 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
29932 arg5
= (long) SWIG_AsLong(obj4
);
29933 if (PyErr_Occurred()) SWIG_fail
;
29936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29937 result
= (wxContextHelpButton
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
29939 wxPyEndAllowThreads(__tstate
);
29940 if (PyErr_Occurred()) SWIG_fail
;
29942 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelpButton
, 1);
29949 static PyObject
* ContextHelpButton_swigregister(PyObject
*self
, PyObject
*args
) {
29951 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29952 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton
, obj
);
29954 return Py_BuildValue((char *)"");
29956 static PyObject
*_wrap_HelpProvider_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29957 PyObject
*resultobj
;
29958 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
29959 wxHelpProvider
*result
;
29960 PyObject
* obj0
= 0 ;
29961 char *kwnames
[] = {
29962 (char *) "helpProvider", NULL
29965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) goto fail
;
29966 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
29967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29970 result
= (wxHelpProvider
*)wxHelpProvider::Set(arg1
);
29972 wxPyEndAllowThreads(__tstate
);
29973 if (PyErr_Occurred()) SWIG_fail
;
29975 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 0);
29982 static PyObject
*_wrap_HelpProvider_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29983 PyObject
*resultobj
;
29984 wxHelpProvider
*result
;
29985 char *kwnames
[] = {
29989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":HelpProvider_Get",kwnames
)) goto fail
;
29991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29992 result
= (wxHelpProvider
*)wxHelpProvider::Get();
29994 wxPyEndAllowThreads(__tstate
);
29995 if (PyErr_Occurred()) SWIG_fail
;
29997 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 0);
30004 static PyObject
*_wrap_HelpProvider_GetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30005 PyObject
*resultobj
;
30006 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30007 wxWindow
*arg2
= (wxWindow
*) 0 ;
30009 PyObject
* obj0
= 0 ;
30010 PyObject
* obj1
= 0 ;
30011 char *kwnames
[] = {
30012 (char *) "self",(char *) "window", NULL
30015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
30016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30018 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30019 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30022 result
= (arg1
)->GetHelp((wxWindow
const *)arg2
);
30024 wxPyEndAllowThreads(__tstate
);
30025 if (PyErr_Occurred()) SWIG_fail
;
30029 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30031 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30040 static PyObject
*_wrap_HelpProvider_ShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30041 PyObject
*resultobj
;
30042 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30043 wxWindow
*arg2
= (wxWindow
*) 0 ;
30045 PyObject
* obj0
= 0 ;
30046 PyObject
* obj1
= 0 ;
30047 char *kwnames
[] = {
30048 (char *) "self",(char *) "window", NULL
30051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
30052 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30054 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30058 result
= (bool)(arg1
)->ShowHelp(arg2
);
30060 wxPyEndAllowThreads(__tstate
);
30061 if (PyErr_Occurred()) SWIG_fail
;
30064 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30072 static PyObject
*_wrap_HelpProvider_AddHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30073 PyObject
*resultobj
;
30074 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30075 wxWindow
*arg2
= (wxWindow
*) 0 ;
30076 wxString
*arg3
= 0 ;
30077 bool temp3
= False
;
30078 PyObject
* obj0
= 0 ;
30079 PyObject
* obj1
= 0 ;
30080 PyObject
* obj2
= 0 ;
30081 char *kwnames
[] = {
30082 (char *) "self",(char *) "window",(char *) "text", NULL
30085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30086 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30087 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30088 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30091 arg3
= wxString_in_helper(obj2
);
30092 if (arg3
== NULL
) SWIG_fail
;
30096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30097 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
30099 wxPyEndAllowThreads(__tstate
);
30100 if (PyErr_Occurred()) SWIG_fail
;
30102 Py_INCREF(Py_None
); resultobj
= Py_None
;
30117 static PyObject
*_wrap_HelpProvider_AddHelpById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30118 PyObject
*resultobj
;
30119 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30121 wxString
*arg3
= 0 ;
30122 bool temp3
= False
;
30123 PyObject
* obj0
= 0 ;
30124 PyObject
* obj1
= 0 ;
30125 PyObject
* obj2
= 0 ;
30126 char *kwnames
[] = {
30127 (char *) "self",(char *) "id",(char *) "text", NULL
30130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelpById",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30131 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30132 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30133 arg2
= (int) SWIG_AsInt(obj1
);
30134 if (PyErr_Occurred()) SWIG_fail
;
30136 arg3
= wxString_in_helper(obj2
);
30137 if (arg3
== NULL
) SWIG_fail
;
30141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30142 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
30144 wxPyEndAllowThreads(__tstate
);
30145 if (PyErr_Occurred()) SWIG_fail
;
30147 Py_INCREF(Py_None
); resultobj
= Py_None
;
30162 static PyObject
*_wrap_HelpProvider_RemoveHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30163 PyObject
*resultobj
;
30164 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30165 wxWindow
*arg2
= (wxWindow
*) 0 ;
30166 PyObject
* obj0
= 0 ;
30167 PyObject
* obj1
= 0 ;
30168 char *kwnames
[] = {
30169 (char *) "self",(char *) "window", NULL
30172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_RemoveHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
30173 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30174 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30175 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30179 (arg1
)->RemoveHelp(arg2
);
30181 wxPyEndAllowThreads(__tstate
);
30182 if (PyErr_Occurred()) SWIG_fail
;
30184 Py_INCREF(Py_None
); resultobj
= Py_None
;
30191 static PyObject
*_wrap_HelpProvider_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30192 PyObject
*resultobj
;
30193 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30194 PyObject
* obj0
= 0 ;
30195 char *kwnames
[] = {
30196 (char *) "self", NULL
30199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Destroy",kwnames
,&obj0
)) goto fail
;
30200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30204 wxHelpProvider_Destroy(arg1
);
30206 wxPyEndAllowThreads(__tstate
);
30207 if (PyErr_Occurred()) SWIG_fail
;
30209 Py_INCREF(Py_None
); resultobj
= Py_None
;
30216 static PyObject
* HelpProvider_swigregister(PyObject
*self
, PyObject
*args
) {
30218 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30219 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider
, obj
);
30221 return Py_BuildValue((char *)"");
30223 static PyObject
*_wrap_new_SimpleHelpProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30224 PyObject
*resultobj
;
30225 wxSimpleHelpProvider
*result
;
30226 char *kwnames
[] = {
30230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SimpleHelpProvider",kwnames
)) goto fail
;
30232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30233 result
= (wxSimpleHelpProvider
*)new wxSimpleHelpProvider();
30235 wxPyEndAllowThreads(__tstate
);
30236 if (PyErr_Occurred()) SWIG_fail
;
30238 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSimpleHelpProvider
, 1);
30245 static PyObject
* SimpleHelpProvider_swigregister(PyObject
*self
, PyObject
*args
) {
30247 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30248 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider
, obj
);
30250 return Py_BuildValue((char *)"");
30252 static PyObject
*_wrap_new_DragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30253 PyObject
*resultobj
;
30254 wxBitmap
*arg1
= 0 ;
30255 wxCursor
const &arg2_defvalue
= wxNullCursor
;
30256 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
30257 wxGenericDragImage
*result
;
30258 PyObject
* obj0
= 0 ;
30259 PyObject
* obj1
= 0 ;
30260 char *kwnames
[] = {
30261 (char *) "image",(char *) "cursor", NULL
30264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) goto fail
;
30265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
30266 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30268 if (arg1
== NULL
) {
30269 PyErr_SetString(PyExc_TypeError
,"null reference");
30273 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
30274 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30276 if (arg2
== NULL
) {
30277 PyErr_SetString(PyExc_TypeError
,"null reference");
30282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30283 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxBitmap
const &)*arg1
,(wxCursor
const &)*arg2
);
30285 wxPyEndAllowThreads(__tstate
);
30286 if (PyErr_Occurred()) SWIG_fail
;
30288 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
30295 static PyObject
*_wrap_new_DragIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30296 PyObject
*resultobj
;
30298 wxCursor
const &arg2_defvalue
= wxNullCursor
;
30299 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
30300 wxGenericDragImage
*result
;
30301 PyObject
* obj0
= 0 ;
30302 PyObject
* obj1
= 0 ;
30303 char *kwnames
[] = {
30304 (char *) "image",(char *) "cursor", NULL
30307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
30308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
30309 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30311 if (arg1
== NULL
) {
30312 PyErr_SetString(PyExc_TypeError
,"null reference");
30316 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
30317 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30319 if (arg2
== NULL
) {
30320 PyErr_SetString(PyExc_TypeError
,"null reference");
30325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30326 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxIcon
const &)*arg1
,(wxCursor
const &)*arg2
);
30328 wxPyEndAllowThreads(__tstate
);
30329 if (PyErr_Occurred()) SWIG_fail
;
30331 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
30338 static PyObject
*_wrap_new_DragString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30339 PyObject
*resultobj
;
30340 wxString
*arg1
= 0 ;
30341 wxCursor
const &arg2_defvalue
= wxNullCursor
;
30342 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
30343 wxGenericDragImage
*result
;
30344 bool temp1
= False
;
30345 PyObject
* obj0
= 0 ;
30346 PyObject
* obj1
= 0 ;
30347 char *kwnames
[] = {
30348 (char *) "str",(char *) "cursor", NULL
30351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) goto fail
;
30353 arg1
= wxString_in_helper(obj0
);
30354 if (arg1
== NULL
) SWIG_fail
;
30358 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
30359 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30361 if (arg2
== NULL
) {
30362 PyErr_SetString(PyExc_TypeError
,"null reference");
30367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30368 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxString
const &)*arg1
,(wxCursor
const &)*arg2
);
30370 wxPyEndAllowThreads(__tstate
);
30371 if (PyErr_Occurred()) SWIG_fail
;
30373 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
30388 static PyObject
*_wrap_new_DragTreeItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30389 PyObject
*resultobj
;
30390 wxPyTreeCtrl
*arg1
= 0 ;
30391 wxTreeItemId
*arg2
= 0 ;
30392 wxGenericDragImage
*result
;
30393 PyObject
* obj0
= 0 ;
30394 PyObject
* obj1
= 0 ;
30395 char *kwnames
[] = {
30396 (char *) "treeCtrl",(char *) "id", NULL
30399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
30401 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30403 if (arg1
== NULL
) {
30404 PyErr_SetString(PyExc_TypeError
,"null reference");
30407 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
30408 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30410 if (arg2
== NULL
) {
30411 PyErr_SetString(PyExc_TypeError
,"null reference");
30415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30416 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyTreeCtrl
const &)*arg1
,*arg2
);
30418 wxPyEndAllowThreads(__tstate
);
30419 if (PyErr_Occurred()) SWIG_fail
;
30421 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
30428 static PyObject
*_wrap_new_DragListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30429 PyObject
*resultobj
;
30430 wxPyListCtrl
*arg1
= 0 ;
30432 wxGenericDragImage
*result
;
30433 PyObject
* obj0
= 0 ;
30434 PyObject
* obj1
= 0 ;
30435 char *kwnames
[] = {
30436 (char *) "listCtrl",(char *) "id", NULL
30439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragListItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30440 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
30441 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30443 if (arg1
== NULL
) {
30444 PyErr_SetString(PyExc_TypeError
,"null reference");
30447 arg2
= (long) SWIG_AsLong(obj1
);
30448 if (PyErr_Occurred()) SWIG_fail
;
30450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30451 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyListCtrl
const &)*arg1
,arg2
);
30453 wxPyEndAllowThreads(__tstate
);
30454 if (PyErr_Occurred()) SWIG_fail
;
30456 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
30463 static PyObject
*_wrap_delete_DragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30464 PyObject
*resultobj
;
30465 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30466 PyObject
* obj0
= 0 ;
30467 char *kwnames
[] = {
30468 (char *) "self", NULL
30471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DragImage",kwnames
,&obj0
)) goto fail
;
30472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30478 wxPyEndAllowThreads(__tstate
);
30479 if (PyErr_Occurred()) SWIG_fail
;
30481 Py_INCREF(Py_None
); resultobj
= Py_None
;
30488 static PyObject
*_wrap_DragImage_SetBackingBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30489 PyObject
*resultobj
;
30490 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30491 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
30492 PyObject
* obj0
= 0 ;
30493 PyObject
* obj1
= 0 ;
30494 char *kwnames
[] = {
30495 (char *) "self",(char *) "bitmap", NULL
30498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
30499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30501 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
30502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30505 (arg1
)->SetBackingBitmap(arg2
);
30507 wxPyEndAllowThreads(__tstate
);
30508 if (PyErr_Occurred()) SWIG_fail
;
30510 Py_INCREF(Py_None
); resultobj
= Py_None
;
30517 static PyObject
*_wrap_DragImage_BeginDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30518 PyObject
*resultobj
;
30519 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30520 wxPoint
*arg2
= 0 ;
30521 wxWindow
*arg3
= (wxWindow
*) 0 ;
30522 bool arg4
= (bool) False
;
30523 wxRect
*arg5
= (wxRect
*) NULL
;
30526 PyObject
* obj0
= 0 ;
30527 PyObject
* obj1
= 0 ;
30528 PyObject
* obj2
= 0 ;
30529 PyObject
* obj3
= 0 ;
30530 PyObject
* obj4
= 0 ;
30531 char *kwnames
[] = {
30532 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
30535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30540 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30542 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
30543 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30545 arg4
= (bool) SWIG_AsBool(obj3
);
30546 if (PyErr_Occurred()) SWIG_fail
;
30549 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxRect
,
30550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30554 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
,arg5
);
30556 wxPyEndAllowThreads(__tstate
);
30557 if (PyErr_Occurred()) SWIG_fail
;
30560 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30568 static PyObject
*_wrap_DragImage_BeginDragBounded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30569 PyObject
*resultobj
;
30570 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30571 wxPoint
*arg2
= 0 ;
30572 wxWindow
*arg3
= (wxWindow
*) 0 ;
30573 wxWindow
*arg4
= (wxWindow
*) 0 ;
30576 PyObject
* obj0
= 0 ;
30577 PyObject
* obj1
= 0 ;
30578 PyObject
* obj2
= 0 ;
30579 PyObject
* obj3
= 0 ;
30580 char *kwnames
[] = {
30581 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
30584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30589 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30591 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
30592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30593 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
30594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30597 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
);
30599 wxPyEndAllowThreads(__tstate
);
30600 if (PyErr_Occurred()) SWIG_fail
;
30603 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30611 static PyObject
*_wrap_DragImage_EndDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30612 PyObject
*resultobj
;
30613 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30615 PyObject
* obj0
= 0 ;
30616 char *kwnames
[] = {
30617 (char *) "self", NULL
30620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_EndDrag",kwnames
,&obj0
)) goto fail
;
30621 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30622 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30625 result
= (bool)(arg1
)->EndDrag();
30627 wxPyEndAllowThreads(__tstate
);
30628 if (PyErr_Occurred()) SWIG_fail
;
30631 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30639 static PyObject
*_wrap_DragImage_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30640 PyObject
*resultobj
;
30641 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30642 wxPoint
*arg2
= 0 ;
30645 PyObject
* obj0
= 0 ;
30646 PyObject
* obj1
= 0 ;
30647 char *kwnames
[] = {
30648 (char *) "self",(char *) "pt", NULL
30651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
30652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30656 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30660 result
= (bool)(arg1
)->Move((wxPoint
const &)*arg2
);
30662 wxPyEndAllowThreads(__tstate
);
30663 if (PyErr_Occurred()) SWIG_fail
;
30666 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30674 static PyObject
*_wrap_DragImage_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30675 PyObject
*resultobj
;
30676 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30678 PyObject
* obj0
= 0 ;
30679 char *kwnames
[] = {
30680 (char *) "self", NULL
30683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Show",kwnames
,&obj0
)) goto fail
;
30684 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30688 result
= (bool)(arg1
)->Show();
30690 wxPyEndAllowThreads(__tstate
);
30691 if (PyErr_Occurred()) SWIG_fail
;
30694 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30702 static PyObject
*_wrap_DragImage_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30703 PyObject
*resultobj
;
30704 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30706 PyObject
* obj0
= 0 ;
30707 char *kwnames
[] = {
30708 (char *) "self", NULL
30711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Hide",kwnames
,&obj0
)) goto fail
;
30712 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30713 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30716 result
= (bool)(arg1
)->Hide();
30718 wxPyEndAllowThreads(__tstate
);
30719 if (PyErr_Occurred()) SWIG_fail
;
30722 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30730 static PyObject
*_wrap_DragImage_GetImageRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30731 PyObject
*resultobj
;
30732 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30733 wxPoint
*arg2
= 0 ;
30736 PyObject
* obj0
= 0 ;
30737 PyObject
* obj1
= 0 ;
30738 char *kwnames
[] = {
30739 (char *) "self",(char *) "pos", NULL
30742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) goto fail
;
30743 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30744 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30747 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30751 result
= ((wxGenericDragImage
const *)arg1
)->GetImageRect((wxPoint
const &)*arg2
);
30753 wxPyEndAllowThreads(__tstate
);
30754 if (PyErr_Occurred()) SWIG_fail
;
30757 wxRect
* resultptr
;
30758 resultptr
= new wxRect((wxRect
&) result
);
30759 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
30767 static PyObject
*_wrap_DragImage_DoDrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30768 PyObject
*resultobj
;
30769 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30771 wxPoint
*arg3
= 0 ;
30774 PyObject
* obj0
= 0 ;
30775 PyObject
* obj1
= 0 ;
30776 PyObject
* obj2
= 0 ;
30777 char *kwnames
[] = {
30778 (char *) "self",(char *) "dc",(char *) "pos", NULL
30781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30782 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30783 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30784 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
30785 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30787 if (arg2
== NULL
) {
30788 PyErr_SetString(PyExc_TypeError
,"null reference");
30793 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30797 result
= (bool)((wxGenericDragImage
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint
const &)*arg3
);
30799 wxPyEndAllowThreads(__tstate
);
30800 if (PyErr_Occurred()) SWIG_fail
;
30803 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30811 static PyObject
*_wrap_DragImage_UpdateBackingFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30812 PyObject
*resultobj
;
30813 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30815 wxMemoryDC
*arg3
= 0 ;
30821 PyObject
* obj0
= 0 ;
30822 PyObject
* obj1
= 0 ;
30823 PyObject
* obj2
= 0 ;
30824 PyObject
* obj3
= 0 ;
30825 PyObject
* obj4
= 0 ;
30826 char *kwnames
[] = {
30827 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
30830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30833 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
30834 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30836 if (arg2
== NULL
) {
30837 PyErr_SetString(PyExc_TypeError
,"null reference");
30840 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMemoryDC
,
30841 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30843 if (arg3
== NULL
) {
30844 PyErr_SetString(PyExc_TypeError
,"null reference");
30849 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
30853 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
30856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30857 result
= (bool)((wxGenericDragImage
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect
const &)*arg4
,(wxRect
const &)*arg5
);
30859 wxPyEndAllowThreads(__tstate
);
30860 if (PyErr_Occurred()) SWIG_fail
;
30863 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30871 static PyObject
*_wrap_DragImage_RedrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30872 PyObject
*resultobj
;
30873 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30874 wxPoint
*arg2
= 0 ;
30875 wxPoint
*arg3
= 0 ;
30881 PyObject
* obj0
= 0 ;
30882 PyObject
* obj1
= 0 ;
30883 PyObject
* obj2
= 0 ;
30884 PyObject
* obj3
= 0 ;
30885 PyObject
* obj4
= 0 ;
30886 char *kwnames
[] = {
30887 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
30890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30891 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30892 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30895 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30899 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30901 arg4
= (bool) SWIG_AsBool(obj3
);
30902 if (PyErr_Occurred()) SWIG_fail
;
30903 arg5
= (bool) SWIG_AsBool(obj4
);
30904 if (PyErr_Occurred()) SWIG_fail
;
30906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30907 result
= (bool)(arg1
)->RedrawImage((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
30909 wxPyEndAllowThreads(__tstate
);
30910 if (PyErr_Occurred()) SWIG_fail
;
30913 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30921 static PyObject
* DragImage_swigregister(PyObject
*self
, PyObject
*args
) {
30923 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30924 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage
, obj
);
30926 return Py_BuildValue((char *)"");
30928 static PyMethodDef SwigMethods
[] = {
30929 { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS
| METH_KEYWORDS
},
30930 { (char *)"new_PreButton", (PyCFunction
) _wrap_new_PreButton
, METH_VARARGS
| METH_KEYWORDS
},
30931 { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS
| METH_KEYWORDS
},
30932 { (char *)"Button_SetDefault", (PyCFunction
) _wrap_Button_SetDefault
, METH_VARARGS
| METH_KEYWORDS
},
30933 { (char *)"Button_GetDefaultSize", (PyCFunction
) _wrap_Button_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
30934 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction
) _wrap_Button_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
30935 { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS
},
30936 { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS
| METH_KEYWORDS
},
30937 { (char *)"new_PreBitmapButton", (PyCFunction
) _wrap_new_PreBitmapButton
, METH_VARARGS
| METH_KEYWORDS
},
30938 { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
30939 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_GetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
30940 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_GetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
30941 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_GetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
30942 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_GetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
30943 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
30944 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
30945 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
30946 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
30947 { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
30948 { (char *)"BitmapButton_GetMarginX", (PyCFunction
) _wrap_BitmapButton_GetMarginX
, METH_VARARGS
| METH_KEYWORDS
},
30949 { (char *)"BitmapButton_GetMarginY", (PyCFunction
) _wrap_BitmapButton_GetMarginY
, METH_VARARGS
| METH_KEYWORDS
},
30950 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS
},
30951 { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS
| METH_KEYWORDS
},
30952 { (char *)"new_PreCheckBox", (PyCFunction
) _wrap_new_PreCheckBox
, METH_VARARGS
| METH_KEYWORDS
},
30953 { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
30954 { (char *)"CheckBox_GetValue", (PyCFunction
) _wrap_CheckBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
30955 { (char *)"CheckBox_IsChecked", (PyCFunction
) _wrap_CheckBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
30956 { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
30957 { (char *)"CheckBox_Get3StateValue", (PyCFunction
) _wrap_CheckBox_Get3StateValue
, METH_VARARGS
| METH_KEYWORDS
},
30958 { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS
| METH_KEYWORDS
},
30959 { (char *)"CheckBox_Is3State", (PyCFunction
) _wrap_CheckBox_Is3State
, METH_VARARGS
| METH_KEYWORDS
},
30960 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
) _wrap_CheckBox_Is3rdStateAllowedForUser
, METH_VARARGS
| METH_KEYWORDS
},
30961 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_CheckBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
30962 { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS
},
30963 { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS
| METH_KEYWORDS
},
30964 { (char *)"new_PreChoice", (PyCFunction
) _wrap_new_PreChoice
, METH_VARARGS
| METH_KEYWORDS
},
30965 { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS
| METH_KEYWORDS
},
30966 { (char *)"Choice_SetSelection", (PyCFunction
) _wrap_Choice_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30967 { (char *)"Choice_SetStringSelection", (PyCFunction
) _wrap_Choice_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
30968 { (char *)"Choice_SetString", (PyCFunction
) _wrap_Choice_SetString
, METH_VARARGS
| METH_KEYWORDS
},
30969 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction
) _wrap_Choice_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
30970 { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS
},
30971 { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS
| METH_KEYWORDS
},
30972 { (char *)"new_PreComboBox", (PyCFunction
) _wrap_new_PreComboBox
, METH_VARARGS
| METH_KEYWORDS
},
30973 { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
30974 { (char *)"ComboBox_GetValue", (PyCFunction
) _wrap_ComboBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
30975 { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
30976 { (char *)"ComboBox_Copy", (PyCFunction
) _wrap_ComboBox_Copy
, METH_VARARGS
| METH_KEYWORDS
},
30977 { (char *)"ComboBox_Cut", (PyCFunction
) _wrap_ComboBox_Cut
, METH_VARARGS
| METH_KEYWORDS
},
30978 { (char *)"ComboBox_Paste", (PyCFunction
) _wrap_ComboBox_Paste
, METH_VARARGS
| METH_KEYWORDS
},
30979 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
30980 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
) _wrap_ComboBox_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
30981 { (char *)"ComboBox_GetLastPosition", (PyCFunction
) _wrap_ComboBox_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
30982 { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
},
30983 { (char *)"ComboBox_SetSelection", (PyCFunction
) _wrap_ComboBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30984 { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
},
30985 { (char *)"ComboBox_SetStringSelection", (PyCFunction
) _wrap_ComboBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
30986 { (char *)"ComboBox_SetString", (PyCFunction
) _wrap_ComboBox_SetString
, METH_VARARGS
| METH_KEYWORDS
},
30987 { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
30988 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
) _wrap_ComboBox_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
30989 { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
},
30990 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ComboBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
30991 { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS
},
30992 { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS
| METH_KEYWORDS
},
30993 { (char *)"new_PreGauge", (PyCFunction
) _wrap_new_PreGauge
, METH_VARARGS
| METH_KEYWORDS
},
30994 { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS
| METH_KEYWORDS
},
30995 { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
30996 { (char *)"Gauge_GetRange", (PyCFunction
) _wrap_Gauge_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
30997 { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
30998 { (char *)"Gauge_GetValue", (PyCFunction
) _wrap_Gauge_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
30999 { (char *)"Gauge_IsVertical", (PyCFunction
) _wrap_Gauge_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
31000 { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
31001 { (char *)"Gauge_GetShadowWidth", (PyCFunction
) _wrap_Gauge_GetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
31002 { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
31003 { (char *)"Gauge_GetBezelFace", (PyCFunction
) _wrap_Gauge_GetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
31004 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction
) _wrap_Gauge_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31005 { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS
},
31006 { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS
| METH_KEYWORDS
},
31007 { (char *)"new_PreStaticBox", (PyCFunction
) _wrap_new_PreStaticBox
, METH_VARARGS
| METH_KEYWORDS
},
31008 { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
31009 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31010 { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS
},
31011 { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS
| METH_KEYWORDS
},
31012 { (char *)"new_PreStaticLine", (PyCFunction
) _wrap_new_PreStaticLine
, METH_VARARGS
| METH_KEYWORDS
},
31013 { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
},
31014 { (char *)"StaticLine_IsVertical", (PyCFunction
) _wrap_StaticLine_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
31015 { (char *)"StaticLine_GetDefaultSize", (PyCFunction
) _wrap_StaticLine_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
31016 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticLine_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31017 { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS
},
31018 { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS
| METH_KEYWORDS
},
31019 { (char *)"new_PreStaticText", (PyCFunction
) _wrap_new_PreStaticText
, METH_VARARGS
| METH_KEYWORDS
},
31020 { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS
| METH_KEYWORDS
},
31021 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticText_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31022 { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS
},
31023 { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31024 { (char *)"new_PreStaticBitmap", (PyCFunction
) _wrap_new_PreStaticBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31025 { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
},
31026 { (char *)"StaticBitmap_GetBitmap", (PyCFunction
) _wrap_StaticBitmap_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31027 { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31028 { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
31029 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBitmap_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31030 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS
},
31031 { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS
| METH_KEYWORDS
},
31032 { (char *)"new_PreListBox", (PyCFunction
) _wrap_new_PreListBox
, METH_VARARGS
| METH_KEYWORDS
},
31033 { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
31034 { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS
| METH_KEYWORDS
},
31035 { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
},
31036 { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS
| METH_KEYWORDS
},
31037 { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
31038 { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31039 { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS
| METH_KEYWORDS
},
31040 { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
},
31041 { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
},
31042 { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
31043 { (char *)"ListBox_GetSelections", (PyCFunction
) _wrap_ListBox_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
31044 { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
},
31045 { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
},
31046 { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
31047 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
31048 { (char *)"ListBox_IsSorted", (PyCFunction
) _wrap_ListBox_IsSorted
, METH_VARARGS
| METH_KEYWORDS
},
31049 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction
) _wrap_ListBox_SetItemForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31050 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction
) _wrap_ListBox_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31051 { (char *)"ListBox_SetItemFont", (PyCFunction
) _wrap_ListBox_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
31052 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31053 { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS
},
31054 { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS
| METH_KEYWORDS
},
31055 { (char *)"new_PreCheckListBox", (PyCFunction
) _wrap_new_PreCheckListBox
, METH_VARARGS
| METH_KEYWORDS
},
31056 { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
31057 { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
31058 { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
},
31059 { (char *)"CheckListBox_HitTest", (PyCFunction
) _wrap_CheckListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
31060 { (char *)"CheckListBox_HitTestXY", (PyCFunction
) _wrap_CheckListBox_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
},
31061 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS
},
31062 { (char *)"new_TextAttr", _wrap_new_TextAttr
, METH_VARARGS
},
31063 { (char *)"delete_TextAttr", (PyCFunction
) _wrap_delete_TextAttr
, METH_VARARGS
| METH_KEYWORDS
},
31064 { (char *)"TextAttr_Init", (PyCFunction
) _wrap_TextAttr_Init
, METH_VARARGS
| METH_KEYWORDS
},
31065 { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31066 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31067 { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
31068 { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
31069 { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
},
31070 { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
31071 { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
31072 { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
31073 { (char *)"TextAttr_HasTextColour", (PyCFunction
) _wrap_TextAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31074 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
) _wrap_TextAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31075 { (char *)"TextAttr_HasFont", (PyCFunction
) _wrap_TextAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
31076 { (char *)"TextAttr_HasAlignment", (PyCFunction
) _wrap_TextAttr_HasAlignment
, METH_VARARGS
| METH_KEYWORDS
},
31077 { (char *)"TextAttr_HasTabs", (PyCFunction
) _wrap_TextAttr_HasTabs
, METH_VARARGS
| METH_KEYWORDS
},
31078 { (char *)"TextAttr_HasLeftIndent", (PyCFunction
) _wrap_TextAttr_HasLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
31079 { (char *)"TextAttr_HasRightIndent", (PyCFunction
) _wrap_TextAttr_HasRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
31080 { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
},
31081 { (char *)"TextAttr_GetTextColour", (PyCFunction
) _wrap_TextAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31082 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
) _wrap_TextAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31083 { (char *)"TextAttr_GetFont", (PyCFunction
) _wrap_TextAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
31084 { (char *)"TextAttr_GetAlignment", (PyCFunction
) _wrap_TextAttr_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
31085 { (char *)"TextAttr_GetTabs", (PyCFunction
) _wrap_TextAttr_GetTabs
, METH_VARARGS
| METH_KEYWORDS
},
31086 { (char *)"TextAttr_GetLeftIndent", (PyCFunction
) _wrap_TextAttr_GetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
31087 { (char *)"TextAttr_GetRightIndent", (PyCFunction
) _wrap_TextAttr_GetRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
31088 { (char *)"TextAttr_GetFlags", (PyCFunction
) _wrap_TextAttr_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
31089 { (char *)"TextAttr_IsDefault", (PyCFunction
) _wrap_TextAttr_IsDefault
, METH_VARARGS
| METH_KEYWORDS
},
31090 { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
},
31091 { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS
},
31092 { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31093 { (char *)"new_PreTextCtrl", (PyCFunction
) _wrap_new_PreTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31094 { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
31095 { (char *)"TextCtrl_GetValue", (PyCFunction
) _wrap_TextCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31096 { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31097 { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
31098 { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
},
31099 { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
},
31100 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
) _wrap_TextCtrl_GetNumberOfLines
, METH_VARARGS
| METH_KEYWORDS
},
31101 { (char *)"TextCtrl_IsModified", (PyCFunction
) _wrap_TextCtrl_IsModified
, METH_VARARGS
| METH_KEYWORDS
},
31102 { (char *)"TextCtrl_IsEditable", (PyCFunction
) _wrap_TextCtrl_IsEditable
, METH_VARARGS
| METH_KEYWORDS
},
31103 { (char *)"TextCtrl_IsSingleLine", (PyCFunction
) _wrap_TextCtrl_IsSingleLine
, METH_VARARGS
| METH_KEYWORDS
},
31104 { (char *)"TextCtrl_IsMultiLine", (PyCFunction
) _wrap_TextCtrl_IsMultiLine
, METH_VARARGS
| METH_KEYWORDS
},
31105 { (char *)"TextCtrl_GetSelection", (PyCFunction
) _wrap_TextCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31106 { (char *)"TextCtrl_GetStringSelection", (PyCFunction
) _wrap_TextCtrl_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
31107 { (char *)"TextCtrl_Clear", (PyCFunction
) _wrap_TextCtrl_Clear
, METH_VARARGS
| METH_KEYWORDS
},
31108 { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
},
31109 { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
},
31110 { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
31111 { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
31112 { (char *)"TextCtrl_MarkDirty", (PyCFunction
) _wrap_TextCtrl_MarkDirty
, METH_VARARGS
| METH_KEYWORDS
},
31113 { (char *)"TextCtrl_DiscardEdits", (PyCFunction
) _wrap_TextCtrl_DiscardEdits
, METH_VARARGS
| METH_KEYWORDS
},
31114 { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
},
31115 { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
},
31116 { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
},
31117 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
},
31118 { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
31119 { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
31120 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
},
31121 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_GetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
},
31122 { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
},
31123 { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
},
31124 { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
},
31125 { (char *)"TextCtrl_HitTest", (PyCFunction
) _wrap_TextCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
31126 { (char *)"TextCtrl_Copy", (PyCFunction
) _wrap_TextCtrl_Copy
, METH_VARARGS
| METH_KEYWORDS
},
31127 { (char *)"TextCtrl_Cut", (PyCFunction
) _wrap_TextCtrl_Cut
, METH_VARARGS
| METH_KEYWORDS
},
31128 { (char *)"TextCtrl_Paste", (PyCFunction
) _wrap_TextCtrl_Paste
, METH_VARARGS
| METH_KEYWORDS
},
31129 { (char *)"TextCtrl_CanCopy", (PyCFunction
) _wrap_TextCtrl_CanCopy
, METH_VARARGS
| METH_KEYWORDS
},
31130 { (char *)"TextCtrl_CanCut", (PyCFunction
) _wrap_TextCtrl_CanCut
, METH_VARARGS
| METH_KEYWORDS
},
31131 { (char *)"TextCtrl_CanPaste", (PyCFunction
) _wrap_TextCtrl_CanPaste
, METH_VARARGS
| METH_KEYWORDS
},
31132 { (char *)"TextCtrl_Undo", (PyCFunction
) _wrap_TextCtrl_Undo
, METH_VARARGS
| METH_KEYWORDS
},
31133 { (char *)"TextCtrl_Redo", (PyCFunction
) _wrap_TextCtrl_Redo
, METH_VARARGS
| METH_KEYWORDS
},
31134 { (char *)"TextCtrl_CanUndo", (PyCFunction
) _wrap_TextCtrl_CanUndo
, METH_VARARGS
| METH_KEYWORDS
},
31135 { (char *)"TextCtrl_CanRedo", (PyCFunction
) _wrap_TextCtrl_CanRedo
, METH_VARARGS
| METH_KEYWORDS
},
31136 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
31137 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
) _wrap_TextCtrl_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
31138 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
31139 { (char *)"TextCtrl_GetLastPosition", (PyCFunction
) _wrap_TextCtrl_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
31140 { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31141 { (char *)"TextCtrl_SelectAll", (PyCFunction
) _wrap_TextCtrl_SelectAll
, METH_VARARGS
| METH_KEYWORDS
},
31142 { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
31143 { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
},
31144 { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
},
31145 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TextCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31146 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS
},
31147 { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
},
31148 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
) _wrap_TextUrlEvent_GetMouseEvent
, METH_VARARGS
| METH_KEYWORDS
},
31149 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
) _wrap_TextUrlEvent_GetURLStart
, METH_VARARGS
| METH_KEYWORDS
},
31150 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
) _wrap_TextUrlEvent_GetURLEnd
, METH_VARARGS
| METH_KEYWORDS
},
31151 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS
},
31152 { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
31153 { (char *)"new_PreScrollBar", (PyCFunction
) _wrap_new_PreScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
31154 { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
31155 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
) _wrap_ScrollBar_GetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
31156 { (char *)"ScrollBar_GetThumbSize", (PyCFunction
) _wrap_ScrollBar_GetThumbSize
, METH_VARARGS
| METH_KEYWORDS
},
31157 { (char *)"ScrollBar_GetPageSize", (PyCFunction
) _wrap_ScrollBar_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
31158 { (char *)"ScrollBar_GetRange", (PyCFunction
) _wrap_ScrollBar_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
31159 { (char *)"ScrollBar_IsVertical", (PyCFunction
) _wrap_ScrollBar_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
31160 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
31161 { (char *)"ScrollBar_SetScrollbar", (PyCFunction
) _wrap_ScrollBar_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
31162 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrollBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31163 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS
},
31164 { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS
| METH_KEYWORDS
},
31165 { (char *)"new_PreSpinButton", (PyCFunction
) _wrap_new_PreSpinButton
, METH_VARARGS
| METH_KEYWORDS
},
31166 { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
31167 { (char *)"SpinButton_GetValue", (PyCFunction
) _wrap_SpinButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31168 { (char *)"SpinButton_GetMin", (PyCFunction
) _wrap_SpinButton_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
31169 { (char *)"SpinButton_GetMax", (PyCFunction
) _wrap_SpinButton_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
31170 { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31171 { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS
| METH_KEYWORDS
},
31172 { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS
| METH_KEYWORDS
},
31173 { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
31174 { (char *)"SpinButton_IsVertical", (PyCFunction
) _wrap_SpinButton_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
31175 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31176 { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS
},
31177 { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31178 { (char *)"new_PreSpinCtrl", (PyCFunction
) _wrap_new_PreSpinCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31179 { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
31180 { (char *)"SpinCtrl_GetValue", (PyCFunction
) _wrap_SpinCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31181 { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31182 { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS
| METH_KEYWORDS
},
31183 { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
31184 { (char *)"SpinCtrl_GetMin", (PyCFunction
) _wrap_SpinCtrl_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
31185 { (char *)"SpinCtrl_GetMax", (PyCFunction
) _wrap_SpinCtrl_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
31186 { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31187 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31188 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS
},
31189 { (char *)"new_SpinEvent", (PyCFunction
) _wrap_new_SpinEvent
, METH_VARARGS
| METH_KEYWORDS
},
31190 { (char *)"SpinEvent_GetPosition", (PyCFunction
) _wrap_SpinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
31191 { (char *)"SpinEvent_SetPosition", (PyCFunction
) _wrap_SpinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
31192 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister
, METH_VARARGS
},
31193 { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS
| METH_KEYWORDS
},
31194 { (char *)"new_PreRadioBox", (PyCFunction
) _wrap_new_PreRadioBox
, METH_VARARGS
| METH_KEYWORDS
},
31195 { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
31196 { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31197 { (char *)"RadioBox_GetSelection", (PyCFunction
) _wrap_RadioBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31198 { (char *)"RadioBox_GetStringSelection", (PyCFunction
) _wrap_RadioBox_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
31199 { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
31200 { (char *)"RadioBox_GetCount", (PyCFunction
) _wrap_RadioBox_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
31201 { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
},
31202 { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
},
31203 { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
},
31204 { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
},
31205 { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
},
31206 { (char *)"RadioBox_GetColumnCount", (PyCFunction
) _wrap_RadioBox_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
},
31207 { (char *)"RadioBox_GetRowCount", (PyCFunction
) _wrap_RadioBox_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
},
31208 { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
},
31209 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31210 { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS
},
31211 { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS
| METH_KEYWORDS
},
31212 { (char *)"new_PreRadioButton", (PyCFunction
) _wrap_new_PreRadioButton
, METH_VARARGS
| METH_KEYWORDS
},
31213 { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
31214 { (char *)"RadioButton_GetValue", (PyCFunction
) _wrap_RadioButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31215 { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31216 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31217 { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS
},
31218 { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS
| METH_KEYWORDS
},
31219 { (char *)"new_PreSlider", (PyCFunction
) _wrap_new_PreSlider
, METH_VARARGS
| METH_KEYWORDS
},
31220 { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS
| METH_KEYWORDS
},
31221 { (char *)"Slider_GetValue", (PyCFunction
) _wrap_Slider_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31222 { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31223 { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
31224 { (char *)"Slider_GetMin", (PyCFunction
) _wrap_Slider_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
31225 { (char *)"Slider_GetMax", (PyCFunction
) _wrap_Slider_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
31226 { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS
| METH_KEYWORDS
},
31227 { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS
| METH_KEYWORDS
},
31228 { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
31229 { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
31230 { (char *)"Slider_GetLineSize", (PyCFunction
) _wrap_Slider_GetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
31231 { (char *)"Slider_GetPageSize", (PyCFunction
) _wrap_Slider_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
31232 { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
31233 { (char *)"Slider_GetThumbLength", (PyCFunction
) _wrap_Slider_GetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
31234 { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
31235 { (char *)"Slider_GetTickFreq", (PyCFunction
) _wrap_Slider_GetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
31236 { (char *)"Slider_ClearTicks", (PyCFunction
) _wrap_Slider_ClearTicks
, METH_VARARGS
| METH_KEYWORDS
},
31237 { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS
| METH_KEYWORDS
},
31238 { (char *)"Slider_ClearSel", (PyCFunction
) _wrap_Slider_ClearSel
, METH_VARARGS
| METH_KEYWORDS
},
31239 { (char *)"Slider_GetSelEnd", (PyCFunction
) _wrap_Slider_GetSelEnd
, METH_VARARGS
| METH_KEYWORDS
},
31240 { (char *)"Slider_GetSelStart", (PyCFunction
) _wrap_Slider_GetSelStart
, METH_VARARGS
| METH_KEYWORDS
},
31241 { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31242 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction
) _wrap_Slider_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31243 { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS
},
31244 { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS
| METH_KEYWORDS
},
31245 { (char *)"new_PreToggleButton", (PyCFunction
) _wrap_new_PreToggleButton
, METH_VARARGS
| METH_KEYWORDS
},
31246 { (char *)"ToggleButton_Create", (PyCFunction
) _wrap_ToggleButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
31247 { (char *)"ToggleButton_SetValue", (PyCFunction
) _wrap_ToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31248 { (char *)"ToggleButton_GetValue", (PyCFunction
) _wrap_ToggleButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31249 { (char *)"ToggleButton_SetLabel", (PyCFunction
) _wrap_ToggleButton_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
31250 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToggleButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31251 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS
},
31252 { (char *)"BookCtrl_GetPageCount", (PyCFunction
) _wrap_BookCtrl_GetPageCount
, METH_VARARGS
| METH_KEYWORDS
},
31253 { (char *)"BookCtrl_GetPage", (PyCFunction
) _wrap_BookCtrl_GetPage
, METH_VARARGS
| METH_KEYWORDS
},
31254 { (char *)"BookCtrl_GetSelection", (PyCFunction
) _wrap_BookCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31255 { (char *)"BookCtrl_SetPageText", (PyCFunction
) _wrap_BookCtrl_SetPageText
, METH_VARARGS
| METH_KEYWORDS
},
31256 { (char *)"BookCtrl_GetPageText", (PyCFunction
) _wrap_BookCtrl_GetPageText
, METH_VARARGS
| METH_KEYWORDS
},
31257 { (char *)"BookCtrl_SetImageList", (PyCFunction
) _wrap_BookCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
31258 { (char *)"BookCtrl_AssignImageList", (PyCFunction
) _wrap_BookCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
31259 { (char *)"BookCtrl_GetImageList", (PyCFunction
) _wrap_BookCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
31260 { (char *)"BookCtrl_GetPageImage", (PyCFunction
) _wrap_BookCtrl_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
31261 { (char *)"BookCtrl_SetPageImage", (PyCFunction
) _wrap_BookCtrl_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
31262 { (char *)"BookCtrl_SetPageSize", (PyCFunction
) _wrap_BookCtrl_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
31263 { (char *)"BookCtrl_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrl_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
},
31264 { (char *)"BookCtrl_DeletePage", (PyCFunction
) _wrap_BookCtrl_DeletePage
, METH_VARARGS
| METH_KEYWORDS
},
31265 { (char *)"BookCtrl_RemovePage", (PyCFunction
) _wrap_BookCtrl_RemovePage
, METH_VARARGS
| METH_KEYWORDS
},
31266 { (char *)"BookCtrl_DeleteAllPages", (PyCFunction
) _wrap_BookCtrl_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
},
31267 { (char *)"BookCtrl_AddPage", (PyCFunction
) _wrap_BookCtrl_AddPage
, METH_VARARGS
| METH_KEYWORDS
},
31268 { (char *)"BookCtrl_InsertPage", (PyCFunction
) _wrap_BookCtrl_InsertPage
, METH_VARARGS
| METH_KEYWORDS
},
31269 { (char *)"BookCtrl_SetSelection", (PyCFunction
) _wrap_BookCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31270 { (char *)"BookCtrl_AdvanceSelection", (PyCFunction
) _wrap_BookCtrl_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
},
31271 { (char *)"BookCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_BookCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31272 { (char *)"BookCtrl_swigregister", BookCtrl_swigregister
, METH_VARARGS
},
31273 { (char *)"new_BookCtrlEvent", (PyCFunction
) _wrap_new_BookCtrlEvent
, METH_VARARGS
| METH_KEYWORDS
},
31274 { (char *)"BookCtrlEvent_GetSelection", (PyCFunction
) _wrap_BookCtrlEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31275 { (char *)"BookCtrlEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31276 { (char *)"BookCtrlEvent_GetOldSelection", (PyCFunction
) _wrap_BookCtrlEvent_GetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
31277 { (char *)"BookCtrlEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
31278 { (char *)"BookCtrlEvent_swigregister", BookCtrlEvent_swigregister
, METH_VARARGS
},
31279 { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS
| METH_KEYWORDS
},
31280 { (char *)"new_PreNotebook", (PyCFunction
) _wrap_new_PreNotebook
, METH_VARARGS
| METH_KEYWORDS
},
31281 { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS
| METH_KEYWORDS
},
31282 { (char *)"Notebook_GetRowCount", (PyCFunction
) _wrap_Notebook_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
},
31283 { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
},
31284 { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
},
31285 { (char *)"Notebook_HitTest", (PyCFunction
) _wrap_Notebook_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
31286 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction
) _wrap_Notebook_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
},
31287 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction
) _wrap_Notebook_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31288 { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS
},
31289 { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS
| METH_KEYWORDS
},
31290 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS
},
31291 { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS
| METH_KEYWORDS
},
31292 { (char *)"new_PreListbook", (PyCFunction
) _wrap_new_PreListbook
, METH_VARARGS
| METH_KEYWORDS
},
31293 { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS
| METH_KEYWORDS
},
31294 { (char *)"Listbook_IsVertical", (PyCFunction
) _wrap_Listbook_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
31295 { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS
},
31296 { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS
| METH_KEYWORDS
},
31297 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS
},
31298 { (char *)"new_BookCtrlSizer", (PyCFunction
) _wrap_new_BookCtrlSizer
, METH_VARARGS
| METH_KEYWORDS
},
31299 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction
) _wrap_BookCtrlSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
31300 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction
) _wrap_BookCtrlSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
31301 { (char *)"BookCtrlSizer_GetControl", (PyCFunction
) _wrap_BookCtrlSizer_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
31302 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister
, METH_VARARGS
},
31303 { (char *)"new_NotebookSizer", (PyCFunction
) _wrap_new_NotebookSizer
, METH_VARARGS
| METH_KEYWORDS
},
31304 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction
) _wrap_NotebookSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
31305 { (char *)"NotebookSizer_CalcMin", (PyCFunction
) _wrap_NotebookSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
31306 { (char *)"NotebookSizer_GetNotebook", (PyCFunction
) _wrap_NotebookSizer_GetNotebook
, METH_VARARGS
| METH_KEYWORDS
},
31307 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister
, METH_VARARGS
},
31308 { (char *)"ToolBarToolBase_GetId", (PyCFunction
) _wrap_ToolBarToolBase_GetId
, METH_VARARGS
| METH_KEYWORDS
},
31309 { (char *)"ToolBarToolBase_GetControl", (PyCFunction
) _wrap_ToolBarToolBase_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
31310 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
) _wrap_ToolBarToolBase_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
31311 { (char *)"ToolBarToolBase_IsButton", (PyCFunction
) _wrap_ToolBarToolBase_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
31312 { (char *)"ToolBarToolBase_IsControl", (PyCFunction
) _wrap_ToolBarToolBase_IsControl
, METH_VARARGS
| METH_KEYWORDS
},
31313 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
) _wrap_ToolBarToolBase_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
},
31314 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
) _wrap_ToolBarToolBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
31315 { (char *)"ToolBarToolBase_GetKind", (PyCFunction
) _wrap_ToolBarToolBase_GetKind
, METH_VARARGS
| METH_KEYWORDS
},
31316 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
) _wrap_ToolBarToolBase_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
31317 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
) _wrap_ToolBarToolBase_IsToggled
, METH_VARARGS
| METH_KEYWORDS
},
31318 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
) _wrap_ToolBarToolBase_CanBeToggled
, METH_VARARGS
| METH_KEYWORDS
},
31319 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31320 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31321 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31322 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
) _wrap_ToolBarToolBase_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
31323 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
31324 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
31325 { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
},
31326 { (char *)"ToolBarToolBase_Toggle", (PyCFunction
) _wrap_ToolBarToolBase_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
31327 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
},
31328 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
31329 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
31330 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31331 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31332 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
31333 { (char *)"ToolBarToolBase_Detach", (PyCFunction
) _wrap_ToolBarToolBase_Detach
, METH_VARARGS
| METH_KEYWORDS
},
31334 { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
},
31335 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
) _wrap_ToolBarToolBase_GetClientData
, METH_VARARGS
| METH_KEYWORDS
},
31336 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
},
31337 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS
},
31338 { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS
| METH_KEYWORDS
},
31339 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS
| METH_KEYWORDS
},
31340 { (char *)"ToolBarBase_AddToolItem", (PyCFunction
) _wrap_ToolBarBase_AddToolItem
, METH_VARARGS
| METH_KEYWORDS
},
31341 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction
) _wrap_ToolBarBase_InsertToolItem
, METH_VARARGS
| METH_KEYWORDS
},
31342 { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
},
31343 { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
},
31344 { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS
| METH_KEYWORDS
},
31345 { (char *)"ToolBarBase_AddSeparator", (PyCFunction
) _wrap_ToolBarBase_AddSeparator
, METH_VARARGS
| METH_KEYWORDS
},
31346 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
},
31347 { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
},
31348 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
},
31349 { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
},
31350 { (char *)"ToolBarBase_ClearTools", (PyCFunction
) _wrap_ToolBarBase_ClearTools
, METH_VARARGS
| METH_KEYWORDS
},
31351 { (char *)"ToolBarBase_Realize", (PyCFunction
) _wrap_ToolBarBase_Realize
, METH_VARARGS
| METH_KEYWORDS
},
31352 { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
},
31353 { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
},
31354 { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
},
31355 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
},
31356 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
},
31357 { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS
| METH_KEYWORDS
},
31358 { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
},
31359 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
},
31360 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
31361 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
31362 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
31363 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
31364 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
},
31365 { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
31366 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
},
31367 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
},
31368 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
) _wrap_ToolBarBase_GetToolMargins
, METH_VARARGS
| METH_KEYWORDS
},
31369 { (char *)"ToolBarBase_GetMargins", (PyCFunction
) _wrap_ToolBarBase_GetMargins
, METH_VARARGS
| METH_KEYWORDS
},
31370 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
) _wrap_ToolBarBase_GetToolPacking
, METH_VARARGS
| METH_KEYWORDS
},
31371 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_GetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
},
31372 { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
},
31373 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
},
31374 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
) _wrap_ToolBarBase_GetMaxRows
, METH_VARARGS
| METH_KEYWORDS
},
31375 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
) _wrap_ToolBarBase_GetMaxCols
, METH_VARARGS
| METH_KEYWORDS
},
31376 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
},
31377 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_GetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
},
31378 { (char *)"ToolBarBase_GetToolSize", (PyCFunction
) _wrap_ToolBarBase_GetToolSize
, METH_VARARGS
| METH_KEYWORDS
},
31379 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
},
31380 { (char *)"ToolBarBase_FindById", (PyCFunction
) _wrap_ToolBarBase_FindById
, METH_VARARGS
| METH_KEYWORDS
},
31381 { (char *)"ToolBarBase_IsVertical", (PyCFunction
) _wrap_ToolBarBase_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
31382 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS
},
31383 { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS
| METH_KEYWORDS
},
31384 { (char *)"new_PreToolBar", (PyCFunction
) _wrap_new_PreToolBar
, METH_VARARGS
| METH_KEYWORDS
},
31385 { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
31386 { (char *)"ToolBar_FindToolForPosition", (PyCFunction
) _wrap_ToolBar_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
},
31387 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToolBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31388 { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS
},
31389 { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
},
31390 { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31391 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31392 { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
31393 { (char *)"ListItemAttr_HasTextColour", (PyCFunction
) _wrap_ListItemAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31394 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31395 { (char *)"ListItemAttr_HasFont", (PyCFunction
) _wrap_ListItemAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
31396 { (char *)"ListItemAttr_GetTextColour", (PyCFunction
) _wrap_ListItemAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31397 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31398 { (char *)"ListItemAttr_GetFont", (PyCFunction
) _wrap_ListItemAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
31399 { (char *)"ListItemAttr_Destroy", (PyCFunction
) _wrap_ListItemAttr_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
31400 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS
},
31401 { (char *)"new_ListItem", (PyCFunction
) _wrap_new_ListItem
, METH_VARARGS
| METH_KEYWORDS
},
31402 { (char *)"delete_ListItem", (PyCFunction
) _wrap_delete_ListItem
, METH_VARARGS
| METH_KEYWORDS
},
31403 { (char *)"ListItem_Clear", (PyCFunction
) _wrap_ListItem_Clear
, METH_VARARGS
| METH_KEYWORDS
},
31404 { (char *)"ListItem_ClearAttributes", (PyCFunction
) _wrap_ListItem_ClearAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31405 { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
31406 { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
},
31407 { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
31408 { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
},
31409 { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
},
31410 { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
},
31411 { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
},
31412 { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
},
31413 { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
31414 { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
},
31415 { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31416 { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31417 { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
31418 { (char *)"ListItem_GetMask", (PyCFunction
) _wrap_ListItem_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
31419 { (char *)"ListItem_GetId", (PyCFunction
) _wrap_ListItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
31420 { (char *)"ListItem_GetColumn", (PyCFunction
) _wrap_ListItem_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
31421 { (char *)"ListItem_GetState", (PyCFunction
) _wrap_ListItem_GetState
, METH_VARARGS
| METH_KEYWORDS
},
31422 { (char *)"ListItem_GetText", (PyCFunction
) _wrap_ListItem_GetText
, METH_VARARGS
| METH_KEYWORDS
},
31423 { (char *)"ListItem_GetImage", (PyCFunction
) _wrap_ListItem_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
31424 { (char *)"ListItem_GetData", (PyCFunction
) _wrap_ListItem_GetData
, METH_VARARGS
| METH_KEYWORDS
},
31425 { (char *)"ListItem_GetWidth", (PyCFunction
) _wrap_ListItem_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
31426 { (char *)"ListItem_GetAlign", (PyCFunction
) _wrap_ListItem_GetAlign
, METH_VARARGS
| METH_KEYWORDS
},
31427 { (char *)"ListItem_GetAttributes", (PyCFunction
) _wrap_ListItem_GetAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31428 { (char *)"ListItem_HasAttributes", (PyCFunction
) _wrap_ListItem_HasAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31429 { (char *)"ListItem_GetTextColour", (PyCFunction
) _wrap_ListItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31430 { (char *)"ListItem_GetBackgroundColour", (PyCFunction
) _wrap_ListItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31431 { (char *)"ListItem_GetFont", (PyCFunction
) _wrap_ListItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
31432 { (char *)"ListItem_m_mask_set", (PyCFunction
) _wrap_ListItem_m_mask_set
, METH_VARARGS
| METH_KEYWORDS
},
31433 { (char *)"ListItem_m_mask_get", (PyCFunction
) _wrap_ListItem_m_mask_get
, METH_VARARGS
| METH_KEYWORDS
},
31434 { (char *)"ListItem_m_itemId_set", (PyCFunction
) _wrap_ListItem_m_itemId_set
, METH_VARARGS
| METH_KEYWORDS
},
31435 { (char *)"ListItem_m_itemId_get", (PyCFunction
) _wrap_ListItem_m_itemId_get
, METH_VARARGS
| METH_KEYWORDS
},
31436 { (char *)"ListItem_m_col_set", (PyCFunction
) _wrap_ListItem_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
31437 { (char *)"ListItem_m_col_get", (PyCFunction
) _wrap_ListItem_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
31438 { (char *)"ListItem_m_state_set", (PyCFunction
) _wrap_ListItem_m_state_set
, METH_VARARGS
| METH_KEYWORDS
},
31439 { (char *)"ListItem_m_state_get", (PyCFunction
) _wrap_ListItem_m_state_get
, METH_VARARGS
| METH_KEYWORDS
},
31440 { (char *)"ListItem_m_stateMask_set", (PyCFunction
) _wrap_ListItem_m_stateMask_set
, METH_VARARGS
| METH_KEYWORDS
},
31441 { (char *)"ListItem_m_stateMask_get", (PyCFunction
) _wrap_ListItem_m_stateMask_get
, METH_VARARGS
| METH_KEYWORDS
},
31442 { (char *)"ListItem_m_text_set", (PyCFunction
) _wrap_ListItem_m_text_set
, METH_VARARGS
| METH_KEYWORDS
},
31443 { (char *)"ListItem_m_text_get", (PyCFunction
) _wrap_ListItem_m_text_get
, METH_VARARGS
| METH_KEYWORDS
},
31444 { (char *)"ListItem_m_image_set", (PyCFunction
) _wrap_ListItem_m_image_set
, METH_VARARGS
| METH_KEYWORDS
},
31445 { (char *)"ListItem_m_image_get", (PyCFunction
) _wrap_ListItem_m_image_get
, METH_VARARGS
| METH_KEYWORDS
},
31446 { (char *)"ListItem_m_data_set", (PyCFunction
) _wrap_ListItem_m_data_set
, METH_VARARGS
| METH_KEYWORDS
},
31447 { (char *)"ListItem_m_data_get", (PyCFunction
) _wrap_ListItem_m_data_get
, METH_VARARGS
| METH_KEYWORDS
},
31448 { (char *)"ListItem_m_format_set", (PyCFunction
) _wrap_ListItem_m_format_set
, METH_VARARGS
| METH_KEYWORDS
},
31449 { (char *)"ListItem_m_format_get", (PyCFunction
) _wrap_ListItem_m_format_get
, METH_VARARGS
| METH_KEYWORDS
},
31450 { (char *)"ListItem_m_width_set", (PyCFunction
) _wrap_ListItem_m_width_set
, METH_VARARGS
| METH_KEYWORDS
},
31451 { (char *)"ListItem_m_width_get", (PyCFunction
) _wrap_ListItem_m_width_get
, METH_VARARGS
| METH_KEYWORDS
},
31452 { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS
},
31453 { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS
| METH_KEYWORDS
},
31454 { (char *)"ListEvent_m_code_set", (PyCFunction
) _wrap_ListEvent_m_code_set
, METH_VARARGS
| METH_KEYWORDS
},
31455 { (char *)"ListEvent_m_code_get", (PyCFunction
) _wrap_ListEvent_m_code_get
, METH_VARARGS
| METH_KEYWORDS
},
31456 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
31457 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
31458 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction
) _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
31459 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
) _wrap_ListEvent_m_itemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
31460 { (char *)"ListEvent_m_col_set", (PyCFunction
) _wrap_ListEvent_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
31461 { (char *)"ListEvent_m_col_get", (PyCFunction
) _wrap_ListEvent_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
31462 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction
) _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS
| METH_KEYWORDS
},
31463 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
) _wrap_ListEvent_m_pointDrag_get
, METH_VARARGS
| METH_KEYWORDS
},
31464 { (char *)"ListEvent_m_item_get", (PyCFunction
) _wrap_ListEvent_m_item_get
, METH_VARARGS
| METH_KEYWORDS
},
31465 { (char *)"ListEvent_GetKeyCode", (PyCFunction
) _wrap_ListEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
31466 { (char *)"ListEvent_GetIndex", (PyCFunction
) _wrap_ListEvent_GetIndex
, METH_VARARGS
| METH_KEYWORDS
},
31467 { (char *)"ListEvent_GetColumn", (PyCFunction
) _wrap_ListEvent_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
31468 { (char *)"ListEvent_GetPoint", (PyCFunction
) _wrap_ListEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
31469 { (char *)"ListEvent_GetLabel", (PyCFunction
) _wrap_ListEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
31470 { (char *)"ListEvent_GetText", (PyCFunction
) _wrap_ListEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
},
31471 { (char *)"ListEvent_GetImage", (PyCFunction
) _wrap_ListEvent_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
31472 { (char *)"ListEvent_GetData", (PyCFunction
) _wrap_ListEvent_GetData
, METH_VARARGS
| METH_KEYWORDS
},
31473 { (char *)"ListEvent_GetMask", (PyCFunction
) _wrap_ListEvent_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
31474 { (char *)"ListEvent_GetItem", (PyCFunction
) _wrap_ListEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
31475 { (char *)"ListEvent_GetCacheFrom", (PyCFunction
) _wrap_ListEvent_GetCacheFrom
, METH_VARARGS
| METH_KEYWORDS
},
31476 { (char *)"ListEvent_GetCacheTo", (PyCFunction
) _wrap_ListEvent_GetCacheTo
, METH_VARARGS
| METH_KEYWORDS
},
31477 { (char *)"ListEvent_IsEditCancelled", (PyCFunction
) _wrap_ListEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
},
31478 { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
},
31479 { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS
},
31480 { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31481 { (char *)"new_PreListCtrl", (PyCFunction
) _wrap_new_PreListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31482 { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
31483 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
31484 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction
) _wrap_ListCtrl_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31485 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31486 { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
31487 { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
31488 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
31489 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
31490 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
) _wrap_ListCtrl_GetCountPerPage
, METH_VARARGS
| METH_KEYWORDS
},
31491 { (char *)"ListCtrl_GetViewRect", (PyCFunction
) _wrap_ListCtrl_GetViewRect
, METH_VARARGS
| METH_KEYWORDS
},
31492 { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
31493 { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
},
31494 { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
},
31495 { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
},
31496 { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
},
31497 { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
31498 { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
31499 { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
31500 { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
31501 { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
31502 { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
31503 { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
},
31504 { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
31505 { (char *)"ListCtrl_GetItemCount", (PyCFunction
) _wrap_ListCtrl_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
31506 { (char *)"ListCtrl_GetColumnCount", (PyCFunction
) _wrap_ListCtrl_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
},
31507 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
) _wrap_ListCtrl_GetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
},
31508 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction
) _wrap_ListCtrl_SetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
},
31509 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
) _wrap_ListCtrl_GetSelectedItemCount
, METH_VARARGS
| METH_KEYWORDS
},
31510 { (char *)"ListCtrl_GetTextColour", (PyCFunction
) _wrap_ListCtrl_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31511 { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31512 { (char *)"ListCtrl_GetTopItem", (PyCFunction
) _wrap_ListCtrl_GetTopItem
, METH_VARARGS
| METH_KEYWORDS
},
31513 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
},
31514 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction
) _wrap_ListCtrl_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
31515 { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
},
31516 { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
31517 { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
31518 { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
31519 { (char *)"ListCtrl_InReportView", (PyCFunction
) _wrap_ListCtrl_InReportView
, METH_VARARGS
| METH_KEYWORDS
},
31520 { (char *)"ListCtrl_IsVirtual", (PyCFunction
) _wrap_ListCtrl_IsVirtual
, METH_VARARGS
| METH_KEYWORDS
},
31521 { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
},
31522 { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
},
31523 { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
},
31524 { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
31525 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
) _wrap_ListCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
31526 { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
},
31527 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
) _wrap_ListCtrl_DeleteAllColumns
, METH_VARARGS
| METH_KEYWORDS
},
31528 { (char *)"ListCtrl_ClearAll", (PyCFunction
) _wrap_ListCtrl_ClearAll
, METH_VARARGS
| METH_KEYWORDS
},
31529 { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
31530 { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
31531 { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
31532 { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
},
31533 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
},
31534 { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
31535 { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
31536 { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
},
31537 { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
},
31538 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
},
31539 { (char *)"ListCtrl_InsertColumnInfo", (PyCFunction
) _wrap_ListCtrl_InsertColumnInfo
, METH_VARARGS
| METH_KEYWORDS
},
31540 { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
},
31541 { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
31542 { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
},
31543 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31544 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31545 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31546 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31547 { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
},
31548 { (char *)"ListCtrl_GetMainWindow", (PyCFunction
) _wrap_ListCtrl_GetMainWindow
, METH_VARARGS
| METH_KEYWORDS
},
31549 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31550 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS
},
31551 { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS
| METH_KEYWORDS
},
31552 { (char *)"new_PreListView", (PyCFunction
) _wrap_new_PreListView
, METH_VARARGS
| METH_KEYWORDS
},
31553 { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS
| METH_KEYWORDS
},
31554 { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS
| METH_KEYWORDS
},
31555 { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS
| METH_KEYWORDS
},
31556 { (char *)"ListView_GetFocusedItem", (PyCFunction
) _wrap_ListView_GetFocusedItem
, METH_VARARGS
| METH_KEYWORDS
},
31557 { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
},
31558 { (char *)"ListView_GetFirstSelected", (PyCFunction
) _wrap_ListView_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
},
31559 { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
31560 { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
},
31561 { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
},
31562 { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS
},
31563 { (char *)"new_TreeItemId", (PyCFunction
) _wrap_new_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
31564 { (char *)"delete_TreeItemId", (PyCFunction
) _wrap_delete_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
31565 { (char *)"TreeItemId_IsOk", (PyCFunction
) _wrap_TreeItemId_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
31566 { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS
| METH_KEYWORDS
},
31567 { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS
| METH_KEYWORDS
},
31568 { (char *)"TreeItemId_m_pItem_set", (PyCFunction
) _wrap_TreeItemId_m_pItem_set
, METH_VARARGS
| METH_KEYWORDS
},
31569 { (char *)"TreeItemId_m_pItem_get", (PyCFunction
) _wrap_TreeItemId_m_pItem_get
, METH_VARARGS
| METH_KEYWORDS
},
31570 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS
},
31571 { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
},
31572 { (char *)"TreeItemData_GetData", (PyCFunction
) _wrap_TreeItemData_GetData
, METH_VARARGS
| METH_KEYWORDS
},
31573 { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
},
31574 { (char *)"TreeItemData_GetId", (PyCFunction
) _wrap_TreeItemData_GetId
, METH_VARARGS
| METH_KEYWORDS
},
31575 { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
},
31576 { (char *)"TreeItemData_Destroy", (PyCFunction
) _wrap_TreeItemData_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
31577 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS
},
31578 { (char *)"new_TreeEvent", (PyCFunction
) _wrap_new_TreeEvent
, METH_VARARGS
| METH_KEYWORDS
},
31579 { (char *)"TreeEvent_GetItem", (PyCFunction
) _wrap_TreeEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
31580 { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS
| METH_KEYWORDS
},
31581 { (char *)"TreeEvent_GetOldItem", (PyCFunction
) _wrap_TreeEvent_GetOldItem
, METH_VARARGS
| METH_KEYWORDS
},
31582 { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS
| METH_KEYWORDS
},
31583 { (char *)"TreeEvent_GetPoint", (PyCFunction
) _wrap_TreeEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
31584 { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS
| METH_KEYWORDS
},
31585 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
) _wrap_TreeEvent_GetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
31586 { (char *)"TreeEvent_GetKeyCode", (PyCFunction
) _wrap_TreeEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
31587 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
31588 { (char *)"TreeEvent_GetLabel", (PyCFunction
) _wrap_TreeEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
31589 { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
31590 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
) _wrap_TreeEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
},
31591 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
},
31592 { (char *)"TreeEvent_SetToolTip", (PyCFunction
) _wrap_TreeEvent_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
31593 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS
},
31594 { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31595 { (char *)"new_PreTreeCtrl", (PyCFunction
) _wrap_new_PreTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31596 { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
31597 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
31598 { (char *)"TreeCtrl_GetCount", (PyCFunction
) _wrap_TreeCtrl_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
31599 { (char *)"TreeCtrl_GetIndent", (PyCFunction
) _wrap_TreeCtrl_GetIndent
, METH_VARARGS
| METH_KEYWORDS
},
31600 { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
},
31601 { (char *)"TreeCtrl_GetSpacing", (PyCFunction
) _wrap_TreeCtrl_GetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
31602 { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
31603 { (char *)"TreeCtrl_GetImageList", (PyCFunction
) _wrap_TreeCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
31604 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
) _wrap_TreeCtrl_GetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
31605 { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
31606 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
31607 { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
31608 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
31609 { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
31610 { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
31611 { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
31612 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
},
31613 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31614 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31615 { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
31616 { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
31617 { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
31618 { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
31619 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
},
31620 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
31621 { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
},
31622 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31623 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31624 { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
31625 { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
31626 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
31627 { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
},
31628 { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
31629 { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
},
31630 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
},
31631 { (char *)"TreeCtrl_GetRootItem", (PyCFunction
) _wrap_TreeCtrl_GetRootItem
, METH_VARARGS
| METH_KEYWORDS
},
31632 { (char *)"TreeCtrl_GetSelection", (PyCFunction
) _wrap_TreeCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31633 { (char *)"TreeCtrl_GetSelections", (PyCFunction
) _wrap_TreeCtrl_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
31634 { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
},
31635 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
},
31636 { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
},
31637 { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
},
31638 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
},
31639 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
},
31640 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
) _wrap_TreeCtrl_GetFirstVisibleItem
, METH_VARARGS
| METH_KEYWORDS
},
31641 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
},
31642 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
},
31643 { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
},
31644 { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
31645 { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
31646 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
},
31647 { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
31648 { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
},
31649 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
},
31650 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
) _wrap_TreeCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
31651 { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
},
31652 { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
},
31653 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
},
31654 { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
31655 { (char *)"TreeCtrl_Unselect", (PyCFunction
) _wrap_TreeCtrl_Unselect
, METH_VARARGS
| METH_KEYWORDS
},
31656 { (char *)"TreeCtrl_UnselectItem", (PyCFunction
) _wrap_TreeCtrl_UnselectItem
, METH_VARARGS
| METH_KEYWORDS
},
31657 { (char *)"TreeCtrl_UnselectAll", (PyCFunction
) _wrap_TreeCtrl_UnselectAll
, METH_VARARGS
| METH_KEYWORDS
},
31658 { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
},
31659 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction
) _wrap_TreeCtrl_ToggleItemSelection
, METH_VARARGS
| METH_KEYWORDS
},
31660 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
31661 { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
},
31662 { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
31663 { (char *)"TreeCtrl_GetEditControl", (PyCFunction
) _wrap_TreeCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
},
31664 { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
},
31665 { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
31666 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
},
31667 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TreeCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31668 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS
},
31669 { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31670 { (char *)"new_PreGenericDirCtrl", (PyCFunction
) _wrap_new_PreGenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31671 { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
31672 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
},
31673 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_GetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
},
31674 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
},
31675 { (char *)"GenericDirCtrl_GetPath", (PyCFunction
) _wrap_GenericDirCtrl_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
31676 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
) _wrap_GenericDirCtrl_GetFilePath
, METH_VARARGS
| METH_KEYWORDS
},
31677 { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
31678 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
},
31679 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_GetShowHidden
, METH_VARARGS
| METH_KEYWORDS
},
31680 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
) _wrap_GenericDirCtrl_GetFilter
, METH_VARARGS
| METH_KEYWORDS
},
31681 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
},
31682 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
31683 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
31684 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
) _wrap_GenericDirCtrl_GetRootId
, METH_VARARGS
| METH_KEYWORDS
},
31685 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31686 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31687 { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS
| METH_KEYWORDS
},
31688 { (char *)"GenericDirCtrl_DoResize", (PyCFunction
) _wrap_GenericDirCtrl_DoResize
, METH_VARARGS
| METH_KEYWORDS
},
31689 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
) _wrap_GenericDirCtrl_ReCreateTree
, METH_VARARGS
| METH_KEYWORDS
},
31690 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS
},
31691 { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31692 { (char *)"new_PreDirFilterListCtrl", (PyCFunction
) _wrap_new_PreDirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31693 { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
31694 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
},
31695 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS
},
31696 { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS
| METH_KEYWORDS
},
31697 { (char *)"new_PrePyControl", (PyCFunction
) _wrap_new_PrePyControl
, METH_VARARGS
| METH_KEYWORDS
},
31698 { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
31699 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction
) _wrap_PyControl_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
31700 { (char *)"PyControl_base_DoSetSize", (PyCFunction
) _wrap_PyControl_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
31701 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction
) _wrap_PyControl_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
31702 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
31703 { (char *)"PyControl_base_DoGetSize", (PyCFunction
) _wrap_PyControl_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
31704 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction
) _wrap_PyControl_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
31705 { (char *)"PyControl_base_DoGetPosition", (PyCFunction
) _wrap_PyControl_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
31706 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
31707 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction
) _wrap_PyControl_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
31708 { (char *)"PyControl_base_InitDialog", (PyCFunction
) _wrap_PyControl_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
31709 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
31710 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
31711 { (char *)"PyControl_base_Validate", (PyCFunction
) _wrap_PyControl_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
31712 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction
) _wrap_PyControl_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
31713 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyControl_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
31714 { (char *)"PyControl_base_GetMaxSize", (PyCFunction
) _wrap_PyControl_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
31715 { (char *)"PyControl_base_AddChild", (PyCFunction
) _wrap_PyControl_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
31716 { (char *)"PyControl_base_RemoveChild", (PyCFunction
) _wrap_PyControl_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
31717 { (char *)"PyControl_base_ShouldInheritColours", (PyCFunction
) _wrap_PyControl_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
},
31718 { (char *)"PyControl_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyControl_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
},
31719 { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS
},
31720 { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS
| METH_KEYWORDS
},
31721 { (char *)"HelpEvent_GetPosition", (PyCFunction
) _wrap_HelpEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
31722 { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
31723 { (char *)"HelpEvent_GetLink", (PyCFunction
) _wrap_HelpEvent_GetLink
, METH_VARARGS
| METH_KEYWORDS
},
31724 { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
},
31725 { (char *)"HelpEvent_GetTarget", (PyCFunction
) _wrap_HelpEvent_GetTarget
, METH_VARARGS
| METH_KEYWORDS
},
31726 { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
},
31727 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS
},
31728 { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
31729 { (char *)"delete_ContextHelp", (PyCFunction
) _wrap_delete_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
31730 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
31731 { (char *)"ContextHelp_EndContextHelp", (PyCFunction
) _wrap_ContextHelp_EndContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
31732 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS
},
31733 { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
},
31734 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS
},
31735 { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
},
31736 { (char *)"HelpProvider_Get", (PyCFunction
) _wrap_HelpProvider_Get
, METH_VARARGS
| METH_KEYWORDS
},
31737 { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
},
31738 { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
31739 { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
},
31740 { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
},
31741 { (char *)"HelpProvider_RemoveHelp", (PyCFunction
) _wrap_HelpProvider_RemoveHelp
, METH_VARARGS
| METH_KEYWORDS
},
31742 { (char *)"HelpProvider_Destroy", (PyCFunction
) _wrap_HelpProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
31743 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS
},
31744 { (char *)"new_SimpleHelpProvider", (PyCFunction
) _wrap_new_SimpleHelpProvider
, METH_VARARGS
| METH_KEYWORDS
},
31745 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS
},
31746 { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS
| METH_KEYWORDS
},
31747 { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS
| METH_KEYWORDS
},
31748 { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS
| METH_KEYWORDS
},
31749 { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS
| METH_KEYWORDS
},
31750 { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS
| METH_KEYWORDS
},
31751 { (char *)"delete_DragImage", (PyCFunction
) _wrap_delete_DragImage
, METH_VARARGS
| METH_KEYWORDS
},
31752 { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31753 { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
},
31754 { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
},
31755 { (char *)"DragImage_EndDrag", (PyCFunction
) _wrap_DragImage_EndDrag
, METH_VARARGS
| METH_KEYWORDS
},
31756 { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS
| METH_KEYWORDS
},
31757 { (char *)"DragImage_Show", (PyCFunction
) _wrap_DragImage_Show
, METH_VARARGS
| METH_KEYWORDS
},
31758 { (char *)"DragImage_Hide", (PyCFunction
) _wrap_DragImage_Hide
, METH_VARARGS
| METH_KEYWORDS
},
31759 { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
},
31760 { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS
| METH_KEYWORDS
},
31761 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
31762 { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
},
31763 { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS
},
31768 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
31770 static void *_p_wxNotebookEventTo_p_wxBookCtrlEvent(void *x
) {
31771 return (void *)((wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
31773 static void *_p_wxListbookEventTo_p_wxBookCtrlEvent(void *x
) {
31774 return (void *)((wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
31776 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
31777 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
31779 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
31780 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
31782 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
31783 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
31785 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
31786 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
31788 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
31789 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
31791 static void *_p_wxNotebookSizerTo_p_wxSizer(void *x
) {
31792 return (void *)((wxSizer
*) ((wxNotebookSizer
*) x
));
31794 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
31795 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
31797 static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x
) {
31798 return (void *)((wxSizer
*) ((wxBookCtrlSizer
*) x
));
31800 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
31801 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
31803 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
31804 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
31806 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
31807 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
31809 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
31810 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
31812 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
31813 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
31815 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
31816 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
31818 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
31819 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
31821 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
31822 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
31824 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
31825 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
31827 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
31828 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
31830 static void *_p_wxBookCtrlEventTo_p_wxEvent(void *x
) {
31831 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
31833 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
31834 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
31836 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
31837 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
31839 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
31840 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
31842 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
31843 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
31845 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
31846 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
31848 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
31849 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
31851 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
31852 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
31854 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
31855 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
31857 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
31858 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
31860 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
31861 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
31863 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
31864 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
31866 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
31867 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
31869 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
31870 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
31872 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
31873 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
31875 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
31876 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
31878 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
31879 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
31881 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
31882 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
31884 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
31885 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
31887 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
31888 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
31890 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
31891 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
31893 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
31894 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
31896 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
31897 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
31899 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
31900 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
31902 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
31903 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
31905 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
31906 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
31908 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
31909 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
31911 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
31912 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
31914 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
31915 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
31917 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
31918 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
31920 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
31921 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
31923 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
31924 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
31926 static void *_p_wxSpinEventTo_p_wxEvent(void *x
) {
31927 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
31929 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) {
31930 return (void *)((wxItemContainer
*) ((wxComboBox
*) x
));
31932 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) {
31933 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
31935 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) {
31936 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxChoice
*) x
));
31938 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
31939 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
31941 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) {
31942 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxListBox
*) x
));
31944 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) {
31945 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
31947 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
31948 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
31950 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
31951 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
31953 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
31954 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
31956 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
31957 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
31959 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
31960 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
31962 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
31963 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
31965 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
31966 return (void *)((wxControl
*) ((wxComboBox
*) x
));
31968 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
31969 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
31971 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
31972 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
31974 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
31975 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
31977 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
31978 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
31980 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
31981 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
31983 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
31984 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
31986 static void *_p_wxBookCtrlTo_p_wxControl(void *x
) {
31987 return (void *)((wxControl
*) ((wxBookCtrl
*) x
));
31989 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
31990 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
31992 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
31993 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
31995 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
31996 return (void *)((wxControl
*) ((wxGauge
*) x
));
31998 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
31999 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
32001 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
32002 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
32004 static void *_p_wxButtonTo_p_wxControl(void *x
) {
32005 return (void *)((wxControl
*) ((wxButton
*) x
));
32007 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
32008 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
32010 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
32011 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
32013 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
32014 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
32016 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
32017 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
32019 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
32020 return (void *)((wxControl
*) (wxBookCtrl
*) ((wxNotebook
*) x
));
32022 static void *_p_wxListbookTo_p_wxControl(void *x
) {
32023 return (void *)((wxControl
*) (wxBookCtrl
*) ((wxListbook
*) x
));
32025 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
32026 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
32028 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
32029 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
32031 static void *_p_wxListViewTo_p_wxControl(void *x
) {
32032 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
32034 static void *_p_wxSliderTo_p_wxControl(void *x
) {
32035 return (void *)((wxControl
*) ((wxSlider
*) x
));
32037 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
32038 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
32040 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
32041 return (void *)((wxControl
*) ((wxPyControl
*) x
));
32043 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
32044 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
32046 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
32047 return (void *)((wxControl
*) ((wxStaticText
*) x
));
32049 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) {
32050 return (void *)((wxToolBarBase
*) ((wxToolBar
*) x
));
32052 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) {
32053 return (void *)((wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32055 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) {
32056 return (void *)((wxNotifyEvent
*) ((wxTreeEvent
*) x
));
32058 static void *_p_wxBookCtrlEventTo_p_wxNotifyEvent(void *x
) {
32059 return (void *)((wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
32061 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) {
32062 return (void *)((wxNotifyEvent
*) ((wxListEvent
*) x
));
32064 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x
) {
32065 return (void *)((wxNotifyEvent
*) ((wxSpinEvent
*) x
));
32067 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) {
32068 return (void *)((wxNotifyEvent
*) (wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
32070 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) {
32071 return (void *)((wxNotifyEvent
*) (wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
32073 static void *_p_wxBookCtrlTo_p_wxEvtHandler(void *x
) {
32074 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrl
*) x
));
32076 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
32077 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
32079 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
32080 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
32082 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
32083 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
32085 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
32086 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
32088 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
32089 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
32091 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
32092 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
32094 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
32095 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
32097 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
32098 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
32100 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
32101 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
32103 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
32104 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
32106 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
32107 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
32109 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
32110 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
32112 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
32113 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32115 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
32116 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
32118 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
32119 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
32121 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
32122 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
32124 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
32125 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
32127 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
32128 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
32130 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
32131 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
32133 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
32134 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
32136 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
32137 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
32139 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
32140 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
32142 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
32143 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
32145 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
32146 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
32148 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
32149 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
32151 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
32152 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
32154 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
32155 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
32157 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
32158 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
32160 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
32161 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
32163 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
32164 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
32166 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
32167 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
32169 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
32170 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
32172 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
32173 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
32175 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
32176 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
32178 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
32179 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
32181 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
32182 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
32184 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
32185 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
32187 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
32188 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
32190 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
32191 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
32193 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) {
32194 return (void *)((wxListBox
*) ((wxCheckListBox
*) x
));
32196 static void *_p_wxListbookTo_p_wxBookCtrl(void *x
) {
32197 return (void *)((wxBookCtrl
*) ((wxListbook
*) x
));
32199 static void *_p_wxNotebookTo_p_wxBookCtrl(void *x
) {
32200 return (void *)((wxBookCtrl
*) ((wxNotebook
*) x
));
32202 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) {
32203 return (void *)((wxButton
*) ((wxBitmapButton
*) x
));
32205 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) {
32206 return (void *)((wxButton
*) (wxBitmapButton
*) ((wxContextHelpButton
*) x
));
32208 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) {
32209 return (void *)((wxBitmapButton
*) ((wxContextHelpButton
*) x
));
32211 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) {
32212 return (void *)((wxHelpProvider
*) ((wxSimpleHelpProvider
*) x
));
32214 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
32215 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
32217 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
32218 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
32220 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
32221 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
32223 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
32224 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
32226 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
32227 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
32229 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
32230 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
32232 static void *_p_wxBookCtrlEventTo_p_wxObject(void *x
) {
32233 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
32235 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
32236 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
32238 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
32239 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
32241 static void *_p_wxSizerTo_p_wxObject(void *x
) {
32242 return (void *)((wxObject
*) ((wxSizer
*) x
));
32244 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
32245 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
32247 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
32248 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
32250 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
32251 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
32253 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
32254 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32256 static void *_p_wxEventTo_p_wxObject(void *x
) {
32257 return (void *)((wxObject
*) ((wxEvent
*) x
));
32259 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
32260 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
32262 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
32263 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
32265 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
32266 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
32268 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
32269 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
32271 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
32272 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
32274 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
32275 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32277 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
32278 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
32280 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
32281 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
32283 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
32284 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
32286 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
32287 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
32289 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
32290 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
32292 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
32293 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
32295 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
32296 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
32298 static void *_p_wxControlTo_p_wxObject(void *x
) {
32299 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
32301 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
32302 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
32304 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
32305 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
32307 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
32308 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
32310 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
32311 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
32313 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
32314 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
32316 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
32317 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
32319 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
32320 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
32322 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
32323 return (void *)((wxObject
*) ((wxFSFile
*) x
));
32325 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
32326 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
32328 static void *_p_wxListViewTo_p_wxObject(void *x
) {
32329 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
32331 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
32332 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
32334 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
32335 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
32337 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
32338 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
32340 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
32341 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32343 static void *_p_wxListbookTo_p_wxObject(void *x
) {
32344 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
32346 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
32347 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
32349 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
32350 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
32352 static void *_p_wxSliderTo_p_wxObject(void *x
) {
32353 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
32355 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
32356 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
32358 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
32359 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
32361 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
32362 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32364 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
32365 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
32367 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
32368 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
32370 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
32371 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
32373 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
32374 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
32376 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
32377 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
32379 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
32380 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
32382 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
32383 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
32385 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
32386 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
32388 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
32389 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
32391 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
32392 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
32394 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
32395 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
32397 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
32398 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
32400 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
32401 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
32403 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
32404 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
32406 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
32407 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
32409 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
32410 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
32412 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
32413 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
32415 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
32416 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
32418 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
32419 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
32421 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
32422 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
32424 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
32425 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
32427 static void *_p_wxListEventTo_p_wxObject(void *x
) {
32428 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
32430 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
32431 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
32433 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
32434 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
32436 static void *_p_wxBookCtrlTo_p_wxObject(void *x
) {
32437 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrl
*) x
));
32439 static void *_p_wxButtonTo_p_wxObject(void *x
) {
32440 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
32442 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
32443 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
32445 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
32446 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
32448 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
32449 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
32451 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
32452 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
32454 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
32455 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
32457 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
32458 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
32460 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
32461 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
32463 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
32464 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
32466 static void *_p_wxListItemTo_p_wxObject(void *x
) {
32467 return (void *)((wxObject
*) ((wxListItem
*) x
));
32469 static void *_p_wxImageTo_p_wxObject(void *x
) {
32470 return (void *)((wxObject
*) ((wxImage
*) x
));
32472 static void *_p_wxNotebookSizerTo_p_wxObject(void *x
) {
32473 return (void *)((wxObject
*) (wxSizer
*) ((wxNotebookSizer
*) x
));
32475 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
32476 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
32478 static void *_p_wxSpinEventTo_p_wxObject(void *x
) {
32479 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
32481 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
32482 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
32484 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
32485 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
32487 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
32488 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
32490 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
32491 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
32493 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
32494 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32496 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
32497 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
32499 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
32500 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
32502 static void *_p_wxWindowTo_p_wxObject(void *x
) {
32503 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
32505 static void *_p_wxMenuTo_p_wxObject(void *x
) {
32506 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
32508 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
32509 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
32511 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
32512 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
32514 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
32515 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32517 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
32518 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
32520 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
32521 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
32523 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
32524 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
32526 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
32527 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
32529 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
32530 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
32532 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
32533 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
32535 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
32536 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32538 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
32539 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
32541 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
32542 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
32544 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
32545 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
32547 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
32548 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
32550 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
32551 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32553 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
32554 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
32556 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
32557 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
32559 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
32560 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
32562 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
32563 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
32565 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
32566 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
32568 static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x
) {
32569 return (void *)((wxObject
*) (wxSizer
*) ((wxBookCtrlSizer
*) x
));
32571 static void *_p_wxBookCtrlTo_p_wxWindow(void *x
) {
32572 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrl
*) x
));
32574 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
32575 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
32577 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
32578 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
32580 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
32581 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
32583 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
32584 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
32586 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
32587 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
32589 static void *_p_wxControlTo_p_wxWindow(void *x
) {
32590 return (void *)((wxWindow
*) ((wxControl
*) x
));
32592 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
32593 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
32595 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
32596 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32598 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
32599 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
32601 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
32602 return (void *)((wxWindow
*) (wxControl
*) ((wxComboBox
*) x
));
32604 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
32605 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
32607 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
32608 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
32610 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
32611 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
32613 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
32614 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
32616 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
32617 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
32619 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
32620 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
32622 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
32623 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
32625 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
32626 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
32628 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
32629 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
32631 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
32632 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
32634 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
32635 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
32637 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
32638 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
32640 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
32641 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
32643 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
32644 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
32646 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
32647 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
32649 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
32650 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
32652 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
32653 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
32655 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
32656 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
32658 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
32659 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
32661 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
32662 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
32664 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
32665 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
32667 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
32668 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
32670 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
32671 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
32673 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
32674 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
32676 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
32677 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32679 static void *_p_wxBookCtrlEventTo_p_wxCommandEvent(void *x
) {
32680 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
32682 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
32683 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
32685 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
32686 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
32688 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
32689 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32691 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
32692 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32694 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
32695 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32697 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
32698 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
32700 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
32701 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
32703 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
32704 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
32706 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
32707 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32709 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
32710 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
32712 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x
) {
32713 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSpinEvent
*) x
));
32715 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
32716 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
32718 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
32719 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32721 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
32722 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32724 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) {
32725 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32727 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) {
32728 return (void *)((wxControlWithItems
*) ((wxChoice
*) x
));
32730 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) {
32731 return (void *)((wxControlWithItems
*) ((wxListBox
*) x
));
32733 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) {
32734 return (void *)((wxControlWithItems
*) (wxListBox
*) ((wxCheckListBox
*) x
));
32736 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
32737 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
32739 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}};
32740 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}};
32741 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}};
32742 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}};
32743 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}};
32744 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}};
32745 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}};
32746 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}};
32747 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}};
32748 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}};
32749 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}};
32750 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}};
32751 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}};
32752 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}};
32753 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}};
32754 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}};
32755 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}};
32756 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}};
32757 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}};
32758 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}};
32759 static swig_type_info _swigt__p_wxChoice
[] = {{"_p_wxChoice", 0, "wxChoice *", 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxChoice
, 0, 0, 0, 0, 0},{"_p_wxChoice", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32760 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}};
32761 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}};
32762 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}};
32763 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}};
32764 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}};
32765 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}};
32766 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}};
32767 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}};
32768 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}};
32769 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}};
32770 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}};
32771 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}};
32772 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}};
32773 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}};
32774 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}};
32775 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}};
32776 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}};
32777 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}};
32778 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}};
32779 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}};
32780 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}};
32781 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}};
32782 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}};
32783 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}};
32784 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}};
32785 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}};
32786 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}};
32787 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}};
32788 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}};
32789 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}};
32790 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}};
32791 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}};
32792 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}};
32793 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}};
32794 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}};
32795 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}};
32796 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}};
32797 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}};
32798 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}};
32799 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}};
32800 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}};
32801 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}};
32802 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}};
32803 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}};
32804 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}};
32805 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}};
32806 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}};
32807 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}};
32808 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}};
32809 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}};
32810 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}};
32811 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}};
32812 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}};
32813 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}};
32814 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}};
32815 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}};
32816 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}};
32817 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}};
32818 static swig_type_info _swigt__p_wxControlWithItems
[] = {{"_p_wxControlWithItems", 0, "wxControlWithItems *", 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxControlWithItems
, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxControlWithItems
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", 0, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxControlWithItems
, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxControlWithItems
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32819 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}};
32820 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}};
32821 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}};
32822 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}};
32823 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}};
32825 static swig_type_info
*swig_types_initial
[] = {
32826 _swigt__p_wxTextUrlEvent
,
32827 _swigt__p_wxBookCtrlEvent
,
32829 _swigt__p_wxCheckBox
,
32830 _swigt__p_wxPyTreeCtrl
,
32832 _swigt__p_wxGenericDirCtrl
,
32834 _swigt__p_wxPyTreeItemData
,
32835 _swigt__p_wxItemContainer
,
32836 _swigt__p_wxPyListCtrl
,
32837 _swigt__p_wxDirFilterListCtrl
,
32838 _swigt__p_wxStaticLine
,
32839 _swigt__p_wxControl
,
32840 _swigt__p_wxPyControl
,
32842 _swigt__p_wxToolBarBase
,
32844 _swigt__p_wxToggleButton
,
32845 _swigt__p_wxRadioButton
,
32846 _swigt__p_wxChoice
,
32847 _swigt__p_wxMemoryDC
,
32848 _swigt__p_wxListItemAttr
,
32853 _swigt__p_wxListView
,
32855 _swigt__p_wxVisualAttributes
,
32856 _swigt__p_wxTextCtrl
,
32857 _swigt__p_wxNotebook
,
32858 _swigt__p_wxNotifyEvent
,
32859 _swigt__p_wxArrayString
,
32860 _swigt__p_wxListbook
,
32861 _swigt__p_wxStaticBitmap
,
32862 _swigt__p_wxSlider
,
32863 _swigt__p_wxStaticBox
,
32864 _swigt__p_wxArrayInt
,
32865 _swigt__p_wxContextHelp
,
32867 _swigt__p_wxEvtHandler
,
32868 _swigt__p_wxListEvent
,
32869 _swigt__p_wxCheckListBox
,
32870 _swigt__p_wxListBox
,
32871 _swigt__p_wxBookCtrl
,
32872 _swigt__p_wxSpinButton
,
32873 _swigt__p_wxButton
,
32874 _swigt__p_wxBitmapButton
,
32876 _swigt__p_wxContextHelpButton
,
32877 _swigt__p_wxRadioBox
,
32878 _swigt__p_wxScrollBar
,
32880 _swigt__p_wxTreeItemId
,
32881 _swigt__p_wxComboBox
,
32882 _swigt__p_wxHelpEvent
,
32883 _swigt__p_wxListItem
,
32884 _swigt__p_wxNotebookSizer
,
32885 _swigt__p_wxSpinEvent
,
32886 _swigt__p_wxGenericDragImage
,
32887 _swigt__p_wxSpinCtrl
,
32888 _swigt__p_wxImageList
,
32889 _swigt__p_wxHelpProvider
,
32890 _swigt__p_wxTextAttr
,
32891 _swigt__p_wxSimpleHelpProvider
,
32893 _swigt__p_wxListbookEvent
,
32894 _swigt__p_wxNotebookEvent
,
32895 _swigt__p_wxObject
,
32896 _swigt__p_wxCursor
,
32897 _swigt__p_wxKeyEvent
,
32898 _swigt__p_wxWindow
,
32899 _swigt__p_wxString
,
32900 _swigt__p_wxBitmap
,
32901 _swigt__p_wxTreeEvent
,
32902 _swigt__p_wxMouseEvent
,
32903 _swigt__p_wxCommandEvent
,
32904 _swigt__p_wxStaticText
,
32905 _swigt__p_wxControlWithItems
,
32906 _swigt__p_wxToolBarToolBase
,
32907 _swigt__p_wxColour
,
32908 _swigt__p_wxToolBar
,
32909 _swigt__p_wxBookCtrlSizer
,
32910 _swigt__p_wxValidator
,
32915 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
32917 static swig_const_info swig_const_table
[] = {
32927 SWIGEXPORT(void) SWIG_init(void) {
32928 static PyObject
*SWIG_globals
= 0;
32929 static int typeinit
= 0;
32932 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
32933 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
32934 d
= PyModule_GetDict(m
);
32937 for (i
= 0; swig_types_initial
[i
]; i
++) {
32938 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
32942 SWIG_InstallConstants(d
,swig_const_table
);
32944 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
32945 SWIG_addvarlink(SWIG_globals
,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get
, _wrap_ButtonNameStr_set
);
32946 PyDict_SetItemString(d
,"BU_LEFT", SWIG_FromInt((int)wxBU_LEFT
));
32947 PyDict_SetItemString(d
,"BU_TOP", SWIG_FromInt((int)wxBU_TOP
));
32948 PyDict_SetItemString(d
,"BU_RIGHT", SWIG_FromInt((int)wxBU_RIGHT
));
32949 PyDict_SetItemString(d
,"BU_BOTTOM", SWIG_FromInt((int)wxBU_BOTTOM
));
32950 PyDict_SetItemString(d
,"BU_EXACTFIT", SWIG_FromInt((int)wxBU_EXACTFIT
));
32951 PyDict_SetItemString(d
,"BU_AUTODRAW", SWIG_FromInt((int)wxBU_AUTODRAW
));
32952 SWIG_addvarlink(SWIG_globals
,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get
, _wrap_CheckBoxNameStr_set
);
32953 PyDict_SetItemString(d
,"CHK_2STATE", SWIG_FromInt((int)wxCHK_2STATE
));
32954 PyDict_SetItemString(d
,"CHK_3STATE", SWIG_FromInt((int)wxCHK_3STATE
));
32955 PyDict_SetItemString(d
,"CHK_ALLOW_3RD_STATE_FOR_USER", SWIG_FromInt((int)wxCHK_ALLOW_3RD_STATE_FOR_USER
));
32956 PyDict_SetItemString(d
,"CHK_UNCHECKED", SWIG_FromInt((int)wxCHK_UNCHECKED
));
32957 PyDict_SetItemString(d
,"CHK_CHECKED", SWIG_FromInt((int)wxCHK_CHECKED
));
32958 PyDict_SetItemString(d
,"CHK_UNDETERMINED", SWIG_FromInt((int)wxCHK_UNDETERMINED
));
32959 SWIG_addvarlink(SWIG_globals
,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get
, _wrap_ChoiceNameStr_set
);
32960 SWIG_addvarlink(SWIG_globals
,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get
, _wrap_ComboBoxNameStr_set
);
32961 SWIG_addvarlink(SWIG_globals
,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get
, _wrap_GaugeNameStr_set
);
32962 PyDict_SetItemString(d
,"GA_HORIZONTAL", SWIG_FromInt((int)wxGA_HORIZONTAL
));
32963 PyDict_SetItemString(d
,"GA_VERTICAL", SWIG_FromInt((int)wxGA_VERTICAL
));
32964 PyDict_SetItemString(d
,"GA_SMOOTH", SWIG_FromInt((int)wxGA_SMOOTH
));
32965 PyDict_SetItemString(d
,"GA_PROGRESSBAR", SWIG_FromInt((int)wxGA_PROGRESSBAR
));
32966 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get
, _wrap_StaticBitmapNameStr_set
);
32967 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get
, _wrap_StaticBoxNameStr_set
);
32968 SWIG_addvarlink(SWIG_globals
,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get
, _wrap_StaticTextNameStr_set
);
32969 SWIG_addvarlink(SWIG_globals
,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get
, _wrap_ListBoxNameStr_set
);
32970 SWIG_addvarlink(SWIG_globals
,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get
, _wrap_TextCtrlNameStr_set
);
32971 PyDict_SetItemString(d
,"TE_NO_VSCROLL", SWIG_FromInt((int)wxTE_NO_VSCROLL
));
32972 PyDict_SetItemString(d
,"TE_AUTO_SCROLL", SWIG_FromInt((int)wxTE_AUTO_SCROLL
));
32973 PyDict_SetItemString(d
,"TE_READONLY", SWIG_FromInt((int)wxTE_READONLY
));
32974 PyDict_SetItemString(d
,"TE_MULTILINE", SWIG_FromInt((int)wxTE_MULTILINE
));
32975 PyDict_SetItemString(d
,"TE_PROCESS_TAB", SWIG_FromInt((int)wxTE_PROCESS_TAB
));
32976 PyDict_SetItemString(d
,"TE_LEFT", SWIG_FromInt((int)wxTE_LEFT
));
32977 PyDict_SetItemString(d
,"TE_CENTER", SWIG_FromInt((int)wxTE_CENTER
));
32978 PyDict_SetItemString(d
,"TE_RIGHT", SWIG_FromInt((int)wxTE_RIGHT
));
32979 PyDict_SetItemString(d
,"TE_CENTRE", SWIG_FromInt((int)wxTE_CENTRE
));
32980 PyDict_SetItemString(d
,"TE_RICH", SWIG_FromInt((int)wxTE_RICH
));
32981 PyDict_SetItemString(d
,"TE_PROCESS_ENTER", SWIG_FromInt((int)wxTE_PROCESS_ENTER
));
32982 PyDict_SetItemString(d
,"TE_PASSWORD", SWIG_FromInt((int)wxTE_PASSWORD
));
32983 PyDict_SetItemString(d
,"TE_AUTO_URL", SWIG_FromInt((int)wxTE_AUTO_URL
));
32984 PyDict_SetItemString(d
,"TE_NOHIDESEL", SWIG_FromInt((int)wxTE_NOHIDESEL
));
32985 PyDict_SetItemString(d
,"TE_DONTWRAP", SWIG_FromInt((int)wxTE_DONTWRAP
));
32986 PyDict_SetItemString(d
,"TE_LINEWRAP", SWIG_FromInt((int)wxTE_LINEWRAP
));
32987 PyDict_SetItemString(d
,"TE_WORDWRAP", SWIG_FromInt((int)wxTE_WORDWRAP
));
32988 PyDict_SetItemString(d
,"TE_RICH2", SWIG_FromInt((int)wxTE_RICH2
));
32989 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_DEFAULT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_DEFAULT
));
32990 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_LEFT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_LEFT
));
32991 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTRE", SWIG_FromInt((int)wxTEXT_ALIGNMENT_CENTRE
));
32992 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTER", SWIG_FromInt((int)wxTEXT_ALIGNMENT_CENTER
));
32993 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_RIGHT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_RIGHT
));
32994 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_JUSTIFIED", SWIG_FromInt((int)wxTEXT_ALIGNMENT_JUSTIFIED
));
32995 PyDict_SetItemString(d
,"TEXT_ATTR_TEXT_COLOUR", SWIG_FromInt((int)wxTEXT_ATTR_TEXT_COLOUR
));
32996 PyDict_SetItemString(d
,"TEXT_ATTR_BACKGROUND_COLOUR", SWIG_FromInt((int)wxTEXT_ATTR_BACKGROUND_COLOUR
));
32997 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_FACE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_FACE
));
32998 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_SIZE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_SIZE
));
32999 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_WEIGHT", SWIG_FromInt((int)wxTEXT_ATTR_FONT_WEIGHT
));
33000 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_ITALIC", SWIG_FromInt((int)wxTEXT_ATTR_FONT_ITALIC
));
33001 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_UNDERLINE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_UNDERLINE
));
33002 PyDict_SetItemString(d
,"TEXT_ATTR_FONT", SWIG_FromInt((int)wxTEXT_ATTR_FONT
));
33003 PyDict_SetItemString(d
,"TEXT_ATTR_ALIGNMENT", SWIG_FromInt((int)wxTEXT_ATTR_ALIGNMENT
));
33004 PyDict_SetItemString(d
,"TEXT_ATTR_LEFT_INDENT", SWIG_FromInt((int)wxTEXT_ATTR_LEFT_INDENT
));
33005 PyDict_SetItemString(d
,"TEXT_ATTR_RIGHT_INDENT", SWIG_FromInt((int)wxTEXT_ATTR_RIGHT_INDENT
));
33006 PyDict_SetItemString(d
,"TEXT_ATTR_TABS", SWIG_FromInt((int)wxTEXT_ATTR_TABS
));
33007 PyDict_SetItemString(d
,"TE_HT_UNKNOWN", SWIG_FromInt((int)wxTE_HT_UNKNOWN
));
33008 PyDict_SetItemString(d
,"TE_HT_BEFORE", SWIG_FromInt((int)wxTE_HT_BEFORE
));
33009 PyDict_SetItemString(d
,"TE_HT_ON_TEXT", SWIG_FromInt((int)wxTE_HT_ON_TEXT
));
33010 PyDict_SetItemString(d
,"TE_HT_BELOW", SWIG_FromInt((int)wxTE_HT_BELOW
));
33011 PyDict_SetItemString(d
,"TE_HT_BEYOND", SWIG_FromInt((int)wxTE_HT_BEYOND
));
33012 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED
));
33013 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER
));
33014 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL
));
33015 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN
));
33016 SWIG_addvarlink(SWIG_globals
,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get
, _wrap_ScrollBarNameStr_set
);
33017 SWIG_addvarlink(SWIG_globals
,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get
, _wrap_SPIN_BUTTON_NAME_set
);
33018 SWIG_addvarlink(SWIG_globals
,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get
, _wrap_SpinCtrlNameStr_set
);
33019 PyDict_SetItemString(d
,"SP_HORIZONTAL", SWIG_FromInt((int)wxSP_HORIZONTAL
));
33020 PyDict_SetItemString(d
,"SP_VERTICAL", SWIG_FromInt((int)wxSP_VERTICAL
));
33021 PyDict_SetItemString(d
,"SP_ARROW_KEYS", SWIG_FromInt((int)wxSP_ARROW_KEYS
));
33022 PyDict_SetItemString(d
,"SP_WRAP", SWIG_FromInt((int)wxSP_WRAP
));
33023 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED
));
33024 SWIG_addvarlink(SWIG_globals
,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get
, _wrap_RadioBoxNameStr_set
);
33025 SWIG_addvarlink(SWIG_globals
,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get
, _wrap_RadioButtonNameStr_set
);
33026 SWIG_addvarlink(SWIG_globals
,(char*)"SliderNameStr",_wrap_SliderNameStr_get
, _wrap_SliderNameStr_set
);
33027 SWIG_addvarlink(SWIG_globals
,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get
, _wrap_ToggleButtonNameStr_set
);
33028 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
33029 SWIG_addvarlink(SWIG_globals
,(char*)"NOTEBOOK_NAME",_wrap_NOTEBOOK_NAME_get
, _wrap_NOTEBOOK_NAME_set
);
33030 PyDict_SetItemString(d
,"NB_FIXEDWIDTH", SWIG_FromInt((int)wxNB_FIXEDWIDTH
));
33031 PyDict_SetItemString(d
,"NB_TOP", SWIG_FromInt((int)wxNB_TOP
));
33032 PyDict_SetItemString(d
,"NB_LEFT", SWIG_FromInt((int)wxNB_LEFT
));
33033 PyDict_SetItemString(d
,"NB_RIGHT", SWIG_FromInt((int)wxNB_RIGHT
));
33034 PyDict_SetItemString(d
,"NB_BOTTOM", SWIG_FromInt((int)wxNB_BOTTOM
));
33035 PyDict_SetItemString(d
,"NB_MULTILINE", SWIG_FromInt((int)wxNB_MULTILINE
));
33036 PyDict_SetItemString(d
,"NB_HITTEST_NOWHERE", SWIG_FromInt((int)wxNB_HITTEST_NOWHERE
));
33037 PyDict_SetItemString(d
,"NB_HITTEST_ONICON", SWIG_FromInt((int)wxNB_HITTEST_ONICON
));
33038 PyDict_SetItemString(d
,"NB_HITTEST_ONLABEL", SWIG_FromInt((int)wxNB_HITTEST_ONLABEL
));
33039 PyDict_SetItemString(d
,"NB_HITTEST_ONITEM", SWIG_FromInt((int)wxNB_HITTEST_ONITEM
));
33040 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
33041 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
33042 PyDict_SetItemString(d
,"LB_DEFAULT", SWIG_FromInt((int)wxLB_DEFAULT
));
33043 PyDict_SetItemString(d
,"LB_TOP", SWIG_FromInt((int)wxLB_TOP
));
33044 PyDict_SetItemString(d
,"LB_BOTTOM", SWIG_FromInt((int)wxLB_BOTTOM
));
33045 PyDict_SetItemString(d
,"LB_LEFT", SWIG_FromInt((int)wxLB_LEFT
));
33046 PyDict_SetItemString(d
,"LB_RIGHT", SWIG_FromInt((int)wxLB_RIGHT
));
33047 PyDict_SetItemString(d
,"LB_ALIGN_MASK", SWIG_FromInt((int)wxLB_ALIGN_MASK
));
33048 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
));
33049 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
));
33050 PyDict_SetItemString(d
,"TOOL_STYLE_BUTTON", SWIG_FromInt((int)wxTOOL_STYLE_BUTTON
));
33051 PyDict_SetItemString(d
,"TOOL_STYLE_SEPARATOR", SWIG_FromInt((int)wxTOOL_STYLE_SEPARATOR
));
33052 PyDict_SetItemString(d
,"TOOL_STYLE_CONTROL", SWIG_FromInt((int)wxTOOL_STYLE_CONTROL
));
33053 PyDict_SetItemString(d
,"TB_HORIZONTAL", SWIG_FromInt((int)wxTB_HORIZONTAL
));
33054 PyDict_SetItemString(d
,"TB_VERTICAL", SWIG_FromInt((int)wxTB_VERTICAL
));
33055 PyDict_SetItemString(d
,"TB_3DBUTTONS", SWIG_FromInt((int)wxTB_3DBUTTONS
));
33056 PyDict_SetItemString(d
,"TB_FLAT", SWIG_FromInt((int)wxTB_FLAT
));
33057 PyDict_SetItemString(d
,"TB_DOCKABLE", SWIG_FromInt((int)wxTB_DOCKABLE
));
33058 PyDict_SetItemString(d
,"TB_NOICONS", SWIG_FromInt((int)wxTB_NOICONS
));
33059 PyDict_SetItemString(d
,"TB_TEXT", SWIG_FromInt((int)wxTB_TEXT
));
33060 PyDict_SetItemString(d
,"TB_NODIVIDER", SWIG_FromInt((int)wxTB_NODIVIDER
));
33061 PyDict_SetItemString(d
,"TB_NOALIGN", SWIG_FromInt((int)wxTB_NOALIGN
));
33062 PyDict_SetItemString(d
,"TB_HORZ_LAYOUT", SWIG_FromInt((int)wxTB_HORZ_LAYOUT
));
33063 PyDict_SetItemString(d
,"TB_HORZ_TEXT", SWIG_FromInt((int)wxTB_HORZ_TEXT
));
33064 SWIG_addvarlink(SWIG_globals
,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get
, _wrap_ListCtrlNameStr_set
);
33065 PyDict_SetItemString(d
,"LC_VRULES", SWIG_FromInt((int)wxLC_VRULES
));
33066 PyDict_SetItemString(d
,"LC_HRULES", SWIG_FromInt((int)wxLC_HRULES
));
33067 PyDict_SetItemString(d
,"LC_ICON", SWIG_FromInt((int)wxLC_ICON
));
33068 PyDict_SetItemString(d
,"LC_SMALL_ICON", SWIG_FromInt((int)wxLC_SMALL_ICON
));
33069 PyDict_SetItemString(d
,"LC_LIST", SWIG_FromInt((int)wxLC_LIST
));
33070 PyDict_SetItemString(d
,"LC_REPORT", SWIG_FromInt((int)wxLC_REPORT
));
33071 PyDict_SetItemString(d
,"LC_ALIGN_TOP", SWIG_FromInt((int)wxLC_ALIGN_TOP
));
33072 PyDict_SetItemString(d
,"LC_ALIGN_LEFT", SWIG_FromInt((int)wxLC_ALIGN_LEFT
));
33073 PyDict_SetItemString(d
,"LC_AUTOARRANGE", SWIG_FromInt((int)wxLC_AUTOARRANGE
));
33074 PyDict_SetItemString(d
,"LC_VIRTUAL", SWIG_FromInt((int)wxLC_VIRTUAL
));
33075 PyDict_SetItemString(d
,"LC_EDIT_LABELS", SWIG_FromInt((int)wxLC_EDIT_LABELS
));
33076 PyDict_SetItemString(d
,"LC_NO_HEADER", SWIG_FromInt((int)wxLC_NO_HEADER
));
33077 PyDict_SetItemString(d
,"LC_NO_SORT_HEADER", SWIG_FromInt((int)wxLC_NO_SORT_HEADER
));
33078 PyDict_SetItemString(d
,"LC_SINGLE_SEL", SWIG_FromInt((int)wxLC_SINGLE_SEL
));
33079 PyDict_SetItemString(d
,"LC_SORT_ASCENDING", SWIG_FromInt((int)wxLC_SORT_ASCENDING
));
33080 PyDict_SetItemString(d
,"LC_SORT_DESCENDING", SWIG_FromInt((int)wxLC_SORT_DESCENDING
));
33081 PyDict_SetItemString(d
,"LC_MASK_TYPE", SWIG_FromInt((int)wxLC_MASK_TYPE
));
33082 PyDict_SetItemString(d
,"LC_MASK_ALIGN", SWIG_FromInt((int)wxLC_MASK_ALIGN
));
33083 PyDict_SetItemString(d
,"LC_MASK_SORT", SWIG_FromInt((int)wxLC_MASK_SORT
));
33084 PyDict_SetItemString(d
,"LIST_MASK_STATE", SWIG_FromInt((int)wxLIST_MASK_STATE
));
33085 PyDict_SetItemString(d
,"LIST_MASK_TEXT", SWIG_FromInt((int)wxLIST_MASK_TEXT
));
33086 PyDict_SetItemString(d
,"LIST_MASK_IMAGE", SWIG_FromInt((int)wxLIST_MASK_IMAGE
));
33087 PyDict_SetItemString(d
,"LIST_MASK_DATA", SWIG_FromInt((int)wxLIST_MASK_DATA
));
33088 PyDict_SetItemString(d
,"LIST_SET_ITEM", SWIG_FromInt((int)wxLIST_SET_ITEM
));
33089 PyDict_SetItemString(d
,"LIST_MASK_WIDTH", SWIG_FromInt((int)wxLIST_MASK_WIDTH
));
33090 PyDict_SetItemString(d
,"LIST_MASK_FORMAT", SWIG_FromInt((int)wxLIST_MASK_FORMAT
));
33091 PyDict_SetItemString(d
,"LIST_STATE_DONTCARE", SWIG_FromInt((int)wxLIST_STATE_DONTCARE
));
33092 PyDict_SetItemString(d
,"LIST_STATE_DROPHILITED", SWIG_FromInt((int)wxLIST_STATE_DROPHILITED
));
33093 PyDict_SetItemString(d
,"LIST_STATE_FOCUSED", SWIG_FromInt((int)wxLIST_STATE_FOCUSED
));
33094 PyDict_SetItemString(d
,"LIST_STATE_SELECTED", SWIG_FromInt((int)wxLIST_STATE_SELECTED
));
33095 PyDict_SetItemString(d
,"LIST_STATE_CUT", SWIG_FromInt((int)wxLIST_STATE_CUT
));
33096 PyDict_SetItemString(d
,"LIST_STATE_DISABLED", SWIG_FromInt((int)wxLIST_STATE_DISABLED
));
33097 PyDict_SetItemString(d
,"LIST_STATE_FILTERED", SWIG_FromInt((int)wxLIST_STATE_FILTERED
));
33098 PyDict_SetItemString(d
,"LIST_STATE_INUSE", SWIG_FromInt((int)wxLIST_STATE_INUSE
));
33099 PyDict_SetItemString(d
,"LIST_STATE_PICKED", SWIG_FromInt((int)wxLIST_STATE_PICKED
));
33100 PyDict_SetItemString(d
,"LIST_STATE_SOURCE", SWIG_FromInt((int)wxLIST_STATE_SOURCE
));
33101 PyDict_SetItemString(d
,"LIST_HITTEST_ABOVE", SWIG_FromInt((int)wxLIST_HITTEST_ABOVE
));
33102 PyDict_SetItemString(d
,"LIST_HITTEST_BELOW", SWIG_FromInt((int)wxLIST_HITTEST_BELOW
));
33103 PyDict_SetItemString(d
,"LIST_HITTEST_NOWHERE", SWIG_FromInt((int)wxLIST_HITTEST_NOWHERE
));
33104 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMICON", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMICON
));
33105 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMLABEL", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMLABEL
));
33106 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMRIGHT", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMRIGHT
));
33107 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMSTATEICON", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMSTATEICON
));
33108 PyDict_SetItemString(d
,"LIST_HITTEST_TOLEFT", SWIG_FromInt((int)wxLIST_HITTEST_TOLEFT
));
33109 PyDict_SetItemString(d
,"LIST_HITTEST_TORIGHT", SWIG_FromInt((int)wxLIST_HITTEST_TORIGHT
));
33110 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEM", SWIG_FromInt((int)wxLIST_HITTEST_ONITEM
));
33111 PyDict_SetItemString(d
,"LIST_NEXT_ABOVE", SWIG_FromInt((int)wxLIST_NEXT_ABOVE
));
33112 PyDict_SetItemString(d
,"LIST_NEXT_ALL", SWIG_FromInt((int)wxLIST_NEXT_ALL
));
33113 PyDict_SetItemString(d
,"LIST_NEXT_BELOW", SWIG_FromInt((int)wxLIST_NEXT_BELOW
));
33114 PyDict_SetItemString(d
,"LIST_NEXT_LEFT", SWIG_FromInt((int)wxLIST_NEXT_LEFT
));
33115 PyDict_SetItemString(d
,"LIST_NEXT_RIGHT", SWIG_FromInt((int)wxLIST_NEXT_RIGHT
));
33116 PyDict_SetItemString(d
,"LIST_ALIGN_DEFAULT", SWIG_FromInt((int)wxLIST_ALIGN_DEFAULT
));
33117 PyDict_SetItemString(d
,"LIST_ALIGN_LEFT", SWIG_FromInt((int)wxLIST_ALIGN_LEFT
));
33118 PyDict_SetItemString(d
,"LIST_ALIGN_TOP", SWIG_FromInt((int)wxLIST_ALIGN_TOP
));
33119 PyDict_SetItemString(d
,"LIST_ALIGN_SNAP_TO_GRID", SWIG_FromInt((int)wxLIST_ALIGN_SNAP_TO_GRID
));
33120 PyDict_SetItemString(d
,"LIST_FORMAT_LEFT", SWIG_FromInt((int)wxLIST_FORMAT_LEFT
));
33121 PyDict_SetItemString(d
,"LIST_FORMAT_RIGHT", SWIG_FromInt((int)wxLIST_FORMAT_RIGHT
));
33122 PyDict_SetItemString(d
,"LIST_FORMAT_CENTRE", SWIG_FromInt((int)wxLIST_FORMAT_CENTRE
));
33123 PyDict_SetItemString(d
,"LIST_FORMAT_CENTER", SWIG_FromInt((int)wxLIST_FORMAT_CENTER
));
33124 PyDict_SetItemString(d
,"LIST_AUTOSIZE", SWIG_FromInt((int)wxLIST_AUTOSIZE
));
33125 PyDict_SetItemString(d
,"LIST_AUTOSIZE_USEHEADER", SWIG_FromInt((int)wxLIST_AUTOSIZE_USEHEADER
));
33126 PyDict_SetItemString(d
,"LIST_RECT_BOUNDS", SWIG_FromInt((int)wxLIST_RECT_BOUNDS
));
33127 PyDict_SetItemString(d
,"LIST_RECT_ICON", SWIG_FromInt((int)wxLIST_RECT_ICON
));
33128 PyDict_SetItemString(d
,"LIST_RECT_LABEL", SWIG_FromInt((int)wxLIST_RECT_LABEL
));
33129 PyDict_SetItemString(d
,"LIST_FIND_UP", SWIG_FromInt((int)wxLIST_FIND_UP
));
33130 PyDict_SetItemString(d
,"LIST_FIND_DOWN", SWIG_FromInt((int)wxLIST_FIND_DOWN
));
33131 PyDict_SetItemString(d
,"LIST_FIND_LEFT", SWIG_FromInt((int)wxLIST_FIND_LEFT
));
33132 PyDict_SetItemString(d
,"LIST_FIND_RIGHT", SWIG_FromInt((int)wxLIST_FIND_RIGHT
));
33133 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG
));
33134 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
33135 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
33136 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
33137 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM
));
33138 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
33139 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO
));
33140 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO
));
33141 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED
));
33142 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
33143 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN
));
33144 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM
));
33145 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK
));
33146 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
33147 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
33148 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
33149 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT
));
33150 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
33151 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
33152 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING
));
33153 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG
));
33154 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
33156 // Map renamed classes back to their common name for OOR
33157 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
33159 SWIG_addvarlink(SWIG_globals
,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get
, _wrap_TreeCtrlNameStr_set
);
33160 PyDict_SetItemString(d
,"TR_NO_BUTTONS", SWIG_FromInt((int)wxTR_NO_BUTTONS
));
33161 PyDict_SetItemString(d
,"TR_HAS_BUTTONS", SWIG_FromInt((int)wxTR_HAS_BUTTONS
));
33162 PyDict_SetItemString(d
,"TR_NO_LINES", SWIG_FromInt((int)wxTR_NO_LINES
));
33163 PyDict_SetItemString(d
,"TR_LINES_AT_ROOT", SWIG_FromInt((int)wxTR_LINES_AT_ROOT
));
33164 PyDict_SetItemString(d
,"TR_SINGLE", SWIG_FromInt((int)wxTR_SINGLE
));
33165 PyDict_SetItemString(d
,"TR_MULTIPLE", SWIG_FromInt((int)wxTR_MULTIPLE
));
33166 PyDict_SetItemString(d
,"TR_EXTENDED", SWIG_FromInt((int)wxTR_EXTENDED
));
33167 PyDict_SetItemString(d
,"TR_HAS_VARIABLE_ROW_HEIGHT", SWIG_FromInt((int)wxTR_HAS_VARIABLE_ROW_HEIGHT
));
33168 PyDict_SetItemString(d
,"TR_EDIT_LABELS", SWIG_FromInt((int)wxTR_EDIT_LABELS
));
33169 PyDict_SetItemString(d
,"TR_HIDE_ROOT", SWIG_FromInt((int)wxTR_HIDE_ROOT
));
33170 PyDict_SetItemString(d
,"TR_ROW_LINES", SWIG_FromInt((int)wxTR_ROW_LINES
));
33171 PyDict_SetItemString(d
,"TR_FULL_ROW_HIGHLIGHT", SWIG_FromInt((int)wxTR_FULL_ROW_HIGHLIGHT
));
33172 PyDict_SetItemString(d
,"TR_DEFAULT_STYLE", SWIG_FromInt((int)wxTR_DEFAULT_STYLE
));
33173 PyDict_SetItemString(d
,"TR_TWIST_BUTTONS", SWIG_FromInt((int)wxTR_TWIST_BUTTONS
));
33174 PyDict_SetItemString(d
,"TR_MAC_BUTTONS", SWIG_FromInt((int)wxTR_MAC_BUTTONS
));
33175 PyDict_SetItemString(d
,"TR_AQUA_BUTTONS", SWIG_FromInt((int)wxTR_AQUA_BUTTONS
));
33176 PyDict_SetItemString(d
,"TreeItemIcon_Normal", SWIG_FromInt((int)wxTreeItemIcon_Normal
));
33177 PyDict_SetItemString(d
,"TreeItemIcon_Selected", SWIG_FromInt((int)wxTreeItemIcon_Selected
));
33178 PyDict_SetItemString(d
,"TreeItemIcon_Expanded", SWIG_FromInt((int)wxTreeItemIcon_Expanded
));
33179 PyDict_SetItemString(d
,"TreeItemIcon_SelectedExpanded", SWIG_FromInt((int)wxTreeItemIcon_SelectedExpanded
));
33180 PyDict_SetItemString(d
,"TreeItemIcon_Max", SWIG_FromInt((int)wxTreeItemIcon_Max
));
33181 PyDict_SetItemString(d
,"TREE_HITTEST_ABOVE", SWIG_FromInt((int)wxTREE_HITTEST_ABOVE
));
33182 PyDict_SetItemString(d
,"TREE_HITTEST_BELOW", SWIG_FromInt((int)wxTREE_HITTEST_BELOW
));
33183 PyDict_SetItemString(d
,"TREE_HITTEST_NOWHERE", SWIG_FromInt((int)wxTREE_HITTEST_NOWHERE
));
33184 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMBUTTON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMBUTTON
));
33185 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMICON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMICON
));
33186 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMINDENT", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMINDENT
));
33187 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLABEL", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMLABEL
));
33188 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMRIGHT", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMRIGHT
));
33189 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMSTATEICON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMSTATEICON
));
33190 PyDict_SetItemString(d
,"TREE_HITTEST_TOLEFT", SWIG_FromInt((int)wxTREE_HITTEST_TOLEFT
));
33191 PyDict_SetItemString(d
,"TREE_HITTEST_TORIGHT", SWIG_FromInt((int)wxTREE_HITTEST_TORIGHT
));
33192 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMUPPERPART", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMUPPERPART
));
33193 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLOWERPART", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMLOWERPART
));
33194 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEM", SWIG_FromInt((int)wxTREE_HITTEST_ONITEM
));
33195 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG
));
33196 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
33197 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
33198 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
33199 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM
));
33200 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO
));
33201 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO
));
33202 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
33203 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
33204 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
33205 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
33206 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED
));
33207 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING
));
33208 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN
));
33209 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
33210 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
33211 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
33212 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG
));
33213 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
));
33214 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
));
33216 // Map renamed classes back to their common name for OOR
33217 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
33218 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
33220 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get
, _wrap_DirDialogDefaultFolderStr_set
);
33221 PyDict_SetItemString(d
,"DIRCTRL_DIR_ONLY", SWIG_FromInt((int)wxDIRCTRL_DIR_ONLY
));
33222 PyDict_SetItemString(d
,"DIRCTRL_SELECT_FIRST", SWIG_FromInt((int)wxDIRCTRL_SELECT_FIRST
));
33223 PyDict_SetItemString(d
,"DIRCTRL_SHOW_FILTERS", SWIG_FromInt((int)wxDIRCTRL_SHOW_FILTERS
));
33224 PyDict_SetItemString(d
,"DIRCTRL_3D_INTERNAL", SWIG_FromInt((int)wxDIRCTRL_3D_INTERNAL
));
33225 PyDict_SetItemString(d
,"DIRCTRL_EDIT_LABELS", SWIG_FromInt((int)wxDIRCTRL_EDIT_LABELS
));
33226 PyDict_SetItemString(d
,"FRAME_EX_CONTEXTHELP", SWIG_FromInt((int)wxFRAME_EX_CONTEXTHELP
));
33227 PyDict_SetItemString(d
,"DIALOG_EX_CONTEXTHELP", SWIG_FromInt((int)wxDIALOG_EX_CONTEXTHELP
));
33228 PyDict_SetItemString(d
, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP
));
33229 PyDict_SetItemString(d
, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP
));
33231 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");