1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_NOINCLUDE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
39 ************************************************************************/
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypeQuery SWIG_Python_TypeQuery
47 #define SWIG_TypeClientData SWIG_Python_TypeClientData
48 #define SWIG_PackData SWIG_Python_PackData
49 #define SWIG_UnpackData SWIG_Python_UnpackData
52 /***********************************************************************
53 * common.swg for wxPython
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
60 ************************************************************************/
64 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65 # if defined(_MSC_VER) || defined(__GNUC__)
66 # if defined(STATIC_LINKED)
67 # define SWIGEXPORT(a) a
68 # define SWIGIMPORT(a) extern a
70 # define SWIGEXPORT(a) __declspec(dllexport) a
71 # define SWIGIMPORT(a) extern a
74 # if defined(__BORLANDC__)
75 # define SWIGEXPORT(a) a _export
76 # define SWIGIMPORT(a) a _export
78 # define SWIGEXPORT(a) a
79 # define SWIGIMPORT(a) a
83 # define SWIGEXPORT(a) a
84 # define SWIGIMPORT(a) a
88 # define SWIGRUNTIME(a) SWIGEXPORT(a)
90 # define SWIGRUNTIME(a) static a
97 typedef void *(*swig_converter_func
)(void *);
98 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
100 typedef struct swig_type_info
{
102 swig_converter_func converter
;
105 swig_dycast_func dcast
;
106 struct swig_type_info
*next
;
107 struct swig_type_info
*prev
;
111 SWIGIMPORT(swig_type_info
*) SWIG_TypeRegister(swig_type_info
*);
112 SWIGIMPORT(swig_type_info
*) SWIG_TypeCheck(char *c
, swig_type_info
*);
113 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info
*, void *);
114 SWIGIMPORT(swig_type_info
*) SWIG_TypeDynamicCast(swig_type_info
*, void **);
115 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info
*);
116 SWIGIMPORT(swig_type_info
*) SWIG_TypeQuery(const char *);
117 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info
*, void *);
118 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
126 /***********************************************************************
127 * pyrun.swg for wxPython
129 * Include only the function prototypes and such from SWIG's pyrun.swg,
130 * but not the runtime functions themselves. This helps keep the
131 * wrapper files clean of unnecessary stuff that is in the libpy.c file
134 ************************************************************************/
142 #define SWIG_PY_INT 1
143 #define SWIG_PY_FLOAT 2
144 #define SWIG_PY_STRING 3
145 #define SWIG_PY_POINTER 4
146 #define SWIG_PY_BINARY 5
148 /* Flags for pointer conversion */
150 #define SWIG_POINTER_EXCEPTION 0x1
151 #define SWIG_POINTER_DISOWN 0x2
153 /* Exception handling in wrappers */
154 #define SWIG_fail goto fail
156 /* Constant information structure */
157 typedef struct swig_const_info
{
163 swig_type_info
**ptype
;
166 /* Common SWIG API */
167 #define SWIG_ConvertPtr(obj, pp, type, flags) \
168 SWIG_Python_ConvertPtr(obj, pp, type, flags)
169 #define SWIG_NewPointerObj(p, type, flags) \
170 SWIG_Python_NewPointerObj(p, type, flags)
171 #define SWIG_MustGetPtr(p, type, argnum, flags) \
172 SWIG_Python_MustGetPtr(p, type, argnum, flags)
174 /* Python-specific SWIG API */
175 #define SWIG_newvarlink() \
176 SWIG_Python_newvarlink()
177 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
178 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
179 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
180 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
181 #define SWIG_NewPackedObj(ptr, sz, type) \
182 SWIG_Python_NewPackedObj(ptr, sz, type)
183 #define SWIG_InstallConstants(d, constants) \
184 SWIG_Python_InstallConstants(d, constants)
186 typedef double (*py_objasdbl_conv
)(PyObject
*obj
);
188 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject
*, void **, swig_type_info
*, int);
189 SWIGIMPORT(PyObject
*) SWIG_Python_NewPointerObj(void *, swig_type_info
*,int own
);
190 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject
*, swig_type_info
*, int, int);
191 SWIGIMPORT(PyObject
*) SWIG_Python_newvarlink(void);
192 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
193 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject
*, void *, int sz
, swig_type_info
*, int);
194 SWIGIMPORT(PyObject
*) SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info
*);
195 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]);
198 /* Contract support */
200 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
207 /* -------- TYPES TABLE (BEGIN) -------- */
209 #define SWIGTYPE_p_wxTextUrlEvent swig_types[0]
210 #define SWIGTYPE_p_wxBookCtrlEvent swig_types[1]
211 #define SWIGTYPE_p_wxSizer swig_types[2]
212 #define SWIGTYPE_p_wxCheckBox swig_types[3]
213 #define SWIGTYPE_p_wxPyTreeCtrl swig_types[4]
214 #define SWIGTYPE_p_wxEvent swig_types[5]
215 #define SWIGTYPE_p_wxGenericDirCtrl swig_types[6]
216 #define SWIGTYPE_p_bool swig_types[7]
217 #define SWIGTYPE_p_wxPyTreeItemData swig_types[8]
218 #define SWIGTYPE_p_wxItemContainer swig_types[9]
219 #define SWIGTYPE_p_wxPyListCtrl swig_types[10]
220 #define SWIGTYPE_p_wxDirFilterListCtrl swig_types[11]
221 #define SWIGTYPE_p_wxStaticLine swig_types[12]
222 #define SWIGTYPE_p_wxControl swig_types[13]
223 #define SWIGTYPE_p_wxPyControl swig_types[14]
224 #define SWIGTYPE_p_wxGauge swig_types[15]
225 #define SWIGTYPE_p_wxToolBarBase swig_types[16]
226 #define SWIGTYPE_p_wxFont swig_types[17]
227 #define SWIGTYPE_p_wxToggleButton swig_types[18]
228 #define SWIGTYPE_p_wxRadioButton swig_types[19]
229 #define SWIGTYPE_p_wxChoice swig_types[20]
230 #define SWIGTYPE_p_wxMemoryDC swig_types[21]
231 #define SWIGTYPE_p_wxListItemAttr swig_types[22]
232 #define SWIGTYPE_p_void swig_types[23]
233 #define SWIGTYPE_p_int swig_types[24]
234 #define SWIGTYPE_p_wxSize swig_types[25]
235 #define SWIGTYPE_p_wxDC swig_types[26]
236 #define SWIGTYPE_p_wxListView swig_types[27]
237 #define SWIGTYPE_p_wxIcon swig_types[28]
238 #define SWIGTYPE_p_wxVisualAttributes swig_types[29]
239 #define SWIGTYPE_p_wxTextCtrl swig_types[30]
240 #define SWIGTYPE_p_wxNotebook swig_types[31]
241 #define SWIGTYPE_p_wxNotifyEvent swig_types[32]
242 #define SWIGTYPE_p_wxArrayString swig_types[33]
243 #define SWIGTYPE_p_wxListbook swig_types[34]
244 #define SWIGTYPE_p_wxStaticBitmap swig_types[35]
245 #define SWIGTYPE_p_wxSlider swig_types[36]
246 #define SWIGTYPE_p_wxStaticBox swig_types[37]
247 #define SWIGTYPE_p_wxArrayInt swig_types[38]
248 #define SWIGTYPE_p_wxContextHelp swig_types[39]
249 #define SWIGTYPE_p_long swig_types[40]
250 #define SWIGTYPE_p_wxEvtHandler swig_types[41]
251 #define SWIGTYPE_p_wxListEvent swig_types[42]
252 #define SWIGTYPE_p_wxCheckListBox swig_types[43]
253 #define SWIGTYPE_p_wxListBox swig_types[44]
254 #define SWIGTYPE_p_wxBookCtrl swig_types[45]
255 #define SWIGTYPE_p_wxSpinButton swig_types[46]
256 #define SWIGTYPE_p_wxButton swig_types[47]
257 #define SWIGTYPE_p_wxBitmapButton swig_types[48]
258 #define SWIGTYPE_p_wxRect swig_types[49]
259 #define SWIGTYPE_p_wxContextHelpButton swig_types[50]
260 #define SWIGTYPE_p_wxRadioBox swig_types[51]
261 #define SWIGTYPE_p_wxScrollBar swig_types[52]
262 #define SWIGTYPE_p_char swig_types[53]
263 #define SWIGTYPE_p_wxTreeItemId swig_types[54]
264 #define SWIGTYPE_p_wxComboBox swig_types[55]
265 #define SWIGTYPE_p_wxHelpEvent swig_types[56]
266 #define SWIGTYPE_p_wxListItem swig_types[57]
267 #define SWIGTYPE_p_wxNotebookSizer swig_types[58]
268 #define SWIGTYPE_p_wxSpinEvent swig_types[59]
269 #define SWIGTYPE_p_wxGenericDragImage swig_types[60]
270 #define SWIGTYPE_p_wxSpinCtrl swig_types[61]
271 #define SWIGTYPE_p_wxImageList swig_types[62]
272 #define SWIGTYPE_p_wxHelpProvider swig_types[63]
273 #define SWIGTYPE_p_wxTextAttr swig_types[64]
274 #define SWIGTYPE_p_wxSimpleHelpProvider swig_types[65]
275 #define SWIGTYPE_p_wxPoint swig_types[66]
276 #define SWIGTYPE_p_wxListbookEvent swig_types[67]
277 #define SWIGTYPE_p_wxNotebookEvent swig_types[68]
278 #define SWIGTYPE_p_wxObject swig_types[69]
279 #define SWIGTYPE_p_wxCursor swig_types[70]
280 #define SWIGTYPE_p_wxKeyEvent swig_types[71]
281 #define SWIGTYPE_p_wxWindow swig_types[72]
282 #define SWIGTYPE_p_wxString swig_types[73]
283 #define SWIGTYPE_p_wxBitmap swig_types[74]
284 #define SWIGTYPE_p_wxTreeEvent swig_types[75]
285 #define SWIGTYPE_p_wxMouseEvent swig_types[76]
286 #define SWIGTYPE_p_wxCommandEvent swig_types[77]
287 #define SWIGTYPE_p_wxStaticText swig_types[78]
288 #define SWIGTYPE_p_wxControlWithItems swig_types[79]
289 #define SWIGTYPE_p_wxToolBarToolBase swig_types[80]
290 #define SWIGTYPE_p_wxColour swig_types[81]
291 #define SWIGTYPE_p_wxToolBar swig_types[82]
292 #define SWIGTYPE_p_wxBookCtrlSizer swig_types[83]
293 #define SWIGTYPE_p_wxValidator swig_types[84]
294 static swig_type_info
*swig_types
[86];
296 /* -------- TYPES TABLE (END) -------- */
299 /*-----------------------------------------------
300 @(target):= _controls.so
301 ------------------------------------------------*/
302 #define SWIG_init init_controls
304 #define SWIG_name "_controls"
306 /* Auxiliar swig macros */
309 #define SWIGSTATICINLINE(a) static inline a
310 #define SWIGSTATIC(a) static a
311 #define swig_new_array(type, size) (new type[(size)])
312 #define swig_delete_array(cptr) delete[] cptr
313 #define swig_const_cast(type,a) const_cast<type>(a)
314 #define swig_static_cast(type,a) static_cast<type>(a)
315 #define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a)
317 #ifdef HAVE_NUMERIC_CAST
318 #define swig_numeric_cast(type,a) numeric_cast<type>(a)
320 #define swig_numeric_cast(type,a) static_cast<type>(a)
325 #define SWIGSTATICINLINE(a) static a
326 #define SWIGSTATIC(a) static a
327 #define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type)))
328 #define swig_delete_array(cptr) free((char*)cptr)
329 #define swig_const_cast(type,a) (type)(a)
330 #define swig_static_cast(type,a) (type)(a)
331 #define swig_reinterpret_cast(type,a) (type)(a)
332 #define swig_numeric_cast(type,a) (type)(a)
334 #endif /* __cplusplus */
337 #define SWIG_FromSignedChar PyInt_FromLong
338 #define SWIG_FromUnsignedChar PyInt_FromLong
339 #define SWIG_FromShort PyInt_FromLong
340 #define SWIG_FromUnsignedShort PyInt_FromLong
341 #define SWIG_FromInt PyInt_FromLong
342 #define SWIG_FromLong PyInt_FromLong
343 #define SWIG_FromFloat PyFloat_FromDouble
344 #define SWIG_FromDouble PyFloat_FromDouble
345 #define SWIG_FromFloat PyFloat_FromDouble
346 #define SWIG_FromDouble PyFloat_FromDouble
349 #include "wx/wxPython/wxPython.h"
350 #include "wx/wxPython/pyclasses.h"
352 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
353 static const wxString
wxPyEmptyString(wxEmptyString
);
354 static const wxString
wxPyControlNameStr(wxControlNameStr
);
356 const wxArrayString wxPyEmptyStringArray
;
358 static const wxString
wxPyButtonNameStr(wxButtonNameStr
);
363 SWIGSTATICINLINE(long)
364 SWIG_CheckLongInRange(long value
, const char* type
,
365 long min_value
, long max_value
)
367 if (!PyErr_Occurred()) {
368 if (value
< min_value
) {
370 PyString_FromFormat("value %ld is less than '%s' minimum %ld",
371 value
, type
, min_value
);
373 PyErr_SetObject(PyExc_OverflowError
, err
);
375 } else if (value
> max_value
) {
377 PyString_FromFormat("value %ld is greater than '%s' maximum %ld",
378 value
, type
, max_value
);
379 PyErr_SetObject(PyExc_OverflowError
, err
);
387 SWIGSTATICINLINE(long)
388 SWIG_AsLong(PyObject
* obj
)
390 if (PyNumber_Check(obj
))
391 return PyInt_AsLong(obj
);
393 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
394 obj
->ob_type
->tp_name
);
395 PyErr_SetObject(PyExc_TypeError
, errmsg
);
402 #if INT_MAX != LONG_MAX
403 SWIGSTATICINLINE(int)
404 SWIG_AsInt(PyObject
*obj
)
406 return swig_numeric_cast(int,
407 SWIG_CheckLongInRange(SWIG_AsLong(obj
),
408 "int", INT_MIN
, INT_MAX
));
411 #define SWIG_AsInt SWIG_AsLong
415 SWIGSTATICINLINE(int)
416 SWIG_CheckInt(PyObject
* obj
)
419 if (PyErr_Occurred()) {
428 SWIGSTATICINLINE(int)
429 SWIG_CheckLong(PyObject
* obj
)
432 if (PyErr_Occurred()) {
440 static const wxString
wxPyCheckBoxNameStr(wxCheckBoxNameStr
);
442 SWIGSTATICINLINE(bool)
443 SWIG_AsBool(PyObject
*obj
)
445 return PyObject_IsTrue(obj
) ? true : false;
449 SWIGSTATICINLINE(int)
450 SWIG_CheckBool(PyObject
* obj
)
453 if (PyErr_Occurred()) {
461 static const wxString
wxPyChoiceNameStr(wxChoiceNameStr
);
462 static const wxString
wxPyComboBoxNameStr(wxComboBoxNameStr
);
463 static const wxString
wxPyGaugeNameStr(wxGaugeNameStr
);
464 static const wxString
wxPyStaticBitmapNameStr(wxStaticBitmapNameStr
);
465 static const wxString
wxPyStaticBoxNameStr(wxStaticBoxNameStr
);
466 static const wxString
wxPyStaticTextNameStr(wxStaticTextNameStr
);
468 #include <wx/checklst.h>
471 static const wxString
wxPyListBoxNameStr(wxListBoxNameStr
);
472 void wxListBox_Insert(wxListBox
*self
,wxString
const &item
,int pos
,PyObject
*clientData
){
474 wxPyClientData
* data
= new wxPyClientData(clientData
);
475 self
->Insert(item
, pos
, data
);
477 self
->Insert(item
, pos
);
479 PyObject
*wxListBox_GetSelections(wxListBox
*self
){
481 self
->GetSelections(lst
);
482 PyObject
*tup
= PyTuple_New(lst
.GetCount());
483 for(size_t i
=0; i
<lst
.GetCount(); i
++) {
484 PyTuple_SetItem(tup
, i
, PyInt_FromLong(lst
[i
]));
488 void wxListBox_SetItemForegroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
490 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
491 self
->GetItem(item
)->SetTextColour(c
);
494 void wxListBox_SetItemBackgroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
496 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
497 self
->GetItem(item
)->SetBackgroundColour(c
);
500 void wxListBox_SetItemFont(wxListBox
*self
,int item
,wxFont
const &f
){
502 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
503 self
->GetItem(item
)->SetFont(f
);
506 static const wxString
wxPyTextCtrlNameStr(wxTextCtrlNameStr
);
508 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
514 } else if (target
== Py_None
) {
518 if (!PyTuple_Check(target
)) {
520 target
= PyTuple_New(1);
521 PyTuple_SetItem(target
, 0, o2
);
524 PyTuple_SetItem(o3
, 0, o
);
527 target
= PySequence_Concat(o2
, o3
);
535 SWIGSTATICINLINE(unsigned long)
536 SWIG_AsUnsignedLong(PyObject
* obj
)
538 if (PyLong_Check(obj
)) {
539 return PyLong_AsUnsignedLong(obj
);
541 long i
= SWIG_AsLong(obj
);
542 if ( !PyErr_Occurred() && (i
< 0)) {
543 PyErr_SetString(PyExc_TypeError
, "negative value received for unsigned type");
550 SWIGSTATICINLINE(int)
551 SWIG_CheckUnsignedLong(PyObject
* obj
)
553 SWIG_AsUnsignedLong(obj
);
554 if (PyErr_Occurred()) {
562 void wxTextCtrl_write(wxTextCtrl
*self
,wxString
const &text
){
563 self
->AppendText(text
);
565 wxString
wxTextCtrl_GetString(wxTextCtrl
*self
,long from
,long to
){
566 return self
->GetValue().Mid(from
, to
- from
);
568 static const wxString
wxPyScrollBarNameStr(wxScrollBarNameStr
);
569 static const wxString
wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME
);
570 static const wxString
wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
571 static const wxString
wxPyRadioBoxNameStr(wxRadioBoxNameStr
);
572 static const wxString
wxPyRadioButtonNameStr(wxRadioButtonNameStr
);
574 #include <wx/slider.h>
577 static const wxString
wxPySliderNameStr(wxSliderNameStr
);
578 static const wxString
wxPyToggleButtonNameStr(_T("wxToggleButton"));
581 // implement dummy items for platforms that don't have this class
583 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
585 class wxToggleButton
: public wxControl
588 wxToggleButton(wxWindow
*, wxWindowID
, const wxString
&,
589 const wxPoint
&, const wxSize
&, long,
590 const wxValidator
&, const wxString
&)
591 { wxPyRaiseNotImplemented(); }
594 { wxPyRaiseNotImplemented(); }
598 static const wxString
wxPyNOTEBOOK_NAME(wxNOTEBOOK_NAME
);
600 SWIGSTATICINLINE(PyObject
* )
601 SWIG_FromUnsignedLong(unsigned long value
)
603 return (value
> LONG_MAX
) ?
604 PyLong_FromUnsignedLong(value
)
605 : PyInt_FromLong(swig_numeric_cast(long,value
));
608 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
609 PyObject
*wxToolBarToolBase_GetClientData(wxToolBarToolBase
*self
){
610 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetClientData();
612 Py_INCREF(udata
->m_obj
);
619 void wxToolBarToolBase_SetClientData(wxToolBarToolBase
*self
,PyObject
*clientData
){
620 self
->SetClientData(new wxPyUserData(clientData
));
622 wxToolBarToolBase
*wxToolBarBase_DoAddTool(wxToolBarBase
*self
,int id
,wxString
const &label
,wxBitmap
const &bitmap
,wxBitmap
const &bmpDisabled
,wxItemKind kind
,wxString
const &shortHelp
,wxString
const &longHelp
,PyObject
*clientData
){
623 wxPyUserData
* udata
= NULL
;
624 if (clientData
&& clientData
!= Py_None
)
625 udata
= new wxPyUserData(clientData
);
626 return self
->AddTool(id
, label
, bitmap
, bmpDisabled
, kind
,
627 shortHelp
, longHelp
, udata
);
629 wxToolBarToolBase
*wxToolBarBase_DoInsertTool(wxToolBarBase
*self
,size_t pos
,int id
,wxString
const &label
,wxBitmap
const &bitmap
,wxBitmap
const &bmpDisabled
,wxItemKind kind
,wxString
const &shortHelp
,wxString
const &longHelp
,PyObject
*clientData
){
630 wxPyUserData
* udata
= NULL
;
631 if (clientData
&& clientData
!= Py_None
)
632 udata
= new wxPyUserData(clientData
);
633 return self
->InsertTool(pos
, id
, label
, bitmap
, bmpDisabled
, kind
,
634 shortHelp
, longHelp
, udata
);
636 PyObject
*wxToolBarBase_GetToolClientData(wxToolBarBase
*self
,int id
){
637 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetToolClientData(id
);
639 Py_INCREF(udata
->m_obj
);
646 void wxToolBarBase_SetToolClientData(wxToolBarBase
*self
,int id
,PyObject
*clientData
){
647 self
->SetToolClientData(id
, new wxPyUserData(clientData
));
650 #include <wx/listctrl.h>
653 static const wxString
wxPyListCtrlNameStr(_T("wxListCtrl"));
654 void wxListItemAttr_Destroy(wxListItemAttr
*self
){ delete self
; }
655 // Python aware sorting function for wxPyListCtrl
656 static int wxCALLBACK
wxPyListCtrl_SortItems(long item1
, long item2
, long funcPtr
) {
658 PyObject
* func
= (PyObject
*)funcPtr
;
659 bool blocked
= wxPyBeginBlockThreads();
661 PyObject
* args
= Py_BuildValue("(ii)", item1
, item2
);
662 PyObject
* result
= PyEval_CallObject(func
, args
);
665 retval
= PyInt_AsLong(result
);
669 wxPyEndBlockThreads(blocked
);
673 // C++ Version of a Python aware class
674 class wxPyListCtrl
: public wxListCtrl
{
675 DECLARE_ABSTRACT_CLASS(wxPyListCtrl
);
677 wxPyListCtrl() : wxListCtrl() {}
678 wxPyListCtrl(wxWindow
* parent
, wxWindowID id
,
682 const wxValidator
& validator
,
683 const wxString
& name
) :
684 wxListCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
686 bool Create(wxWindow
* parent
, wxWindowID id
,
690 const wxValidator
& validator
,
691 const wxString
& name
) {
692 return wxListCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
695 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText
);
696 DEC_PYCALLBACK_INT_LONG(OnGetItemImage
);
697 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr
);
702 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl
, wxListCtrl
);
704 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemText
);
705 IMP_PYCALLBACK_INT_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemImage
);
706 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemAttr
);
708 wxListItem
*wxPyListCtrl_GetColumn(wxPyListCtrl
*self
,int col
){
710 item
.SetMask( wxLIST_MASK_STATE
|
718 if (self
->GetColumn(col
, item
))
719 return new wxListItem(item
);
723 wxListItem
*wxPyListCtrl_GetItem(wxPyListCtrl
*self
,long itemId
,int col
){
724 wxListItem
* info
= new wxListItem
;
725 info
->m_itemId
= itemId
;
727 info
->m_mask
= 0xFFFF;
728 self
->GetItem(*info
);
731 wxPoint
wxPyListCtrl_GetItemPosition(wxPyListCtrl
*self
,long item
){
733 self
->GetItemPosition(item
, pos
);
736 wxRect
wxPyListCtrl_GetItemRect(wxPyListCtrl
*self
,long item
,int code
){
738 self
->GetItemRect(item
, rect
, code
);
741 bool wxPyListCtrl_SortItems(wxPyListCtrl
*self
,PyObject
*func
){
742 if (!PyCallable_Check(func
))
744 return self
->SortItems((wxListCtrlCompare
)wxPyListCtrl_SortItems
, (long)func
);
746 wxWindow
*wxPyListCtrl_GetMainWindow(wxPyListCtrl
*self
){
754 #include <wx/treectrl.h>
755 #include "wx/wxPython/pytree.h"
757 static const wxString
wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
758 bool wxTreeItemId___eq__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
== *other
) : False
; }
759 bool wxTreeItemId___ne__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
!= *other
) : True
; }
760 void wxPyTreeItemData_Destroy(wxPyTreeItemData
*self
){ delete self
; }
761 // C++ version of Python aware wxTreeCtrl
762 class wxPyTreeCtrl
: public wxTreeCtrl
{
763 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl
);
765 wxPyTreeCtrl() : wxTreeCtrl() {}
766 wxPyTreeCtrl(wxWindow
*parent
, wxWindowID id
,
770 const wxValidator
& validator
,
771 const wxString
& name
) :
772 wxTreeCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
774 bool Create(wxWindow
*parent
, wxWindowID id
,
778 const wxValidator
& validator
,
779 const wxString
& name
) {
780 return wxTreeCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
784 int OnCompareItems(const wxTreeItemId
& item1
,
785 const wxTreeItemId
& item2
) {
788 bool blocked
= wxPyBeginBlockThreads();
789 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnCompareItems"))) {
790 PyObject
*o1
= wxPyConstructObject((void*)&item1
, wxT("wxTreeItemId"), False
);
791 PyObject
*o2
= wxPyConstructObject((void*)&item2
, wxT("wxTreeItemId"), False
);
792 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OO)",o1
,o2
));
796 wxPyEndBlockThreads(blocked
);
798 rval
= wxTreeCtrl::OnCompareItems(item1
, item2
);
804 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl
, wxTreeCtrl
);
808 #if UINT_MAX < LONG_MAX
809 #define SWIG_FromUnsignedInt SWIG_FromLong
811 #define SWIG_FromUnsignedInt SWIG_FromUnsignedLong
815 SWIGSTATICINLINE(unsigned long)
816 SWIG_CheckUnsignedLongInRange(unsigned long value
, const char* type
,
817 unsigned long max_value
)
819 if (!PyErr_Occurred()) {
820 if (value
> max_value
) {
822 PyString_FromFormat("value %ld is greater than '%s' minimum %ld",
823 value
, type
, max_value
);
824 PyErr_SetObject(PyExc_OverflowError
, err
);
832 #if UINT_MAX != ULONG_MAX
833 SWIGSTATICINLINE(unsigned int)
834 SWIG_AsUnsignedInt(PyObject
*obj
)
836 return swig_numeric_cast(unsigned int,
837 SWIG_CheckUnsignedLongInRange(SWIG_AsUnsignedLong(obj
),
838 "unsigned int", UINT_MAX
));
841 #define SWIG_AsUnsignedInt SWIG_AsUnsignedLong
845 SWIGSTATICINLINE(int)
846 SWIG_CheckUnsignedInt(PyObject
* obj
)
848 SWIG_AsUnsignedInt(obj
);
849 if (PyErr_Occurred()) {
857 wxPyTreeItemData
*wxPyTreeCtrl_GetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
858 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
860 data
= new wxPyTreeItemData();
861 data
->SetId(item
); // set the id
862 self
->SetItemData(item
, data
);
866 PyObject
*wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
867 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
869 data
= new wxPyTreeItemData();
870 data
->SetId(item
); // set the id
871 self
->SetItemData(item
, data
);
873 return data
->GetData();
875 void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,wxPyTreeItemData
*data
){
876 data
->SetId(item
); // set the id
877 self
->SetItemData(item
, data
);
879 void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,PyObject
*obj
){
880 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
882 data
= new wxPyTreeItemData(obj
);
883 data
->SetId(item
); // set the id
884 self
->SetItemData(item
, data
);
888 PyObject
*wxPyTreeCtrl_GetSelections(wxPyTreeCtrl
*self
){
889 bool blocked
= wxPyBeginBlockThreads();
890 PyObject
* rval
= PyList_New(0);
891 wxArrayTreeItemIds array
;
893 num
= self
->GetSelections(array
);
894 for (x
=0; x
< num
; x
++) {
895 wxTreeItemId
*tii
= new wxTreeItemId(array
.Item(x
));
896 PyObject
* item
= wxPyConstructObject((void*)tii
, wxT("wxTreeItemId"), True
);
897 PyList_Append(rval
, item
);
899 wxPyEndBlockThreads(blocked
);
902 PyObject
*wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
904 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetFirstChild(item
, cookie
));
905 bool blocked
= wxPyBeginBlockThreads();
906 PyObject
* tup
= PyTuple_New(2);
907 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), True
));
908 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
909 wxPyEndBlockThreads(blocked
);
912 PyObject
*wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,void *cookie
){
913 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetNextChild(item
, cookie
));
914 bool blocked
= wxPyBeginBlockThreads();
915 PyObject
* tup
= PyTuple_New(2);
916 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), True
));
917 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
918 wxPyEndBlockThreads(blocked
);
921 PyObject
*wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,bool textOnly
){
923 if (self
->GetBoundingRect(item
, rect
, textOnly
)) {
924 bool blocked
= wxPyBeginBlockThreads();
925 wxRect
* r
= new wxRect(rect
);
926 PyObject
* val
= wxPyConstructObject((void*)r
, wxT("wxRect"), True
);
927 wxPyEndBlockThreads(blocked
);
933 static const wxString
wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr
);
934 // C++ version of Python aware wxControl
935 class wxPyControl
: public wxControl
937 DECLARE_DYNAMIC_CLASS(wxPyControl
)
939 wxPyControl() : wxControl() {}
940 wxPyControl(wxWindow
* parent
, const wxWindowID id
,
941 const wxPoint
& pos
= wxDefaultPosition
,
942 const wxSize
& size
= wxDefaultSize
,
944 const wxValidator
& validator
=wxDefaultValidator
,
945 const wxString
& name
= wxPyControlNameStr
)
946 : wxControl(parent
, id
, pos
, size
, style
, validator
, name
) {}
949 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
950 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
951 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
952 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
954 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
955 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
956 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
958 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
959 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
961 DEC_PYCALLBACK__(InitDialog
);
962 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
963 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
964 DEC_PYCALLBACK_BOOL_(Validate
);
966 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
967 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
968 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
970 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
971 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
973 DEC_PYCALLBACK_BOOL_(ShouldInheritColours
);
974 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground
);
979 IMPLEMENT_DYNAMIC_CLASS(wxPyControl
, wxControl
);
981 IMP_PYCALLBACK_VOID_INT4(wxPyControl
, wxControl
, DoMoveWindow
);
982 IMP_PYCALLBACK_VOID_INT5(wxPyControl
, wxControl
, DoSetSize
);
983 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetClientSize
);
984 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetVirtualSize
);
986 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetSize
);
987 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetClientSize
);
988 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetPosition
);
990 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetVirtualSize
);
991 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetBestSize
);
993 IMP_PYCALLBACK__(wxPyControl
, wxControl
, InitDialog
);
994 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataFromWindow
);
995 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataToWindow
);
996 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, Validate
);
998 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocus
);
999 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocusFromKeyboard
);
1000 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, GetMaxSize
);
1002 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, AddChild
);
1003 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, RemoveChild
);
1005 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, ShouldInheritColours
);
1006 IMP_PYCALLBACK__COLOUR(wxPyControl
, wxControl
, ApplyParentThemeBackground
);
1010 void wxHelpProvider_Destroy(wxHelpProvider
*self
){ delete self
; }
1012 #include <wx/generic/dragimgg.h>
1017 static int _wrap_ButtonNameStr_set(PyObject
*_val
) {
1018 PyErr_SetString(PyExc_TypeError
,"Variable ButtonNameStr is read-only.");
1023 static PyObject
*_wrap_ButtonNameStr_get() {
1028 pyobj
= PyUnicode_FromWideChar((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
1030 pyobj
= PyString_FromStringAndSize((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
1037 static PyObject
*_wrap_new_Button(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1038 PyObject
*resultobj
;
1039 wxWindow
*arg1
= (wxWindow
*) 0 ;
1041 wxString
*arg3
= 0 ;
1042 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1043 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1044 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1045 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1046 long arg6
= (long) 0 ;
1047 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
1048 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
1049 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
1050 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
1052 bool temp3
= False
;
1055 bool temp8
= False
;
1056 PyObject
* obj0
= 0 ;
1057 PyObject
* obj1
= 0 ;
1058 PyObject
* obj2
= 0 ;
1059 PyObject
* obj3
= 0 ;
1060 PyObject
* obj4
= 0 ;
1061 PyObject
* obj5
= 0 ;
1062 PyObject
* obj6
= 0 ;
1063 PyObject
* obj7
= 0 ;
1065 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_Button",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1069 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1071 arg2
= (int) SWIG_AsInt(obj1
);
1072 if (PyErr_Occurred()) SWIG_fail
;
1074 arg3
= wxString_in_helper(obj2
);
1075 if (arg3
== NULL
) SWIG_fail
;
1081 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1087 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1091 arg6
= (long) SWIG_AsLong(obj5
);
1092 if (PyErr_Occurred()) SWIG_fail
;
1095 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
1096 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1099 PyErr_SetString(PyExc_TypeError
,"null reference");
1105 arg8
= wxString_in_helper(obj7
);
1106 if (arg8
== NULL
) SWIG_fail
;
1111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1112 result
= (wxButton
*)new wxButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
1114 wxPyEndAllowThreads(__tstate
);
1115 if (PyErr_Occurred()) SWIG_fail
;
1118 resultobj
= wxPyMake_wxObject(result
);
1142 static PyObject
*_wrap_new_PreButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1143 PyObject
*resultobj
;
1149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreButton",kwnames
)) goto fail
;
1151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1152 result
= (wxButton
*)new wxButton();
1154 wxPyEndAllowThreads(__tstate
);
1155 if (PyErr_Occurred()) SWIG_fail
;
1158 resultobj
= wxPyMake_wxObject(result
);
1166 static PyObject
*_wrap_Button_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1167 PyObject
*resultobj
;
1168 wxButton
*arg1
= (wxButton
*) 0 ;
1169 wxWindow
*arg2
= (wxWindow
*) 0 ;
1171 wxString
*arg4
= 0 ;
1172 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
1173 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
1174 wxSize
const &arg6_defvalue
= wxDefaultSize
;
1175 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
1176 long arg7
= (long) 0 ;
1177 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
1178 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
1179 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
1180 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
1182 bool temp4
= False
;
1185 bool temp9
= False
;
1186 PyObject
* obj0
= 0 ;
1187 PyObject
* obj1
= 0 ;
1188 PyObject
* obj2
= 0 ;
1189 PyObject
* obj3
= 0 ;
1190 PyObject
* obj4
= 0 ;
1191 PyObject
* obj5
= 0 ;
1192 PyObject
* obj6
= 0 ;
1193 PyObject
* obj7
= 0 ;
1194 PyObject
* obj8
= 0 ;
1196 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:Button_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
1200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxButton
,
1201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1202 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1204 arg3
= (int) SWIG_AsInt(obj2
);
1205 if (PyErr_Occurred()) SWIG_fail
;
1207 arg4
= wxString_in_helper(obj3
);
1208 if (arg4
== NULL
) SWIG_fail
;
1214 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
1220 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
1224 arg7
= (long) SWIG_AsLong(obj6
);
1225 if (PyErr_Occurred()) SWIG_fail
;
1228 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
1229 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1232 PyErr_SetString(PyExc_TypeError
,"null reference");
1238 arg9
= wxString_in_helper(obj8
);
1239 if (arg9
== NULL
) SWIG_fail
;
1244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1245 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
1247 wxPyEndAllowThreads(__tstate
);
1248 if (PyErr_Occurred()) SWIG_fail
;
1251 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1275 static PyObject
*_wrap_Button_SetDefault(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1276 PyObject
*resultobj
;
1277 wxButton
*arg1
= (wxButton
*) 0 ;
1278 PyObject
* obj0
= 0 ;
1280 (char *) "self", NULL
1283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Button_SetDefault",kwnames
,&obj0
)) goto fail
;
1284 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxButton
,
1285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1288 (arg1
)->SetDefault();
1290 wxPyEndAllowThreads(__tstate
);
1291 if (PyErr_Occurred()) SWIG_fail
;
1293 Py_INCREF(Py_None
); resultobj
= Py_None
;
1300 static PyObject
*_wrap_Button_GetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1301 PyObject
*resultobj
;
1307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Button_GetDefaultSize",kwnames
)) goto fail
;
1309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1310 result
= wxButton::GetDefaultSize();
1312 wxPyEndAllowThreads(__tstate
);
1313 if (PyErr_Occurred()) SWIG_fail
;
1317 resultptr
= new wxSize((wxSize
&) result
);
1318 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
1326 static PyObject
* Button_swigregister(PyObject
*self
, PyObject
*args
) {
1328 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1329 SWIG_TypeClientData(SWIGTYPE_p_wxButton
, obj
);
1331 return Py_BuildValue((char *)"");
1333 static PyObject
*_wrap_new_BitmapButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1334 PyObject
*resultobj
;
1335 wxWindow
*arg1
= (wxWindow
*) 0 ;
1337 wxBitmap
*arg3
= 0 ;
1338 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1339 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1340 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1341 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1342 long arg6
= (long) wxBU_AUTODRAW
;
1343 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
1344 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
1345 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
1346 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
1347 wxBitmapButton
*result
;
1350 bool temp8
= False
;
1351 PyObject
* obj0
= 0 ;
1352 PyObject
* obj1
= 0 ;
1353 PyObject
* obj2
= 0 ;
1354 PyObject
* obj3
= 0 ;
1355 PyObject
* obj4
= 0 ;
1356 PyObject
* obj5
= 0 ;
1357 PyObject
* obj6
= 0 ;
1358 PyObject
* obj7
= 0 ;
1360 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_BitmapButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1366 arg2
= (int) SWIG_AsInt(obj1
);
1367 if (PyErr_Occurred()) SWIG_fail
;
1368 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
1369 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1372 PyErr_SetString(PyExc_TypeError
,"null reference");
1378 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1384 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1388 arg6
= (long) SWIG_AsLong(obj5
);
1389 if (PyErr_Occurred()) SWIG_fail
;
1392 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
1393 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1396 PyErr_SetString(PyExc_TypeError
,"null reference");
1402 arg8
= wxString_in_helper(obj7
);
1403 if (arg8
== NULL
) SWIG_fail
;
1408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1409 result
= (wxBitmapButton
*)new wxBitmapButton(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
1411 wxPyEndAllowThreads(__tstate
);
1412 if (PyErr_Occurred()) SWIG_fail
;
1415 resultobj
= wxPyMake_wxObject(result
);
1431 static PyObject
*_wrap_new_PreBitmapButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1432 PyObject
*resultobj
;
1433 wxBitmapButton
*result
;
1438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreBitmapButton",kwnames
)) goto fail
;
1440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1441 result
= (wxBitmapButton
*)new wxBitmapButton();
1443 wxPyEndAllowThreads(__tstate
);
1444 if (PyErr_Occurred()) SWIG_fail
;
1447 resultobj
= wxPyMake_wxObject(result
);
1455 static PyObject
*_wrap_BitmapButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1456 PyObject
*resultobj
;
1457 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1458 wxWindow
*arg2
= (wxWindow
*) 0 ;
1460 wxBitmap
*arg4
= 0 ;
1461 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
1462 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
1463 wxSize
const &arg6_defvalue
= wxDefaultSize
;
1464 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
1465 long arg7
= (long) wxBU_AUTODRAW
;
1466 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
1467 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
1468 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
1469 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
1473 bool temp9
= False
;
1474 PyObject
* obj0
= 0 ;
1475 PyObject
* obj1
= 0 ;
1476 PyObject
* obj2
= 0 ;
1477 PyObject
* obj3
= 0 ;
1478 PyObject
* obj4
= 0 ;
1479 PyObject
* obj5
= 0 ;
1480 PyObject
* obj6
= 0 ;
1481 PyObject
* obj7
= 0 ;
1482 PyObject
* obj8
= 0 ;
1484 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:BitmapButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
1488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1490 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1492 arg3
= (int) SWIG_AsInt(obj2
);
1493 if (PyErr_Occurred()) SWIG_fail
;
1494 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
1495 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1498 PyErr_SetString(PyExc_TypeError
,"null reference");
1504 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
1510 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
1514 arg7
= (long) SWIG_AsLong(obj6
);
1515 if (PyErr_Occurred()) SWIG_fail
;
1518 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
1519 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1522 PyErr_SetString(PyExc_TypeError
,"null reference");
1528 arg9
= wxString_in_helper(obj8
);
1529 if (arg9
== NULL
) SWIG_fail
;
1534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1535 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
1537 wxPyEndAllowThreads(__tstate
);
1538 if (PyErr_Occurred()) SWIG_fail
;
1541 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1557 static PyObject
*_wrap_BitmapButton_GetBitmapLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1558 PyObject
*resultobj
;
1559 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1561 PyObject
* obj0
= 0 ;
1563 (char *) "self", NULL
1566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapLabel",kwnames
,&obj0
)) goto fail
;
1567 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1568 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1571 result
= (arg1
)->GetBitmapLabel();
1573 wxPyEndAllowThreads(__tstate
);
1574 if (PyErr_Occurred()) SWIG_fail
;
1577 wxBitmap
* resultptr
;
1578 resultptr
= new wxBitmap((wxBitmap
&) result
);
1579 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1587 static PyObject
*_wrap_BitmapButton_GetBitmapDisabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1588 PyObject
*resultobj
;
1589 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1591 PyObject
* obj0
= 0 ;
1593 (char *) "self", NULL
1596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapDisabled",kwnames
,&obj0
)) goto fail
;
1597 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1601 result
= (arg1
)->GetBitmapDisabled();
1603 wxPyEndAllowThreads(__tstate
);
1604 if (PyErr_Occurred()) SWIG_fail
;
1607 wxBitmap
* resultptr
;
1608 resultptr
= new wxBitmap((wxBitmap
&) result
);
1609 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1617 static PyObject
*_wrap_BitmapButton_GetBitmapFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1618 PyObject
*resultobj
;
1619 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1621 PyObject
* obj0
= 0 ;
1623 (char *) "self", NULL
1626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapFocus",kwnames
,&obj0
)) goto fail
;
1627 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1628 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1631 result
= (arg1
)->GetBitmapFocus();
1633 wxPyEndAllowThreads(__tstate
);
1634 if (PyErr_Occurred()) SWIG_fail
;
1637 wxBitmap
* resultptr
;
1638 resultptr
= new wxBitmap((wxBitmap
&) result
);
1639 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1647 static PyObject
*_wrap_BitmapButton_GetBitmapSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1648 PyObject
*resultobj
;
1649 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1651 PyObject
* obj0
= 0 ;
1653 (char *) "self", NULL
1656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapSelected",kwnames
,&obj0
)) goto fail
;
1657 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1661 result
= (arg1
)->GetBitmapSelected();
1663 wxPyEndAllowThreads(__tstate
);
1664 if (PyErr_Occurred()) SWIG_fail
;
1667 wxBitmap
* resultptr
;
1668 resultptr
= new wxBitmap((wxBitmap
&) result
);
1669 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1677 static PyObject
*_wrap_BitmapButton_SetBitmapDisabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1678 PyObject
*resultobj
;
1679 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1680 wxBitmap
*arg2
= 0 ;
1681 PyObject
* obj0
= 0 ;
1682 PyObject
* obj1
= 0 ;
1684 (char *) "self",(char *) "bitmap", NULL
1687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames
,&obj0
,&obj1
)) goto fail
;
1688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1690 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1691 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1694 PyErr_SetString(PyExc_TypeError
,"null reference");
1698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1699 (arg1
)->SetBitmapDisabled((wxBitmap
const &)*arg2
);
1701 wxPyEndAllowThreads(__tstate
);
1702 if (PyErr_Occurred()) SWIG_fail
;
1704 Py_INCREF(Py_None
); resultobj
= Py_None
;
1711 static PyObject
*_wrap_BitmapButton_SetBitmapFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1712 PyObject
*resultobj
;
1713 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1714 wxBitmap
*arg2
= 0 ;
1715 PyObject
* obj0
= 0 ;
1716 PyObject
* obj1
= 0 ;
1718 (char *) "self",(char *) "bitmap", NULL
1721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
1722 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1724 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1725 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1728 PyErr_SetString(PyExc_TypeError
,"null reference");
1732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1733 (arg1
)->SetBitmapFocus((wxBitmap
const &)*arg2
);
1735 wxPyEndAllowThreads(__tstate
);
1736 if (PyErr_Occurred()) SWIG_fail
;
1738 Py_INCREF(Py_None
); resultobj
= Py_None
;
1745 static PyObject
*_wrap_BitmapButton_SetBitmapSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1746 PyObject
*resultobj
;
1747 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1748 wxBitmap
*arg2
= 0 ;
1749 PyObject
* obj0
= 0 ;
1750 PyObject
* obj1
= 0 ;
1752 (char *) "self",(char *) "bitmap", NULL
1755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
1756 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1758 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1759 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1762 PyErr_SetString(PyExc_TypeError
,"null reference");
1766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1767 (arg1
)->SetBitmapSelected((wxBitmap
const &)*arg2
);
1769 wxPyEndAllowThreads(__tstate
);
1770 if (PyErr_Occurred()) SWIG_fail
;
1772 Py_INCREF(Py_None
); resultobj
= Py_None
;
1779 static PyObject
*_wrap_BitmapButton_SetBitmapLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1780 PyObject
*resultobj
;
1781 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1782 wxBitmap
*arg2
= 0 ;
1783 PyObject
* obj0
= 0 ;
1784 PyObject
* obj1
= 0 ;
1786 (char *) "self",(char *) "bitmap", NULL
1789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
1790 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1792 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1793 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1796 PyErr_SetString(PyExc_TypeError
,"null reference");
1800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1801 (arg1
)->SetBitmapLabel((wxBitmap
const &)*arg2
);
1803 wxPyEndAllowThreads(__tstate
);
1804 if (PyErr_Occurred()) SWIG_fail
;
1806 Py_INCREF(Py_None
); resultobj
= Py_None
;
1813 static PyObject
*_wrap_BitmapButton_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1814 PyObject
*resultobj
;
1815 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1818 PyObject
* obj0
= 0 ;
1819 PyObject
* obj1
= 0 ;
1820 PyObject
* obj2
= 0 ;
1822 (char *) "self",(char *) "x",(char *) "y", NULL
1825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BitmapButton_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1826 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1828 arg2
= (int) SWIG_AsInt(obj1
);
1829 if (PyErr_Occurred()) SWIG_fail
;
1830 arg3
= (int) SWIG_AsInt(obj2
);
1831 if (PyErr_Occurred()) SWIG_fail
;
1833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1834 (arg1
)->SetMargins(arg2
,arg3
);
1836 wxPyEndAllowThreads(__tstate
);
1837 if (PyErr_Occurred()) SWIG_fail
;
1839 Py_INCREF(Py_None
); resultobj
= Py_None
;
1846 static PyObject
*_wrap_BitmapButton_GetMarginX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1847 PyObject
*resultobj
;
1848 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1850 PyObject
* obj0
= 0 ;
1852 (char *) "self", NULL
1855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginX",kwnames
,&obj0
)) goto fail
;
1856 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1860 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginX();
1862 wxPyEndAllowThreads(__tstate
);
1863 if (PyErr_Occurred()) SWIG_fail
;
1865 resultobj
= SWIG_FromInt((int)result
);
1872 static PyObject
*_wrap_BitmapButton_GetMarginY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1873 PyObject
*resultobj
;
1874 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1876 PyObject
* obj0
= 0 ;
1878 (char *) "self", NULL
1881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginY",kwnames
,&obj0
)) goto fail
;
1882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1886 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginY();
1888 wxPyEndAllowThreads(__tstate
);
1889 if (PyErr_Occurred()) SWIG_fail
;
1891 resultobj
= SWIG_FromInt((int)result
);
1898 static PyObject
* BitmapButton_swigregister(PyObject
*self
, PyObject
*args
) {
1900 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1901 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapButton
, obj
);
1903 return Py_BuildValue((char *)"");
1905 static int _wrap_CheckBoxNameStr_set(PyObject
*_val
) {
1906 PyErr_SetString(PyExc_TypeError
,"Variable CheckBoxNameStr is read-only.");
1911 static PyObject
*_wrap_CheckBoxNameStr_get() {
1916 pyobj
= PyUnicode_FromWideChar((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
1918 pyobj
= PyString_FromStringAndSize((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
1925 static PyObject
*_wrap_new_CheckBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1926 PyObject
*resultobj
;
1927 wxWindow
*arg1
= (wxWindow
*) 0 ;
1929 wxString
*arg3
= 0 ;
1930 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1931 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1932 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1933 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1934 long arg6
= (long) 0 ;
1935 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
1936 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
1937 wxString
const &arg8_defvalue
= wxPyCheckBoxNameStr
;
1938 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
1940 bool temp3
= False
;
1943 bool temp8
= False
;
1944 PyObject
* obj0
= 0 ;
1945 PyObject
* obj1
= 0 ;
1946 PyObject
* obj2
= 0 ;
1947 PyObject
* obj3
= 0 ;
1948 PyObject
* obj4
= 0 ;
1949 PyObject
* obj5
= 0 ;
1950 PyObject
* obj6
= 0 ;
1951 PyObject
* obj7
= 0 ;
1953 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_CheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1957 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1959 arg2
= (int) SWIG_AsInt(obj1
);
1960 if (PyErr_Occurred()) SWIG_fail
;
1962 arg3
= wxString_in_helper(obj2
);
1963 if (arg3
== NULL
) SWIG_fail
;
1969 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1975 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1979 arg6
= (long) SWIG_AsLong(obj5
);
1980 if (PyErr_Occurred()) SWIG_fail
;
1983 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
1984 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1987 PyErr_SetString(PyExc_TypeError
,"null reference");
1993 arg8
= wxString_in_helper(obj7
);
1994 if (arg8
== NULL
) SWIG_fail
;
1999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2000 result
= (wxCheckBox
*)new wxCheckBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
2002 wxPyEndAllowThreads(__tstate
);
2003 if (PyErr_Occurred()) SWIG_fail
;
2005 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckBox
, 1);
2028 static PyObject
*_wrap_new_PreCheckBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2029 PyObject
*resultobj
;
2035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckBox",kwnames
)) goto fail
;
2037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2038 result
= (wxCheckBox
*)new wxCheckBox();
2040 wxPyEndAllowThreads(__tstate
);
2041 if (PyErr_Occurred()) SWIG_fail
;
2043 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckBox
, 1);
2050 static PyObject
*_wrap_CheckBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2051 PyObject
*resultobj
;
2052 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2053 wxWindow
*arg2
= (wxWindow
*) 0 ;
2055 wxString
*arg4
= 0 ;
2056 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
2057 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
2058 wxSize
const &arg6_defvalue
= wxDefaultSize
;
2059 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
2060 long arg7
= (long) 0 ;
2061 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2062 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2063 wxString
const &arg9_defvalue
= wxPyCheckBoxNameStr
;
2064 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2066 bool temp4
= False
;
2069 bool temp9
= False
;
2070 PyObject
* obj0
= 0 ;
2071 PyObject
* obj1
= 0 ;
2072 PyObject
* obj2
= 0 ;
2073 PyObject
* obj3
= 0 ;
2074 PyObject
* obj4
= 0 ;
2075 PyObject
* obj5
= 0 ;
2076 PyObject
* obj6
= 0 ;
2077 PyObject
* obj7
= 0 ;
2078 PyObject
* obj8
= 0 ;
2080 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:CheckBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2084 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2085 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2086 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
2087 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2088 arg3
= (int) SWIG_AsInt(obj2
);
2089 if (PyErr_Occurred()) SWIG_fail
;
2091 arg4
= wxString_in_helper(obj3
);
2092 if (arg4
== NULL
) SWIG_fail
;
2098 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
2104 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
2108 arg7
= (long) SWIG_AsLong(obj6
);
2109 if (PyErr_Occurred()) SWIG_fail
;
2112 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
2113 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2116 PyErr_SetString(PyExc_TypeError
,"null reference");
2122 arg9
= wxString_in_helper(obj8
);
2123 if (arg9
== NULL
) SWIG_fail
;
2128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2129 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
2131 wxPyEndAllowThreads(__tstate
);
2132 if (PyErr_Occurred()) SWIG_fail
;
2135 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2159 static PyObject
*_wrap_CheckBox_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2160 PyObject
*resultobj
;
2161 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2163 PyObject
* obj0
= 0 ;
2165 (char *) "self", NULL
2168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_GetValue",kwnames
,&obj0
)) goto fail
;
2169 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2173 result
= (bool)(arg1
)->GetValue();
2175 wxPyEndAllowThreads(__tstate
);
2176 if (PyErr_Occurred()) SWIG_fail
;
2179 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2187 static PyObject
*_wrap_CheckBox_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2188 PyObject
*resultobj
;
2189 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2191 PyObject
* obj0
= 0 ;
2193 (char *) "self", NULL
2196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_IsChecked",kwnames
,&obj0
)) goto fail
;
2197 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2201 result
= (bool)(arg1
)->IsChecked();
2203 wxPyEndAllowThreads(__tstate
);
2204 if (PyErr_Occurred()) SWIG_fail
;
2207 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2215 static PyObject
*_wrap_CheckBox_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2216 PyObject
*resultobj
;
2217 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2219 PyObject
* obj0
= 0 ;
2220 PyObject
* obj1
= 0 ;
2222 (char *) "self",(char *) "state", NULL
2225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
2226 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2228 arg2
= (bool const) SWIG_AsBool(obj1
);
2229 if (PyErr_Occurred()) SWIG_fail
;
2231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2232 (arg1
)->SetValue(arg2
);
2234 wxPyEndAllowThreads(__tstate
);
2235 if (PyErr_Occurred()) SWIG_fail
;
2237 Py_INCREF(Py_None
); resultobj
= Py_None
;
2244 static PyObject
*_wrap_CheckBox_Get3StateValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2245 PyObject
*resultobj
;
2246 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2248 PyObject
* obj0
= 0 ;
2250 (char *) "self", NULL
2253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Get3StateValue",kwnames
,&obj0
)) goto fail
;
2254 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2258 result
= (int)((wxCheckBox
const *)arg1
)->Get3StateValue();
2260 wxPyEndAllowThreads(__tstate
);
2261 if (PyErr_Occurred()) SWIG_fail
;
2263 resultobj
= SWIG_FromInt((int)result
);
2270 static PyObject
*_wrap_CheckBox_Set3StateValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2271 PyObject
*resultobj
;
2272 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2274 PyObject
* obj0
= 0 ;
2275 PyObject
* obj1
= 0 ;
2277 (char *) "self",(char *) "state", NULL
2280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_Set3StateValue",kwnames
,&obj0
,&obj1
)) goto fail
;
2281 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2283 arg2
= (wxCheckBoxState
) SWIG_AsInt(obj1
);
2284 if (PyErr_Occurred()) SWIG_fail
;
2286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2287 (arg1
)->Set3StateValue((wxCheckBoxState
)arg2
);
2289 wxPyEndAllowThreads(__tstate
);
2290 if (PyErr_Occurred()) SWIG_fail
;
2292 Py_INCREF(Py_None
); resultobj
= Py_None
;
2299 static PyObject
*_wrap_CheckBox_Is3State(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2300 PyObject
*resultobj
;
2301 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2303 PyObject
* obj0
= 0 ;
2305 (char *) "self", NULL
2308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3State",kwnames
,&obj0
)) goto fail
;
2309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2313 result
= (bool)((wxCheckBox
const *)arg1
)->Is3State();
2315 wxPyEndAllowThreads(__tstate
);
2316 if (PyErr_Occurred()) SWIG_fail
;
2319 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2327 static PyObject
*_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2328 PyObject
*resultobj
;
2329 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2331 PyObject
* obj0
= 0 ;
2333 (char *) "self", NULL
2336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3rdStateAllowedForUser",kwnames
,&obj0
)) goto fail
;
2337 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2341 result
= (bool)((wxCheckBox
const *)arg1
)->Is3rdStateAllowedForUser();
2343 wxPyEndAllowThreads(__tstate
);
2344 if (PyErr_Occurred()) SWIG_fail
;
2347 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2355 static PyObject
* CheckBox_swigregister(PyObject
*self
, PyObject
*args
) {
2357 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2358 SWIG_TypeClientData(SWIGTYPE_p_wxCheckBox
, obj
);
2360 return Py_BuildValue((char *)"");
2362 static int _wrap_ChoiceNameStr_set(PyObject
*_val
) {
2363 PyErr_SetString(PyExc_TypeError
,"Variable ChoiceNameStr is read-only.");
2368 static PyObject
*_wrap_ChoiceNameStr_get() {
2373 pyobj
= PyUnicode_FromWideChar((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
2375 pyobj
= PyString_FromStringAndSize((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
2382 static PyObject
*_wrap_new_Choice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2383 PyObject
*resultobj
;
2384 wxWindow
*arg1
= (wxWindow
*) 0 ;
2386 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
2387 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
2388 wxSize
const &arg4_defvalue
= wxDefaultSize
;
2389 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
2390 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
2391 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
2392 long arg6
= (long) 0 ;
2393 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
2394 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
2395 wxString
const &arg8_defvalue
= wxPyChoiceNameStr
;
2396 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
2400 bool temp5
= False
;
2401 bool temp8
= False
;
2402 PyObject
* obj0
= 0 ;
2403 PyObject
* obj1
= 0 ;
2404 PyObject
* obj2
= 0 ;
2405 PyObject
* obj3
= 0 ;
2406 PyObject
* obj4
= 0 ;
2407 PyObject
* obj5
= 0 ;
2408 PyObject
* obj6
= 0 ;
2409 PyObject
* obj7
= 0 ;
2411 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:new_Choice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
2415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
2416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2417 arg2
= (int) SWIG_AsInt(obj1
);
2418 if (PyErr_Occurred()) SWIG_fail
;
2422 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
2428 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
2433 if (! PySequence_Check(obj4
)) {
2434 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
2437 arg5
= new wxArrayString
;
2439 int i
, len
=PySequence_Length(obj4
);
2440 for (i
=0; i
<len
; i
++) {
2441 PyObject
* item
= PySequence_GetItem(obj4
, i
);
2443 PyObject
* str
= PyObject_Unicode(item
);
2445 PyObject
* str
= PyObject_Str(item
);
2447 if (PyErr_Occurred()) SWIG_fail
;
2448 arg5
->Add(Py2wxString(str
));
2455 arg6
= (long) SWIG_AsLong(obj5
);
2456 if (PyErr_Occurred()) SWIG_fail
;
2459 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
2460 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2463 PyErr_SetString(PyExc_TypeError
,"null reference");
2469 arg8
= wxString_in_helper(obj7
);
2470 if (arg8
== NULL
) SWIG_fail
;
2475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2476 result
= (wxChoice
*)new wxChoice(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
2478 wxPyEndAllowThreads(__tstate
);
2479 if (PyErr_Occurred()) SWIG_fail
;
2481 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoice
, 1);
2483 if (temp5
) delete arg5
;
2492 if (temp5
) delete arg5
;
2502 static PyObject
*_wrap_new_PreChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2503 PyObject
*resultobj
;
2509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreChoice",kwnames
)) goto fail
;
2511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2512 result
= (wxChoice
*)new wxChoice();
2514 wxPyEndAllowThreads(__tstate
);
2515 if (PyErr_Occurred()) SWIG_fail
;
2517 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoice
, 1);
2524 static PyObject
*_wrap_Choice_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2525 PyObject
*resultobj
;
2526 wxChoice
*arg1
= (wxChoice
*) 0 ;
2527 wxWindow
*arg2
= (wxWindow
*) 0 ;
2529 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2530 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2531 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2532 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2533 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
2534 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
2535 long arg7
= (long) 0 ;
2536 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2537 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2538 wxString
const &arg9_defvalue
= wxPyChoiceNameStr
;
2539 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2543 bool temp6
= False
;
2544 bool temp9
= False
;
2545 PyObject
* obj0
= 0 ;
2546 PyObject
* obj1
= 0 ;
2547 PyObject
* obj2
= 0 ;
2548 PyObject
* obj3
= 0 ;
2549 PyObject
* obj4
= 0 ;
2550 PyObject
* obj5
= 0 ;
2551 PyObject
* obj6
= 0 ;
2552 PyObject
* obj7
= 0 ;
2553 PyObject
* obj8
= 0 ;
2555 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:Choice_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2559 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2560 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2561 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
2562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2563 arg3
= (int) SWIG_AsInt(obj2
);
2564 if (PyErr_Occurred()) SWIG_fail
;
2568 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2574 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2579 if (! PySequence_Check(obj5
)) {
2580 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
2583 arg6
= new wxArrayString
;
2585 int i
, len
=PySequence_Length(obj5
);
2586 for (i
=0; i
<len
; i
++) {
2587 PyObject
* item
= PySequence_GetItem(obj5
, i
);
2589 PyObject
* str
= PyObject_Unicode(item
);
2591 PyObject
* str
= PyObject_Str(item
);
2593 if (PyErr_Occurred()) SWIG_fail
;
2594 arg6
->Add(Py2wxString(str
));
2601 arg7
= (long) SWIG_AsLong(obj6
);
2602 if (PyErr_Occurred()) SWIG_fail
;
2605 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
2606 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2609 PyErr_SetString(PyExc_TypeError
,"null reference");
2615 arg9
= wxString_in_helper(obj8
);
2616 if (arg9
== NULL
) SWIG_fail
;
2621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2622 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
2624 wxPyEndAllowThreads(__tstate
);
2625 if (PyErr_Occurred()) SWIG_fail
;
2628 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2631 if (temp6
) delete arg6
;
2640 if (temp6
) delete arg6
;
2650 static PyObject
*_wrap_Choice_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2651 PyObject
*resultobj
;
2652 wxChoice
*arg1
= (wxChoice
*) 0 ;
2654 PyObject
* obj0
= 0 ;
2655 PyObject
* obj1
= 0 ;
2657 (char *) "self",(char *) "n", NULL
2660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Choice_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
2661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2663 arg2
= (int const) SWIG_AsInt(obj1
);
2664 if (PyErr_Occurred()) SWIG_fail
;
2666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2667 (arg1
)->SetSelection(arg2
);
2669 wxPyEndAllowThreads(__tstate
);
2670 if (PyErr_Occurred()) SWIG_fail
;
2672 Py_INCREF(Py_None
); resultobj
= Py_None
;
2679 static PyObject
*_wrap_Choice_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2680 PyObject
*resultobj
;
2681 wxChoice
*arg1
= (wxChoice
*) 0 ;
2682 wxString
*arg2
= 0 ;
2683 bool temp2
= False
;
2684 PyObject
* obj0
= 0 ;
2685 PyObject
* obj1
= 0 ;
2687 (char *) "self",(char *) "string", NULL
2690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Choice_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
2691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2694 arg2
= wxString_in_helper(obj1
);
2695 if (arg2
== NULL
) SWIG_fail
;
2699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2700 (arg1
)->SetStringSelection((wxString
const &)*arg2
);
2702 wxPyEndAllowThreads(__tstate
);
2703 if (PyErr_Occurred()) SWIG_fail
;
2705 Py_INCREF(Py_None
); resultobj
= Py_None
;
2720 static PyObject
*_wrap_Choice_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2721 PyObject
*resultobj
;
2722 wxChoice
*arg1
= (wxChoice
*) 0 ;
2724 wxString
*arg3
= 0 ;
2725 bool temp3
= False
;
2726 PyObject
* obj0
= 0 ;
2727 PyObject
* obj1
= 0 ;
2728 PyObject
* obj2
= 0 ;
2730 (char *) "self",(char *) "n",(char *) "string", NULL
2733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Choice_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2736 arg2
= (int) SWIG_AsInt(obj1
);
2737 if (PyErr_Occurred()) SWIG_fail
;
2739 arg3
= wxString_in_helper(obj2
);
2740 if (arg3
== NULL
) SWIG_fail
;
2744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2745 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
2747 wxPyEndAllowThreads(__tstate
);
2748 if (PyErr_Occurred()) SWIG_fail
;
2750 Py_INCREF(Py_None
); resultobj
= Py_None
;
2765 static PyObject
* Choice_swigregister(PyObject
*self
, PyObject
*args
) {
2767 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2768 SWIG_TypeClientData(SWIGTYPE_p_wxChoice
, obj
);
2770 return Py_BuildValue((char *)"");
2772 static int _wrap_ComboBoxNameStr_set(PyObject
*_val
) {
2773 PyErr_SetString(PyExc_TypeError
,"Variable ComboBoxNameStr is read-only.");
2778 static PyObject
*_wrap_ComboBoxNameStr_get() {
2783 pyobj
= PyUnicode_FromWideChar((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
2785 pyobj
= PyString_FromStringAndSize((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
2792 static PyObject
*_wrap_new_ComboBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2793 PyObject
*resultobj
;
2794 wxWindow
*arg1
= (wxWindow
*) 0 ;
2796 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2797 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2798 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2799 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2800 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2801 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2802 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
2803 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
2804 long arg7
= (long) 0 ;
2805 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2806 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2807 wxString
const &arg9_defvalue
= wxPyComboBoxNameStr
;
2808 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2810 bool temp3
= False
;
2813 bool temp6
= False
;
2814 bool temp9
= False
;
2815 PyObject
* obj0
= 0 ;
2816 PyObject
* obj1
= 0 ;
2817 PyObject
* obj2
= 0 ;
2818 PyObject
* obj3
= 0 ;
2819 PyObject
* obj4
= 0 ;
2820 PyObject
* obj5
= 0 ;
2821 PyObject
* obj6
= 0 ;
2822 PyObject
* obj7
= 0 ;
2823 PyObject
* obj8
= 0 ;
2825 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:new_ComboBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
2830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2831 arg2
= (int) SWIG_AsInt(obj1
);
2832 if (PyErr_Occurred()) SWIG_fail
;
2835 arg3
= wxString_in_helper(obj2
);
2836 if (arg3
== NULL
) SWIG_fail
;
2843 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2849 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2854 if (! PySequence_Check(obj5
)) {
2855 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
2858 arg6
= new wxArrayString
;
2860 int i
, len
=PySequence_Length(obj5
);
2861 for (i
=0; i
<len
; i
++) {
2862 PyObject
* item
= PySequence_GetItem(obj5
, i
);
2864 PyObject
* str
= PyObject_Unicode(item
);
2866 PyObject
* str
= PyObject_Str(item
);
2868 if (PyErr_Occurred()) SWIG_fail
;
2869 arg6
->Add(Py2wxString(str
));
2876 arg7
= (long) SWIG_AsLong(obj6
);
2877 if (PyErr_Occurred()) SWIG_fail
;
2880 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
2881 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2884 PyErr_SetString(PyExc_TypeError
,"null reference");
2890 arg9
= wxString_in_helper(obj8
);
2891 if (arg9
== NULL
) SWIG_fail
;
2896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2897 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
);
2899 wxPyEndAllowThreads(__tstate
);
2900 if (PyErr_Occurred()) SWIG_fail
;
2902 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxComboBox
, 1);
2908 if (temp6
) delete arg6
;
2921 if (temp6
) delete arg6
;
2931 static PyObject
*_wrap_new_PreComboBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2932 PyObject
*resultobj
;
2938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreComboBox",kwnames
)) goto fail
;
2940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2941 result
= (wxComboBox
*)new wxComboBox();
2943 wxPyEndAllowThreads(__tstate
);
2944 if (PyErr_Occurred()) SWIG_fail
;
2946 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxComboBox
, 1);
2953 static PyObject
*_wrap_ComboBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2954 PyObject
*resultobj
;
2955 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2956 wxWindow
*arg2
= (wxWindow
*) 0 ;
2958 wxString
const &arg4_defvalue
= wxPyEmptyString
;
2959 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
2960 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
2961 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
2962 wxSize
const &arg6_defvalue
= wxDefaultSize
;
2963 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
2964 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
2965 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
2966 long arg8
= (long) 0 ;
2967 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
2968 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
2969 wxString
const &arg10_defvalue
= wxPyChoiceNameStr
;
2970 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
2972 bool temp4
= False
;
2975 bool temp7
= False
;
2976 bool temp10
= False
;
2977 PyObject
* obj0
= 0 ;
2978 PyObject
* obj1
= 0 ;
2979 PyObject
* obj2
= 0 ;
2980 PyObject
* obj3
= 0 ;
2981 PyObject
* obj4
= 0 ;
2982 PyObject
* obj5
= 0 ;
2983 PyObject
* obj6
= 0 ;
2984 PyObject
* obj7
= 0 ;
2985 PyObject
* obj8
= 0 ;
2986 PyObject
* obj9
= 0 ;
2988 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOOO:ComboBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
2992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
2993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2994 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
2995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2996 arg3
= (int) SWIG_AsInt(obj2
);
2997 if (PyErr_Occurred()) SWIG_fail
;
3000 arg4
= wxString_in_helper(obj3
);
3001 if (arg4
== NULL
) SWIG_fail
;
3008 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3014 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3019 if (! PySequence_Check(obj6
)) {
3020 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
3023 arg7
= new wxArrayString
;
3025 int i
, len
=PySequence_Length(obj6
);
3026 for (i
=0; i
<len
; i
++) {
3027 PyObject
* item
= PySequence_GetItem(obj6
, i
);
3029 PyObject
* str
= PyObject_Unicode(item
);
3031 PyObject
* str
= PyObject_Str(item
);
3033 if (PyErr_Occurred()) SWIG_fail
;
3034 arg7
->Add(Py2wxString(str
));
3041 arg8
= (long) SWIG_AsLong(obj7
);
3042 if (PyErr_Occurred()) SWIG_fail
;
3045 if ((SWIG_ConvertPtr(obj8
,(void **)(&arg9
),SWIGTYPE_p_wxValidator
,
3046 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3049 PyErr_SetString(PyExc_TypeError
,"null reference");
3055 arg10
= wxString_in_helper(obj9
);
3056 if (arg10
== NULL
) SWIG_fail
;
3061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3062 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
);
3064 wxPyEndAllowThreads(__tstate
);
3065 if (PyErr_Occurred()) SWIG_fail
;
3068 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3075 if (temp7
) delete arg7
;
3088 if (temp7
) delete arg7
;
3098 static PyObject
*_wrap_ComboBox_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3099 PyObject
*resultobj
;
3100 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3102 PyObject
* obj0
= 0 ;
3104 (char *) "self", NULL
3107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetValue",kwnames
,&obj0
)) goto fail
;
3108 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3112 result
= ((wxComboBox
const *)arg1
)->GetValue();
3114 wxPyEndAllowThreads(__tstate
);
3115 if (PyErr_Occurred()) SWIG_fail
;
3119 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3121 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3130 static PyObject
*_wrap_ComboBox_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3131 PyObject
*resultobj
;
3132 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3133 wxString
*arg2
= 0 ;
3134 bool temp2
= False
;
3135 PyObject
* obj0
= 0 ;
3136 PyObject
* obj1
= 0 ;
3138 (char *) "self",(char *) "value", NULL
3141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
3142 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3145 arg2
= wxString_in_helper(obj1
);
3146 if (arg2
== NULL
) SWIG_fail
;
3150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3151 (arg1
)->SetValue((wxString
const &)*arg2
);
3153 wxPyEndAllowThreads(__tstate
);
3154 if (PyErr_Occurred()) SWIG_fail
;
3156 Py_INCREF(Py_None
); resultobj
= Py_None
;
3171 static PyObject
*_wrap_ComboBox_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3172 PyObject
*resultobj
;
3173 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3174 PyObject
* obj0
= 0 ;
3176 (char *) "self", NULL
3179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Copy",kwnames
,&obj0
)) goto fail
;
3180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3186 wxPyEndAllowThreads(__tstate
);
3187 if (PyErr_Occurred()) SWIG_fail
;
3189 Py_INCREF(Py_None
); resultobj
= Py_None
;
3196 static PyObject
*_wrap_ComboBox_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3197 PyObject
*resultobj
;
3198 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3199 PyObject
* obj0
= 0 ;
3201 (char *) "self", NULL
3204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Cut",kwnames
,&obj0
)) goto fail
;
3205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3211 wxPyEndAllowThreads(__tstate
);
3212 if (PyErr_Occurred()) SWIG_fail
;
3214 Py_INCREF(Py_None
); resultobj
= Py_None
;
3221 static PyObject
*_wrap_ComboBox_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3222 PyObject
*resultobj
;
3223 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3224 PyObject
* obj0
= 0 ;
3226 (char *) "self", NULL
3229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Paste",kwnames
,&obj0
)) goto fail
;
3230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3236 wxPyEndAllowThreads(__tstate
);
3237 if (PyErr_Occurred()) SWIG_fail
;
3239 Py_INCREF(Py_None
); resultobj
= Py_None
;
3246 static PyObject
*_wrap_ComboBox_SetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3247 PyObject
*resultobj
;
3248 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3250 PyObject
* obj0
= 0 ;
3251 PyObject
* obj1
= 0 ;
3253 (char *) "self",(char *) "pos", NULL
3256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
3257 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3259 arg2
= (long) SWIG_AsLong(obj1
);
3260 if (PyErr_Occurred()) SWIG_fail
;
3262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3263 (arg1
)->SetInsertionPoint(arg2
);
3265 wxPyEndAllowThreads(__tstate
);
3266 if (PyErr_Occurred()) SWIG_fail
;
3268 Py_INCREF(Py_None
); resultobj
= Py_None
;
3275 static PyObject
*_wrap_ComboBox_GetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3276 PyObject
*resultobj
;
3277 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3279 PyObject
* obj0
= 0 ;
3281 (char *) "self", NULL
3284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
3285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3289 result
= (long)((wxComboBox
const *)arg1
)->GetInsertionPoint();
3291 wxPyEndAllowThreads(__tstate
);
3292 if (PyErr_Occurred()) SWIG_fail
;
3294 resultobj
= SWIG_FromLong((long)result
);
3301 static PyObject
*_wrap_ComboBox_GetLastPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3302 PyObject
*resultobj
;
3303 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3305 PyObject
* obj0
= 0 ;
3307 (char *) "self", NULL
3310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetLastPosition",kwnames
,&obj0
)) goto fail
;
3311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3315 result
= (long)((wxComboBox
const *)arg1
)->GetLastPosition();
3317 wxPyEndAllowThreads(__tstate
);
3318 if (PyErr_Occurred()) SWIG_fail
;
3320 resultobj
= SWIG_FromLong((long)result
);
3327 static PyObject
*_wrap_ComboBox_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3328 PyObject
*resultobj
;
3329 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3332 wxString
*arg4
= 0 ;
3333 bool temp4
= False
;
3334 PyObject
* obj0
= 0 ;
3335 PyObject
* obj1
= 0 ;
3336 PyObject
* obj2
= 0 ;
3337 PyObject
* obj3
= 0 ;
3339 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
3342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ComboBox_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3345 arg2
= (long) SWIG_AsLong(obj1
);
3346 if (PyErr_Occurred()) SWIG_fail
;
3347 arg3
= (long) SWIG_AsLong(obj2
);
3348 if (PyErr_Occurred()) SWIG_fail
;
3350 arg4
= wxString_in_helper(obj3
);
3351 if (arg4
== NULL
) SWIG_fail
;
3355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3356 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
3358 wxPyEndAllowThreads(__tstate
);
3359 if (PyErr_Occurred()) SWIG_fail
;
3361 Py_INCREF(Py_None
); resultobj
= Py_None
;
3376 static PyObject
*_wrap_ComboBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3377 PyObject
*resultobj
;
3378 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3380 PyObject
* obj0
= 0 ;
3381 PyObject
* obj1
= 0 ;
3383 (char *) "self",(char *) "n", NULL
3386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
3387 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3389 arg2
= (int) SWIG_AsInt(obj1
);
3390 if (PyErr_Occurred()) SWIG_fail
;
3392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3393 (arg1
)->SetSelection(arg2
);
3395 wxPyEndAllowThreads(__tstate
);
3396 if (PyErr_Occurred()) SWIG_fail
;
3398 Py_INCREF(Py_None
); resultobj
= Py_None
;
3405 static PyObject
*_wrap_ComboBox_SetMark(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3406 PyObject
*resultobj
;
3407 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3410 PyObject
* obj0
= 0 ;
3411 PyObject
* obj1
= 0 ;
3412 PyObject
* obj2
= 0 ;
3414 (char *) "self",(char *) "from",(char *) "to", NULL
3417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetMark",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3420 arg2
= (long) SWIG_AsLong(obj1
);
3421 if (PyErr_Occurred()) SWIG_fail
;
3422 arg3
= (long) SWIG_AsLong(obj2
);
3423 if (PyErr_Occurred()) SWIG_fail
;
3425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3426 (arg1
)->SetSelection(arg2
,arg3
);
3428 wxPyEndAllowThreads(__tstate
);
3429 if (PyErr_Occurred()) SWIG_fail
;
3431 Py_INCREF(Py_None
); resultobj
= Py_None
;
3438 static PyObject
*_wrap_ComboBox_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3439 PyObject
*resultobj
;
3440 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3442 PyObject
* obj0
= 0 ;
3443 PyObject
* obj1
= 0 ;
3445 (char *) "self",(char *) "editable", NULL
3448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
3449 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3451 arg2
= (bool) SWIG_AsBool(obj1
);
3452 if (PyErr_Occurred()) SWIG_fail
;
3454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3455 (arg1
)->SetEditable(arg2
);
3457 wxPyEndAllowThreads(__tstate
);
3458 if (PyErr_Occurred()) SWIG_fail
;
3460 Py_INCREF(Py_None
); resultobj
= Py_None
;
3467 static PyObject
*_wrap_ComboBox_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3468 PyObject
*resultobj
;
3469 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3470 PyObject
* obj0
= 0 ;
3472 (char *) "self", NULL
3475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
3476 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3480 (arg1
)->SetInsertionPointEnd();
3482 wxPyEndAllowThreads(__tstate
);
3483 if (PyErr_Occurred()) SWIG_fail
;
3485 Py_INCREF(Py_None
); resultobj
= Py_None
;
3492 static PyObject
*_wrap_ComboBox_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3493 PyObject
*resultobj
;
3494 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3497 PyObject
* obj0
= 0 ;
3498 PyObject
* obj1
= 0 ;
3499 PyObject
* obj2
= 0 ;
3501 (char *) "self",(char *) "from",(char *) "to", NULL
3504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3507 arg2
= (long) SWIG_AsLong(obj1
);
3508 if (PyErr_Occurred()) SWIG_fail
;
3509 arg3
= (long) SWIG_AsLong(obj2
);
3510 if (PyErr_Occurred()) SWIG_fail
;
3512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3513 (arg1
)->Remove(arg2
,arg3
);
3515 wxPyEndAllowThreads(__tstate
);
3516 if (PyErr_Occurred()) SWIG_fail
;
3518 Py_INCREF(Py_None
); resultobj
= Py_None
;
3525 static PyObject
* ComboBox_swigregister(PyObject
*self
, PyObject
*args
) {
3527 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3528 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox
, obj
);
3530 return Py_BuildValue((char *)"");
3532 static int _wrap_GaugeNameStr_set(PyObject
*_val
) {
3533 PyErr_SetString(PyExc_TypeError
,"Variable GaugeNameStr is read-only.");
3538 static PyObject
*_wrap_GaugeNameStr_get() {
3543 pyobj
= PyUnicode_FromWideChar((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
3545 pyobj
= PyString_FromStringAndSize((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
3552 static PyObject
*_wrap_new_Gauge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3553 PyObject
*resultobj
;
3554 wxWindow
*arg1
= (wxWindow
*) 0 ;
3557 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3558 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3559 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3560 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3561 long arg6
= (long) wxGA_HORIZONTAL
;
3562 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3563 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3564 wxString
const &arg8_defvalue
= wxPyGaugeNameStr
;
3565 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3569 bool temp8
= False
;
3570 PyObject
* obj0
= 0 ;
3571 PyObject
* obj1
= 0 ;
3572 PyObject
* obj2
= 0 ;
3573 PyObject
* obj3
= 0 ;
3574 PyObject
* obj4
= 0 ;
3575 PyObject
* obj5
= 0 ;
3576 PyObject
* obj6
= 0 ;
3577 PyObject
* obj7
= 0 ;
3579 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_Gauge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3583 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
3584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3585 arg2
= (int) SWIG_AsInt(obj1
);
3586 if (PyErr_Occurred()) SWIG_fail
;
3587 arg3
= (int) SWIG_AsInt(obj2
);
3588 if (PyErr_Occurred()) SWIG_fail
;
3592 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3598 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3602 arg6
= (long) SWIG_AsLong(obj5
);
3603 if (PyErr_Occurred()) SWIG_fail
;
3606 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
3607 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3610 PyErr_SetString(PyExc_TypeError
,"null reference");
3616 arg8
= wxString_in_helper(obj7
);
3617 if (arg8
== NULL
) SWIG_fail
;
3622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3623 result
= (wxGauge
*)new wxGauge(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3625 wxPyEndAllowThreads(__tstate
);
3626 if (PyErr_Occurred()) SWIG_fail
;
3628 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGauge
, 1);
3643 static PyObject
*_wrap_new_PreGauge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3644 PyObject
*resultobj
;
3650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGauge",kwnames
)) goto fail
;
3652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3653 result
= (wxGauge
*)new wxGauge();
3655 wxPyEndAllowThreads(__tstate
);
3656 if (PyErr_Occurred()) SWIG_fail
;
3658 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGauge
, 1);
3665 static PyObject
*_wrap_Gauge_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3666 PyObject
*resultobj
;
3667 wxGauge
*arg1
= (wxGauge
*) 0 ;
3668 wxWindow
*arg2
= (wxWindow
*) 0 ;
3671 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3672 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3673 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3674 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3675 long arg7
= (long) wxGA_HORIZONTAL
;
3676 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3677 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3678 wxString
const &arg9_defvalue
= wxPyGaugeNameStr
;
3679 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3683 bool temp9
= False
;
3684 PyObject
* obj0
= 0 ;
3685 PyObject
* obj1
= 0 ;
3686 PyObject
* obj2
= 0 ;
3687 PyObject
* obj3
= 0 ;
3688 PyObject
* obj4
= 0 ;
3689 PyObject
* obj5
= 0 ;
3690 PyObject
* obj6
= 0 ;
3691 PyObject
* obj7
= 0 ;
3692 PyObject
* obj8
= 0 ;
3694 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:Gauge_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3698 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3700 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
3701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3702 arg3
= (int) SWIG_AsInt(obj2
);
3703 if (PyErr_Occurred()) SWIG_fail
;
3704 arg4
= (int) SWIG_AsInt(obj3
);
3705 if (PyErr_Occurred()) SWIG_fail
;
3709 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3715 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3719 arg7
= (long) SWIG_AsLong(obj6
);
3720 if (PyErr_Occurred()) SWIG_fail
;
3723 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
3724 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3727 PyErr_SetString(PyExc_TypeError
,"null reference");
3733 arg9
= wxString_in_helper(obj8
);
3734 if (arg9
== NULL
) SWIG_fail
;
3739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3740 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
3742 wxPyEndAllowThreads(__tstate
);
3743 if (PyErr_Occurred()) SWIG_fail
;
3746 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3762 static PyObject
*_wrap_Gauge_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3763 PyObject
*resultobj
;
3764 wxGauge
*arg1
= (wxGauge
*) 0 ;
3766 PyObject
* obj0
= 0 ;
3767 PyObject
* obj1
= 0 ;
3769 (char *) "self",(char *) "range", NULL
3772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetRange",kwnames
,&obj0
,&obj1
)) goto fail
;
3773 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3774 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3775 arg2
= (int) SWIG_AsInt(obj1
);
3776 if (PyErr_Occurred()) SWIG_fail
;
3778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3779 (arg1
)->SetRange(arg2
);
3781 wxPyEndAllowThreads(__tstate
);
3782 if (PyErr_Occurred()) SWIG_fail
;
3784 Py_INCREF(Py_None
); resultobj
= Py_None
;
3791 static PyObject
*_wrap_Gauge_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3792 PyObject
*resultobj
;
3793 wxGauge
*arg1
= (wxGauge
*) 0 ;
3795 PyObject
* obj0
= 0 ;
3797 (char *) "self", NULL
3800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetRange",kwnames
,&obj0
)) goto fail
;
3801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3805 result
= (int)((wxGauge
const *)arg1
)->GetRange();
3807 wxPyEndAllowThreads(__tstate
);
3808 if (PyErr_Occurred()) SWIG_fail
;
3810 resultobj
= SWIG_FromInt((int)result
);
3817 static PyObject
*_wrap_Gauge_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3818 PyObject
*resultobj
;
3819 wxGauge
*arg1
= (wxGauge
*) 0 ;
3821 PyObject
* obj0
= 0 ;
3822 PyObject
* obj1
= 0 ;
3824 (char *) "self",(char *) "pos", NULL
3827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
3828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3830 arg2
= (int) SWIG_AsInt(obj1
);
3831 if (PyErr_Occurred()) SWIG_fail
;
3833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3834 (arg1
)->SetValue(arg2
);
3836 wxPyEndAllowThreads(__tstate
);
3837 if (PyErr_Occurred()) SWIG_fail
;
3839 Py_INCREF(Py_None
); resultobj
= Py_None
;
3846 static PyObject
*_wrap_Gauge_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3847 PyObject
*resultobj
;
3848 wxGauge
*arg1
= (wxGauge
*) 0 ;
3850 PyObject
* obj0
= 0 ;
3852 (char *) "self", NULL
3855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetValue",kwnames
,&obj0
)) goto fail
;
3856 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3860 result
= (int)((wxGauge
const *)arg1
)->GetValue();
3862 wxPyEndAllowThreads(__tstate
);
3863 if (PyErr_Occurred()) SWIG_fail
;
3865 resultobj
= SWIG_FromInt((int)result
);
3872 static PyObject
*_wrap_Gauge_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3873 PyObject
*resultobj
;
3874 wxGauge
*arg1
= (wxGauge
*) 0 ;
3876 PyObject
* obj0
= 0 ;
3878 (char *) "self", NULL
3881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_IsVertical",kwnames
,&obj0
)) goto fail
;
3882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3886 result
= (bool)((wxGauge
const *)arg1
)->IsVertical();
3888 wxPyEndAllowThreads(__tstate
);
3889 if (PyErr_Occurred()) SWIG_fail
;
3892 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3900 static PyObject
*_wrap_Gauge_SetShadowWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3901 PyObject
*resultobj
;
3902 wxGauge
*arg1
= (wxGauge
*) 0 ;
3904 PyObject
* obj0
= 0 ;
3905 PyObject
* obj1
= 0 ;
3907 (char *) "self",(char *) "w", NULL
3910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetShadowWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3911 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3913 arg2
= (int) SWIG_AsInt(obj1
);
3914 if (PyErr_Occurred()) SWIG_fail
;
3916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3917 (arg1
)->SetShadowWidth(arg2
);
3919 wxPyEndAllowThreads(__tstate
);
3920 if (PyErr_Occurred()) SWIG_fail
;
3922 Py_INCREF(Py_None
); resultobj
= Py_None
;
3929 static PyObject
*_wrap_Gauge_GetShadowWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3930 PyObject
*resultobj
;
3931 wxGauge
*arg1
= (wxGauge
*) 0 ;
3933 PyObject
* obj0
= 0 ;
3935 (char *) "self", NULL
3938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetShadowWidth",kwnames
,&obj0
)) goto fail
;
3939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3943 result
= (int)((wxGauge
const *)arg1
)->GetShadowWidth();
3945 wxPyEndAllowThreads(__tstate
);
3946 if (PyErr_Occurred()) SWIG_fail
;
3948 resultobj
= SWIG_FromInt((int)result
);
3955 static PyObject
*_wrap_Gauge_SetBezelFace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3956 PyObject
*resultobj
;
3957 wxGauge
*arg1
= (wxGauge
*) 0 ;
3959 PyObject
* obj0
= 0 ;
3960 PyObject
* obj1
= 0 ;
3962 (char *) "self",(char *) "w", NULL
3965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetBezelFace",kwnames
,&obj0
,&obj1
)) goto fail
;
3966 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3968 arg2
= (int) SWIG_AsInt(obj1
);
3969 if (PyErr_Occurred()) SWIG_fail
;
3971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3972 (arg1
)->SetBezelFace(arg2
);
3974 wxPyEndAllowThreads(__tstate
);
3975 if (PyErr_Occurred()) SWIG_fail
;
3977 Py_INCREF(Py_None
); resultobj
= Py_None
;
3984 static PyObject
*_wrap_Gauge_GetBezelFace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3985 PyObject
*resultobj
;
3986 wxGauge
*arg1
= (wxGauge
*) 0 ;
3988 PyObject
* obj0
= 0 ;
3990 (char *) "self", NULL
3993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetBezelFace",kwnames
,&obj0
)) goto fail
;
3994 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3998 result
= (int)((wxGauge
const *)arg1
)->GetBezelFace();
4000 wxPyEndAllowThreads(__tstate
);
4001 if (PyErr_Occurred()) SWIG_fail
;
4003 resultobj
= SWIG_FromInt((int)result
);
4010 static PyObject
* Gauge_swigregister(PyObject
*self
, PyObject
*args
) {
4012 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4013 SWIG_TypeClientData(SWIGTYPE_p_wxGauge
, obj
);
4015 return Py_BuildValue((char *)"");
4017 static int _wrap_StaticBitmapNameStr_set(PyObject
*_val
) {
4018 PyErr_SetString(PyExc_TypeError
,"Variable StaticBitmapNameStr is read-only.");
4023 static PyObject
*_wrap_StaticBitmapNameStr_get() {
4028 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
4030 pyobj
= PyString_FromStringAndSize((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
4037 static int _wrap_StaticBoxNameStr_set(PyObject
*_val
) {
4038 PyErr_SetString(PyExc_TypeError
,"Variable StaticBoxNameStr is read-only.");
4043 static PyObject
*_wrap_StaticBoxNameStr_get() {
4048 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
4050 pyobj
= PyString_FromStringAndSize((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
4057 static int _wrap_StaticTextNameStr_set(PyObject
*_val
) {
4058 PyErr_SetString(PyExc_TypeError
,"Variable StaticTextNameStr is read-only.");
4063 static PyObject
*_wrap_StaticTextNameStr_get() {
4068 pyobj
= PyUnicode_FromWideChar((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
4070 pyobj
= PyString_FromStringAndSize((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
4077 static PyObject
*_wrap_new_StaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4078 PyObject
*resultobj
;
4079 wxWindow
*arg1
= (wxWindow
*) 0 ;
4081 wxString
*arg3
= 0 ;
4082 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4083 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4084 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4085 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4086 long arg6
= (long) 0 ;
4087 wxString
const &arg7_defvalue
= wxPyStaticBoxNameStr
;
4088 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4089 wxStaticBox
*result
;
4090 bool temp3
= False
;
4093 bool temp7
= False
;
4094 PyObject
* obj0
= 0 ;
4095 PyObject
* obj1
= 0 ;
4096 PyObject
* obj2
= 0 ;
4097 PyObject
* obj3
= 0 ;
4098 PyObject
* obj4
= 0 ;
4099 PyObject
* obj5
= 0 ;
4100 PyObject
* obj6
= 0 ;
4102 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_StaticBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4106 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4108 arg2
= (int) SWIG_AsInt(obj1
);
4109 if (PyErr_Occurred()) SWIG_fail
;
4111 arg3
= wxString_in_helper(obj2
);
4112 if (arg3
== NULL
) SWIG_fail
;
4118 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4124 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4128 arg6
= (long) SWIG_AsLong(obj5
);
4129 if (PyErr_Occurred()) SWIG_fail
;
4133 arg7
= wxString_in_helper(obj6
);
4134 if (arg7
== NULL
) SWIG_fail
;
4139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4140 result
= (wxStaticBox
*)new wxStaticBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4142 wxPyEndAllowThreads(__tstate
);
4143 if (PyErr_Occurred()) SWIG_fail
;
4146 resultobj
= wxPyMake_wxObject(result
);
4170 static PyObject
*_wrap_new_PreStaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4171 PyObject
*resultobj
;
4172 wxStaticBox
*result
;
4177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBox",kwnames
)) goto fail
;
4179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4180 result
= (wxStaticBox
*)new wxStaticBox();
4182 wxPyEndAllowThreads(__tstate
);
4183 if (PyErr_Occurred()) SWIG_fail
;
4186 resultobj
= wxPyMake_wxObject(result
);
4194 static PyObject
*_wrap_StaticBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4195 PyObject
*resultobj
;
4196 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
4197 wxWindow
*arg2
= (wxWindow
*) 0 ;
4199 wxString
*arg4
= 0 ;
4200 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4201 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4202 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4203 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4204 long arg7
= (long) 0 ;
4205 wxString
const &arg8_defvalue
= wxPyStaticBoxNameStr
;
4206 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4208 bool temp4
= False
;
4211 bool temp8
= False
;
4212 PyObject
* obj0
= 0 ;
4213 PyObject
* obj1
= 0 ;
4214 PyObject
* obj2
= 0 ;
4215 PyObject
* obj3
= 0 ;
4216 PyObject
* obj4
= 0 ;
4217 PyObject
* obj5
= 0 ;
4218 PyObject
* obj6
= 0 ;
4219 PyObject
* obj7
= 0 ;
4221 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:StaticBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4225 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBox
,
4226 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4227 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4229 arg3
= (int) SWIG_AsInt(obj2
);
4230 if (PyErr_Occurred()) SWIG_fail
;
4232 arg4
= wxString_in_helper(obj3
);
4233 if (arg4
== NULL
) SWIG_fail
;
4239 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4245 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4249 arg7
= (long) SWIG_AsLong(obj6
);
4250 if (PyErr_Occurred()) SWIG_fail
;
4254 arg8
= wxString_in_helper(obj7
);
4255 if (arg8
== NULL
) SWIG_fail
;
4260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4261 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4263 wxPyEndAllowThreads(__tstate
);
4264 if (PyErr_Occurred()) SWIG_fail
;
4267 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4291 static PyObject
* StaticBox_swigregister(PyObject
*self
, PyObject
*args
) {
4293 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4294 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox
, obj
);
4296 return Py_BuildValue((char *)"");
4298 static PyObject
*_wrap_new_StaticLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4299 PyObject
*resultobj
;
4300 wxWindow
*arg1
= (wxWindow
*) 0 ;
4302 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
4303 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
4304 wxSize
const &arg4_defvalue
= wxDefaultSize
;
4305 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
4306 long arg5
= (long) wxLI_HORIZONTAL
;
4307 wxString
const &arg6_defvalue
= wxPyStaticTextNameStr
;
4308 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
4309 wxStaticLine
*result
;
4312 bool temp6
= False
;
4313 PyObject
* obj0
= 0 ;
4314 PyObject
* obj1
= 0 ;
4315 PyObject
* obj2
= 0 ;
4316 PyObject
* obj3
= 0 ;
4317 PyObject
* obj4
= 0 ;
4318 PyObject
* obj5
= 0 ;
4320 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_StaticLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
4324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4326 arg2
= (int) SWIG_AsInt(obj1
);
4327 if (PyErr_Occurred()) SWIG_fail
;
4331 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
4337 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
4341 arg5
= (long) SWIG_AsLong(obj4
);
4342 if (PyErr_Occurred()) SWIG_fail
;
4346 arg6
= wxString_in_helper(obj5
);
4347 if (arg6
== NULL
) SWIG_fail
;
4352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4353 result
= (wxStaticLine
*)new wxStaticLine(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
4355 wxPyEndAllowThreads(__tstate
);
4356 if (PyErr_Occurred()) SWIG_fail
;
4358 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticLine
, 1);
4373 static PyObject
*_wrap_new_PreStaticLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4374 PyObject
*resultobj
;
4375 wxStaticLine
*result
;
4380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticLine",kwnames
)) goto fail
;
4382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4383 result
= (wxStaticLine
*)new wxStaticLine();
4385 wxPyEndAllowThreads(__tstate
);
4386 if (PyErr_Occurred()) SWIG_fail
;
4388 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticLine
, 1);
4395 static PyObject
*_wrap_StaticLine_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4396 PyObject
*resultobj
;
4397 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
4398 wxWindow
*arg2
= (wxWindow
*) 0 ;
4400 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4401 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4402 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4403 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4404 long arg6
= (long) wxLI_HORIZONTAL
;
4405 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
4406 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4410 bool temp7
= False
;
4411 PyObject
* obj0
= 0 ;
4412 PyObject
* obj1
= 0 ;
4413 PyObject
* obj2
= 0 ;
4414 PyObject
* obj3
= 0 ;
4415 PyObject
* obj4
= 0 ;
4416 PyObject
* obj5
= 0 ;
4417 PyObject
* obj6
= 0 ;
4419 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:StaticLine_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4423 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticLine
,
4424 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4425 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4427 arg3
= (int) SWIG_AsInt(obj2
);
4428 if (PyErr_Occurred()) SWIG_fail
;
4432 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4438 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4442 arg6
= (long) SWIG_AsLong(obj5
);
4443 if (PyErr_Occurred()) SWIG_fail
;
4447 arg7
= wxString_in_helper(obj6
);
4448 if (arg7
== NULL
) SWIG_fail
;
4453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4454 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4456 wxPyEndAllowThreads(__tstate
);
4457 if (PyErr_Occurred()) SWIG_fail
;
4460 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4476 static PyObject
*_wrap_StaticLine_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4477 PyObject
*resultobj
;
4478 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
4480 PyObject
* obj0
= 0 ;
4482 (char *) "self", NULL
4485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticLine_IsVertical",kwnames
,&obj0
)) goto fail
;
4486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticLine
,
4487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4490 result
= (bool)((wxStaticLine
const *)arg1
)->IsVertical();
4492 wxPyEndAllowThreads(__tstate
);
4493 if (PyErr_Occurred()) SWIG_fail
;
4496 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4504 static PyObject
*_wrap_StaticLine_GetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4505 PyObject
*resultobj
;
4511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StaticLine_GetDefaultSize",kwnames
)) goto fail
;
4513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4514 result
= (int)wxStaticLine::GetDefaultSize();
4516 wxPyEndAllowThreads(__tstate
);
4517 if (PyErr_Occurred()) SWIG_fail
;
4519 resultobj
= SWIG_FromInt((int)result
);
4526 static PyObject
* StaticLine_swigregister(PyObject
*self
, PyObject
*args
) {
4528 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4529 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine
, obj
);
4531 return Py_BuildValue((char *)"");
4533 static PyObject
*_wrap_new_StaticText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4534 PyObject
*resultobj
;
4535 wxWindow
*arg1
= (wxWindow
*) 0 ;
4537 wxString
*arg3
= 0 ;
4538 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4539 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4540 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4541 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4542 long arg6
= (long) 0 ;
4543 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
4544 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4545 wxStaticText
*result
;
4546 bool temp3
= False
;
4549 bool temp7
= False
;
4550 PyObject
* obj0
= 0 ;
4551 PyObject
* obj1
= 0 ;
4552 PyObject
* obj2
= 0 ;
4553 PyObject
* obj3
= 0 ;
4554 PyObject
* obj4
= 0 ;
4555 PyObject
* obj5
= 0 ;
4556 PyObject
* obj6
= 0 ;
4558 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_StaticText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4564 arg2
= (int) SWIG_AsInt(obj1
);
4565 if (PyErr_Occurred()) SWIG_fail
;
4567 arg3
= wxString_in_helper(obj2
);
4568 if (arg3
== NULL
) SWIG_fail
;
4574 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4580 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4584 arg6
= (long) SWIG_AsLong(obj5
);
4585 if (PyErr_Occurred()) SWIG_fail
;
4589 arg7
= wxString_in_helper(obj6
);
4590 if (arg7
== NULL
) SWIG_fail
;
4595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4596 result
= (wxStaticText
*)new wxStaticText(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4598 wxPyEndAllowThreads(__tstate
);
4599 if (PyErr_Occurred()) SWIG_fail
;
4601 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticText
, 1);
4624 static PyObject
*_wrap_new_PreStaticText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4625 PyObject
*resultobj
;
4626 wxStaticText
*result
;
4631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticText",kwnames
)) goto fail
;
4633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4634 result
= (wxStaticText
*)new wxStaticText();
4636 wxPyEndAllowThreads(__tstate
);
4637 if (PyErr_Occurred()) SWIG_fail
;
4639 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticText
, 1);
4646 static PyObject
*_wrap_StaticText_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4647 PyObject
*resultobj
;
4648 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
4649 wxWindow
*arg2
= (wxWindow
*) 0 ;
4651 wxString
*arg4
= 0 ;
4652 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4653 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4654 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4655 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4656 long arg7
= (long) 0 ;
4657 wxString
const &arg8_defvalue
= wxPyStaticTextNameStr
;
4658 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4660 bool temp4
= False
;
4663 bool temp8
= False
;
4664 PyObject
* obj0
= 0 ;
4665 PyObject
* obj1
= 0 ;
4666 PyObject
* obj2
= 0 ;
4667 PyObject
* obj3
= 0 ;
4668 PyObject
* obj4
= 0 ;
4669 PyObject
* obj5
= 0 ;
4670 PyObject
* obj6
= 0 ;
4671 PyObject
* obj7
= 0 ;
4673 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:StaticText_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4677 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticText
,
4678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4679 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4681 arg3
= (int) SWIG_AsInt(obj2
);
4682 if (PyErr_Occurred()) SWIG_fail
;
4684 arg4
= wxString_in_helper(obj3
);
4685 if (arg4
== NULL
) SWIG_fail
;
4691 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4697 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4701 arg7
= (long) SWIG_AsLong(obj6
);
4702 if (PyErr_Occurred()) SWIG_fail
;
4706 arg8
= wxString_in_helper(obj7
);
4707 if (arg8
== NULL
) SWIG_fail
;
4712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4713 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4715 wxPyEndAllowThreads(__tstate
);
4716 if (PyErr_Occurred()) SWIG_fail
;
4719 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4743 static PyObject
* StaticText_swigregister(PyObject
*self
, PyObject
*args
) {
4745 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4746 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText
, obj
);
4748 return Py_BuildValue((char *)"");
4750 static PyObject
*_wrap_new_StaticBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4751 PyObject
*resultobj
;
4752 wxWindow
*arg1
= (wxWindow
*) 0 ;
4754 wxBitmap
*arg3
= 0 ;
4755 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4756 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4757 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4758 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4759 long arg6
= (long) 0 ;
4760 wxString
const &arg7_defvalue
= wxPyStaticBitmapNameStr
;
4761 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4762 wxStaticBitmap
*result
;
4765 bool temp7
= False
;
4766 PyObject
* obj0
= 0 ;
4767 PyObject
* obj1
= 0 ;
4768 PyObject
* obj2
= 0 ;
4769 PyObject
* obj3
= 0 ;
4770 PyObject
* obj4
= 0 ;
4771 PyObject
* obj5
= 0 ;
4772 PyObject
* obj6
= 0 ;
4774 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_StaticBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4778 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4780 arg2
= (int) SWIG_AsInt(obj1
);
4781 if (PyErr_Occurred()) SWIG_fail
;
4782 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
4783 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4786 PyErr_SetString(PyExc_TypeError
,"null reference");
4792 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4798 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4802 arg6
= (long) SWIG_AsLong(obj5
);
4803 if (PyErr_Occurred()) SWIG_fail
;
4807 arg7
= wxString_in_helper(obj6
);
4808 if (arg7
== NULL
) SWIG_fail
;
4813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4814 result
= (wxStaticBitmap
*)new wxStaticBitmap(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4816 wxPyEndAllowThreads(__tstate
);
4817 if (PyErr_Occurred()) SWIG_fail
;
4819 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBitmap
, 1);
4834 static PyObject
*_wrap_new_PreStaticBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4835 PyObject
*resultobj
;
4836 wxStaticBitmap
*result
;
4841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBitmap",kwnames
)) goto fail
;
4843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4844 result
= (wxStaticBitmap
*)new wxStaticBitmap();
4846 wxPyEndAllowThreads(__tstate
);
4847 if (PyErr_Occurred()) SWIG_fail
;
4849 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBitmap
, 1);
4856 static PyObject
*_wrap_StaticBitmap_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4857 PyObject
*resultobj
;
4858 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
4859 wxWindow
*arg2
= (wxWindow
*) 0 ;
4861 wxBitmap
*arg4
= 0 ;
4862 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4863 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4864 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4865 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4866 long arg7
= (long) 0 ;
4867 wxString
const &arg8_defvalue
= wxPyStaticBitmapNameStr
;
4868 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4872 bool temp8
= False
;
4873 PyObject
* obj0
= 0 ;
4874 PyObject
* obj1
= 0 ;
4875 PyObject
* obj2
= 0 ;
4876 PyObject
* obj3
= 0 ;
4877 PyObject
* obj4
= 0 ;
4878 PyObject
* obj5
= 0 ;
4879 PyObject
* obj6
= 0 ;
4880 PyObject
* obj7
= 0 ;
4882 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:StaticBitmap_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4886 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
4887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4888 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4890 arg3
= (int) SWIG_AsInt(obj2
);
4891 if (PyErr_Occurred()) SWIG_fail
;
4892 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
4893 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4896 PyErr_SetString(PyExc_TypeError
,"null reference");
4902 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4908 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4912 arg7
= (long) SWIG_AsLong(obj6
);
4913 if (PyErr_Occurred()) SWIG_fail
;
4917 arg8
= wxString_in_helper(obj7
);
4918 if (arg8
== NULL
) SWIG_fail
;
4923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4924 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4926 wxPyEndAllowThreads(__tstate
);
4927 if (PyErr_Occurred()) SWIG_fail
;
4930 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4946 static PyObject
*_wrap_StaticBitmap_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4947 PyObject
*resultobj
;
4948 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
4950 PyObject
* obj0
= 0 ;
4952 (char *) "self", NULL
4955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBitmap_GetBitmap",kwnames
,&obj0
)) goto fail
;
4956 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
4957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4960 result
= (arg1
)->GetBitmap();
4962 wxPyEndAllowThreads(__tstate
);
4963 if (PyErr_Occurred()) SWIG_fail
;
4966 wxBitmap
* resultptr
;
4967 resultptr
= new wxBitmap((wxBitmap
&) result
);
4968 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
4976 static PyObject
*_wrap_StaticBitmap_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4977 PyObject
*resultobj
;
4978 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
4979 wxBitmap
*arg2
= 0 ;
4980 PyObject
* obj0
= 0 ;
4981 PyObject
* obj1
= 0 ;
4983 (char *) "self",(char *) "bitmap", NULL
4986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
4987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
4988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4989 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
4990 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4993 PyErr_SetString(PyExc_TypeError
,"null reference");
4997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4998 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
5000 wxPyEndAllowThreads(__tstate
);
5001 if (PyErr_Occurred()) SWIG_fail
;
5003 Py_INCREF(Py_None
); resultobj
= Py_None
;
5010 static PyObject
*_wrap_StaticBitmap_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5011 PyObject
*resultobj
;
5012 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
5014 PyObject
* obj0
= 0 ;
5015 PyObject
* obj1
= 0 ;
5017 (char *) "self",(char *) "icon", NULL
5020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
5021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
5022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5023 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
5024 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5027 PyErr_SetString(PyExc_TypeError
,"null reference");
5031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5032 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
5034 wxPyEndAllowThreads(__tstate
);
5035 if (PyErr_Occurred()) SWIG_fail
;
5037 Py_INCREF(Py_None
); resultobj
= Py_None
;
5044 static PyObject
* StaticBitmap_swigregister(PyObject
*self
, PyObject
*args
) {
5046 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5047 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap
, obj
);
5049 return Py_BuildValue((char *)"");
5051 static int _wrap_ListBoxNameStr_set(PyObject
*_val
) {
5052 PyErr_SetString(PyExc_TypeError
,"Variable ListBoxNameStr is read-only.");
5057 static PyObject
*_wrap_ListBoxNameStr_get() {
5062 pyobj
= PyUnicode_FromWideChar((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
5064 pyobj
= PyString_FromStringAndSize((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
5071 static PyObject
*_wrap_new_ListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5072 PyObject
*resultobj
;
5073 wxWindow
*arg1
= (wxWindow
*) 0 ;
5075 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5076 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5077 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5078 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5079 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
5080 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
5081 long arg6
= (long) 0 ;
5082 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
5083 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
5084 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
5085 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5089 bool temp5
= False
;
5090 bool temp8
= False
;
5091 PyObject
* obj0
= 0 ;
5092 PyObject
* obj1
= 0 ;
5093 PyObject
* obj2
= 0 ;
5094 PyObject
* obj3
= 0 ;
5095 PyObject
* obj4
= 0 ;
5096 PyObject
* obj5
= 0 ;
5097 PyObject
* obj6
= 0 ;
5098 PyObject
* obj7
= 0 ;
5100 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:new_ListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5104 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5106 arg2
= (int) SWIG_AsInt(obj1
);
5107 if (PyErr_Occurred()) SWIG_fail
;
5111 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5117 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5122 if (! PySequence_Check(obj4
)) {
5123 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5126 arg5
= new wxArrayString
;
5128 int i
, len
=PySequence_Length(obj4
);
5129 for (i
=0; i
<len
; i
++) {
5130 PyObject
* item
= PySequence_GetItem(obj4
, i
);
5132 PyObject
* str
= PyObject_Unicode(item
);
5134 PyObject
* str
= PyObject_Str(item
);
5136 if (PyErr_Occurred()) SWIG_fail
;
5137 arg5
->Add(Py2wxString(str
));
5144 arg6
= (long) SWIG_AsLong(obj5
);
5145 if (PyErr_Occurred()) SWIG_fail
;
5148 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
5149 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5152 PyErr_SetString(PyExc_TypeError
,"null reference");
5158 arg8
= wxString_in_helper(obj7
);
5159 if (arg8
== NULL
) SWIG_fail
;
5164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5165 result
= (wxListBox
*)new wxListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
5167 wxPyEndAllowThreads(__tstate
);
5168 if (PyErr_Occurred()) SWIG_fail
;
5170 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListBox
, 1);
5172 if (temp5
) delete arg5
;
5181 if (temp5
) delete arg5
;
5191 static PyObject
*_wrap_new_PreListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5192 PyObject
*resultobj
;
5198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListBox",kwnames
)) goto fail
;
5200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5201 result
= (wxListBox
*)new wxListBox();
5203 wxPyEndAllowThreads(__tstate
);
5204 if (PyErr_Occurred()) SWIG_fail
;
5206 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListBox
, 1);
5213 static PyObject
*_wrap_ListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5214 PyObject
*resultobj
;
5215 wxListBox
*arg1
= (wxListBox
*) 0 ;
5216 wxWindow
*arg2
= (wxWindow
*) 0 ;
5218 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5219 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5220 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5221 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5222 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
5223 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
5224 long arg7
= (long) 0 ;
5225 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5226 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5227 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
5228 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5232 bool temp6
= False
;
5233 bool temp9
= False
;
5234 PyObject
* obj0
= 0 ;
5235 PyObject
* obj1
= 0 ;
5236 PyObject
* obj2
= 0 ;
5237 PyObject
* obj3
= 0 ;
5238 PyObject
* obj4
= 0 ;
5239 PyObject
* obj5
= 0 ;
5240 PyObject
* obj6
= 0 ;
5241 PyObject
* obj7
= 0 ;
5242 PyObject
* obj8
= 0 ;
5244 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:ListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
5248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5250 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5252 arg3
= (int) SWIG_AsInt(obj2
);
5253 if (PyErr_Occurred()) SWIG_fail
;
5257 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5263 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5268 if (! PySequence_Check(obj5
)) {
5269 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5272 arg6
= new wxArrayString
;
5274 int i
, len
=PySequence_Length(obj5
);
5275 for (i
=0; i
<len
; i
++) {
5276 PyObject
* item
= PySequence_GetItem(obj5
, i
);
5278 PyObject
* str
= PyObject_Unicode(item
);
5280 PyObject
* str
= PyObject_Str(item
);
5282 if (PyErr_Occurred()) SWIG_fail
;
5283 arg6
->Add(Py2wxString(str
));
5290 arg7
= (long) SWIG_AsLong(obj6
);
5291 if (PyErr_Occurred()) SWIG_fail
;
5294 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
5295 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5298 PyErr_SetString(PyExc_TypeError
,"null reference");
5304 arg9
= wxString_in_helper(obj8
);
5305 if (arg9
== NULL
) SWIG_fail
;
5310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5311 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
5313 wxPyEndAllowThreads(__tstate
);
5314 if (PyErr_Occurred()) SWIG_fail
;
5317 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5320 if (temp6
) delete arg6
;
5329 if (temp6
) delete arg6
;
5339 static PyObject
*_wrap_ListBox_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5340 PyObject
*resultobj
;
5341 wxListBox
*arg1
= (wxListBox
*) 0 ;
5342 wxString
*arg2
= 0 ;
5344 PyObject
*arg4
= (PyObject
*) NULL
;
5345 bool temp2
= False
;
5346 PyObject
* obj0
= 0 ;
5347 PyObject
* obj1
= 0 ;
5348 PyObject
* obj2
= 0 ;
5349 PyObject
* obj3
= 0 ;
5351 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
5354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListBox_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5355 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5358 arg2
= wxString_in_helper(obj1
);
5359 if (arg2
== NULL
) SWIG_fail
;
5362 arg3
= (int) SWIG_AsInt(obj2
);
5363 if (PyErr_Occurred()) SWIG_fail
;
5368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5369 wxListBox_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
5371 wxPyEndAllowThreads(__tstate
);
5372 if (PyErr_Occurred()) SWIG_fail
;
5374 Py_INCREF(Py_None
); resultobj
= Py_None
;
5389 static PyObject
*_wrap_ListBox_InsertItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5390 PyObject
*resultobj
;
5391 wxListBox
*arg1
= (wxListBox
*) 0 ;
5392 wxArrayString
*arg2
= 0 ;
5394 bool temp2
= False
;
5395 PyObject
* obj0
= 0 ;
5396 PyObject
* obj1
= 0 ;
5397 PyObject
* obj2
= 0 ;
5399 (char *) "self",(char *) "items",(char *) "pos", NULL
5402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_InsertItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5406 if (! PySequence_Check(obj1
)) {
5407 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5410 arg2
= new wxArrayString
;
5412 int i
, len
=PySequence_Length(obj1
);
5413 for (i
=0; i
<len
; i
++) {
5414 PyObject
* item
= PySequence_GetItem(obj1
, i
);
5416 PyObject
* str
= PyObject_Unicode(item
);
5418 PyObject
* str
= PyObject_Str(item
);
5420 if (PyErr_Occurred()) SWIG_fail
;
5421 arg2
->Add(Py2wxString(str
));
5426 arg3
= (int) SWIG_AsInt(obj2
);
5427 if (PyErr_Occurred()) SWIG_fail
;
5429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5430 (arg1
)->InsertItems((wxArrayString
const &)*arg2
,arg3
);
5432 wxPyEndAllowThreads(__tstate
);
5433 if (PyErr_Occurred()) SWIG_fail
;
5435 Py_INCREF(Py_None
); resultobj
= Py_None
;
5437 if (temp2
) delete arg2
;
5442 if (temp2
) delete arg2
;
5448 static PyObject
*_wrap_ListBox_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5449 PyObject
*resultobj
;
5450 wxListBox
*arg1
= (wxListBox
*) 0 ;
5451 wxArrayString
*arg2
= 0 ;
5452 bool temp2
= False
;
5453 PyObject
* obj0
= 0 ;
5454 PyObject
* obj1
= 0 ;
5456 (char *) "self",(char *) "items", NULL
5459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Set",kwnames
,&obj0
,&obj1
)) goto fail
;
5460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5463 if (! PySequence_Check(obj1
)) {
5464 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5467 arg2
= new wxArrayString
;
5469 int i
, len
=PySequence_Length(obj1
);
5470 for (i
=0; i
<len
; i
++) {
5471 PyObject
* item
= PySequence_GetItem(obj1
, i
);
5473 PyObject
* str
= PyObject_Unicode(item
);
5475 PyObject
* str
= PyObject_Str(item
);
5477 if (PyErr_Occurred()) SWIG_fail
;
5478 arg2
->Add(Py2wxString(str
));
5484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5485 (arg1
)->Set((wxArrayString
const &)*arg2
);
5487 wxPyEndAllowThreads(__tstate
);
5488 if (PyErr_Occurred()) SWIG_fail
;
5490 Py_INCREF(Py_None
); resultobj
= Py_None
;
5492 if (temp2
) delete arg2
;
5497 if (temp2
) delete arg2
;
5503 static PyObject
*_wrap_ListBox_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5504 PyObject
*resultobj
;
5505 wxListBox
*arg1
= (wxListBox
*) 0 ;
5508 PyObject
* obj0
= 0 ;
5509 PyObject
* obj1
= 0 ;
5511 (char *) "self",(char *) "n", NULL
5514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
5515 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5516 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5517 arg2
= (int) SWIG_AsInt(obj1
);
5518 if (PyErr_Occurred()) SWIG_fail
;
5520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5521 result
= (bool)((wxListBox
const *)arg1
)->IsSelected(arg2
);
5523 wxPyEndAllowThreads(__tstate
);
5524 if (PyErr_Occurred()) SWIG_fail
;
5527 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5535 static PyObject
*_wrap_ListBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5536 PyObject
*resultobj
;
5537 wxListBox
*arg1
= (wxListBox
*) 0 ;
5539 bool arg3
= (bool) True
;
5540 PyObject
* obj0
= 0 ;
5541 PyObject
* obj1
= 0 ;
5542 PyObject
* obj2
= 0 ;
5544 (char *) "self",(char *) "n",(char *) "select", NULL
5547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5548 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5549 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5550 arg2
= (int) SWIG_AsInt(obj1
);
5551 if (PyErr_Occurred()) SWIG_fail
;
5553 arg3
= (bool) SWIG_AsBool(obj2
);
5554 if (PyErr_Occurred()) SWIG_fail
;
5557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5558 (arg1
)->SetSelection(arg2
,arg3
);
5560 wxPyEndAllowThreads(__tstate
);
5561 if (PyErr_Occurred()) SWIG_fail
;
5563 Py_INCREF(Py_None
); resultobj
= Py_None
;
5570 static PyObject
*_wrap_ListBox_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5571 PyObject
*resultobj
;
5572 wxListBox
*arg1
= (wxListBox
*) 0 ;
5574 PyObject
* obj0
= 0 ;
5575 PyObject
* obj1
= 0 ;
5577 (char *) "self",(char *) "n", NULL
5580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
5581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5583 arg2
= (int) SWIG_AsInt(obj1
);
5584 if (PyErr_Occurred()) SWIG_fail
;
5586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5587 (arg1
)->Select(arg2
);
5589 wxPyEndAllowThreads(__tstate
);
5590 if (PyErr_Occurred()) SWIG_fail
;
5592 Py_INCREF(Py_None
); resultobj
= Py_None
;
5599 static PyObject
*_wrap_ListBox_Deselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5600 PyObject
*resultobj
;
5601 wxListBox
*arg1
= (wxListBox
*) 0 ;
5603 PyObject
* obj0
= 0 ;
5604 PyObject
* obj1
= 0 ;
5606 (char *) "self",(char *) "n", NULL
5609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Deselect",kwnames
,&obj0
,&obj1
)) goto fail
;
5610 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5612 arg2
= (int) SWIG_AsInt(obj1
);
5613 if (PyErr_Occurred()) SWIG_fail
;
5615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5616 (arg1
)->Deselect(arg2
);
5618 wxPyEndAllowThreads(__tstate
);
5619 if (PyErr_Occurred()) SWIG_fail
;
5621 Py_INCREF(Py_None
); resultobj
= Py_None
;
5628 static PyObject
*_wrap_ListBox_DeselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5629 PyObject
*resultobj
;
5630 wxListBox
*arg1
= (wxListBox
*) 0 ;
5631 int arg2
= (int) -1 ;
5632 PyObject
* obj0
= 0 ;
5633 PyObject
* obj1
= 0 ;
5635 (char *) "self",(char *) "itemToLeaveSelected", NULL
5638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListBox_DeselectAll",kwnames
,&obj0
,&obj1
)) goto fail
;
5639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5642 arg2
= (int) SWIG_AsInt(obj1
);
5643 if (PyErr_Occurred()) SWIG_fail
;
5646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5647 (arg1
)->DeselectAll(arg2
);
5649 wxPyEndAllowThreads(__tstate
);
5650 if (PyErr_Occurred()) SWIG_fail
;
5652 Py_INCREF(Py_None
); resultobj
= Py_None
;
5659 static PyObject
*_wrap_ListBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5660 PyObject
*resultobj
;
5661 wxListBox
*arg1
= (wxListBox
*) 0 ;
5662 wxString
*arg2
= 0 ;
5663 bool arg3
= (bool) True
;
5665 bool temp2
= False
;
5666 PyObject
* obj0
= 0 ;
5667 PyObject
* obj1
= 0 ;
5668 PyObject
* obj2
= 0 ;
5670 (char *) "self",(char *) "s",(char *) "select", NULL
5673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetStringSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5674 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5677 arg2
= wxString_in_helper(obj1
);
5678 if (arg2
== NULL
) SWIG_fail
;
5682 arg3
= (bool) SWIG_AsBool(obj2
);
5683 if (PyErr_Occurred()) SWIG_fail
;
5686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5687 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
,arg3
);
5689 wxPyEndAllowThreads(__tstate
);
5690 if (PyErr_Occurred()) SWIG_fail
;
5693 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5709 static PyObject
*_wrap_ListBox_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5710 PyObject
*resultobj
;
5711 wxListBox
*arg1
= (wxListBox
*) 0 ;
5713 PyObject
* obj0
= 0 ;
5715 (char *) "self", NULL
5718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_GetSelections",kwnames
,&obj0
)) goto fail
;
5719 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5723 result
= (PyObject
*)wxListBox_GetSelections(arg1
);
5725 wxPyEndAllowThreads(__tstate
);
5726 if (PyErr_Occurred()) SWIG_fail
;
5735 static PyObject
*_wrap_ListBox_SetFirstItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5736 PyObject
*resultobj
;
5737 wxListBox
*arg1
= (wxListBox
*) 0 ;
5739 PyObject
* obj0
= 0 ;
5740 PyObject
* obj1
= 0 ;
5742 (char *) "self",(char *) "n", NULL
5745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItem",kwnames
,&obj0
,&obj1
)) goto fail
;
5746 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5748 arg2
= (int) SWIG_AsInt(obj1
);
5749 if (PyErr_Occurred()) SWIG_fail
;
5751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5752 (arg1
)->SetFirstItem(arg2
);
5754 wxPyEndAllowThreads(__tstate
);
5755 if (PyErr_Occurred()) SWIG_fail
;
5757 Py_INCREF(Py_None
); resultobj
= Py_None
;
5764 static PyObject
*_wrap_ListBox_SetFirstItemStr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5765 PyObject
*resultobj
;
5766 wxListBox
*arg1
= (wxListBox
*) 0 ;
5767 wxString
*arg2
= 0 ;
5768 bool temp2
= False
;
5769 PyObject
* obj0
= 0 ;
5770 PyObject
* obj1
= 0 ;
5772 (char *) "self",(char *) "s", NULL
5775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItemStr",kwnames
,&obj0
,&obj1
)) goto fail
;
5776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5779 arg2
= wxString_in_helper(obj1
);
5780 if (arg2
== NULL
) SWIG_fail
;
5784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5785 (arg1
)->SetFirstItem((wxString
const &)*arg2
);
5787 wxPyEndAllowThreads(__tstate
);
5788 if (PyErr_Occurred()) SWIG_fail
;
5790 Py_INCREF(Py_None
); resultobj
= Py_None
;
5805 static PyObject
*_wrap_ListBox_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5806 PyObject
*resultobj
;
5807 wxListBox
*arg1
= (wxListBox
*) 0 ;
5809 PyObject
* obj0
= 0 ;
5810 PyObject
* obj1
= 0 ;
5812 (char *) "self",(char *) "n", NULL
5815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
5816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5818 arg2
= (int) SWIG_AsInt(obj1
);
5819 if (PyErr_Occurred()) SWIG_fail
;
5821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5822 (arg1
)->EnsureVisible(arg2
);
5824 wxPyEndAllowThreads(__tstate
);
5825 if (PyErr_Occurred()) SWIG_fail
;
5827 Py_INCREF(Py_None
); resultobj
= Py_None
;
5834 static PyObject
*_wrap_ListBox_AppendAndEnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5835 PyObject
*resultobj
;
5836 wxListBox
*arg1
= (wxListBox
*) 0 ;
5837 wxString
*arg2
= 0 ;
5838 bool temp2
= False
;
5839 PyObject
* obj0
= 0 ;
5840 PyObject
* obj1
= 0 ;
5842 (char *) "self",(char *) "s", NULL
5845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
5846 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5849 arg2
= wxString_in_helper(obj1
);
5850 if (arg2
== NULL
) SWIG_fail
;
5854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5855 (arg1
)->AppendAndEnsureVisible((wxString
const &)*arg2
);
5857 wxPyEndAllowThreads(__tstate
);
5858 if (PyErr_Occurred()) SWIG_fail
;
5860 Py_INCREF(Py_None
); resultobj
= Py_None
;
5875 static PyObject
*_wrap_ListBox_IsSorted(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5876 PyObject
*resultobj
;
5877 wxListBox
*arg1
= (wxListBox
*) 0 ;
5879 PyObject
* obj0
= 0 ;
5881 (char *) "self", NULL
5884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_IsSorted",kwnames
,&obj0
)) goto fail
;
5885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5889 result
= (bool)((wxListBox
const *)arg1
)->IsSorted();
5891 wxPyEndAllowThreads(__tstate
);
5892 if (PyErr_Occurred()) SWIG_fail
;
5895 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5903 static PyObject
*_wrap_ListBox_SetItemForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5904 PyObject
*resultobj
;
5905 wxListBox
*arg1
= (wxListBox
*) 0 ;
5907 wxColour
*arg3
= 0 ;
5909 PyObject
* obj0
= 0 ;
5910 PyObject
* obj1
= 0 ;
5911 PyObject
* obj2
= 0 ;
5913 (char *) "self",(char *) "item",(char *) "c", NULL
5916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5919 arg2
= (int) SWIG_AsInt(obj1
);
5920 if (PyErr_Occurred()) SWIG_fail
;
5923 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
5926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5927 wxListBox_SetItemForegroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
5929 wxPyEndAllowThreads(__tstate
);
5930 if (PyErr_Occurred()) SWIG_fail
;
5932 Py_INCREF(Py_None
); resultobj
= Py_None
;
5939 static PyObject
*_wrap_ListBox_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5940 PyObject
*resultobj
;
5941 wxListBox
*arg1
= (wxListBox
*) 0 ;
5943 wxColour
*arg3
= 0 ;
5945 PyObject
* obj0
= 0 ;
5946 PyObject
* obj1
= 0 ;
5947 PyObject
* obj2
= 0 ;
5949 (char *) "self",(char *) "item",(char *) "c", NULL
5952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5953 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5955 arg2
= (int) SWIG_AsInt(obj1
);
5956 if (PyErr_Occurred()) SWIG_fail
;
5959 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
5962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5963 wxListBox_SetItemBackgroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
5965 wxPyEndAllowThreads(__tstate
);
5966 if (PyErr_Occurred()) SWIG_fail
;
5968 Py_INCREF(Py_None
); resultobj
= Py_None
;
5975 static PyObject
*_wrap_ListBox_SetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5976 PyObject
*resultobj
;
5977 wxListBox
*arg1
= (wxListBox
*) 0 ;
5980 PyObject
* obj0
= 0 ;
5981 PyObject
* obj1
= 0 ;
5982 PyObject
* obj2
= 0 ;
5984 (char *) "self",(char *) "item",(char *) "f", NULL
5987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5990 arg2
= (int) SWIG_AsInt(obj1
);
5991 if (PyErr_Occurred()) SWIG_fail
;
5992 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
5993 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5996 PyErr_SetString(PyExc_TypeError
,"null reference");
6000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6001 wxListBox_SetItemFont(arg1
,arg2
,(wxFont
const &)*arg3
);
6003 wxPyEndAllowThreads(__tstate
);
6004 if (PyErr_Occurred()) SWIG_fail
;
6006 Py_INCREF(Py_None
); resultobj
= Py_None
;
6013 static PyObject
*_wrap_ListBox_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6014 PyObject
*resultobj
;
6015 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
6016 wxVisualAttributes result
;
6017 PyObject
* obj0
= 0 ;
6019 (char *) "variant", NULL
6022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6024 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
6025 if (PyErr_Occurred()) SWIG_fail
;
6028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6029 result
= wxListBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
6031 wxPyEndAllowThreads(__tstate
);
6032 if (PyErr_Occurred()) SWIG_fail
;
6035 wxVisualAttributes
* resultptr
;
6036 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
6037 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6045 static PyObject
* ListBox_swigregister(PyObject
*self
, PyObject
*args
) {
6047 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6048 SWIG_TypeClientData(SWIGTYPE_p_wxListBox
, obj
);
6050 return Py_BuildValue((char *)"");
6052 static PyObject
*_wrap_new_CheckListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6053 PyObject
*resultobj
;
6054 wxWindow
*arg1
= (wxWindow
*) 0 ;
6056 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
6057 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
6058 wxSize
const &arg4_defvalue
= wxDefaultSize
;
6059 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
6060 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
6061 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
6062 long arg6
= (long) 0 ;
6063 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
6064 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
6065 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
6066 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6067 wxCheckListBox
*result
;
6070 bool temp5
= False
;
6071 bool temp8
= False
;
6072 PyObject
* obj0
= 0 ;
6073 PyObject
* obj1
= 0 ;
6074 PyObject
* obj2
= 0 ;
6075 PyObject
* obj3
= 0 ;
6076 PyObject
* obj4
= 0 ;
6077 PyObject
* obj5
= 0 ;
6078 PyObject
* obj6
= 0 ;
6079 PyObject
* obj7
= 0 ;
6081 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
6084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:new_CheckListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6085 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
6086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6087 arg2
= (int) SWIG_AsInt(obj1
);
6088 if (PyErr_Occurred()) SWIG_fail
;
6092 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
6098 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
6103 if (! PySequence_Check(obj4
)) {
6104 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
6107 arg5
= new wxArrayString
;
6109 int i
, len
=PySequence_Length(obj4
);
6110 for (i
=0; i
<len
; i
++) {
6111 PyObject
* item
= PySequence_GetItem(obj4
, i
);
6113 PyObject
* str
= PyObject_Unicode(item
);
6115 PyObject
* str
= PyObject_Str(item
);
6117 if (PyErr_Occurred()) SWIG_fail
;
6118 arg5
->Add(Py2wxString(str
));
6125 arg6
= (long) SWIG_AsLong(obj5
);
6126 if (PyErr_Occurred()) SWIG_fail
;
6129 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
6130 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6133 PyErr_SetString(PyExc_TypeError
,"null reference");
6139 arg8
= wxString_in_helper(obj7
);
6140 if (arg8
== NULL
) SWIG_fail
;
6145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6146 result
= (wxCheckListBox
*)new wxCheckListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
6148 wxPyEndAllowThreads(__tstate
);
6149 if (PyErr_Occurred()) SWIG_fail
;
6151 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckListBox
, 1);
6153 if (temp5
) delete arg5
;
6162 if (temp5
) delete arg5
;
6172 static PyObject
*_wrap_new_PreCheckListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6173 PyObject
*resultobj
;
6174 wxCheckListBox
*result
;
6179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckListBox",kwnames
)) goto fail
;
6181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6182 result
= (wxCheckListBox
*)new wxCheckListBox();
6184 wxPyEndAllowThreads(__tstate
);
6185 if (PyErr_Occurred()) SWIG_fail
;
6187 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckListBox
, 1);
6194 static PyObject
*_wrap_CheckListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6195 PyObject
*resultobj
;
6196 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6197 wxWindow
*arg2
= (wxWindow
*) 0 ;
6199 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6200 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6201 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6202 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6203 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
6204 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
6205 long arg7
= (long) 0 ;
6206 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
6207 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
6208 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
6209 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
6213 bool temp6
= False
;
6214 bool temp9
= False
;
6215 PyObject
* obj0
= 0 ;
6216 PyObject
* obj1
= 0 ;
6217 PyObject
* obj2
= 0 ;
6218 PyObject
* obj3
= 0 ;
6219 PyObject
* obj4
= 0 ;
6220 PyObject
* obj5
= 0 ;
6221 PyObject
* obj6
= 0 ;
6222 PyObject
* obj7
= 0 ;
6223 PyObject
* obj8
= 0 ;
6225 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
6228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:CheckListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
6229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6231 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6233 arg3
= (int) SWIG_AsInt(obj2
);
6234 if (PyErr_Occurred()) SWIG_fail
;
6238 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6244 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6249 if (! PySequence_Check(obj5
)) {
6250 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
6253 arg6
= new wxArrayString
;
6255 int i
, len
=PySequence_Length(obj5
);
6256 for (i
=0; i
<len
; i
++) {
6257 PyObject
* item
= PySequence_GetItem(obj5
, i
);
6259 PyObject
* str
= PyObject_Unicode(item
);
6261 PyObject
* str
= PyObject_Str(item
);
6263 if (PyErr_Occurred()) SWIG_fail
;
6264 arg6
->Add(Py2wxString(str
));
6271 arg7
= (long) SWIG_AsLong(obj6
);
6272 if (PyErr_Occurred()) SWIG_fail
;
6275 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
6276 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6279 PyErr_SetString(PyExc_TypeError
,"null reference");
6285 arg9
= wxString_in_helper(obj8
);
6286 if (arg9
== NULL
) SWIG_fail
;
6291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6292 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
6294 wxPyEndAllowThreads(__tstate
);
6295 if (PyErr_Occurred()) SWIG_fail
;
6298 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6301 if (temp6
) delete arg6
;
6310 if (temp6
) delete arg6
;
6320 static PyObject
*_wrap_CheckListBox_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6321 PyObject
*resultobj
;
6322 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6325 PyObject
* obj0
= 0 ;
6326 PyObject
* obj1
= 0 ;
6328 (char *) "self",(char *) "index", NULL
6331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
6332 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6334 arg2
= (int) SWIG_AsInt(obj1
);
6335 if (PyErr_Occurred()) SWIG_fail
;
6337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6338 result
= (bool)(arg1
)->IsChecked(arg2
);
6340 wxPyEndAllowThreads(__tstate
);
6341 if (PyErr_Occurred()) SWIG_fail
;
6344 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6352 static PyObject
*_wrap_CheckListBox_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6353 PyObject
*resultobj
;
6354 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6356 int arg3
= (int) True
;
6357 PyObject
* obj0
= 0 ;
6358 PyObject
* obj1
= 0 ;
6359 PyObject
* obj2
= 0 ;
6361 (char *) "self",(char *) "index",(char *) "check", NULL
6364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:CheckListBox_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6367 arg2
= (int) SWIG_AsInt(obj1
);
6368 if (PyErr_Occurred()) SWIG_fail
;
6370 arg3
= (int) SWIG_AsInt(obj2
);
6371 if (PyErr_Occurred()) SWIG_fail
;
6374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6375 (arg1
)->Check(arg2
,arg3
);
6377 wxPyEndAllowThreads(__tstate
);
6378 if (PyErr_Occurred()) SWIG_fail
;
6380 Py_INCREF(Py_None
); resultobj
= Py_None
;
6387 static PyObject
*_wrap_CheckListBox_GetItemHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6388 PyObject
*resultobj
;
6389 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6391 PyObject
* obj0
= 0 ;
6393 (char *) "self", NULL
6396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckListBox_GetItemHeight",kwnames
,&obj0
)) goto fail
;
6397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6401 result
= (int)(arg1
)->GetItemHeight();
6403 wxPyEndAllowThreads(__tstate
);
6404 if (PyErr_Occurred()) SWIG_fail
;
6406 resultobj
= SWIG_FromInt((int)result
);
6413 static PyObject
*_wrap_CheckListBox_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6414 PyObject
*resultobj
;
6415 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6419 PyObject
* obj0
= 0 ;
6420 PyObject
* obj1
= 0 ;
6422 (char *) "self",(char *) "pt", NULL
6425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
6426 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6430 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6434 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
6436 wxPyEndAllowThreads(__tstate
);
6437 if (PyErr_Occurred()) SWIG_fail
;
6439 resultobj
= SWIG_FromInt((int)result
);
6446 static PyObject
*_wrap_CheckListBox_HitTestXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6447 PyObject
*resultobj
;
6448 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6452 PyObject
* obj0
= 0 ;
6453 PyObject
* obj1
= 0 ;
6454 PyObject
* obj2
= 0 ;
6456 (char *) "self",(char *) "x",(char *) "y", NULL
6459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:CheckListBox_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6462 arg2
= (int) SWIG_AsInt(obj1
);
6463 if (PyErr_Occurred()) SWIG_fail
;
6464 arg3
= (int) SWIG_AsInt(obj2
);
6465 if (PyErr_Occurred()) SWIG_fail
;
6467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6468 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest(arg2
,arg3
);
6470 wxPyEndAllowThreads(__tstate
);
6471 if (PyErr_Occurred()) SWIG_fail
;
6473 resultobj
= SWIG_FromInt((int)result
);
6480 static PyObject
* CheckListBox_swigregister(PyObject
*self
, PyObject
*args
) {
6482 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6483 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox
, obj
);
6485 return Py_BuildValue((char *)"");
6487 static int _wrap_TextCtrlNameStr_set(PyObject
*_val
) {
6488 PyErr_SetString(PyExc_TypeError
,"Variable TextCtrlNameStr is read-only.");
6493 static PyObject
*_wrap_TextCtrlNameStr_get() {
6498 pyobj
= PyUnicode_FromWideChar((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
6500 pyobj
= PyString_FromStringAndSize((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
6507 static PyObject
*_wrap_new_TextAttr__SWIG_0(PyObject
*self
, PyObject
*args
) {
6508 PyObject
*resultobj
;
6511 if(!PyArg_ParseTuple(args
,(char *)":new_TextAttr")) goto fail
;
6513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6514 result
= (wxTextAttr
*)new wxTextAttr();
6516 wxPyEndAllowThreads(__tstate
);
6517 if (PyErr_Occurred()) SWIG_fail
;
6519 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 1);
6526 static PyObject
*_wrap_new_TextAttr__SWIG_1(PyObject
*self
, PyObject
*args
) {
6527 PyObject
*resultobj
;
6528 wxColour
*arg1
= 0 ;
6529 wxColour
const &arg2_defvalue
= wxNullColour
;
6530 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
6531 wxFont
const &arg3_defvalue
= wxNullFont
;
6532 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
6533 int arg4
= (int) wxTEXT_ALIGNMENT_DEFAULT
;
6537 PyObject
* obj0
= 0 ;
6538 PyObject
* obj1
= 0 ;
6539 PyObject
* obj2
= 0 ;
6540 PyObject
* obj3
= 0 ;
6542 if(!PyArg_ParseTuple(args
,(char *)"O|OOO:new_TextAttr",&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6545 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
6550 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6554 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
6555 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6558 PyErr_SetString(PyExc_TypeError
,"null reference");
6563 arg4
= (wxTextAttrAlignment
) SWIG_AsInt(obj3
);
6564 if (PyErr_Occurred()) SWIG_fail
;
6567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6568 result
= (wxTextAttr
*)new wxTextAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
,(wxTextAttrAlignment
)arg4
);
6570 wxPyEndAllowThreads(__tstate
);
6571 if (PyErr_Occurred()) SWIG_fail
;
6573 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 1);
6580 static PyObject
*_wrap_new_TextAttr(PyObject
*self
, PyObject
*args
) {
6585 argc
= PyObject_Length(args
);
6586 for (ii
= 0; (ii
< argc
) && (ii
< 4); ii
++) {
6587 argv
[ii
] = PyTuple_GetItem(args
,ii
);
6590 return _wrap_new_TextAttr__SWIG_0(self
,args
);
6592 if ((argc
>= 1) && (argc
<= 4)) {
6595 _v
= wxColour_typecheck(argv
[0]);
6599 return _wrap_new_TextAttr__SWIG_1(self
,args
);
6602 _v
= wxColour_typecheck(argv
[1]);
6606 return _wrap_new_TextAttr__SWIG_1(self
,args
);
6610 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxFont
, 0) == -1) {
6619 return _wrap_new_TextAttr__SWIG_1(self
,args
);
6621 _v
= SWIG_CheckInt(argv
[3]);
6623 return _wrap_new_TextAttr__SWIG_1(self
,args
);
6630 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_TextAttr'");
6635 static PyObject
*_wrap_delete_TextAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6636 PyObject
*resultobj
;
6637 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6638 PyObject
* obj0
= 0 ;
6640 (char *) "self", NULL
6643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TextAttr",kwnames
,&obj0
)) goto fail
;
6644 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6645 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6650 wxPyEndAllowThreads(__tstate
);
6651 if (PyErr_Occurred()) SWIG_fail
;
6653 Py_INCREF(Py_None
); resultobj
= Py_None
;
6660 static PyObject
*_wrap_TextAttr_Init(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6661 PyObject
*resultobj
;
6662 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6663 PyObject
* obj0
= 0 ;
6665 (char *) "self", NULL
6668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_Init",kwnames
,&obj0
)) goto fail
;
6669 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6675 wxPyEndAllowThreads(__tstate
);
6676 if (PyErr_Occurred()) SWIG_fail
;
6678 Py_INCREF(Py_None
); resultobj
= Py_None
;
6685 static PyObject
*_wrap_TextAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6686 PyObject
*resultobj
;
6687 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6688 wxColour
*arg2
= 0 ;
6690 PyObject
* obj0
= 0 ;
6691 PyObject
* obj1
= 0 ;
6693 (char *) "self",(char *) "colText", NULL
6696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
6697 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6701 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6705 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
6707 wxPyEndAllowThreads(__tstate
);
6708 if (PyErr_Occurred()) SWIG_fail
;
6710 Py_INCREF(Py_None
); resultobj
= Py_None
;
6717 static PyObject
*_wrap_TextAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6718 PyObject
*resultobj
;
6719 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6720 wxColour
*arg2
= 0 ;
6722 PyObject
* obj0
= 0 ;
6723 PyObject
* obj1
= 0 ;
6725 (char *) "self",(char *) "colBack", NULL
6728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
6729 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6733 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6737 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
6739 wxPyEndAllowThreads(__tstate
);
6740 if (PyErr_Occurred()) SWIG_fail
;
6742 Py_INCREF(Py_None
); resultobj
= Py_None
;
6749 static PyObject
*_wrap_TextAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6750 PyObject
*resultobj
;
6751 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6753 long arg3
= (long) wxTEXT_ATTR_FONT
;
6754 PyObject
* obj0
= 0 ;
6755 PyObject
* obj1
= 0 ;
6756 PyObject
* obj2
= 0 ;
6758 (char *) "self",(char *) "font",(char *) "flags", NULL
6761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6762 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6764 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
6765 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6768 PyErr_SetString(PyExc_TypeError
,"null reference");
6772 arg3
= (long) SWIG_AsLong(obj2
);
6773 if (PyErr_Occurred()) SWIG_fail
;
6776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6777 (arg1
)->SetFont((wxFont
const &)*arg2
,arg3
);
6779 wxPyEndAllowThreads(__tstate
);
6780 if (PyErr_Occurred()) SWIG_fail
;
6782 Py_INCREF(Py_None
); resultobj
= Py_None
;
6789 static PyObject
*_wrap_TextAttr_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6790 PyObject
*resultobj
;
6791 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6793 PyObject
* obj0
= 0 ;
6794 PyObject
* obj1
= 0 ;
6796 (char *) "self",(char *) "alignment", NULL
6799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
6800 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6802 arg2
= (wxTextAttrAlignment
) SWIG_AsInt(obj1
);
6803 if (PyErr_Occurred()) SWIG_fail
;
6805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6806 (arg1
)->SetAlignment((wxTextAttrAlignment
)arg2
);
6808 wxPyEndAllowThreads(__tstate
);
6809 if (PyErr_Occurred()) SWIG_fail
;
6811 Py_INCREF(Py_None
); resultobj
= Py_None
;
6818 static PyObject
*_wrap_TextAttr_SetTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6819 PyObject
*resultobj
;
6820 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6821 wxArrayInt
*arg2
= 0 ;
6822 bool temp2
= False
;
6823 PyObject
* obj0
= 0 ;
6824 PyObject
* obj1
= 0 ;
6826 (char *) "self",(char *) "tabs", NULL
6829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) goto fail
;
6830 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6831 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6833 if (! PySequence_Check(obj1
)) {
6834 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
6837 arg2
= new wxArrayInt
;
6839 int i
, len
=PySequence_Length(obj1
);
6840 for (i
=0; i
<len
; i
++) {
6841 PyObject
* item
= PySequence_GetItem(obj1
, i
);
6842 PyObject
* number
= PyNumber_Int(item
);
6843 arg2
->Add(PyInt_AS_LONG(number
));
6849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6850 (arg1
)->SetTabs((wxArrayInt
const &)*arg2
);
6852 wxPyEndAllowThreads(__tstate
);
6853 if (PyErr_Occurred()) SWIG_fail
;
6855 Py_INCREF(Py_None
); resultobj
= Py_None
;
6857 if (temp2
) delete arg2
;
6862 if (temp2
) delete arg2
;
6868 static PyObject
*_wrap_TextAttr_SetLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6869 PyObject
*resultobj
;
6870 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6872 PyObject
* obj0
= 0 ;
6873 PyObject
* obj1
= 0 ;
6875 (char *) "self",(char *) "indent", NULL
6878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetLeftIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
6879 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6880 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6881 arg2
= (int) SWIG_AsInt(obj1
);
6882 if (PyErr_Occurred()) SWIG_fail
;
6884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6885 (arg1
)->SetLeftIndent(arg2
);
6887 wxPyEndAllowThreads(__tstate
);
6888 if (PyErr_Occurred()) SWIG_fail
;
6890 Py_INCREF(Py_None
); resultobj
= Py_None
;
6897 static PyObject
*_wrap_TextAttr_SetRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6898 PyObject
*resultobj
;
6899 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6901 PyObject
* obj0
= 0 ;
6902 PyObject
* obj1
= 0 ;
6904 (char *) "self",(char *) "indent", NULL
6907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetRightIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
6908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6910 arg2
= (int) SWIG_AsInt(obj1
);
6911 if (PyErr_Occurred()) SWIG_fail
;
6913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6914 (arg1
)->SetRightIndent(arg2
);
6916 wxPyEndAllowThreads(__tstate
);
6917 if (PyErr_Occurred()) SWIG_fail
;
6919 Py_INCREF(Py_None
); resultobj
= Py_None
;
6926 static PyObject
*_wrap_TextAttr_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6927 PyObject
*resultobj
;
6928 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6930 PyObject
* obj0
= 0 ;
6931 PyObject
* obj1
= 0 ;
6933 (char *) "self",(char *) "flags", NULL
6936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
6937 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6938 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6939 arg2
= (long) SWIG_AsLong(obj1
);
6940 if (PyErr_Occurred()) SWIG_fail
;
6942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6943 (arg1
)->SetFlags(arg2
);
6945 wxPyEndAllowThreads(__tstate
);
6946 if (PyErr_Occurred()) SWIG_fail
;
6948 Py_INCREF(Py_None
); resultobj
= Py_None
;
6955 static PyObject
*_wrap_TextAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6956 PyObject
*resultobj
;
6957 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6959 PyObject
* obj0
= 0 ;
6961 (char *) "self", NULL
6964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
6965 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6969 result
= (bool)((wxTextAttr
const *)arg1
)->HasTextColour();
6971 wxPyEndAllowThreads(__tstate
);
6972 if (PyErr_Occurred()) SWIG_fail
;
6975 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6983 static PyObject
*_wrap_TextAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6984 PyObject
*resultobj
;
6985 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6987 PyObject
* obj0
= 0 ;
6989 (char *) "self", NULL
6992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
6993 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6994 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6997 result
= (bool)((wxTextAttr
const *)arg1
)->HasBackgroundColour();
6999 wxPyEndAllowThreads(__tstate
);
7000 if (PyErr_Occurred()) SWIG_fail
;
7003 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7011 static PyObject
*_wrap_TextAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7012 PyObject
*resultobj
;
7013 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7015 PyObject
* obj0
= 0 ;
7017 (char *) "self", NULL
7020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasFont",kwnames
,&obj0
)) goto fail
;
7021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7025 result
= (bool)((wxTextAttr
const *)arg1
)->HasFont();
7027 wxPyEndAllowThreads(__tstate
);
7028 if (PyErr_Occurred()) SWIG_fail
;
7031 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7039 static PyObject
*_wrap_TextAttr_HasAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7040 PyObject
*resultobj
;
7041 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7043 PyObject
* obj0
= 0 ;
7045 (char *) "self", NULL
7048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasAlignment",kwnames
,&obj0
)) goto fail
;
7049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7053 result
= (bool)((wxTextAttr
const *)arg1
)->HasAlignment();
7055 wxPyEndAllowThreads(__tstate
);
7056 if (PyErr_Occurred()) SWIG_fail
;
7059 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7067 static PyObject
*_wrap_TextAttr_HasTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7068 PyObject
*resultobj
;
7069 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7071 PyObject
* obj0
= 0 ;
7073 (char *) "self", NULL
7076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTabs",kwnames
,&obj0
)) goto fail
;
7077 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7078 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7081 result
= (bool)((wxTextAttr
const *)arg1
)->HasTabs();
7083 wxPyEndAllowThreads(__tstate
);
7084 if (PyErr_Occurred()) SWIG_fail
;
7087 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7095 static PyObject
*_wrap_TextAttr_HasLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7096 PyObject
*resultobj
;
7097 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7099 PyObject
* obj0
= 0 ;
7101 (char *) "self", NULL
7104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasLeftIndent",kwnames
,&obj0
)) goto fail
;
7105 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7106 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7109 result
= (bool)((wxTextAttr
const *)arg1
)->HasLeftIndent();
7111 wxPyEndAllowThreads(__tstate
);
7112 if (PyErr_Occurred()) SWIG_fail
;
7115 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7123 static PyObject
*_wrap_TextAttr_HasRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7124 PyObject
*resultobj
;
7125 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7127 PyObject
* obj0
= 0 ;
7129 (char *) "self", NULL
7132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasRightIndent",kwnames
,&obj0
)) goto fail
;
7133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7137 result
= (bool)((wxTextAttr
const *)arg1
)->HasRightIndent();
7139 wxPyEndAllowThreads(__tstate
);
7140 if (PyErr_Occurred()) SWIG_fail
;
7143 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7151 static PyObject
*_wrap_TextAttr_HasFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7152 PyObject
*resultobj
;
7153 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7156 PyObject
* obj0
= 0 ;
7157 PyObject
* obj1
= 0 ;
7159 (char *) "self",(char *) "flag", NULL
7162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
7163 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7165 arg2
= (long) SWIG_AsLong(obj1
);
7166 if (PyErr_Occurred()) SWIG_fail
;
7168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7169 result
= (bool)((wxTextAttr
const *)arg1
)->HasFlag(arg2
);
7171 wxPyEndAllowThreads(__tstate
);
7172 if (PyErr_Occurred()) SWIG_fail
;
7175 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7183 static PyObject
*_wrap_TextAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7184 PyObject
*resultobj
;
7185 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7187 PyObject
* obj0
= 0 ;
7189 (char *) "self", NULL
7192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
7193 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7198 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTextColour();
7199 result
= (wxColour
*) &_result_ref
;
7202 wxPyEndAllowThreads(__tstate
);
7203 if (PyErr_Occurred()) SWIG_fail
;
7205 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
7212 static PyObject
*_wrap_TextAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7213 PyObject
*resultobj
;
7214 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7216 PyObject
* obj0
= 0 ;
7218 (char *) "self", NULL
7221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
7222 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7227 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetBackgroundColour();
7228 result
= (wxColour
*) &_result_ref
;
7231 wxPyEndAllowThreads(__tstate
);
7232 if (PyErr_Occurred()) SWIG_fail
;
7234 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
7241 static PyObject
*_wrap_TextAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7242 PyObject
*resultobj
;
7243 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7245 PyObject
* obj0
= 0 ;
7247 (char *) "self", NULL
7250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFont",kwnames
,&obj0
)) goto fail
;
7251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7256 wxFont
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetFont();
7257 result
= (wxFont
*) &_result_ref
;
7260 wxPyEndAllowThreads(__tstate
);
7261 if (PyErr_Occurred()) SWIG_fail
;
7264 wxFont
* resultptr
= new wxFont(*result
);
7265 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
7273 static PyObject
*_wrap_TextAttr_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7274 PyObject
*resultobj
;
7275 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7277 PyObject
* obj0
= 0 ;
7279 (char *) "self", NULL
7282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetAlignment",kwnames
,&obj0
)) goto fail
;
7283 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7287 result
= (int)((wxTextAttr
const *)arg1
)->GetAlignment();
7289 wxPyEndAllowThreads(__tstate
);
7290 if (PyErr_Occurred()) SWIG_fail
;
7292 resultobj
= SWIG_FromInt((int)result
);
7299 static PyObject
*_wrap_TextAttr_GetTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7300 PyObject
*resultobj
;
7301 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7303 PyObject
* obj0
= 0 ;
7305 (char *) "self", NULL
7308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTabs",kwnames
,&obj0
)) goto fail
;
7309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7314 wxArrayInt
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTabs();
7315 result
= (wxArrayInt
*) &_result_ref
;
7318 wxPyEndAllowThreads(__tstate
);
7319 if (PyErr_Occurred()) SWIG_fail
;
7322 resultobj
= PyList_New(0);
7324 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
7325 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
7326 PyList_Append(resultobj
, val
);
7336 static PyObject
*_wrap_TextAttr_GetLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7337 PyObject
*resultobj
;
7338 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7340 PyObject
* obj0
= 0 ;
7342 (char *) "self", NULL
7345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetLeftIndent",kwnames
,&obj0
)) goto fail
;
7346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7350 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftIndent();
7352 wxPyEndAllowThreads(__tstate
);
7353 if (PyErr_Occurred()) SWIG_fail
;
7355 resultobj
= SWIG_FromLong((long)result
);
7362 static PyObject
*_wrap_TextAttr_GetRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7363 PyObject
*resultobj
;
7364 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7366 PyObject
* obj0
= 0 ;
7368 (char *) "self", NULL
7371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetRightIndent",kwnames
,&obj0
)) goto fail
;
7372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7376 result
= (long)((wxTextAttr
const *)arg1
)->GetRightIndent();
7378 wxPyEndAllowThreads(__tstate
);
7379 if (PyErr_Occurred()) SWIG_fail
;
7381 resultobj
= SWIG_FromLong((long)result
);
7388 static PyObject
*_wrap_TextAttr_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7389 PyObject
*resultobj
;
7390 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7392 PyObject
* obj0
= 0 ;
7394 (char *) "self", NULL
7397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFlags",kwnames
,&obj0
)) goto fail
;
7398 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7402 result
= (long)((wxTextAttr
const *)arg1
)->GetFlags();
7404 wxPyEndAllowThreads(__tstate
);
7405 if (PyErr_Occurred()) SWIG_fail
;
7407 resultobj
= SWIG_FromLong((long)result
);
7414 static PyObject
*_wrap_TextAttr_IsDefault(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7415 PyObject
*resultobj
;
7416 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7418 PyObject
* obj0
= 0 ;
7420 (char *) "self", NULL
7423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_IsDefault",kwnames
,&obj0
)) goto fail
;
7424 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7428 result
= (bool)((wxTextAttr
const *)arg1
)->IsDefault();
7430 wxPyEndAllowThreads(__tstate
);
7431 if (PyErr_Occurred()) SWIG_fail
;
7434 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7442 static PyObject
*_wrap_TextAttr_Combine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7443 PyObject
*resultobj
;
7444 wxTextAttr
*arg1
= 0 ;
7445 wxTextAttr
*arg2
= 0 ;
7446 wxTextCtrl
*arg3
= (wxTextCtrl
*) 0 ;
7448 PyObject
* obj0
= 0 ;
7449 PyObject
* obj1
= 0 ;
7450 PyObject
* obj2
= 0 ;
7452 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
7455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextAttr_Combine",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7457 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7460 PyErr_SetString(PyExc_TypeError
,"null reference");
7463 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTextAttr
,
7464 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7467 PyErr_SetString(PyExc_TypeError
,"null reference");
7470 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTextCtrl
,
7471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7474 result
= wxTextAttr::Combine((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
,(wxTextCtrl
const *)arg3
);
7476 wxPyEndAllowThreads(__tstate
);
7477 if (PyErr_Occurred()) SWIG_fail
;
7480 wxTextAttr
* resultptr
;
7481 resultptr
= new wxTextAttr((wxTextAttr
&) result
);
7482 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTextAttr
, 1);
7490 static PyObject
* TextAttr_swigregister(PyObject
*self
, PyObject
*args
) {
7492 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7493 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr
, obj
);
7495 return Py_BuildValue((char *)"");
7497 static PyObject
*_wrap_new_TextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7498 PyObject
*resultobj
;
7499 wxWindow
*arg1
= (wxWindow
*) 0 ;
7501 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7502 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7503 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7504 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7505 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7506 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7507 long arg6
= (long) 0 ;
7508 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
7509 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
7510 wxString
const &arg8_defvalue
= wxPyTextCtrlNameStr
;
7511 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7513 bool temp3
= False
;
7516 bool temp8
= False
;
7517 PyObject
* obj0
= 0 ;
7518 PyObject
* obj1
= 0 ;
7519 PyObject
* obj2
= 0 ;
7520 PyObject
* obj3
= 0 ;
7521 PyObject
* obj4
= 0 ;
7522 PyObject
* obj5
= 0 ;
7523 PyObject
* obj6
= 0 ;
7524 PyObject
* obj7
= 0 ;
7526 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
7529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:new_TextCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
7530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
7531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7532 arg2
= (int) SWIG_AsInt(obj1
);
7533 if (PyErr_Occurred()) SWIG_fail
;
7536 arg3
= wxString_in_helper(obj2
);
7537 if (arg3
== NULL
) SWIG_fail
;
7544 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7550 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7554 arg6
= (long) SWIG_AsLong(obj5
);
7555 if (PyErr_Occurred()) SWIG_fail
;
7558 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
7559 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7562 PyErr_SetString(PyExc_TypeError
,"null reference");
7568 arg8
= wxString_in_helper(obj7
);
7569 if (arg8
== NULL
) SWIG_fail
;
7574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7575 result
= (wxTextCtrl
*)new wxTextCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
7577 wxPyEndAllowThreads(__tstate
);
7578 if (PyErr_Occurred()) SWIG_fail
;
7581 resultobj
= wxPyMake_wxObject(result
);
7605 static PyObject
*_wrap_new_PreTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7606 PyObject
*resultobj
;
7612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTextCtrl",kwnames
)) goto fail
;
7614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7615 result
= (wxTextCtrl
*)new wxTextCtrl();
7617 wxPyEndAllowThreads(__tstate
);
7618 if (PyErr_Occurred()) SWIG_fail
;
7621 resultobj
= wxPyMake_wxObject(result
);
7629 static PyObject
*_wrap_TextCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7630 PyObject
*resultobj
;
7631 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7632 wxWindow
*arg2
= (wxWindow
*) 0 ;
7634 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7635 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7636 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
7637 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
7638 wxSize
const &arg6_defvalue
= wxDefaultSize
;
7639 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
7640 long arg7
= (long) 0 ;
7641 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
7642 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
7643 wxString
const &arg9_defvalue
= wxPyTextCtrlNameStr
;
7644 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
7646 bool temp4
= False
;
7649 bool temp9
= False
;
7650 PyObject
* obj0
= 0 ;
7651 PyObject
* obj1
= 0 ;
7652 PyObject
* obj2
= 0 ;
7653 PyObject
* obj3
= 0 ;
7654 PyObject
* obj4
= 0 ;
7655 PyObject
* obj5
= 0 ;
7656 PyObject
* obj6
= 0 ;
7657 PyObject
* obj7
= 0 ;
7658 PyObject
* obj8
= 0 ;
7660 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
7663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:TextCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
7664 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7665 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7666 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
7667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7668 arg3
= (int) SWIG_AsInt(obj2
);
7669 if (PyErr_Occurred()) SWIG_fail
;
7672 arg4
= wxString_in_helper(obj3
);
7673 if (arg4
== NULL
) SWIG_fail
;
7680 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7686 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
7690 arg7
= (long) SWIG_AsLong(obj6
);
7691 if (PyErr_Occurred()) SWIG_fail
;
7694 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
7695 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7698 PyErr_SetString(PyExc_TypeError
,"null reference");
7704 arg9
= wxString_in_helper(obj8
);
7705 if (arg9
== NULL
) SWIG_fail
;
7710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7711 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
7713 wxPyEndAllowThreads(__tstate
);
7714 if (PyErr_Occurred()) SWIG_fail
;
7717 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7741 static PyObject
*_wrap_TextCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7742 PyObject
*resultobj
;
7743 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7745 PyObject
* obj0
= 0 ;
7747 (char *) "self", NULL
7750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
7751 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7752 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7755 result
= ((wxTextCtrl
const *)arg1
)->GetValue();
7757 wxPyEndAllowThreads(__tstate
);
7758 if (PyErr_Occurred()) SWIG_fail
;
7762 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7764 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7773 static PyObject
*_wrap_TextCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7774 PyObject
*resultobj
;
7775 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7776 wxString
*arg2
= 0 ;
7777 bool temp2
= False
;
7778 PyObject
* obj0
= 0 ;
7779 PyObject
* obj1
= 0 ;
7781 (char *) "self",(char *) "value", NULL
7784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
7785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7788 arg2
= wxString_in_helper(obj1
);
7789 if (arg2
== NULL
) SWIG_fail
;
7793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7794 (arg1
)->SetValue((wxString
const &)*arg2
);
7796 wxPyEndAllowThreads(__tstate
);
7797 if (PyErr_Occurred()) SWIG_fail
;
7799 Py_INCREF(Py_None
); resultobj
= Py_None
;
7814 static PyObject
*_wrap_TextCtrl_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7815 PyObject
*resultobj
;
7816 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7820 PyObject
* obj0
= 0 ;
7821 PyObject
* obj1
= 0 ;
7822 PyObject
* obj2
= 0 ;
7824 (char *) "self",(char *) "from",(char *) "to", NULL
7827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7830 arg2
= (long) SWIG_AsLong(obj1
);
7831 if (PyErr_Occurred()) SWIG_fail
;
7832 arg3
= (long) SWIG_AsLong(obj2
);
7833 if (PyErr_Occurred()) SWIG_fail
;
7835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7836 result
= ((wxTextCtrl
const *)arg1
)->GetRange(arg2
,arg3
);
7838 wxPyEndAllowThreads(__tstate
);
7839 if (PyErr_Occurred()) SWIG_fail
;
7843 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7845 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7854 static PyObject
*_wrap_TextCtrl_GetLineLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7855 PyObject
*resultobj
;
7856 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7859 PyObject
* obj0
= 0 ;
7860 PyObject
* obj1
= 0 ;
7862 (char *) "self",(char *) "lineNo", NULL
7865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineLength",kwnames
,&obj0
,&obj1
)) goto fail
;
7866 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7868 arg2
= (long) SWIG_AsLong(obj1
);
7869 if (PyErr_Occurred()) SWIG_fail
;
7871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7872 result
= (int)((wxTextCtrl
const *)arg1
)->GetLineLength(arg2
);
7874 wxPyEndAllowThreads(__tstate
);
7875 if (PyErr_Occurred()) SWIG_fail
;
7877 resultobj
= SWIG_FromInt((int)result
);
7884 static PyObject
*_wrap_TextCtrl_GetLineText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7885 PyObject
*resultobj
;
7886 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7889 PyObject
* obj0
= 0 ;
7890 PyObject
* obj1
= 0 ;
7892 (char *) "self",(char *) "lineNo", NULL
7895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineText",kwnames
,&obj0
,&obj1
)) goto fail
;
7896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7898 arg2
= (long) SWIG_AsLong(obj1
);
7899 if (PyErr_Occurred()) SWIG_fail
;
7901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7902 result
= ((wxTextCtrl
const *)arg1
)->GetLineText(arg2
);
7904 wxPyEndAllowThreads(__tstate
);
7905 if (PyErr_Occurred()) SWIG_fail
;
7909 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7911 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7920 static PyObject
*_wrap_TextCtrl_GetNumberOfLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7921 PyObject
*resultobj
;
7922 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7924 PyObject
* obj0
= 0 ;
7926 (char *) "self", NULL
7929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetNumberOfLines",kwnames
,&obj0
)) goto fail
;
7930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7934 result
= (int)((wxTextCtrl
const *)arg1
)->GetNumberOfLines();
7936 wxPyEndAllowThreads(__tstate
);
7937 if (PyErr_Occurred()) SWIG_fail
;
7939 resultobj
= SWIG_FromInt((int)result
);
7946 static PyObject
*_wrap_TextCtrl_IsModified(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7947 PyObject
*resultobj
;
7948 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7950 PyObject
* obj0
= 0 ;
7952 (char *) "self", NULL
7955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsModified",kwnames
,&obj0
)) goto fail
;
7956 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7960 result
= (bool)((wxTextCtrl
const *)arg1
)->IsModified();
7962 wxPyEndAllowThreads(__tstate
);
7963 if (PyErr_Occurred()) SWIG_fail
;
7966 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7974 static PyObject
*_wrap_TextCtrl_IsEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7975 PyObject
*resultobj
;
7976 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7978 PyObject
* obj0
= 0 ;
7980 (char *) "self", NULL
7983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsEditable",kwnames
,&obj0
)) goto fail
;
7984 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7988 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEditable();
7990 wxPyEndAllowThreads(__tstate
);
7991 if (PyErr_Occurred()) SWIG_fail
;
7994 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8002 static PyObject
*_wrap_TextCtrl_IsSingleLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8003 PyObject
*resultobj
;
8004 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8006 PyObject
* obj0
= 0 ;
8008 (char *) "self", NULL
8011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsSingleLine",kwnames
,&obj0
)) goto fail
;
8012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8016 result
= (bool)((wxTextCtrl
const *)arg1
)->IsSingleLine();
8018 wxPyEndAllowThreads(__tstate
);
8019 if (PyErr_Occurred()) SWIG_fail
;
8022 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8030 static PyObject
*_wrap_TextCtrl_IsMultiLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8031 PyObject
*resultobj
;
8032 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8034 PyObject
* obj0
= 0 ;
8036 (char *) "self", NULL
8039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsMultiLine",kwnames
,&obj0
)) goto fail
;
8040 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8044 result
= (bool)((wxTextCtrl
const *)arg1
)->IsMultiLine();
8046 wxPyEndAllowThreads(__tstate
);
8047 if (PyErr_Occurred()) SWIG_fail
;
8050 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8058 static PyObject
*_wrap_TextCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8059 PyObject
*resultobj
;
8060 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8061 long *arg2
= (long *) 0 ;
8062 long *arg3
= (long *) 0 ;
8065 PyObject
* obj0
= 0 ;
8067 (char *) "self", NULL
8072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
8073 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8077 ((wxTextCtrl
const *)arg1
)->GetSelection(arg2
,arg3
);
8079 wxPyEndAllowThreads(__tstate
);
8080 if (PyErr_Occurred()) SWIG_fail
;
8082 Py_INCREF(Py_None
); resultobj
= Py_None
;
8084 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
8085 resultobj
= t_output_helper(resultobj
,o
);
8088 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
8089 resultobj
= t_output_helper(resultobj
,o
);
8097 static PyObject
*_wrap_TextCtrl_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8098 PyObject
*resultobj
;
8099 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8101 PyObject
* obj0
= 0 ;
8103 (char *) "self", NULL
8106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetStringSelection",kwnames
,&obj0
)) goto fail
;
8107 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8108 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8111 result
= ((wxTextCtrl
const *)arg1
)->GetStringSelection();
8113 wxPyEndAllowThreads(__tstate
);
8114 if (PyErr_Occurred()) SWIG_fail
;
8118 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8120 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8129 static PyObject
*_wrap_TextCtrl_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8130 PyObject
*resultobj
;
8131 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8132 PyObject
* obj0
= 0 ;
8134 (char *) "self", NULL
8137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Clear",kwnames
,&obj0
)) goto fail
;
8138 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8139 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8144 wxPyEndAllowThreads(__tstate
);
8145 if (PyErr_Occurred()) SWIG_fail
;
8147 Py_INCREF(Py_None
); resultobj
= Py_None
;
8154 static PyObject
*_wrap_TextCtrl_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8155 PyObject
*resultobj
;
8156 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8159 wxString
*arg4
= 0 ;
8160 bool temp4
= False
;
8161 PyObject
* obj0
= 0 ;
8162 PyObject
* obj1
= 0 ;
8163 PyObject
* obj2
= 0 ;
8164 PyObject
* obj3
= 0 ;
8166 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
8169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8172 arg2
= (long) SWIG_AsLong(obj1
);
8173 if (PyErr_Occurred()) SWIG_fail
;
8174 arg3
= (long) SWIG_AsLong(obj2
);
8175 if (PyErr_Occurred()) SWIG_fail
;
8177 arg4
= wxString_in_helper(obj3
);
8178 if (arg4
== NULL
) SWIG_fail
;
8182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8183 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
8185 wxPyEndAllowThreads(__tstate
);
8186 if (PyErr_Occurred()) SWIG_fail
;
8188 Py_INCREF(Py_None
); resultobj
= Py_None
;
8203 static PyObject
*_wrap_TextCtrl_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8204 PyObject
*resultobj
;
8205 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8208 PyObject
* obj0
= 0 ;
8209 PyObject
* obj1
= 0 ;
8210 PyObject
* obj2
= 0 ;
8212 (char *) "self",(char *) "from",(char *) "to", NULL
8215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8216 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8218 arg2
= (long) SWIG_AsLong(obj1
);
8219 if (PyErr_Occurred()) SWIG_fail
;
8220 arg3
= (long) SWIG_AsLong(obj2
);
8221 if (PyErr_Occurred()) SWIG_fail
;
8223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8224 (arg1
)->Remove(arg2
,arg3
);
8226 wxPyEndAllowThreads(__tstate
);
8227 if (PyErr_Occurred()) SWIG_fail
;
8229 Py_INCREF(Py_None
); resultobj
= Py_None
;
8236 static PyObject
*_wrap_TextCtrl_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8237 PyObject
*resultobj
;
8238 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8239 wxString
*arg2
= 0 ;
8241 bool temp2
= False
;
8242 PyObject
* obj0
= 0 ;
8243 PyObject
* obj1
= 0 ;
8245 (char *) "self",(char *) "file", NULL
8248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_LoadFile",kwnames
,&obj0
,&obj1
)) goto fail
;
8249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8252 arg2
= wxString_in_helper(obj1
);
8253 if (arg2
== NULL
) SWIG_fail
;
8257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8258 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
);
8260 wxPyEndAllowThreads(__tstate
);
8261 if (PyErr_Occurred()) SWIG_fail
;
8264 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8280 static PyObject
*_wrap_TextCtrl_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8281 PyObject
*resultobj
;
8282 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8283 wxString
const &arg2_defvalue
= wxPyEmptyString
;
8284 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
8286 bool temp2
= False
;
8287 PyObject
* obj0
= 0 ;
8288 PyObject
* obj1
= 0 ;
8290 (char *) "self",(char *) "file", NULL
8293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_SaveFile",kwnames
,&obj0
,&obj1
)) goto fail
;
8294 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8298 arg2
= wxString_in_helper(obj1
);
8299 if (arg2
== NULL
) SWIG_fail
;
8304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8305 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
);
8307 wxPyEndAllowThreads(__tstate
);
8308 if (PyErr_Occurred()) SWIG_fail
;
8311 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8327 static PyObject
*_wrap_TextCtrl_MarkDirty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8328 PyObject
*resultobj
;
8329 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8330 PyObject
* obj0
= 0 ;
8332 (char *) "self", NULL
8335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_MarkDirty",kwnames
,&obj0
)) goto fail
;
8336 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8337 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8340 (arg1
)->MarkDirty();
8342 wxPyEndAllowThreads(__tstate
);
8343 if (PyErr_Occurred()) SWIG_fail
;
8345 Py_INCREF(Py_None
); resultobj
= Py_None
;
8352 static PyObject
*_wrap_TextCtrl_DiscardEdits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8353 PyObject
*resultobj
;
8354 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8355 PyObject
* obj0
= 0 ;
8357 (char *) "self", NULL
8360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_DiscardEdits",kwnames
,&obj0
)) goto fail
;
8361 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8365 (arg1
)->DiscardEdits();
8367 wxPyEndAllowThreads(__tstate
);
8368 if (PyErr_Occurred()) SWIG_fail
;
8370 Py_INCREF(Py_None
); resultobj
= Py_None
;
8377 static PyObject
*_wrap_TextCtrl_SetMaxLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8378 PyObject
*resultobj
;
8379 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8380 unsigned long arg2
;
8381 PyObject
* obj0
= 0 ;
8382 PyObject
* obj1
= 0 ;
8384 (char *) "self",(char *) "len", NULL
8387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) goto fail
;
8388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8390 arg2
= (unsigned long) SWIG_AsUnsignedLong(obj1
);
8391 if (PyErr_Occurred()) SWIG_fail
;
8393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8394 (arg1
)->SetMaxLength(arg2
);
8396 wxPyEndAllowThreads(__tstate
);
8397 if (PyErr_Occurred()) SWIG_fail
;
8399 Py_INCREF(Py_None
); resultobj
= Py_None
;
8406 static PyObject
*_wrap_TextCtrl_WriteText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8407 PyObject
*resultobj
;
8408 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8409 wxString
*arg2
= 0 ;
8410 bool temp2
= False
;
8411 PyObject
* obj0
= 0 ;
8412 PyObject
* obj1
= 0 ;
8414 (char *) "self",(char *) "text", NULL
8417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) goto fail
;
8418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8421 arg2
= wxString_in_helper(obj1
);
8422 if (arg2
== NULL
) SWIG_fail
;
8426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8427 (arg1
)->WriteText((wxString
const &)*arg2
);
8429 wxPyEndAllowThreads(__tstate
);
8430 if (PyErr_Occurred()) SWIG_fail
;
8432 Py_INCREF(Py_None
); resultobj
= Py_None
;
8447 static PyObject
*_wrap_TextCtrl_AppendText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8448 PyObject
*resultobj
;
8449 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8450 wxString
*arg2
= 0 ;
8451 bool temp2
= False
;
8452 PyObject
* obj0
= 0 ;
8453 PyObject
* obj1
= 0 ;
8455 (char *) "self",(char *) "text", NULL
8458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) goto fail
;
8459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8462 arg2
= wxString_in_helper(obj1
);
8463 if (arg2
== NULL
) SWIG_fail
;
8467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8468 (arg1
)->AppendText((wxString
const &)*arg2
);
8470 wxPyEndAllowThreads(__tstate
);
8471 if (PyErr_Occurred()) SWIG_fail
;
8473 Py_INCREF(Py_None
); resultobj
= Py_None
;
8488 static PyObject
*_wrap_TextCtrl_EmulateKeyPress(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8489 PyObject
*resultobj
;
8490 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8491 wxKeyEvent
*arg2
= 0 ;
8493 PyObject
* obj0
= 0 ;
8494 PyObject
* obj1
= 0 ;
8496 (char *) "self",(char *) "event", NULL
8499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames
,&obj0
,&obj1
)) goto fail
;
8500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8502 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxKeyEvent
,
8503 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8506 PyErr_SetString(PyExc_TypeError
,"null reference");
8510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8511 result
= (bool)(arg1
)->EmulateKeyPress((wxKeyEvent
const &)*arg2
);
8513 wxPyEndAllowThreads(__tstate
);
8514 if (PyErr_Occurred()) SWIG_fail
;
8517 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8525 static PyObject
*_wrap_TextCtrl_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8526 PyObject
*resultobj
;
8527 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8530 wxTextAttr
*arg4
= 0 ;
8532 PyObject
* obj0
= 0 ;
8533 PyObject
* obj1
= 0 ;
8534 PyObject
* obj2
= 0 ;
8535 PyObject
* obj3
= 0 ;
8537 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
8540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_SetStyle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8543 arg2
= (long) SWIG_AsLong(obj1
);
8544 if (PyErr_Occurred()) SWIG_fail
;
8545 arg3
= (long) SWIG_AsLong(obj2
);
8546 if (PyErr_Occurred()) SWIG_fail
;
8547 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxTextAttr
,
8548 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8551 PyErr_SetString(PyExc_TypeError
,"null reference");
8555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8556 result
= (bool)(arg1
)->SetStyle(arg2
,arg3
,(wxTextAttr
const &)*arg4
);
8558 wxPyEndAllowThreads(__tstate
);
8559 if (PyErr_Occurred()) SWIG_fail
;
8562 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8570 static PyObject
*_wrap_TextCtrl_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8571 PyObject
*resultobj
;
8572 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8574 wxTextAttr
*arg3
= 0 ;
8576 PyObject
* obj0
= 0 ;
8577 PyObject
* obj1
= 0 ;
8578 PyObject
* obj2
= 0 ;
8580 (char *) "self",(char *) "position",(char *) "style", NULL
8583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8586 arg2
= (long) SWIG_AsLong(obj1
);
8587 if (PyErr_Occurred()) SWIG_fail
;
8588 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTextAttr
,
8589 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8592 PyErr_SetString(PyExc_TypeError
,"null reference");
8596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8597 result
= (bool)(arg1
)->GetStyle(arg2
,*arg3
);
8599 wxPyEndAllowThreads(__tstate
);
8600 if (PyErr_Occurred()) SWIG_fail
;
8603 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8611 static PyObject
*_wrap_TextCtrl_SetDefaultStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8612 PyObject
*resultobj
;
8613 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8614 wxTextAttr
*arg2
= 0 ;
8616 PyObject
* obj0
= 0 ;
8617 PyObject
* obj1
= 0 ;
8619 (char *) "self",(char *) "style", NULL
8622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
8623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8625 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTextAttr
,
8626 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8629 PyErr_SetString(PyExc_TypeError
,"null reference");
8633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8634 result
= (bool)(arg1
)->SetDefaultStyle((wxTextAttr
const &)*arg2
);
8636 wxPyEndAllowThreads(__tstate
);
8637 if (PyErr_Occurred()) SWIG_fail
;
8640 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8648 static PyObject
*_wrap_TextCtrl_GetDefaultStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8649 PyObject
*resultobj
;
8650 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8652 PyObject
* obj0
= 0 ;
8654 (char *) "self", NULL
8657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetDefaultStyle",kwnames
,&obj0
)) goto fail
;
8658 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8663 wxTextAttr
const &_result_ref
= ((wxTextCtrl
const *)arg1
)->GetDefaultStyle();
8664 result
= (wxTextAttr
*) &_result_ref
;
8667 wxPyEndAllowThreads(__tstate
);
8668 if (PyErr_Occurred()) SWIG_fail
;
8670 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 0);
8677 static PyObject
*_wrap_TextCtrl_XYToPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8678 PyObject
*resultobj
;
8679 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8683 PyObject
* obj0
= 0 ;
8684 PyObject
* obj1
= 0 ;
8685 PyObject
* obj2
= 0 ;
8687 (char *) "self",(char *) "x",(char *) "y", NULL
8690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_XYToPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8693 arg2
= (long) SWIG_AsLong(obj1
);
8694 if (PyErr_Occurred()) SWIG_fail
;
8695 arg3
= (long) SWIG_AsLong(obj2
);
8696 if (PyErr_Occurred()) SWIG_fail
;
8698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8699 result
= (long)((wxTextCtrl
const *)arg1
)->XYToPosition(arg2
,arg3
);
8701 wxPyEndAllowThreads(__tstate
);
8702 if (PyErr_Occurred()) SWIG_fail
;
8704 resultobj
= SWIG_FromLong((long)result
);
8711 static PyObject
*_wrap_TextCtrl_PositionToXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8712 PyObject
*resultobj
;
8713 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8715 long *arg3
= (long *) 0 ;
8716 long *arg4
= (long *) 0 ;
8719 PyObject
* obj0
= 0 ;
8720 PyObject
* obj1
= 0 ;
8722 (char *) "self",(char *) "pos", NULL
8727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_PositionToXY",kwnames
,&obj0
,&obj1
)) goto fail
;
8728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8730 arg2
= (long) SWIG_AsLong(obj1
);
8731 if (PyErr_Occurred()) SWIG_fail
;
8733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8734 ((wxTextCtrl
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
);
8736 wxPyEndAllowThreads(__tstate
);
8737 if (PyErr_Occurred()) SWIG_fail
;
8739 Py_INCREF(Py_None
); resultobj
= Py_None
;
8741 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
8742 resultobj
= t_output_helper(resultobj
,o
);
8745 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
8746 resultobj
= t_output_helper(resultobj
,o
);
8754 static PyObject
*_wrap_TextCtrl_ShowPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8755 PyObject
*resultobj
;
8756 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8758 PyObject
* obj0
= 0 ;
8759 PyObject
* obj1
= 0 ;
8761 (char *) "self",(char *) "pos", NULL
8764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ShowPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
8765 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8767 arg2
= (long) SWIG_AsLong(obj1
);
8768 if (PyErr_Occurred()) SWIG_fail
;
8770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8771 (arg1
)->ShowPosition(arg2
);
8773 wxPyEndAllowThreads(__tstate
);
8774 if (PyErr_Occurred()) SWIG_fail
;
8776 Py_INCREF(Py_None
); resultobj
= Py_None
;
8783 static PyObject
*_wrap_TextCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8784 PyObject
*resultobj
;
8785 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8787 long *arg3
= (long *) 0 ;
8788 long *arg4
= (long *) 0 ;
8793 PyObject
* obj0
= 0 ;
8794 PyObject
* obj1
= 0 ;
8796 (char *) "self",(char *) "pt", NULL
8801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
8802 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8806 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
8809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8810 result
= (int)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
,arg4
);
8812 wxPyEndAllowThreads(__tstate
);
8813 if (PyErr_Occurred()) SWIG_fail
;
8815 resultobj
= SWIG_FromInt((int)result
);
8817 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
8818 resultobj
= t_output_helper(resultobj
,o
);
8821 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
8822 resultobj
= t_output_helper(resultobj
,o
);
8830 static PyObject
*_wrap_TextCtrl_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8831 PyObject
*resultobj
;
8832 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8833 PyObject
* obj0
= 0 ;
8835 (char *) "self", NULL
8838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Copy",kwnames
,&obj0
)) goto fail
;
8839 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8845 wxPyEndAllowThreads(__tstate
);
8846 if (PyErr_Occurred()) SWIG_fail
;
8848 Py_INCREF(Py_None
); resultobj
= Py_None
;
8855 static PyObject
*_wrap_TextCtrl_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8856 PyObject
*resultobj
;
8857 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8858 PyObject
* obj0
= 0 ;
8860 (char *) "self", NULL
8863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Cut",kwnames
,&obj0
)) goto fail
;
8864 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8870 wxPyEndAllowThreads(__tstate
);
8871 if (PyErr_Occurred()) SWIG_fail
;
8873 Py_INCREF(Py_None
); resultobj
= Py_None
;
8880 static PyObject
*_wrap_TextCtrl_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8881 PyObject
*resultobj
;
8882 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8883 PyObject
* obj0
= 0 ;
8885 (char *) "self", NULL
8888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Paste",kwnames
,&obj0
)) goto fail
;
8889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8895 wxPyEndAllowThreads(__tstate
);
8896 if (PyErr_Occurred()) SWIG_fail
;
8898 Py_INCREF(Py_None
); resultobj
= Py_None
;
8905 static PyObject
*_wrap_TextCtrl_CanCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8906 PyObject
*resultobj
;
8907 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8909 PyObject
* obj0
= 0 ;
8911 (char *) "self", NULL
8914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCopy",kwnames
,&obj0
)) goto fail
;
8915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8919 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCopy();
8921 wxPyEndAllowThreads(__tstate
);
8922 if (PyErr_Occurred()) SWIG_fail
;
8925 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8933 static PyObject
*_wrap_TextCtrl_CanCut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8934 PyObject
*resultobj
;
8935 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8937 PyObject
* obj0
= 0 ;
8939 (char *) "self", NULL
8942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCut",kwnames
,&obj0
)) goto fail
;
8943 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8947 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCut();
8949 wxPyEndAllowThreads(__tstate
);
8950 if (PyErr_Occurred()) SWIG_fail
;
8953 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8961 static PyObject
*_wrap_TextCtrl_CanPaste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8962 PyObject
*resultobj
;
8963 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8965 PyObject
* obj0
= 0 ;
8967 (char *) "self", NULL
8970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanPaste",kwnames
,&obj0
)) goto fail
;
8971 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8975 result
= (bool)((wxTextCtrl
const *)arg1
)->CanPaste();
8977 wxPyEndAllowThreads(__tstate
);
8978 if (PyErr_Occurred()) SWIG_fail
;
8981 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8989 static PyObject
*_wrap_TextCtrl_Undo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8990 PyObject
*resultobj
;
8991 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8992 PyObject
* obj0
= 0 ;
8994 (char *) "self", NULL
8997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Undo",kwnames
,&obj0
)) goto fail
;
8998 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9004 wxPyEndAllowThreads(__tstate
);
9005 if (PyErr_Occurred()) SWIG_fail
;
9007 Py_INCREF(Py_None
); resultobj
= Py_None
;
9014 static PyObject
*_wrap_TextCtrl_Redo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9015 PyObject
*resultobj
;
9016 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9017 PyObject
* obj0
= 0 ;
9019 (char *) "self", NULL
9022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Redo",kwnames
,&obj0
)) goto fail
;
9023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9029 wxPyEndAllowThreads(__tstate
);
9030 if (PyErr_Occurred()) SWIG_fail
;
9032 Py_INCREF(Py_None
); resultobj
= Py_None
;
9039 static PyObject
*_wrap_TextCtrl_CanUndo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9040 PyObject
*resultobj
;
9041 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9043 PyObject
* obj0
= 0 ;
9045 (char *) "self", NULL
9048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanUndo",kwnames
,&obj0
)) goto fail
;
9049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9053 result
= (bool)((wxTextCtrl
const *)arg1
)->CanUndo();
9055 wxPyEndAllowThreads(__tstate
);
9056 if (PyErr_Occurred()) SWIG_fail
;
9059 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9067 static PyObject
*_wrap_TextCtrl_CanRedo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9068 PyObject
*resultobj
;
9069 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9071 PyObject
* obj0
= 0 ;
9073 (char *) "self", NULL
9076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanRedo",kwnames
,&obj0
)) goto fail
;
9077 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9078 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9081 result
= (bool)((wxTextCtrl
const *)arg1
)->CanRedo();
9083 wxPyEndAllowThreads(__tstate
);
9084 if (PyErr_Occurred()) SWIG_fail
;
9087 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9095 static PyObject
*_wrap_TextCtrl_SetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9096 PyObject
*resultobj
;
9097 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9099 PyObject
* obj0
= 0 ;
9100 PyObject
* obj1
= 0 ;
9102 (char *) "self",(char *) "pos", NULL
9105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
9106 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9108 arg2
= (long) SWIG_AsLong(obj1
);
9109 if (PyErr_Occurred()) SWIG_fail
;
9111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9112 (arg1
)->SetInsertionPoint(arg2
);
9114 wxPyEndAllowThreads(__tstate
);
9115 if (PyErr_Occurred()) SWIG_fail
;
9117 Py_INCREF(Py_None
); resultobj
= Py_None
;
9124 static PyObject
*_wrap_TextCtrl_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9125 PyObject
*resultobj
;
9126 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9127 PyObject
* obj0
= 0 ;
9129 (char *) "self", NULL
9132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
9133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9137 (arg1
)->SetInsertionPointEnd();
9139 wxPyEndAllowThreads(__tstate
);
9140 if (PyErr_Occurred()) SWIG_fail
;
9142 Py_INCREF(Py_None
); resultobj
= Py_None
;
9149 static PyObject
*_wrap_TextCtrl_GetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9150 PyObject
*resultobj
;
9151 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9153 PyObject
* obj0
= 0 ;
9155 (char *) "self", NULL
9158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
9159 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9160 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9163 result
= (long)((wxTextCtrl
const *)arg1
)->GetInsertionPoint();
9165 wxPyEndAllowThreads(__tstate
);
9166 if (PyErr_Occurred()) SWIG_fail
;
9168 resultobj
= SWIG_FromLong((long)result
);
9175 static PyObject
*_wrap_TextCtrl_GetLastPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9176 PyObject
*resultobj
;
9177 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9179 PyObject
* obj0
= 0 ;
9181 (char *) "self", NULL
9184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetLastPosition",kwnames
,&obj0
)) goto fail
;
9185 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9189 result
= (long)((wxTextCtrl
const *)arg1
)->GetLastPosition();
9191 wxPyEndAllowThreads(__tstate
);
9192 if (PyErr_Occurred()) SWIG_fail
;
9194 resultobj
= SWIG_FromLong((long)result
);
9201 static PyObject
*_wrap_TextCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9202 PyObject
*resultobj
;
9203 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9206 PyObject
* obj0
= 0 ;
9207 PyObject
* obj1
= 0 ;
9208 PyObject
* obj2
= 0 ;
9210 (char *) "self",(char *) "from",(char *) "to", NULL
9213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9214 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9216 arg2
= (long) SWIG_AsLong(obj1
);
9217 if (PyErr_Occurred()) SWIG_fail
;
9218 arg3
= (long) SWIG_AsLong(obj2
);
9219 if (PyErr_Occurred()) SWIG_fail
;
9221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9222 (arg1
)->SetSelection(arg2
,arg3
);
9224 wxPyEndAllowThreads(__tstate
);
9225 if (PyErr_Occurred()) SWIG_fail
;
9227 Py_INCREF(Py_None
); resultobj
= Py_None
;
9234 static PyObject
*_wrap_TextCtrl_SelectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9235 PyObject
*resultobj
;
9236 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9237 PyObject
* obj0
= 0 ;
9239 (char *) "self", NULL
9242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SelectAll",kwnames
,&obj0
)) goto fail
;
9243 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9247 (arg1
)->SelectAll();
9249 wxPyEndAllowThreads(__tstate
);
9250 if (PyErr_Occurred()) SWIG_fail
;
9252 Py_INCREF(Py_None
); resultobj
= Py_None
;
9259 static PyObject
*_wrap_TextCtrl_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9260 PyObject
*resultobj
;
9261 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9263 PyObject
* obj0
= 0 ;
9264 PyObject
* obj1
= 0 ;
9266 (char *) "self",(char *) "editable", NULL
9269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
9270 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9272 arg2
= (bool) SWIG_AsBool(obj1
);
9273 if (PyErr_Occurred()) SWIG_fail
;
9275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9276 (arg1
)->SetEditable(arg2
);
9278 wxPyEndAllowThreads(__tstate
);
9279 if (PyErr_Occurred()) SWIG_fail
;
9281 Py_INCREF(Py_None
); resultobj
= Py_None
;
9288 static PyObject
*_wrap_TextCtrl_ShowNativeCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9289 PyObject
*resultobj
;
9290 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9291 bool arg2
= (bool) True
;
9293 PyObject
* obj0
= 0 ;
9294 PyObject
* obj1
= 0 ;
9296 (char *) "self",(char *) "show", NULL
9299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_ShowNativeCaret",kwnames
,&obj0
,&obj1
)) goto fail
;
9300 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9303 arg2
= (bool) SWIG_AsBool(obj1
);
9304 if (PyErr_Occurred()) SWIG_fail
;
9307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9308 result
= (bool)(arg1
)->ShowNativeCaret(arg2
);
9310 wxPyEndAllowThreads(__tstate
);
9311 if (PyErr_Occurred()) SWIG_fail
;
9314 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9322 static PyObject
*_wrap_TextCtrl_HideNativeCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9323 PyObject
*resultobj
;
9324 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9326 PyObject
* obj0
= 0 ;
9328 (char *) "self", NULL
9331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_HideNativeCaret",kwnames
,&obj0
)) goto fail
;
9332 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9336 result
= (bool)(arg1
)->HideNativeCaret();
9338 wxPyEndAllowThreads(__tstate
);
9339 if (PyErr_Occurred()) SWIG_fail
;
9342 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9350 static PyObject
*_wrap_TextCtrl_write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9351 PyObject
*resultobj
;
9352 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9353 wxString
*arg2
= 0 ;
9354 bool temp2
= False
;
9355 PyObject
* obj0
= 0 ;
9356 PyObject
* obj1
= 0 ;
9358 (char *) "self",(char *) "text", NULL
9361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_write",kwnames
,&obj0
,&obj1
)) goto fail
;
9362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9365 arg2
= wxString_in_helper(obj1
);
9366 if (arg2
== NULL
) SWIG_fail
;
9370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9371 wxTextCtrl_write(arg1
,(wxString
const &)*arg2
);
9373 wxPyEndAllowThreads(__tstate
);
9374 if (PyErr_Occurred()) SWIG_fail
;
9376 Py_INCREF(Py_None
); resultobj
= Py_None
;
9391 static PyObject
*_wrap_TextCtrl_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9392 PyObject
*resultobj
;
9393 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9397 PyObject
* obj0
= 0 ;
9398 PyObject
* obj1
= 0 ;
9399 PyObject
* obj2
= 0 ;
9401 (char *) "self",(char *) "from",(char *) "to", NULL
9404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9407 arg2
= (long) SWIG_AsLong(obj1
);
9408 if (PyErr_Occurred()) SWIG_fail
;
9409 arg3
= (long) SWIG_AsLong(obj2
);
9410 if (PyErr_Occurred()) SWIG_fail
;
9412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9413 result
= wxTextCtrl_GetString(arg1
,arg2
,arg3
);
9415 wxPyEndAllowThreads(__tstate
);
9416 if (PyErr_Occurred()) SWIG_fail
;
9420 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9422 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9431 static PyObject
* TextCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
9433 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9434 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl
, obj
);
9436 return Py_BuildValue((char *)"");
9438 static PyObject
*_wrap_new_TextUrlEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9439 PyObject
*resultobj
;
9441 wxMouseEvent
*arg2
= 0 ;
9444 wxTextUrlEvent
*result
;
9445 PyObject
* obj0
= 0 ;
9446 PyObject
* obj1
= 0 ;
9447 PyObject
* obj2
= 0 ;
9448 PyObject
* obj3
= 0 ;
9450 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
9453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_TextUrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9454 arg1
= (int) SWIG_AsInt(obj0
);
9455 if (PyErr_Occurred()) SWIG_fail
;
9456 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMouseEvent
,
9457 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9460 PyErr_SetString(PyExc_TypeError
,"null reference");
9463 arg3
= (long) SWIG_AsLong(obj2
);
9464 if (PyErr_Occurred()) SWIG_fail
;
9465 arg4
= (long) SWIG_AsLong(obj3
);
9466 if (PyErr_Occurred()) SWIG_fail
;
9468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9469 result
= (wxTextUrlEvent
*)new wxTextUrlEvent(arg1
,(wxMouseEvent
const &)*arg2
,arg3
,arg4
);
9471 wxPyEndAllowThreads(__tstate
);
9472 if (PyErr_Occurred()) SWIG_fail
;
9474 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextUrlEvent
, 1);
9481 static PyObject
*_wrap_TextUrlEvent_GetMouseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9482 PyObject
*resultobj
;
9483 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
9484 wxMouseEvent
*result
;
9485 PyObject
* obj0
= 0 ;
9487 (char *) "self", NULL
9490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames
,&obj0
)) goto fail
;
9491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextUrlEvent
,
9492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9496 wxMouseEvent
const &_result_ref
= (arg1
)->GetMouseEvent();
9497 result
= (wxMouseEvent
*) &_result_ref
;
9500 wxPyEndAllowThreads(__tstate
);
9501 if (PyErr_Occurred()) SWIG_fail
;
9503 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseEvent
, 0);
9510 static PyObject
*_wrap_TextUrlEvent_GetURLStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9511 PyObject
*resultobj
;
9512 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
9514 PyObject
* obj0
= 0 ;
9516 (char *) "self", NULL
9519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLStart",kwnames
,&obj0
)) goto fail
;
9520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextUrlEvent
,
9521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9524 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLStart();
9526 wxPyEndAllowThreads(__tstate
);
9527 if (PyErr_Occurred()) SWIG_fail
;
9529 resultobj
= SWIG_FromLong((long)result
);
9536 static PyObject
*_wrap_TextUrlEvent_GetURLEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9537 PyObject
*resultobj
;
9538 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
9540 PyObject
* obj0
= 0 ;
9542 (char *) "self", NULL
9545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLEnd",kwnames
,&obj0
)) goto fail
;
9546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextUrlEvent
,
9547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9550 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLEnd();
9552 wxPyEndAllowThreads(__tstate
);
9553 if (PyErr_Occurred()) SWIG_fail
;
9555 resultobj
= SWIG_FromLong((long)result
);
9562 static PyObject
* TextUrlEvent_swigregister(PyObject
*self
, PyObject
*args
) {
9564 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9565 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent
, obj
);
9567 return Py_BuildValue((char *)"");
9569 static int _wrap_ScrollBarNameStr_set(PyObject
*_val
) {
9570 PyErr_SetString(PyExc_TypeError
,"Variable ScrollBarNameStr is read-only.");
9575 static PyObject
*_wrap_ScrollBarNameStr_get() {
9580 pyobj
= PyUnicode_FromWideChar((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
9582 pyobj
= PyString_FromStringAndSize((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
9589 static PyObject
*_wrap_new_ScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9590 PyObject
*resultobj
;
9591 wxWindow
*arg1
= (wxWindow
*) 0 ;
9592 int arg2
= (int) -1 ;
9593 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9594 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9595 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9596 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9597 long arg5
= (long) wxSB_HORIZONTAL
;
9598 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
9599 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
9600 wxString
const &arg7_defvalue
= wxPyScrollBarNameStr
;
9601 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9602 wxScrollBar
*result
;
9605 bool temp7
= False
;
9606 PyObject
* obj0
= 0 ;
9607 PyObject
* obj1
= 0 ;
9608 PyObject
* obj2
= 0 ;
9609 PyObject
* obj3
= 0 ;
9610 PyObject
* obj4
= 0 ;
9611 PyObject
* obj5
= 0 ;
9612 PyObject
* obj6
= 0 ;
9614 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ScrollBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
9618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
9619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9621 arg2
= (int) SWIG_AsInt(obj1
);
9622 if (PyErr_Occurred()) SWIG_fail
;
9627 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9633 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9637 arg5
= (long) SWIG_AsLong(obj4
);
9638 if (PyErr_Occurred()) SWIG_fail
;
9641 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
9642 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9645 PyErr_SetString(PyExc_TypeError
,"null reference");
9651 arg7
= wxString_in_helper(obj6
);
9652 if (arg7
== NULL
) SWIG_fail
;
9657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9658 result
= (wxScrollBar
*)new wxScrollBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
9660 wxPyEndAllowThreads(__tstate
);
9661 if (PyErr_Occurred()) SWIG_fail
;
9663 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollBar
, 1);
9678 static PyObject
*_wrap_new_PreScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9679 PyObject
*resultobj
;
9680 wxScrollBar
*result
;
9685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrollBar",kwnames
)) goto fail
;
9687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9688 result
= (wxScrollBar
*)new wxScrollBar();
9690 wxPyEndAllowThreads(__tstate
);
9691 if (PyErr_Occurred()) SWIG_fail
;
9693 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollBar
, 1);
9700 static PyObject
*_wrap_ScrollBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9701 PyObject
*resultobj
;
9702 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9703 wxWindow
*arg2
= (wxWindow
*) 0 ;
9704 int arg3
= (int) -1 ;
9705 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9706 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9707 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9708 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9709 long arg6
= (long) wxSB_HORIZONTAL
;
9710 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
9711 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
9712 wxString
const &arg8_defvalue
= wxPyScrollBarNameStr
;
9713 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
9717 bool temp8
= False
;
9718 PyObject
* obj0
= 0 ;
9719 PyObject
* obj1
= 0 ;
9720 PyObject
* obj2
= 0 ;
9721 PyObject
* obj3
= 0 ;
9722 PyObject
* obj4
= 0 ;
9723 PyObject
* obj5
= 0 ;
9724 PyObject
* obj6
= 0 ;
9725 PyObject
* obj7
= 0 ;
9727 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
9731 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
9732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9733 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
9734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9736 arg3
= (int) SWIG_AsInt(obj2
);
9737 if (PyErr_Occurred()) SWIG_fail
;
9742 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9748 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9752 arg6
= (long) SWIG_AsLong(obj5
);
9753 if (PyErr_Occurred()) SWIG_fail
;
9756 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
9757 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9760 PyErr_SetString(PyExc_TypeError
,"null reference");
9766 arg8
= wxString_in_helper(obj7
);
9767 if (arg8
== NULL
) SWIG_fail
;
9772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9773 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
9775 wxPyEndAllowThreads(__tstate
);
9776 if (PyErr_Occurred()) SWIG_fail
;
9779 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9795 static PyObject
*_wrap_ScrollBar_GetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9796 PyObject
*resultobj
;
9797 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9799 PyObject
* obj0
= 0 ;
9801 (char *) "self", NULL
9804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbPosition",kwnames
,&obj0
)) goto fail
;
9805 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
9806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9809 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbPosition();
9811 wxPyEndAllowThreads(__tstate
);
9812 if (PyErr_Occurred()) SWIG_fail
;
9814 resultobj
= SWIG_FromInt((int)result
);
9821 static PyObject
*_wrap_ScrollBar_GetThumbSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9822 PyObject
*resultobj
;
9823 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9825 PyObject
* obj0
= 0 ;
9827 (char *) "self", NULL
9830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbSize",kwnames
,&obj0
)) goto fail
;
9831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
9832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9835 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbSize();
9837 wxPyEndAllowThreads(__tstate
);
9838 if (PyErr_Occurred()) SWIG_fail
;
9840 resultobj
= SWIG_FromInt((int)result
);
9847 static PyObject
*_wrap_ScrollBar_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9848 PyObject
*resultobj
;
9849 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9851 PyObject
* obj0
= 0 ;
9853 (char *) "self", NULL
9856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetPageSize",kwnames
,&obj0
)) goto fail
;
9857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
9858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9861 result
= (int)((wxScrollBar
const *)arg1
)->GetPageSize();
9863 wxPyEndAllowThreads(__tstate
);
9864 if (PyErr_Occurred()) SWIG_fail
;
9866 resultobj
= SWIG_FromInt((int)result
);
9873 static PyObject
*_wrap_ScrollBar_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9874 PyObject
*resultobj
;
9875 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9877 PyObject
* obj0
= 0 ;
9879 (char *) "self", NULL
9882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetRange",kwnames
,&obj0
)) goto fail
;
9883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
9884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9887 result
= (int)((wxScrollBar
const *)arg1
)->GetRange();
9889 wxPyEndAllowThreads(__tstate
);
9890 if (PyErr_Occurred()) SWIG_fail
;
9892 resultobj
= SWIG_FromInt((int)result
);
9899 static PyObject
*_wrap_ScrollBar_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9900 PyObject
*resultobj
;
9901 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9903 PyObject
* obj0
= 0 ;
9905 (char *) "self", NULL
9908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_IsVertical",kwnames
,&obj0
)) goto fail
;
9909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
9910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9913 result
= (bool)((wxScrollBar
const *)arg1
)->IsVertical();
9915 wxPyEndAllowThreads(__tstate
);
9916 if (PyErr_Occurred()) SWIG_fail
;
9919 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9927 static PyObject
*_wrap_ScrollBar_SetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9928 PyObject
*resultobj
;
9929 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9931 PyObject
* obj0
= 0 ;
9932 PyObject
* obj1
= 0 ;
9934 (char *) "self",(char *) "viewStart", NULL
9937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollBar_SetThumbPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
9938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
9939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9940 arg2
= (int) SWIG_AsInt(obj1
);
9941 if (PyErr_Occurred()) SWIG_fail
;
9943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9944 (arg1
)->SetThumbPosition(arg2
);
9946 wxPyEndAllowThreads(__tstate
);
9947 if (PyErr_Occurred()) SWIG_fail
;
9949 Py_INCREF(Py_None
); resultobj
= Py_None
;
9956 static PyObject
*_wrap_ScrollBar_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9957 PyObject
*resultobj
;
9958 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9963 bool arg6
= (bool) True
;
9964 PyObject
* obj0
= 0 ;
9965 PyObject
* obj1
= 0 ;
9966 PyObject
* obj2
= 0 ;
9967 PyObject
* obj3
= 0 ;
9968 PyObject
* obj4
= 0 ;
9969 PyObject
* obj5
= 0 ;
9971 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
9974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:ScrollBar_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
9976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9977 arg2
= (int) SWIG_AsInt(obj1
);
9978 if (PyErr_Occurred()) SWIG_fail
;
9979 arg3
= (int) SWIG_AsInt(obj2
);
9980 if (PyErr_Occurred()) SWIG_fail
;
9981 arg4
= (int) SWIG_AsInt(obj3
);
9982 if (PyErr_Occurred()) SWIG_fail
;
9983 arg5
= (int) SWIG_AsInt(obj4
);
9984 if (PyErr_Occurred()) SWIG_fail
;
9986 arg6
= (bool) SWIG_AsBool(obj5
);
9987 if (PyErr_Occurred()) SWIG_fail
;
9990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9991 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
9993 wxPyEndAllowThreads(__tstate
);
9994 if (PyErr_Occurred()) SWIG_fail
;
9996 Py_INCREF(Py_None
); resultobj
= Py_None
;
10003 static PyObject
* ScrollBar_swigregister(PyObject
*self
, PyObject
*args
) {
10005 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10006 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar
, obj
);
10008 return Py_BuildValue((char *)"");
10010 static int _wrap_SPIN_BUTTON_NAME_set(PyObject
*_val
) {
10011 PyErr_SetString(PyExc_TypeError
,"Variable SPIN_BUTTON_NAME is read-only.");
10016 static PyObject
*_wrap_SPIN_BUTTON_NAME_get() {
10021 pyobj
= PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
10023 pyobj
= PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
10030 static int _wrap_SpinCtrlNameStr_set(PyObject
*_val
) {
10031 PyErr_SetString(PyExc_TypeError
,"Variable SpinCtrlNameStr is read-only.");
10036 static PyObject
*_wrap_SpinCtrlNameStr_get() {
10041 pyobj
= PyUnicode_FromWideChar((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
10043 pyobj
= PyString_FromStringAndSize((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
10050 static PyObject
*_wrap_new_SpinButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10051 PyObject
*resultobj
;
10052 wxWindow
*arg1
= (wxWindow
*) 0 ;
10053 int arg2
= (int) -1 ;
10054 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10055 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10056 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10057 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10058 long arg5
= (long) wxSP_HORIZONTAL
;
10059 wxString
const &arg6_defvalue
= wxPySPIN_BUTTON_NAME
;
10060 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10061 wxSpinButton
*result
;
10064 bool temp6
= False
;
10065 PyObject
* obj0
= 0 ;
10066 PyObject
* obj1
= 0 ;
10067 PyObject
* obj2
= 0 ;
10068 PyObject
* obj3
= 0 ;
10069 PyObject
* obj4
= 0 ;
10070 PyObject
* obj5
= 0 ;
10071 char *kwnames
[] = {
10072 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SpinButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10076 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10079 arg2
= (int) SWIG_AsInt(obj1
);
10080 if (PyErr_Occurred()) SWIG_fail
;
10085 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10091 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10095 arg5
= (long) SWIG_AsLong(obj4
);
10096 if (PyErr_Occurred()) SWIG_fail
;
10100 arg6
= wxString_in_helper(obj5
);
10101 if (arg6
== NULL
) SWIG_fail
;
10106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10107 result
= (wxSpinButton
*)new wxSpinButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10109 wxPyEndAllowThreads(__tstate
);
10110 if (PyErr_Occurred()) SWIG_fail
;
10112 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinButton
, 1);
10127 static PyObject
*_wrap_new_PreSpinButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10128 PyObject
*resultobj
;
10129 wxSpinButton
*result
;
10130 char *kwnames
[] = {
10134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinButton",kwnames
)) goto fail
;
10136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10137 result
= (wxSpinButton
*)new wxSpinButton();
10139 wxPyEndAllowThreads(__tstate
);
10140 if (PyErr_Occurred()) SWIG_fail
;
10142 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinButton
, 1);
10149 static PyObject
*_wrap_SpinButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10150 PyObject
*resultobj
;
10151 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10152 wxWindow
*arg2
= (wxWindow
*) 0 ;
10153 int arg3
= (int) -1 ;
10154 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10155 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10156 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10157 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10158 long arg6
= (long) wxSP_HORIZONTAL
;
10159 wxString
const &arg7_defvalue
= wxPySPIN_BUTTON_NAME
;
10160 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10164 bool temp7
= False
;
10165 PyObject
* obj0
= 0 ;
10166 PyObject
* obj1
= 0 ;
10167 PyObject
* obj2
= 0 ;
10168 PyObject
* obj3
= 0 ;
10169 PyObject
* obj4
= 0 ;
10170 PyObject
* obj5
= 0 ;
10171 PyObject
* obj6
= 0 ;
10172 char *kwnames
[] = {
10173 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SpinButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10177 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10179 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10182 arg3
= (int) SWIG_AsInt(obj2
);
10183 if (PyErr_Occurred()) SWIG_fail
;
10188 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10194 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10198 arg6
= (long) SWIG_AsLong(obj5
);
10199 if (PyErr_Occurred()) SWIG_fail
;
10203 arg7
= wxString_in_helper(obj6
);
10204 if (arg7
== NULL
) SWIG_fail
;
10209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10210 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
10212 wxPyEndAllowThreads(__tstate
);
10213 if (PyErr_Occurred()) SWIG_fail
;
10216 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10232 static PyObject
*_wrap_SpinButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10233 PyObject
*resultobj
;
10234 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10236 PyObject
* obj0
= 0 ;
10237 char *kwnames
[] = {
10238 (char *) "self", NULL
10241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetValue",kwnames
,&obj0
)) goto fail
;
10242 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10246 result
= (int)((wxSpinButton
const *)arg1
)->GetValue();
10248 wxPyEndAllowThreads(__tstate
);
10249 if (PyErr_Occurred()) SWIG_fail
;
10251 resultobj
= SWIG_FromInt((int)result
);
10258 static PyObject
*_wrap_SpinButton_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10259 PyObject
*resultobj
;
10260 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10262 PyObject
* obj0
= 0 ;
10263 char *kwnames
[] = {
10264 (char *) "self", NULL
10267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMin",kwnames
,&obj0
)) goto fail
;
10268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10272 result
= (int)((wxSpinButton
const *)arg1
)->GetMin();
10274 wxPyEndAllowThreads(__tstate
);
10275 if (PyErr_Occurred()) SWIG_fail
;
10277 resultobj
= SWIG_FromInt((int)result
);
10284 static PyObject
*_wrap_SpinButton_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10285 PyObject
*resultobj
;
10286 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10288 PyObject
* obj0
= 0 ;
10289 char *kwnames
[] = {
10290 (char *) "self", NULL
10293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMax",kwnames
,&obj0
)) goto fail
;
10294 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10298 result
= (int)((wxSpinButton
const *)arg1
)->GetMax();
10300 wxPyEndAllowThreads(__tstate
);
10301 if (PyErr_Occurred()) SWIG_fail
;
10303 resultobj
= SWIG_FromInt((int)result
);
10310 static PyObject
*_wrap_SpinButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10311 PyObject
*resultobj
;
10312 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10314 PyObject
* obj0
= 0 ;
10315 PyObject
* obj1
= 0 ;
10316 char *kwnames
[] = {
10317 (char *) "self",(char *) "val", NULL
10320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
10321 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10323 arg2
= (int) SWIG_AsInt(obj1
);
10324 if (PyErr_Occurred()) SWIG_fail
;
10326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10327 (arg1
)->SetValue(arg2
);
10329 wxPyEndAllowThreads(__tstate
);
10330 if (PyErr_Occurred()) SWIG_fail
;
10332 Py_INCREF(Py_None
); resultobj
= Py_None
;
10339 static PyObject
*_wrap_SpinButton_SetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10340 PyObject
*resultobj
;
10341 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10343 PyObject
* obj0
= 0 ;
10344 PyObject
* obj1
= 0 ;
10345 char *kwnames
[] = {
10346 (char *) "self",(char *) "minVal", NULL
10349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
10350 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10352 arg2
= (int) SWIG_AsInt(obj1
);
10353 if (PyErr_Occurred()) SWIG_fail
;
10355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10356 (arg1
)->SetMin(arg2
);
10358 wxPyEndAllowThreads(__tstate
);
10359 if (PyErr_Occurred()) SWIG_fail
;
10361 Py_INCREF(Py_None
); resultobj
= Py_None
;
10368 static PyObject
*_wrap_SpinButton_SetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10369 PyObject
*resultobj
;
10370 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10372 PyObject
* obj0
= 0 ;
10373 PyObject
* obj1
= 0 ;
10374 char *kwnames
[] = {
10375 (char *) "self",(char *) "maxVal", NULL
10378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
10379 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10380 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10381 arg2
= (int) SWIG_AsInt(obj1
);
10382 if (PyErr_Occurred()) SWIG_fail
;
10384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10385 (arg1
)->SetMax(arg2
);
10387 wxPyEndAllowThreads(__tstate
);
10388 if (PyErr_Occurred()) SWIG_fail
;
10390 Py_INCREF(Py_None
); resultobj
= Py_None
;
10397 static PyObject
*_wrap_SpinButton_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10398 PyObject
*resultobj
;
10399 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10402 PyObject
* obj0
= 0 ;
10403 PyObject
* obj1
= 0 ;
10404 PyObject
* obj2
= 0 ;
10405 char *kwnames
[] = {
10406 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
10409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinButton_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10410 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10412 arg2
= (int) SWIG_AsInt(obj1
);
10413 if (PyErr_Occurred()) SWIG_fail
;
10414 arg3
= (int) SWIG_AsInt(obj2
);
10415 if (PyErr_Occurred()) SWIG_fail
;
10417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10418 (arg1
)->SetRange(arg2
,arg3
);
10420 wxPyEndAllowThreads(__tstate
);
10421 if (PyErr_Occurred()) SWIG_fail
;
10423 Py_INCREF(Py_None
); resultobj
= Py_None
;
10430 static PyObject
*_wrap_SpinButton_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10431 PyObject
*resultobj
;
10432 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10434 PyObject
* obj0
= 0 ;
10435 char *kwnames
[] = {
10436 (char *) "self", NULL
10439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_IsVertical",kwnames
,&obj0
)) goto fail
;
10440 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10444 result
= (bool)((wxSpinButton
const *)arg1
)->IsVertical();
10446 wxPyEndAllowThreads(__tstate
);
10447 if (PyErr_Occurred()) SWIG_fail
;
10450 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10458 static PyObject
* SpinButton_swigregister(PyObject
*self
, PyObject
*args
) {
10460 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10461 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton
, obj
);
10463 return Py_BuildValue((char *)"");
10465 static PyObject
*_wrap_new_SpinCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10466 PyObject
*resultobj
;
10467 wxWindow
*arg1
= (wxWindow
*) 0 ;
10468 int arg2
= (int) -1 ;
10469 wxString
const &arg3_defvalue
= wxPyEmptyString
;
10470 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
10471 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10472 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10473 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10474 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10475 long arg6
= (long) wxSP_ARROW_KEYS
;
10476 int arg7
= (int) 0 ;
10477 int arg8
= (int) 100 ;
10478 int arg9
= (int) 0 ;
10479 wxString
const &arg10_defvalue
= wxPySpinCtrlNameStr
;
10480 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
10481 wxSpinCtrl
*result
;
10482 bool temp3
= False
;
10485 bool temp10
= False
;
10486 PyObject
* obj0
= 0 ;
10487 PyObject
* obj1
= 0 ;
10488 PyObject
* obj2
= 0 ;
10489 PyObject
* obj3
= 0 ;
10490 PyObject
* obj4
= 0 ;
10491 PyObject
* obj5
= 0 ;
10492 PyObject
* obj6
= 0 ;
10493 PyObject
* obj7
= 0 ;
10494 PyObject
* obj8
= 0 ;
10495 PyObject
* obj9
= 0 ;
10496 char *kwnames
[] = {
10497 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
10500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
10501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10504 arg2
= (int) SWIG_AsInt(obj1
);
10505 if (PyErr_Occurred()) SWIG_fail
;
10509 arg3
= wxString_in_helper(obj2
);
10510 if (arg3
== NULL
) SWIG_fail
;
10517 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10523 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10527 arg6
= (long) SWIG_AsLong(obj5
);
10528 if (PyErr_Occurred()) SWIG_fail
;
10531 arg7
= (int) SWIG_AsInt(obj6
);
10532 if (PyErr_Occurred()) SWIG_fail
;
10535 arg8
= (int) SWIG_AsInt(obj7
);
10536 if (PyErr_Occurred()) SWIG_fail
;
10539 arg9
= (int) SWIG_AsInt(obj8
);
10540 if (PyErr_Occurred()) SWIG_fail
;
10544 arg10
= wxString_in_helper(obj9
);
10545 if (arg10
== NULL
) SWIG_fail
;
10550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10551 result
= (wxSpinCtrl
*)new wxSpinCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,(wxString
const &)*arg10
);
10553 wxPyEndAllowThreads(__tstate
);
10554 if (PyErr_Occurred()) SWIG_fail
;
10556 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinCtrl
, 1);
10579 static PyObject
*_wrap_new_PreSpinCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10580 PyObject
*resultobj
;
10581 wxSpinCtrl
*result
;
10582 char *kwnames
[] = {
10586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinCtrl",kwnames
)) goto fail
;
10588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10589 result
= (wxSpinCtrl
*)new wxSpinCtrl();
10591 wxPyEndAllowThreads(__tstate
);
10592 if (PyErr_Occurred()) SWIG_fail
;
10594 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinCtrl
, 1);
10601 static PyObject
*_wrap_SpinCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10602 PyObject
*resultobj
;
10603 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10604 wxWindow
*arg2
= (wxWindow
*) 0 ;
10605 int arg3
= (int) -1 ;
10606 wxString
const &arg4_defvalue
= wxPyEmptyString
;
10607 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
10608 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
10609 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
10610 wxSize
const &arg6_defvalue
= wxDefaultSize
;
10611 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
10612 long arg7
= (long) wxSP_ARROW_KEYS
;
10613 int arg8
= (int) 0 ;
10614 int arg9
= (int) 100 ;
10615 int arg10
= (int) 0 ;
10616 wxString
const &arg11_defvalue
= wxPySpinCtrlNameStr
;
10617 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
10619 bool temp4
= False
;
10622 bool temp11
= False
;
10623 PyObject
* obj0
= 0 ;
10624 PyObject
* obj1
= 0 ;
10625 PyObject
* obj2
= 0 ;
10626 PyObject
* obj3
= 0 ;
10627 PyObject
* obj4
= 0 ;
10628 PyObject
* obj5
= 0 ;
10629 PyObject
* obj6
= 0 ;
10630 PyObject
* obj7
= 0 ;
10631 PyObject
* obj8
= 0 ;
10632 PyObject
* obj9
= 0 ;
10633 PyObject
* obj10
= 0 ;
10634 char *kwnames
[] = {
10635 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
10638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
10639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
10640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10641 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10644 arg3
= (int) SWIG_AsInt(obj2
);
10645 if (PyErr_Occurred()) SWIG_fail
;
10649 arg4
= wxString_in_helper(obj3
);
10650 if (arg4
== NULL
) SWIG_fail
;
10657 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
10663 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
10667 arg7
= (long) SWIG_AsLong(obj6
);
10668 if (PyErr_Occurred()) SWIG_fail
;
10671 arg8
= (int) SWIG_AsInt(obj7
);
10672 if (PyErr_Occurred()) SWIG_fail
;
10675 arg9
= (int) SWIG_AsInt(obj8
);
10676 if (PyErr_Occurred()) SWIG_fail
;
10679 arg10
= (int) SWIG_AsInt(obj9
);
10680 if (PyErr_Occurred()) SWIG_fail
;
10684 arg11
= wxString_in_helper(obj10
);
10685 if (arg11
== NULL
) SWIG_fail
;
10690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10691 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,arg10
,(wxString
const &)*arg11
);
10693 wxPyEndAllowThreads(__tstate
);
10694 if (PyErr_Occurred()) SWIG_fail
;
10697 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10721 static PyObject
*_wrap_SpinCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10722 PyObject
*resultobj
;
10723 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10725 PyObject
* obj0
= 0 ;
10726 char *kwnames
[] = {
10727 (char *) "self", NULL
10730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
10731 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
10732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10735 result
= (int)((wxSpinCtrl
const *)arg1
)->GetValue();
10737 wxPyEndAllowThreads(__tstate
);
10738 if (PyErr_Occurred()) SWIG_fail
;
10740 resultobj
= SWIG_FromInt((int)result
);
10747 static PyObject
*_wrap_SpinCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10748 PyObject
*resultobj
;
10749 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10751 PyObject
* obj0
= 0 ;
10752 PyObject
* obj1
= 0 ;
10753 char *kwnames
[] = {
10754 (char *) "self",(char *) "value", NULL
10757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
10758 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
10759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10760 arg2
= (int) SWIG_AsInt(obj1
);
10761 if (PyErr_Occurred()) SWIG_fail
;
10763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10764 (arg1
)->SetValue(arg2
);
10766 wxPyEndAllowThreads(__tstate
);
10767 if (PyErr_Occurred()) SWIG_fail
;
10769 Py_INCREF(Py_None
); resultobj
= Py_None
;
10776 static PyObject
*_wrap_SpinCtrl_SetValueString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10777 PyObject
*resultobj
;
10778 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10779 wxString
*arg2
= 0 ;
10780 bool temp2
= False
;
10781 PyObject
* obj0
= 0 ;
10782 PyObject
* obj1
= 0 ;
10783 char *kwnames
[] = {
10784 (char *) "self",(char *) "text", NULL
10787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValueString",kwnames
,&obj0
,&obj1
)) goto fail
;
10788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
10789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10791 arg2
= wxString_in_helper(obj1
);
10792 if (arg2
== NULL
) SWIG_fail
;
10796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10797 (arg1
)->SetValue((wxString
const &)*arg2
);
10799 wxPyEndAllowThreads(__tstate
);
10800 if (PyErr_Occurred()) SWIG_fail
;
10802 Py_INCREF(Py_None
); resultobj
= Py_None
;
10817 static PyObject
*_wrap_SpinCtrl_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10818 PyObject
*resultobj
;
10819 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10822 PyObject
* obj0
= 0 ;
10823 PyObject
* obj1
= 0 ;
10824 PyObject
* obj2
= 0 ;
10825 char *kwnames
[] = {
10826 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
10829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10830 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
10831 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10832 arg2
= (int) SWIG_AsInt(obj1
);
10833 if (PyErr_Occurred()) SWIG_fail
;
10834 arg3
= (int) SWIG_AsInt(obj2
);
10835 if (PyErr_Occurred()) SWIG_fail
;
10837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10838 (arg1
)->SetRange(arg2
,arg3
);
10840 wxPyEndAllowThreads(__tstate
);
10841 if (PyErr_Occurred()) SWIG_fail
;
10843 Py_INCREF(Py_None
); resultobj
= Py_None
;
10850 static PyObject
*_wrap_SpinCtrl_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10851 PyObject
*resultobj
;
10852 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10854 PyObject
* obj0
= 0 ;
10855 char *kwnames
[] = {
10856 (char *) "self", NULL
10859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMin",kwnames
,&obj0
)) goto fail
;
10860 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
10861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10864 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMin();
10866 wxPyEndAllowThreads(__tstate
);
10867 if (PyErr_Occurred()) SWIG_fail
;
10869 resultobj
= SWIG_FromInt((int)result
);
10876 static PyObject
*_wrap_SpinCtrl_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10877 PyObject
*resultobj
;
10878 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10880 PyObject
* obj0
= 0 ;
10881 char *kwnames
[] = {
10882 (char *) "self", NULL
10885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMax",kwnames
,&obj0
)) goto fail
;
10886 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
10887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10890 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMax();
10892 wxPyEndAllowThreads(__tstate
);
10893 if (PyErr_Occurred()) SWIG_fail
;
10895 resultobj
= SWIG_FromInt((int)result
);
10902 static PyObject
*_wrap_SpinCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10903 PyObject
*resultobj
;
10904 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10907 PyObject
* obj0
= 0 ;
10908 PyObject
* obj1
= 0 ;
10909 PyObject
* obj2
= 0 ;
10910 char *kwnames
[] = {
10911 (char *) "self",(char *) "from",(char *) "to", NULL
10914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
10916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10917 arg2
= (long) SWIG_AsLong(obj1
);
10918 if (PyErr_Occurred()) SWIG_fail
;
10919 arg3
= (long) SWIG_AsLong(obj2
);
10920 if (PyErr_Occurred()) SWIG_fail
;
10922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10923 (arg1
)->SetSelection(arg2
,arg3
);
10925 wxPyEndAllowThreads(__tstate
);
10926 if (PyErr_Occurred()) SWIG_fail
;
10928 Py_INCREF(Py_None
); resultobj
= Py_None
;
10935 static PyObject
* SpinCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
10937 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10938 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl
, obj
);
10940 return Py_BuildValue((char *)"");
10942 static PyObject
*_wrap_new_SpinEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10943 PyObject
*resultobj
;
10944 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
10945 int arg2
= (int) 0 ;
10946 wxSpinEvent
*result
;
10947 PyObject
* obj0
= 0 ;
10948 PyObject
* obj1
= 0 ;
10949 char *kwnames
[] = {
10950 (char *) "commandType",(char *) "winid", NULL
10953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SpinEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
10955 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
10956 if (PyErr_Occurred()) SWIG_fail
;
10959 arg2
= (int) SWIG_AsInt(obj1
);
10960 if (PyErr_Occurred()) SWIG_fail
;
10963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10964 result
= (wxSpinEvent
*)new wxSpinEvent(arg1
,arg2
);
10966 wxPyEndAllowThreads(__tstate
);
10967 if (PyErr_Occurred()) SWIG_fail
;
10969 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinEvent
, 1);
10976 static PyObject
*_wrap_SpinEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10977 PyObject
*resultobj
;
10978 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
10980 PyObject
* obj0
= 0 ;
10981 char *kwnames
[] = {
10982 (char *) "self", NULL
10985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
10986 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinEvent
,
10987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10990 result
= (int)((wxSpinEvent
const *)arg1
)->GetPosition();
10992 wxPyEndAllowThreads(__tstate
);
10993 if (PyErr_Occurred()) SWIG_fail
;
10995 resultobj
= SWIG_FromInt((int)result
);
11002 static PyObject
*_wrap_SpinEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11003 PyObject
*resultobj
;
11004 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
11006 PyObject
* obj0
= 0 ;
11007 PyObject
* obj1
= 0 ;
11008 char *kwnames
[] = {
11009 (char *) "self",(char *) "pos", NULL
11012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
11013 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinEvent
,
11014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11015 arg2
= (int) SWIG_AsInt(obj1
);
11016 if (PyErr_Occurred()) SWIG_fail
;
11018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11019 (arg1
)->SetPosition(arg2
);
11021 wxPyEndAllowThreads(__tstate
);
11022 if (PyErr_Occurred()) SWIG_fail
;
11024 Py_INCREF(Py_None
); resultobj
= Py_None
;
11031 static PyObject
* SpinEvent_swigregister(PyObject
*self
, PyObject
*args
) {
11033 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11034 SWIG_TypeClientData(SWIGTYPE_p_wxSpinEvent
, obj
);
11036 return Py_BuildValue((char *)"");
11038 static int _wrap_RadioBoxNameStr_set(PyObject
*_val
) {
11039 PyErr_SetString(PyExc_TypeError
,"Variable RadioBoxNameStr is read-only.");
11044 static PyObject
*_wrap_RadioBoxNameStr_get() {
11049 pyobj
= PyUnicode_FromWideChar((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
11051 pyobj
= PyString_FromStringAndSize((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
11058 static int _wrap_RadioButtonNameStr_set(PyObject
*_val
) {
11059 PyErr_SetString(PyExc_TypeError
,"Variable RadioButtonNameStr is read-only.");
11064 static PyObject
*_wrap_RadioButtonNameStr_get() {
11069 pyobj
= PyUnicode_FromWideChar((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
11071 pyobj
= PyString_FromStringAndSize((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
11078 static PyObject
*_wrap_new_RadioBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11079 PyObject
*resultobj
;
11080 wxWindow
*arg1
= (wxWindow
*) 0 ;
11082 wxString
*arg3
= 0 ;
11083 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11084 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11085 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11086 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11087 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
11088 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
11089 int arg7
= (int) 0 ;
11090 long arg8
= (long) wxRA_HORIZONTAL
;
11091 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
11092 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
11093 wxString
const &arg10_defvalue
= wxPyRadioBoxNameStr
;
11094 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
11095 wxRadioBox
*result
;
11096 bool temp3
= False
;
11099 bool temp6
= False
;
11100 bool temp10
= False
;
11101 PyObject
* obj0
= 0 ;
11102 PyObject
* obj1
= 0 ;
11103 PyObject
* obj2
= 0 ;
11104 PyObject
* obj3
= 0 ;
11105 PyObject
* obj4
= 0 ;
11106 PyObject
* obj5
= 0 ;
11107 PyObject
* obj6
= 0 ;
11108 PyObject
* obj7
= 0 ;
11109 PyObject
* obj8
= 0 ;
11110 PyObject
* obj9
= 0 ;
11111 char *kwnames
[] = {
11112 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
11115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOOO:new_RadioBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
11116 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11118 arg2
= (int) SWIG_AsInt(obj1
);
11119 if (PyErr_Occurred()) SWIG_fail
;
11121 arg3
= wxString_in_helper(obj2
);
11122 if (arg3
== NULL
) SWIG_fail
;
11128 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11134 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11139 if (! PySequence_Check(obj5
)) {
11140 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
11143 arg6
= new wxArrayString
;
11145 int i
, len
=PySequence_Length(obj5
);
11146 for (i
=0; i
<len
; i
++) {
11147 PyObject
* item
= PySequence_GetItem(obj5
, i
);
11149 PyObject
* str
= PyObject_Unicode(item
);
11151 PyObject
* str
= PyObject_Str(item
);
11153 if (PyErr_Occurred()) SWIG_fail
;
11154 arg6
->Add(Py2wxString(str
));
11161 arg7
= (int) SWIG_AsInt(obj6
);
11162 if (PyErr_Occurred()) SWIG_fail
;
11165 arg8
= (long) SWIG_AsLong(obj7
);
11166 if (PyErr_Occurred()) SWIG_fail
;
11169 if ((SWIG_ConvertPtr(obj8
,(void **)(&arg9
),SWIGTYPE_p_wxValidator
,
11170 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11172 if (arg9
== NULL
) {
11173 PyErr_SetString(PyExc_TypeError
,"null reference");
11179 arg10
= wxString_in_helper(obj9
);
11180 if (arg10
== NULL
) SWIG_fail
;
11185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11186 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
);
11188 wxPyEndAllowThreads(__tstate
);
11189 if (PyErr_Occurred()) SWIG_fail
;
11191 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioBox
, 1);
11197 if (temp6
) delete arg6
;
11210 if (temp6
) delete arg6
;
11220 static PyObject
*_wrap_new_PreRadioBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11221 PyObject
*resultobj
;
11222 wxRadioBox
*result
;
11223 char *kwnames
[] = {
11227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioBox",kwnames
)) goto fail
;
11229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11230 result
= (wxRadioBox
*)new wxRadioBox();
11232 wxPyEndAllowThreads(__tstate
);
11233 if (PyErr_Occurred()) SWIG_fail
;
11235 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioBox
, 1);
11242 static PyObject
*_wrap_RadioBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11243 PyObject
*resultobj
;
11244 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11245 wxWindow
*arg2
= (wxWindow
*) 0 ;
11247 wxString
*arg4
= 0 ;
11248 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11249 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11250 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11251 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11252 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
11253 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
11254 int arg8
= (int) 0 ;
11255 long arg9
= (long) wxRA_HORIZONTAL
;
11256 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
11257 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
11258 wxString
const &arg11_defvalue
= wxPyRadioBoxNameStr
;
11259 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
11261 bool temp4
= False
;
11264 bool temp7
= False
;
11265 bool temp11
= False
;
11266 PyObject
* obj0
= 0 ;
11267 PyObject
* obj1
= 0 ;
11268 PyObject
* obj2
= 0 ;
11269 PyObject
* obj3
= 0 ;
11270 PyObject
* obj4
= 0 ;
11271 PyObject
* obj5
= 0 ;
11272 PyObject
* obj6
= 0 ;
11273 PyObject
* obj7
= 0 ;
11274 PyObject
* obj8
= 0 ;
11275 PyObject
* obj9
= 0 ;
11276 PyObject
* obj10
= 0 ;
11277 char *kwnames
[] = {
11278 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
11281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOOOO:RadioBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
11282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11284 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
11285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11286 arg3
= (int) SWIG_AsInt(obj2
);
11287 if (PyErr_Occurred()) SWIG_fail
;
11289 arg4
= wxString_in_helper(obj3
);
11290 if (arg4
== NULL
) SWIG_fail
;
11296 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11302 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11307 if (! PySequence_Check(obj6
)) {
11308 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
11311 arg7
= new wxArrayString
;
11313 int i
, len
=PySequence_Length(obj6
);
11314 for (i
=0; i
<len
; i
++) {
11315 PyObject
* item
= PySequence_GetItem(obj6
, i
);
11317 PyObject
* str
= PyObject_Unicode(item
);
11319 PyObject
* str
= PyObject_Str(item
);
11321 if (PyErr_Occurred()) SWIG_fail
;
11322 arg7
->Add(Py2wxString(str
));
11329 arg8
= (int) SWIG_AsInt(obj7
);
11330 if (PyErr_Occurred()) SWIG_fail
;
11333 arg9
= (long) SWIG_AsLong(obj8
);
11334 if (PyErr_Occurred()) SWIG_fail
;
11337 if ((SWIG_ConvertPtr(obj9
,(void **)(&arg10
),SWIGTYPE_p_wxValidator
,
11338 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11340 if (arg10
== NULL
) {
11341 PyErr_SetString(PyExc_TypeError
,"null reference");
11347 arg11
= wxString_in_helper(obj10
);
11348 if (arg11
== NULL
) SWIG_fail
;
11353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11354 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
);
11356 wxPyEndAllowThreads(__tstate
);
11357 if (PyErr_Occurred()) SWIG_fail
;
11360 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11367 if (temp7
) delete arg7
;
11380 if (temp7
) delete arg7
;
11390 static PyObject
*_wrap_RadioBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11391 PyObject
*resultobj
;
11392 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11394 PyObject
* obj0
= 0 ;
11395 PyObject
* obj1
= 0 ;
11396 char *kwnames
[] = {
11397 (char *) "self",(char *) "n", NULL
11400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
11401 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11402 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11403 arg2
= (int) SWIG_AsInt(obj1
);
11404 if (PyErr_Occurred()) SWIG_fail
;
11406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11407 (arg1
)->SetSelection(arg2
);
11409 wxPyEndAllowThreads(__tstate
);
11410 if (PyErr_Occurred()) SWIG_fail
;
11412 Py_INCREF(Py_None
); resultobj
= Py_None
;
11419 static PyObject
*_wrap_RadioBox_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11420 PyObject
*resultobj
;
11421 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11423 PyObject
* obj0
= 0 ;
11424 char *kwnames
[] = {
11425 (char *) "self", NULL
11428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetSelection",kwnames
,&obj0
)) goto fail
;
11429 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11433 result
= (int)((wxRadioBox
const *)arg1
)->GetSelection();
11435 wxPyEndAllowThreads(__tstate
);
11436 if (PyErr_Occurred()) SWIG_fail
;
11438 resultobj
= SWIG_FromInt((int)result
);
11445 static PyObject
*_wrap_RadioBox_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11446 PyObject
*resultobj
;
11447 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11449 PyObject
* obj0
= 0 ;
11450 char *kwnames
[] = {
11451 (char *) "self", NULL
11454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetStringSelection",kwnames
,&obj0
)) goto fail
;
11455 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11456 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11459 result
= ((wxRadioBox
const *)arg1
)->GetStringSelection();
11461 wxPyEndAllowThreads(__tstate
);
11462 if (PyErr_Occurred()) SWIG_fail
;
11466 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11468 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11477 static PyObject
*_wrap_RadioBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11478 PyObject
*resultobj
;
11479 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11480 wxString
*arg2
= 0 ;
11482 bool temp2
= False
;
11483 PyObject
* obj0
= 0 ;
11484 PyObject
* obj1
= 0 ;
11485 char *kwnames
[] = {
11486 (char *) "self",(char *) "s", NULL
11489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
11490 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11493 arg2
= wxString_in_helper(obj1
);
11494 if (arg2
== NULL
) SWIG_fail
;
11498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11499 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
11501 wxPyEndAllowThreads(__tstate
);
11502 if (PyErr_Occurred()) SWIG_fail
;
11505 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11521 static PyObject
*_wrap_RadioBox_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11522 PyObject
*resultobj
;
11523 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11525 PyObject
* obj0
= 0 ;
11526 char *kwnames
[] = {
11527 (char *) "self", NULL
11530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetCount",kwnames
,&obj0
)) goto fail
;
11531 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11535 result
= (int)((wxRadioBox
const *)arg1
)->GetCount();
11537 wxPyEndAllowThreads(__tstate
);
11538 if (PyErr_Occurred()) SWIG_fail
;
11540 resultobj
= SWIG_FromInt((int)result
);
11547 static PyObject
*_wrap_RadioBox_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11548 PyObject
*resultobj
;
11549 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11550 wxString
*arg2
= 0 ;
11552 bool temp2
= False
;
11553 PyObject
* obj0
= 0 ;
11554 PyObject
* obj1
= 0 ;
11555 char *kwnames
[] = {
11556 (char *) "self",(char *) "s", NULL
11559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
11560 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11563 arg2
= wxString_in_helper(obj1
);
11564 if (arg2
== NULL
) SWIG_fail
;
11568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11569 result
= (int)((wxRadioBox
const *)arg1
)->FindString((wxString
const &)*arg2
);
11571 wxPyEndAllowThreads(__tstate
);
11572 if (PyErr_Occurred()) SWIG_fail
;
11574 resultobj
= SWIG_FromInt((int)result
);
11589 static PyObject
*_wrap_RadioBox_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11590 PyObject
*resultobj
;
11591 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11594 PyObject
* obj0
= 0 ;
11595 PyObject
* obj1
= 0 ;
11596 char *kwnames
[] = {
11597 (char *) "self",(char *) "n", NULL
11600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
11601 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11602 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11603 arg2
= (int) SWIG_AsInt(obj1
);
11604 if (PyErr_Occurred()) SWIG_fail
;
11606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11607 result
= ((wxRadioBox
const *)arg1
)->GetString(arg2
);
11609 wxPyEndAllowThreads(__tstate
);
11610 if (PyErr_Occurred()) SWIG_fail
;
11614 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11616 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11625 static PyObject
*_wrap_RadioBox_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11626 PyObject
*resultobj
;
11627 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11629 wxString
*arg3
= 0 ;
11630 bool temp3
= False
;
11631 PyObject
* obj0
= 0 ;
11632 PyObject
* obj1
= 0 ;
11633 PyObject
* obj2
= 0 ;
11634 char *kwnames
[] = {
11635 (char *) "self",(char *) "n",(char *) "label", NULL
11638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11641 arg2
= (int) SWIG_AsInt(obj1
);
11642 if (PyErr_Occurred()) SWIG_fail
;
11644 arg3
= wxString_in_helper(obj2
);
11645 if (arg3
== NULL
) SWIG_fail
;
11649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11650 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
11652 wxPyEndAllowThreads(__tstate
);
11653 if (PyErr_Occurred()) SWIG_fail
;
11655 Py_INCREF(Py_None
); resultobj
= Py_None
;
11670 static PyObject
*_wrap_RadioBox_EnableItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11671 PyObject
*resultobj
;
11672 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11674 bool arg3
= (bool) True
;
11675 PyObject
* obj0
= 0 ;
11676 PyObject
* obj1
= 0 ;
11677 PyObject
* obj2
= 0 ;
11678 char *kwnames
[] = {
11679 (char *) "self",(char *) "n",(char *) "enable", NULL
11682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_EnableItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11683 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11685 arg2
= (int) SWIG_AsInt(obj1
);
11686 if (PyErr_Occurred()) SWIG_fail
;
11688 arg3
= (bool) SWIG_AsBool(obj2
);
11689 if (PyErr_Occurred()) SWIG_fail
;
11692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11693 (arg1
)->Enable(arg2
,arg3
);
11695 wxPyEndAllowThreads(__tstate
);
11696 if (PyErr_Occurred()) SWIG_fail
;
11698 Py_INCREF(Py_None
); resultobj
= Py_None
;
11705 static PyObject
*_wrap_RadioBox_ShowItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11706 PyObject
*resultobj
;
11707 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11709 bool arg3
= (bool) True
;
11710 PyObject
* obj0
= 0 ;
11711 PyObject
* obj1
= 0 ;
11712 PyObject
* obj2
= 0 ;
11713 char *kwnames
[] = {
11714 (char *) "self",(char *) "n",(char *) "show", NULL
11717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_ShowItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11718 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11720 arg2
= (int) SWIG_AsInt(obj1
);
11721 if (PyErr_Occurred()) SWIG_fail
;
11723 arg3
= (bool) SWIG_AsBool(obj2
);
11724 if (PyErr_Occurred()) SWIG_fail
;
11727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11728 (arg1
)->Show(arg2
,arg3
);
11730 wxPyEndAllowThreads(__tstate
);
11731 if (PyErr_Occurred()) SWIG_fail
;
11733 Py_INCREF(Py_None
); resultobj
= Py_None
;
11740 static PyObject
*_wrap_RadioBox_GetColumnCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11741 PyObject
*resultobj
;
11742 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11744 PyObject
* obj0
= 0 ;
11745 char *kwnames
[] = {
11746 (char *) "self", NULL
11749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetColumnCount",kwnames
,&obj0
)) goto fail
;
11750 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11754 result
= (int)((wxRadioBox
const *)arg1
)->GetColumnCount();
11756 wxPyEndAllowThreads(__tstate
);
11757 if (PyErr_Occurred()) SWIG_fail
;
11759 resultobj
= SWIG_FromInt((int)result
);
11766 static PyObject
*_wrap_RadioBox_GetRowCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11767 PyObject
*resultobj
;
11768 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11770 PyObject
* obj0
= 0 ;
11771 char *kwnames
[] = {
11772 (char *) "self", NULL
11775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetRowCount",kwnames
,&obj0
)) goto fail
;
11776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11780 result
= (int)((wxRadioBox
const *)arg1
)->GetRowCount();
11782 wxPyEndAllowThreads(__tstate
);
11783 if (PyErr_Occurred()) SWIG_fail
;
11785 resultobj
= SWIG_FromInt((int)result
);
11792 static PyObject
*_wrap_RadioBox_GetNextItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11793 PyObject
*resultobj
;
11794 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11799 PyObject
* obj0
= 0 ;
11800 PyObject
* obj1
= 0 ;
11801 PyObject
* obj2
= 0 ;
11802 PyObject
* obj3
= 0 ;
11803 char *kwnames
[] = {
11804 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
11807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RadioBox_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11810 arg2
= (int) SWIG_AsInt(obj1
);
11811 if (PyErr_Occurred()) SWIG_fail
;
11812 arg3
= (wxDirection
) SWIG_AsInt(obj2
);
11813 if (PyErr_Occurred()) SWIG_fail
;
11814 arg4
= (long) SWIG_AsLong(obj3
);
11815 if (PyErr_Occurred()) SWIG_fail
;
11817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11818 result
= (int)((wxRadioBox
const *)arg1
)->GetNextItem(arg2
,(wxDirection
)arg3
,arg4
);
11820 wxPyEndAllowThreads(__tstate
);
11821 if (PyErr_Occurred()) SWIG_fail
;
11823 resultobj
= SWIG_FromInt((int)result
);
11830 static PyObject
* RadioBox_swigregister(PyObject
*self
, PyObject
*args
) {
11832 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11833 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox
, obj
);
11835 return Py_BuildValue((char *)"");
11837 static PyObject
*_wrap_new_RadioButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11838 PyObject
*resultobj
;
11839 wxWindow
*arg1
= (wxWindow
*) 0 ;
11841 wxString
*arg3
= 0 ;
11842 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11843 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11844 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11845 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11846 long arg6
= (long) 0 ;
11847 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
11848 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
11849 wxString
const &arg8_defvalue
= wxPyRadioButtonNameStr
;
11850 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
11851 wxRadioButton
*result
;
11852 bool temp3
= False
;
11855 bool temp8
= False
;
11856 PyObject
* obj0
= 0 ;
11857 PyObject
* obj1
= 0 ;
11858 PyObject
* obj2
= 0 ;
11859 PyObject
* obj3
= 0 ;
11860 PyObject
* obj4
= 0 ;
11861 PyObject
* obj5
= 0 ;
11862 PyObject
* obj6
= 0 ;
11863 PyObject
* obj7
= 0 ;
11864 char *kwnames
[] = {
11865 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_RadioButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
11869 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11871 arg2
= (int) SWIG_AsInt(obj1
);
11872 if (PyErr_Occurred()) SWIG_fail
;
11874 arg3
= wxString_in_helper(obj2
);
11875 if (arg3
== NULL
) SWIG_fail
;
11881 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11887 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11891 arg6
= (long) SWIG_AsLong(obj5
);
11892 if (PyErr_Occurred()) SWIG_fail
;
11895 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
11896 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11898 if (arg7
== NULL
) {
11899 PyErr_SetString(PyExc_TypeError
,"null reference");
11905 arg8
= wxString_in_helper(obj7
);
11906 if (arg8
== NULL
) SWIG_fail
;
11911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11912 result
= (wxRadioButton
*)new wxRadioButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
11914 wxPyEndAllowThreads(__tstate
);
11915 if (PyErr_Occurred()) SWIG_fail
;
11917 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioButton
, 1);
11940 static PyObject
*_wrap_new_PreRadioButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11941 PyObject
*resultobj
;
11942 wxRadioButton
*result
;
11943 char *kwnames
[] = {
11947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioButton",kwnames
)) goto fail
;
11949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11950 result
= (wxRadioButton
*)new wxRadioButton();
11952 wxPyEndAllowThreads(__tstate
);
11953 if (PyErr_Occurred()) SWIG_fail
;
11955 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioButton
, 1);
11962 static PyObject
*_wrap_RadioButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11963 PyObject
*resultobj
;
11964 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
11965 wxWindow
*arg2
= (wxWindow
*) 0 ;
11967 wxString
*arg4
= 0 ;
11968 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11969 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11970 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11971 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11972 long arg7
= (long) 0 ;
11973 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
11974 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
11975 wxString
const &arg9_defvalue
= wxPyRadioButtonNameStr
;
11976 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
11978 bool temp4
= False
;
11981 bool temp9
= False
;
11982 PyObject
* obj0
= 0 ;
11983 PyObject
* obj1
= 0 ;
11984 PyObject
* obj2
= 0 ;
11985 PyObject
* obj3
= 0 ;
11986 PyObject
* obj4
= 0 ;
11987 PyObject
* obj5
= 0 ;
11988 PyObject
* obj6
= 0 ;
11989 PyObject
* obj7
= 0 ;
11990 PyObject
* obj8
= 0 ;
11991 char *kwnames
[] = {
11992 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:RadioButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
11996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioButton
,
11997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11998 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
11999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12000 arg3
= (int) SWIG_AsInt(obj2
);
12001 if (PyErr_Occurred()) SWIG_fail
;
12003 arg4
= wxString_in_helper(obj3
);
12004 if (arg4
== NULL
) SWIG_fail
;
12010 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
12016 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
12020 arg7
= (long) SWIG_AsLong(obj6
);
12021 if (PyErr_Occurred()) SWIG_fail
;
12024 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
12025 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12027 if (arg8
== NULL
) {
12028 PyErr_SetString(PyExc_TypeError
,"null reference");
12034 arg9
= wxString_in_helper(obj8
);
12035 if (arg9
== NULL
) SWIG_fail
;
12040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12041 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
12043 wxPyEndAllowThreads(__tstate
);
12044 if (PyErr_Occurred()) SWIG_fail
;
12047 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12071 static PyObject
*_wrap_RadioButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12072 PyObject
*resultobj
;
12073 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
12075 PyObject
* obj0
= 0 ;
12076 char *kwnames
[] = {
12077 (char *) "self", NULL
12080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioButton_GetValue",kwnames
,&obj0
)) goto fail
;
12081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioButton
,
12082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12085 result
= (bool)(arg1
)->GetValue();
12087 wxPyEndAllowThreads(__tstate
);
12088 if (PyErr_Occurred()) SWIG_fail
;
12091 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12099 static PyObject
*_wrap_RadioButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12100 PyObject
*resultobj
;
12101 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
12103 PyObject
* obj0
= 0 ;
12104 PyObject
* obj1
= 0 ;
12105 char *kwnames
[] = {
12106 (char *) "self",(char *) "value", NULL
12109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
12110 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioButton
,
12111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12112 arg2
= (bool) SWIG_AsBool(obj1
);
12113 if (PyErr_Occurred()) SWIG_fail
;
12115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12116 (arg1
)->SetValue(arg2
);
12118 wxPyEndAllowThreads(__tstate
);
12119 if (PyErr_Occurred()) SWIG_fail
;
12121 Py_INCREF(Py_None
); resultobj
= Py_None
;
12128 static PyObject
* RadioButton_swigregister(PyObject
*self
, PyObject
*args
) {
12130 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12131 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton
, obj
);
12133 return Py_BuildValue((char *)"");
12135 static int _wrap_SliderNameStr_set(PyObject
*_val
) {
12136 PyErr_SetString(PyExc_TypeError
,"Variable SliderNameStr is read-only.");
12141 static PyObject
*_wrap_SliderNameStr_get() {
12146 pyobj
= PyUnicode_FromWideChar((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
12148 pyobj
= PyString_FromStringAndSize((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
12155 static PyObject
*_wrap_new_Slider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12156 PyObject
*resultobj
;
12157 wxWindow
*arg1
= (wxWindow
*) 0 ;
12162 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
12163 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
12164 wxSize
const &arg7_defvalue
= wxDefaultSize
;
12165 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
12166 long arg8
= (long) wxSL_HORIZONTAL
;
12167 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
12168 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
12169 wxString
const &arg10_defvalue
= wxPySliderNameStr
;
12170 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
12174 bool temp10
= False
;
12175 PyObject
* obj0
= 0 ;
12176 PyObject
* obj1
= 0 ;
12177 PyObject
* obj2
= 0 ;
12178 PyObject
* obj3
= 0 ;
12179 PyObject
* obj4
= 0 ;
12180 PyObject
* obj5
= 0 ;
12181 PyObject
* obj6
= 0 ;
12182 PyObject
* obj7
= 0 ;
12183 PyObject
* obj8
= 0 ;
12184 PyObject
* obj9
= 0 ;
12185 char *kwnames
[] = {
12186 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:new_Slider",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
12190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12192 arg2
= (int) SWIG_AsInt(obj1
);
12193 if (PyErr_Occurred()) SWIG_fail
;
12194 arg3
= (int) SWIG_AsInt(obj2
);
12195 if (PyErr_Occurred()) SWIG_fail
;
12196 arg4
= (int) SWIG_AsInt(obj3
);
12197 if (PyErr_Occurred()) SWIG_fail
;
12198 arg5
= (int) SWIG_AsInt(obj4
);
12199 if (PyErr_Occurred()) SWIG_fail
;
12203 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
12209 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
12213 arg8
= (long) SWIG_AsLong(obj7
);
12214 if (PyErr_Occurred()) SWIG_fail
;
12217 if ((SWIG_ConvertPtr(obj8
,(void **)(&arg9
),SWIGTYPE_p_wxValidator
,
12218 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12220 if (arg9
== NULL
) {
12221 PyErr_SetString(PyExc_TypeError
,"null reference");
12227 arg10
= wxString_in_helper(obj9
);
12228 if (arg10
== NULL
) SWIG_fail
;
12233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12234 result
= (wxSlider
*)new wxSlider(arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
12236 wxPyEndAllowThreads(__tstate
);
12237 if (PyErr_Occurred()) SWIG_fail
;
12239 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSlider
, 1);
12254 static PyObject
*_wrap_new_PreSlider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12255 PyObject
*resultobj
;
12257 char *kwnames
[] = {
12261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSlider",kwnames
)) goto fail
;
12263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12264 result
= (wxSlider
*)new wxSlider();
12266 wxPyEndAllowThreads(__tstate
);
12267 if (PyErr_Occurred()) SWIG_fail
;
12269 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSlider
, 1);
12276 static PyObject
*_wrap_Slider_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12277 PyObject
*resultobj
;
12278 wxSlider
*arg1
= (wxSlider
*) 0 ;
12279 wxWindow
*arg2
= (wxWindow
*) 0 ;
12284 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
12285 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
12286 wxSize
const &arg8_defvalue
= wxDefaultSize
;
12287 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
12288 long arg9
= (long) wxSL_HORIZONTAL
;
12289 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
12290 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
12291 wxString
const &arg11_defvalue
= wxPySliderNameStr
;
12292 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
12296 bool temp11
= False
;
12297 PyObject
* obj0
= 0 ;
12298 PyObject
* obj1
= 0 ;
12299 PyObject
* obj2
= 0 ;
12300 PyObject
* obj3
= 0 ;
12301 PyObject
* obj4
= 0 ;
12302 PyObject
* obj5
= 0 ;
12303 PyObject
* obj6
= 0 ;
12304 PyObject
* obj7
= 0 ;
12305 PyObject
* obj8
= 0 ;
12306 PyObject
* obj9
= 0 ;
12307 PyObject
* obj10
= 0 ;
12308 char *kwnames
[] = {
12309 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|OOOOO:Slider_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
12313 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12315 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
12316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12317 arg3
= (int) SWIG_AsInt(obj2
);
12318 if (PyErr_Occurred()) SWIG_fail
;
12319 arg4
= (int) SWIG_AsInt(obj3
);
12320 if (PyErr_Occurred()) SWIG_fail
;
12321 arg5
= (int) SWIG_AsInt(obj4
);
12322 if (PyErr_Occurred()) SWIG_fail
;
12323 arg6
= (int) SWIG_AsInt(obj5
);
12324 if (PyErr_Occurred()) SWIG_fail
;
12328 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
12334 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
12338 arg9
= (long) SWIG_AsLong(obj8
);
12339 if (PyErr_Occurred()) SWIG_fail
;
12342 if ((SWIG_ConvertPtr(obj9
,(void **)(&arg10
),SWIGTYPE_p_wxValidator
,
12343 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12345 if (arg10
== NULL
) {
12346 PyErr_SetString(PyExc_TypeError
,"null reference");
12352 arg11
= wxString_in_helper(obj10
);
12353 if (arg11
== NULL
) SWIG_fail
;
12358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12359 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
,(wxSize
const &)*arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
12361 wxPyEndAllowThreads(__tstate
);
12362 if (PyErr_Occurred()) SWIG_fail
;
12365 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12381 static PyObject
*_wrap_Slider_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12382 PyObject
*resultobj
;
12383 wxSlider
*arg1
= (wxSlider
*) 0 ;
12385 PyObject
* obj0
= 0 ;
12386 char *kwnames
[] = {
12387 (char *) "self", NULL
12390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetValue",kwnames
,&obj0
)) goto fail
;
12391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12395 result
= (int)((wxSlider
const *)arg1
)->GetValue();
12397 wxPyEndAllowThreads(__tstate
);
12398 if (PyErr_Occurred()) SWIG_fail
;
12400 resultobj
= SWIG_FromInt((int)result
);
12407 static PyObject
*_wrap_Slider_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12408 PyObject
*resultobj
;
12409 wxSlider
*arg1
= (wxSlider
*) 0 ;
12411 PyObject
* obj0
= 0 ;
12412 PyObject
* obj1
= 0 ;
12413 char *kwnames
[] = {
12414 (char *) "self",(char *) "value", NULL
12417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
12418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12420 arg2
= (int) SWIG_AsInt(obj1
);
12421 if (PyErr_Occurred()) SWIG_fail
;
12423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12424 (arg1
)->SetValue(arg2
);
12426 wxPyEndAllowThreads(__tstate
);
12427 if (PyErr_Occurred()) SWIG_fail
;
12429 Py_INCREF(Py_None
); resultobj
= Py_None
;
12436 static PyObject
*_wrap_Slider_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12437 PyObject
*resultobj
;
12438 wxSlider
*arg1
= (wxSlider
*) 0 ;
12441 PyObject
* obj0
= 0 ;
12442 PyObject
* obj1
= 0 ;
12443 PyObject
* obj2
= 0 ;
12444 char *kwnames
[] = {
12445 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
12448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12449 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12451 arg2
= (int) SWIG_AsInt(obj1
);
12452 if (PyErr_Occurred()) SWIG_fail
;
12453 arg3
= (int) SWIG_AsInt(obj2
);
12454 if (PyErr_Occurred()) SWIG_fail
;
12456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12457 (arg1
)->SetRange(arg2
,arg3
);
12459 wxPyEndAllowThreads(__tstate
);
12460 if (PyErr_Occurred()) SWIG_fail
;
12462 Py_INCREF(Py_None
); resultobj
= Py_None
;
12469 static PyObject
*_wrap_Slider_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12470 PyObject
*resultobj
;
12471 wxSlider
*arg1
= (wxSlider
*) 0 ;
12473 PyObject
* obj0
= 0 ;
12474 char *kwnames
[] = {
12475 (char *) "self", NULL
12478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMin",kwnames
,&obj0
)) goto fail
;
12479 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12480 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12483 result
= (int)((wxSlider
const *)arg1
)->GetMin();
12485 wxPyEndAllowThreads(__tstate
);
12486 if (PyErr_Occurred()) SWIG_fail
;
12488 resultobj
= SWIG_FromInt((int)result
);
12495 static PyObject
*_wrap_Slider_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12496 PyObject
*resultobj
;
12497 wxSlider
*arg1
= (wxSlider
*) 0 ;
12499 PyObject
* obj0
= 0 ;
12500 char *kwnames
[] = {
12501 (char *) "self", NULL
12504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMax",kwnames
,&obj0
)) goto fail
;
12505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12509 result
= (int)((wxSlider
const *)arg1
)->GetMax();
12511 wxPyEndAllowThreads(__tstate
);
12512 if (PyErr_Occurred()) SWIG_fail
;
12514 resultobj
= SWIG_FromInt((int)result
);
12521 static PyObject
*_wrap_Slider_SetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12522 PyObject
*resultobj
;
12523 wxSlider
*arg1
= (wxSlider
*) 0 ;
12525 PyObject
* obj0
= 0 ;
12526 PyObject
* obj1
= 0 ;
12527 char *kwnames
[] = {
12528 (char *) "self",(char *) "minValue", NULL
12531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
12532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12534 arg2
= (int) SWIG_AsInt(obj1
);
12535 if (PyErr_Occurred()) SWIG_fail
;
12537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12538 (arg1
)->SetMin(arg2
);
12540 wxPyEndAllowThreads(__tstate
);
12541 if (PyErr_Occurred()) SWIG_fail
;
12543 Py_INCREF(Py_None
); resultobj
= Py_None
;
12550 static PyObject
*_wrap_Slider_SetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12551 PyObject
*resultobj
;
12552 wxSlider
*arg1
= (wxSlider
*) 0 ;
12554 PyObject
* obj0
= 0 ;
12555 PyObject
* obj1
= 0 ;
12556 char *kwnames
[] = {
12557 (char *) "self",(char *) "maxValue", NULL
12560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
12561 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12563 arg2
= (int) SWIG_AsInt(obj1
);
12564 if (PyErr_Occurred()) SWIG_fail
;
12566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12567 (arg1
)->SetMax(arg2
);
12569 wxPyEndAllowThreads(__tstate
);
12570 if (PyErr_Occurred()) SWIG_fail
;
12572 Py_INCREF(Py_None
); resultobj
= Py_None
;
12579 static PyObject
*_wrap_Slider_SetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12580 PyObject
*resultobj
;
12581 wxSlider
*arg1
= (wxSlider
*) 0 ;
12583 PyObject
* obj0
= 0 ;
12584 PyObject
* obj1
= 0 ;
12585 char *kwnames
[] = {
12586 (char *) "self",(char *) "lineSize", NULL
12589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetLineSize",kwnames
,&obj0
,&obj1
)) goto fail
;
12590 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12592 arg2
= (int) SWIG_AsInt(obj1
);
12593 if (PyErr_Occurred()) SWIG_fail
;
12595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12596 (arg1
)->SetLineSize(arg2
);
12598 wxPyEndAllowThreads(__tstate
);
12599 if (PyErr_Occurred()) SWIG_fail
;
12601 Py_INCREF(Py_None
); resultobj
= Py_None
;
12608 static PyObject
*_wrap_Slider_SetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12609 PyObject
*resultobj
;
12610 wxSlider
*arg1
= (wxSlider
*) 0 ;
12612 PyObject
* obj0
= 0 ;
12613 PyObject
* obj1
= 0 ;
12614 char *kwnames
[] = {
12615 (char *) "self",(char *) "pageSize", NULL
12618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
12619 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12621 arg2
= (int) SWIG_AsInt(obj1
);
12622 if (PyErr_Occurred()) SWIG_fail
;
12624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12625 (arg1
)->SetPageSize(arg2
);
12627 wxPyEndAllowThreads(__tstate
);
12628 if (PyErr_Occurred()) SWIG_fail
;
12630 Py_INCREF(Py_None
); resultobj
= Py_None
;
12637 static PyObject
*_wrap_Slider_GetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12638 PyObject
*resultobj
;
12639 wxSlider
*arg1
= (wxSlider
*) 0 ;
12641 PyObject
* obj0
= 0 ;
12642 char *kwnames
[] = {
12643 (char *) "self", NULL
12646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetLineSize",kwnames
,&obj0
)) goto fail
;
12647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12651 result
= (int)((wxSlider
const *)arg1
)->GetLineSize();
12653 wxPyEndAllowThreads(__tstate
);
12654 if (PyErr_Occurred()) SWIG_fail
;
12656 resultobj
= SWIG_FromInt((int)result
);
12663 static PyObject
*_wrap_Slider_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12664 PyObject
*resultobj
;
12665 wxSlider
*arg1
= (wxSlider
*) 0 ;
12667 PyObject
* obj0
= 0 ;
12668 char *kwnames
[] = {
12669 (char *) "self", NULL
12672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetPageSize",kwnames
,&obj0
)) goto fail
;
12673 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12677 result
= (int)((wxSlider
const *)arg1
)->GetPageSize();
12679 wxPyEndAllowThreads(__tstate
);
12680 if (PyErr_Occurred()) SWIG_fail
;
12682 resultobj
= SWIG_FromInt((int)result
);
12689 static PyObject
*_wrap_Slider_SetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12690 PyObject
*resultobj
;
12691 wxSlider
*arg1
= (wxSlider
*) 0 ;
12693 PyObject
* obj0
= 0 ;
12694 PyObject
* obj1
= 0 ;
12695 char *kwnames
[] = {
12696 (char *) "self",(char *) "lenPixels", NULL
12699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetThumbLength",kwnames
,&obj0
,&obj1
)) goto fail
;
12700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12702 arg2
= (int) SWIG_AsInt(obj1
);
12703 if (PyErr_Occurred()) SWIG_fail
;
12705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12706 (arg1
)->SetThumbLength(arg2
);
12708 wxPyEndAllowThreads(__tstate
);
12709 if (PyErr_Occurred()) SWIG_fail
;
12711 Py_INCREF(Py_None
); resultobj
= Py_None
;
12718 static PyObject
*_wrap_Slider_GetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12719 PyObject
*resultobj
;
12720 wxSlider
*arg1
= (wxSlider
*) 0 ;
12722 PyObject
* obj0
= 0 ;
12723 char *kwnames
[] = {
12724 (char *) "self", NULL
12727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetThumbLength",kwnames
,&obj0
)) goto fail
;
12728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12732 result
= (int)((wxSlider
const *)arg1
)->GetThumbLength();
12734 wxPyEndAllowThreads(__tstate
);
12735 if (PyErr_Occurred()) SWIG_fail
;
12737 resultobj
= SWIG_FromInt((int)result
);
12744 static PyObject
*_wrap_Slider_SetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12745 PyObject
*resultobj
;
12746 wxSlider
*arg1
= (wxSlider
*) 0 ;
12748 int arg3
= (int) 1 ;
12749 PyObject
* obj0
= 0 ;
12750 PyObject
* obj1
= 0 ;
12751 PyObject
* obj2
= 0 ;
12752 char *kwnames
[] = {
12753 (char *) "self",(char *) "n",(char *) "pos", NULL
12756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Slider_SetTickFreq",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12757 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12759 arg2
= (int) SWIG_AsInt(obj1
);
12760 if (PyErr_Occurred()) SWIG_fail
;
12762 arg3
= (int) SWIG_AsInt(obj2
);
12763 if (PyErr_Occurred()) SWIG_fail
;
12766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12767 (arg1
)->SetTickFreq(arg2
,arg3
);
12769 wxPyEndAllowThreads(__tstate
);
12770 if (PyErr_Occurred()) SWIG_fail
;
12772 Py_INCREF(Py_None
); resultobj
= Py_None
;
12779 static PyObject
*_wrap_Slider_GetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12780 PyObject
*resultobj
;
12781 wxSlider
*arg1
= (wxSlider
*) 0 ;
12783 PyObject
* obj0
= 0 ;
12784 char *kwnames
[] = {
12785 (char *) "self", NULL
12788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetTickFreq",kwnames
,&obj0
)) goto fail
;
12789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12793 result
= (int)((wxSlider
const *)arg1
)->GetTickFreq();
12795 wxPyEndAllowThreads(__tstate
);
12796 if (PyErr_Occurred()) SWIG_fail
;
12798 resultobj
= SWIG_FromInt((int)result
);
12805 static PyObject
*_wrap_Slider_ClearTicks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12806 PyObject
*resultobj
;
12807 wxSlider
*arg1
= (wxSlider
*) 0 ;
12808 PyObject
* obj0
= 0 ;
12809 char *kwnames
[] = {
12810 (char *) "self", NULL
12813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearTicks",kwnames
,&obj0
)) goto fail
;
12814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12818 (arg1
)->ClearTicks();
12820 wxPyEndAllowThreads(__tstate
);
12821 if (PyErr_Occurred()) SWIG_fail
;
12823 Py_INCREF(Py_None
); resultobj
= Py_None
;
12830 static PyObject
*_wrap_Slider_SetTick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12831 PyObject
*resultobj
;
12832 wxSlider
*arg1
= (wxSlider
*) 0 ;
12834 PyObject
* obj0
= 0 ;
12835 PyObject
* obj1
= 0 ;
12836 char *kwnames
[] = {
12837 (char *) "self",(char *) "tickPos", NULL
12840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetTick",kwnames
,&obj0
,&obj1
)) goto fail
;
12841 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12843 arg2
= (int) SWIG_AsInt(obj1
);
12844 if (PyErr_Occurred()) SWIG_fail
;
12846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12847 (arg1
)->SetTick(arg2
);
12849 wxPyEndAllowThreads(__tstate
);
12850 if (PyErr_Occurred()) SWIG_fail
;
12852 Py_INCREF(Py_None
); resultobj
= Py_None
;
12859 static PyObject
*_wrap_Slider_ClearSel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12860 PyObject
*resultobj
;
12861 wxSlider
*arg1
= (wxSlider
*) 0 ;
12862 PyObject
* obj0
= 0 ;
12863 char *kwnames
[] = {
12864 (char *) "self", NULL
12867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearSel",kwnames
,&obj0
)) goto fail
;
12868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12872 (arg1
)->ClearSel();
12874 wxPyEndAllowThreads(__tstate
);
12875 if (PyErr_Occurred()) SWIG_fail
;
12877 Py_INCREF(Py_None
); resultobj
= Py_None
;
12884 static PyObject
*_wrap_Slider_GetSelEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12885 PyObject
*resultobj
;
12886 wxSlider
*arg1
= (wxSlider
*) 0 ;
12888 PyObject
* obj0
= 0 ;
12889 char *kwnames
[] = {
12890 (char *) "self", NULL
12893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelEnd",kwnames
,&obj0
)) goto fail
;
12894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12898 result
= (int)((wxSlider
const *)arg1
)->GetSelEnd();
12900 wxPyEndAllowThreads(__tstate
);
12901 if (PyErr_Occurred()) SWIG_fail
;
12903 resultobj
= SWIG_FromInt((int)result
);
12910 static PyObject
*_wrap_Slider_GetSelStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12911 PyObject
*resultobj
;
12912 wxSlider
*arg1
= (wxSlider
*) 0 ;
12914 PyObject
* obj0
= 0 ;
12915 char *kwnames
[] = {
12916 (char *) "self", NULL
12919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelStart",kwnames
,&obj0
)) goto fail
;
12920 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12924 result
= (int)((wxSlider
const *)arg1
)->GetSelStart();
12926 wxPyEndAllowThreads(__tstate
);
12927 if (PyErr_Occurred()) SWIG_fail
;
12929 resultobj
= SWIG_FromInt((int)result
);
12936 static PyObject
*_wrap_Slider_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12937 PyObject
*resultobj
;
12938 wxSlider
*arg1
= (wxSlider
*) 0 ;
12941 PyObject
* obj0
= 0 ;
12942 PyObject
* obj1
= 0 ;
12943 PyObject
* obj2
= 0 ;
12944 char *kwnames
[] = {
12945 (char *) "self",(char *) "min",(char *) "max", NULL
12948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12951 arg2
= (int) SWIG_AsInt(obj1
);
12952 if (PyErr_Occurred()) SWIG_fail
;
12953 arg3
= (int) SWIG_AsInt(obj2
);
12954 if (PyErr_Occurred()) SWIG_fail
;
12956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12957 (arg1
)->SetSelection(arg2
,arg3
);
12959 wxPyEndAllowThreads(__tstate
);
12960 if (PyErr_Occurred()) SWIG_fail
;
12962 Py_INCREF(Py_None
); resultobj
= Py_None
;
12969 static PyObject
* Slider_swigregister(PyObject
*self
, PyObject
*args
) {
12971 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12972 SWIG_TypeClientData(SWIGTYPE_p_wxSlider
, obj
);
12974 return Py_BuildValue((char *)"");
12976 static int _wrap_ToggleButtonNameStr_set(PyObject
*_val
) {
12977 PyErr_SetString(PyExc_TypeError
,"Variable ToggleButtonNameStr is read-only.");
12982 static PyObject
*_wrap_ToggleButtonNameStr_get() {
12987 pyobj
= PyUnicode_FromWideChar((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
12989 pyobj
= PyString_FromStringAndSize((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
12996 static PyObject
*_wrap_new_ToggleButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12997 PyObject
*resultobj
;
12998 wxWindow
*arg1
= (wxWindow
*) 0 ;
13000 wxString
*arg3
= 0 ;
13001 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
13002 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
13003 wxSize
const &arg5_defvalue
= wxDefaultSize
;
13004 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
13005 long arg6
= (long) 0 ;
13006 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
13007 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
13008 wxString
const &arg8_defvalue
= wxPyToggleButtonNameStr
;
13009 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
13010 wxToggleButton
*result
;
13011 bool temp3
= False
;
13014 bool temp8
= False
;
13015 PyObject
* obj0
= 0 ;
13016 PyObject
* obj1
= 0 ;
13017 PyObject
* obj2
= 0 ;
13018 PyObject
* obj3
= 0 ;
13019 PyObject
* obj4
= 0 ;
13020 PyObject
* obj5
= 0 ;
13021 PyObject
* obj6
= 0 ;
13022 PyObject
* obj7
= 0 ;
13023 char *kwnames
[] = {
13024 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
13027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_ToggleButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
13028 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
13029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13030 arg2
= (int) SWIG_AsInt(obj1
);
13031 if (PyErr_Occurred()) SWIG_fail
;
13033 arg3
= wxString_in_helper(obj2
);
13034 if (arg3
== NULL
) SWIG_fail
;
13040 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
13046 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
13050 arg6
= (long) SWIG_AsLong(obj5
);
13051 if (PyErr_Occurred()) SWIG_fail
;
13054 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
13055 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13057 if (arg7
== NULL
) {
13058 PyErr_SetString(PyExc_TypeError
,"null reference");
13064 arg8
= wxString_in_helper(obj7
);
13065 if (arg8
== NULL
) SWIG_fail
;
13070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13071 result
= (wxToggleButton
*)new wxToggleButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
13073 wxPyEndAllowThreads(__tstate
);
13074 if (PyErr_Occurred()) SWIG_fail
;
13076 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToggleButton
, 1);
13099 static PyObject
*_wrap_new_PreToggleButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13100 PyObject
*resultobj
;
13101 wxToggleButton
*result
;
13102 char *kwnames
[] = {
13106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToggleButton",kwnames
)) goto fail
;
13108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13109 result
= (wxToggleButton
*)new wxToggleButton();
13111 wxPyEndAllowThreads(__tstate
);
13112 if (PyErr_Occurred()) SWIG_fail
;
13114 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToggleButton
, 1);
13121 static PyObject
*_wrap_ToggleButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13122 PyObject
*resultobj
;
13123 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
13124 wxWindow
*arg2
= (wxWindow
*) 0 ;
13126 wxString
*arg4
= 0 ;
13127 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
13128 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
13129 wxSize
const &arg6_defvalue
= wxDefaultSize
;
13130 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
13131 long arg7
= (long) 0 ;
13132 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
13133 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
13134 wxString
const &arg9_defvalue
= wxPyToggleButtonNameStr
;
13135 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
13137 bool temp4
= False
;
13140 bool temp9
= False
;
13141 PyObject
* obj0
= 0 ;
13142 PyObject
* obj1
= 0 ;
13143 PyObject
* obj2
= 0 ;
13144 PyObject
* obj3
= 0 ;
13145 PyObject
* obj4
= 0 ;
13146 PyObject
* obj5
= 0 ;
13147 PyObject
* obj6
= 0 ;
13148 PyObject
* obj7
= 0 ;
13149 PyObject
* obj8
= 0 ;
13150 char *kwnames
[] = {
13151 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
13154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToggleButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
13155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
13156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13157 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
13158 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13159 arg3
= (int) SWIG_AsInt(obj2
);
13160 if (PyErr_Occurred()) SWIG_fail
;
13162 arg4
= wxString_in_helper(obj3
);
13163 if (arg4
== NULL
) SWIG_fail
;
13169 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
13175 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
13179 arg7
= (long) SWIG_AsLong(obj6
);
13180 if (PyErr_Occurred()) SWIG_fail
;
13183 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
13184 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13186 if (arg8
== NULL
) {
13187 PyErr_SetString(PyExc_TypeError
,"null reference");
13193 arg9
= wxString_in_helper(obj8
);
13194 if (arg9
== NULL
) SWIG_fail
;
13199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13200 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
13202 wxPyEndAllowThreads(__tstate
);
13203 if (PyErr_Occurred()) SWIG_fail
;
13206 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13230 static PyObject
*_wrap_ToggleButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13231 PyObject
*resultobj
;
13232 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
13234 PyObject
* obj0
= 0 ;
13235 PyObject
* obj1
= 0 ;
13236 char *kwnames
[] = {
13237 (char *) "self",(char *) "value", NULL
13240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
13241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
13242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13243 arg2
= (bool) SWIG_AsBool(obj1
);
13244 if (PyErr_Occurred()) SWIG_fail
;
13246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13247 (arg1
)->SetValue(arg2
);
13249 wxPyEndAllowThreads(__tstate
);
13250 if (PyErr_Occurred()) SWIG_fail
;
13252 Py_INCREF(Py_None
); resultobj
= Py_None
;
13259 static PyObject
*_wrap_ToggleButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13260 PyObject
*resultobj
;
13261 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
13263 PyObject
* obj0
= 0 ;
13264 char *kwnames
[] = {
13265 (char *) "self", NULL
13268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToggleButton_GetValue",kwnames
,&obj0
)) goto fail
;
13269 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
13270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13273 result
= (bool)((wxToggleButton
const *)arg1
)->GetValue();
13275 wxPyEndAllowThreads(__tstate
);
13276 if (PyErr_Occurred()) SWIG_fail
;
13279 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13287 static PyObject
*_wrap_ToggleButton_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13288 PyObject
*resultobj
;
13289 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
13290 wxString
*arg2
= 0 ;
13291 bool temp2
= False
;
13292 PyObject
* obj0
= 0 ;
13293 PyObject
* obj1
= 0 ;
13294 char *kwnames
[] = {
13295 (char *) "self",(char *) "label", NULL
13298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
13299 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
13300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13302 arg2
= wxString_in_helper(obj1
);
13303 if (arg2
== NULL
) SWIG_fail
;
13307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13308 (arg1
)->SetLabel((wxString
const &)*arg2
);
13310 wxPyEndAllowThreads(__tstate
);
13311 if (PyErr_Occurred()) SWIG_fail
;
13313 Py_INCREF(Py_None
); resultobj
= Py_None
;
13328 static PyObject
* ToggleButton_swigregister(PyObject
*self
, PyObject
*args
) {
13330 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13331 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton
, obj
);
13333 return Py_BuildValue((char *)"");
13335 static int _wrap_NOTEBOOK_NAME_set(PyObject
*_val
) {
13336 PyErr_SetString(PyExc_TypeError
,"Variable NOTEBOOK_NAME is read-only.");
13341 static PyObject
*_wrap_NOTEBOOK_NAME_get() {
13346 pyobj
= PyUnicode_FromWideChar((&wxPyNOTEBOOK_NAME
)->c_str(), (&wxPyNOTEBOOK_NAME
)->Len());
13348 pyobj
= PyString_FromStringAndSize((&wxPyNOTEBOOK_NAME
)->c_str(), (&wxPyNOTEBOOK_NAME
)->Len());
13355 static PyObject
*_wrap_BookCtrl_GetPageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13356 PyObject
*resultobj
;
13357 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13359 PyObject
* obj0
= 0 ;
13360 char *kwnames
[] = {
13361 (char *) "self", NULL
13364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetPageCount",kwnames
,&obj0
)) goto fail
;
13365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13369 result
= (size_t)((wxBookCtrl
const *)arg1
)->GetPageCount();
13371 wxPyEndAllowThreads(__tstate
);
13372 if (PyErr_Occurred()) SWIG_fail
;
13374 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
13381 static PyObject
*_wrap_BookCtrl_GetPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13382 PyObject
*resultobj
;
13383 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13386 PyObject
* obj0
= 0 ;
13387 PyObject
* obj1
= 0 ;
13388 char *kwnames
[] = {
13389 (char *) "self",(char *) "n", NULL
13392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPage",kwnames
,&obj0
,&obj1
)) goto fail
;
13393 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13395 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13396 if (PyErr_Occurred()) SWIG_fail
;
13398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13399 result
= (wxWindow
*)(arg1
)->GetPage(arg2
);
13401 wxPyEndAllowThreads(__tstate
);
13402 if (PyErr_Occurred()) SWIG_fail
;
13405 resultobj
= wxPyMake_wxObject(result
);
13413 static PyObject
*_wrap_BookCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13414 PyObject
*resultobj
;
13415 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13417 PyObject
* obj0
= 0 ;
13418 char *kwnames
[] = {
13419 (char *) "self", NULL
13422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
13423 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13424 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13427 result
= (int)((wxBookCtrl
const *)arg1
)->GetSelection();
13429 wxPyEndAllowThreads(__tstate
);
13430 if (PyErr_Occurred()) SWIG_fail
;
13432 resultobj
= SWIG_FromInt((int)result
);
13439 static PyObject
*_wrap_BookCtrl_SetPageText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13440 PyObject
*resultobj
;
13441 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13443 wxString
*arg3
= 0 ;
13445 bool temp3
= False
;
13446 PyObject
* obj0
= 0 ;
13447 PyObject
* obj1
= 0 ;
13448 PyObject
* obj2
= 0 ;
13449 char *kwnames
[] = {
13450 (char *) "self",(char *) "n",(char *) "strText", NULL
13453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrl_SetPageText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13454 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13455 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13456 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13457 if (PyErr_Occurred()) SWIG_fail
;
13459 arg3
= wxString_in_helper(obj2
);
13460 if (arg3
== NULL
) SWIG_fail
;
13464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13465 result
= (bool)(arg1
)->SetPageText(arg2
,(wxString
const &)*arg3
);
13467 wxPyEndAllowThreads(__tstate
);
13468 if (PyErr_Occurred()) SWIG_fail
;
13471 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13487 static PyObject
*_wrap_BookCtrl_GetPageText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13488 PyObject
*resultobj
;
13489 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13492 PyObject
* obj0
= 0 ;
13493 PyObject
* obj1
= 0 ;
13494 char *kwnames
[] = {
13495 (char *) "self",(char *) "n", NULL
13498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPageText",kwnames
,&obj0
,&obj1
)) goto fail
;
13499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13501 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13502 if (PyErr_Occurred()) SWIG_fail
;
13504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13505 result
= ((wxBookCtrl
const *)arg1
)->GetPageText(arg2
);
13507 wxPyEndAllowThreads(__tstate
);
13508 if (PyErr_Occurred()) SWIG_fail
;
13512 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13514 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13523 static PyObject
*_wrap_BookCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13524 PyObject
*resultobj
;
13525 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13526 wxImageList
*arg2
= (wxImageList
*) 0 ;
13527 PyObject
* obj0
= 0 ;
13528 PyObject
* obj1
= 0 ;
13529 char *kwnames
[] = {
13530 (char *) "self",(char *) "imageList", NULL
13533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
13534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13536 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
13537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13540 (arg1
)->SetImageList(arg2
);
13542 wxPyEndAllowThreads(__tstate
);
13543 if (PyErr_Occurred()) SWIG_fail
;
13545 Py_INCREF(Py_None
); resultobj
= Py_None
;
13552 static PyObject
*_wrap_BookCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13553 PyObject
*resultobj
;
13554 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13555 wxImageList
*arg2
= (wxImageList
*) 0 ;
13556 PyObject
* obj0
= 0 ;
13557 PyObject
* obj1
= 0 ;
13558 char *kwnames
[] = {
13559 (char *) "self",(char *) "imageList", NULL
13562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
13563 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13565 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
13566 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
13568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13569 (arg1
)->AssignImageList(arg2
);
13571 wxPyEndAllowThreads(__tstate
);
13572 if (PyErr_Occurred()) SWIG_fail
;
13574 Py_INCREF(Py_None
); resultobj
= Py_None
;
13581 static PyObject
*_wrap_BookCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13582 PyObject
*resultobj
;
13583 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13584 wxImageList
*result
;
13585 PyObject
* obj0
= 0 ;
13586 char *kwnames
[] = {
13587 (char *) "self", NULL
13590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
13591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13595 result
= (wxImageList
*)((wxBookCtrl
const *)arg1
)->GetImageList();
13597 wxPyEndAllowThreads(__tstate
);
13598 if (PyErr_Occurred()) SWIG_fail
;
13601 resultobj
= wxPyMake_wxObject(result
);
13609 static PyObject
*_wrap_BookCtrl_GetPageImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13610 PyObject
*resultobj
;
13611 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13614 PyObject
* obj0
= 0 ;
13615 PyObject
* obj1
= 0 ;
13616 char *kwnames
[] = {
13617 (char *) "self",(char *) "n", NULL
13620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPageImage",kwnames
,&obj0
,&obj1
)) goto fail
;
13621 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13622 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13623 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13624 if (PyErr_Occurred()) SWIG_fail
;
13626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13627 result
= (int)((wxBookCtrl
const *)arg1
)->GetPageImage(arg2
);
13629 wxPyEndAllowThreads(__tstate
);
13630 if (PyErr_Occurred()) SWIG_fail
;
13632 resultobj
= SWIG_FromInt((int)result
);
13639 static PyObject
*_wrap_BookCtrl_SetPageImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13640 PyObject
*resultobj
;
13641 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13645 PyObject
* obj0
= 0 ;
13646 PyObject
* obj1
= 0 ;
13647 PyObject
* obj2
= 0 ;
13648 char *kwnames
[] = {
13649 (char *) "self",(char *) "n",(char *) "imageId", NULL
13652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrl_SetPageImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13655 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13656 if (PyErr_Occurred()) SWIG_fail
;
13657 arg3
= (int) SWIG_AsInt(obj2
);
13658 if (PyErr_Occurred()) SWIG_fail
;
13660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13661 result
= (bool)(arg1
)->SetPageImage(arg2
,arg3
);
13663 wxPyEndAllowThreads(__tstate
);
13664 if (PyErr_Occurred()) SWIG_fail
;
13667 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13675 static PyObject
*_wrap_BookCtrl_SetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13676 PyObject
*resultobj
;
13677 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13680 PyObject
* obj0
= 0 ;
13681 PyObject
* obj1
= 0 ;
13682 char *kwnames
[] = {
13683 (char *) "self",(char *) "size", NULL
13686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
13687 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13688 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13691 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
13694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13695 (arg1
)->SetPageSize((wxSize
const &)*arg2
);
13697 wxPyEndAllowThreads(__tstate
);
13698 if (PyErr_Occurred()) SWIG_fail
;
13700 Py_INCREF(Py_None
); resultobj
= Py_None
;
13707 static PyObject
*_wrap_BookCtrl_CalcSizeFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13708 PyObject
*resultobj
;
13709 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13713 PyObject
* obj0
= 0 ;
13714 PyObject
* obj1
= 0 ;
13715 char *kwnames
[] = {
13716 (char *) "self",(char *) "sizePage", NULL
13719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
13720 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13724 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
13727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13728 result
= ((wxBookCtrl
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
13730 wxPyEndAllowThreads(__tstate
);
13731 if (PyErr_Occurred()) SWIG_fail
;
13734 wxSize
* resultptr
;
13735 resultptr
= new wxSize((wxSize
&) result
);
13736 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
13744 static PyObject
*_wrap_BookCtrl_DeletePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13745 PyObject
*resultobj
;
13746 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13749 PyObject
* obj0
= 0 ;
13750 PyObject
* obj1
= 0 ;
13751 char *kwnames
[] = {
13752 (char *) "self",(char *) "n", NULL
13755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_DeletePage",kwnames
,&obj0
,&obj1
)) goto fail
;
13756 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13758 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13759 if (PyErr_Occurred()) SWIG_fail
;
13761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13762 result
= (bool)(arg1
)->DeletePage(arg2
);
13764 wxPyEndAllowThreads(__tstate
);
13765 if (PyErr_Occurred()) SWIG_fail
;
13768 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13776 static PyObject
*_wrap_BookCtrl_RemovePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13777 PyObject
*resultobj
;
13778 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13781 PyObject
* obj0
= 0 ;
13782 PyObject
* obj1
= 0 ;
13783 char *kwnames
[] = {
13784 (char *) "self",(char *) "n", NULL
13787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_RemovePage",kwnames
,&obj0
,&obj1
)) goto fail
;
13788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13790 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13791 if (PyErr_Occurred()) SWIG_fail
;
13793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13794 result
= (bool)(arg1
)->RemovePage(arg2
);
13796 wxPyEndAllowThreads(__tstate
);
13797 if (PyErr_Occurred()) SWIG_fail
;
13800 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13808 static PyObject
*_wrap_BookCtrl_DeleteAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13809 PyObject
*resultobj
;
13810 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13812 PyObject
* obj0
= 0 ;
13813 char *kwnames
[] = {
13814 (char *) "self", NULL
13817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_DeleteAllPages",kwnames
,&obj0
)) goto fail
;
13818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13822 result
= (bool)(arg1
)->DeleteAllPages();
13824 wxPyEndAllowThreads(__tstate
);
13825 if (PyErr_Occurred()) SWIG_fail
;
13828 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13836 static PyObject
*_wrap_BookCtrl_AddPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13837 PyObject
*resultobj
;
13838 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13839 wxWindow
*arg2
= (wxWindow
*) 0 ;
13840 wxString
*arg3
= 0 ;
13841 bool arg4
= (bool) False
;
13842 int arg5
= (int) -1 ;
13844 bool temp3
= False
;
13845 PyObject
* obj0
= 0 ;
13846 PyObject
* obj1
= 0 ;
13847 PyObject
* obj2
= 0 ;
13848 PyObject
* obj3
= 0 ;
13849 PyObject
* obj4
= 0 ;
13850 char *kwnames
[] = {
13851 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
13854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:BookCtrl_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13857 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
13858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13860 arg3
= wxString_in_helper(obj2
);
13861 if (arg3
== NULL
) SWIG_fail
;
13865 arg4
= (bool) SWIG_AsBool(obj3
);
13866 if (PyErr_Occurred()) SWIG_fail
;
13869 arg5
= (int) SWIG_AsInt(obj4
);
13870 if (PyErr_Occurred()) SWIG_fail
;
13873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13874 result
= (bool)(arg1
)->AddPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
13876 wxPyEndAllowThreads(__tstate
);
13877 if (PyErr_Occurred()) SWIG_fail
;
13880 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13896 static PyObject
*_wrap_BookCtrl_InsertPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13897 PyObject
*resultobj
;
13898 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13900 wxWindow
*arg3
= (wxWindow
*) 0 ;
13901 wxString
*arg4
= 0 ;
13902 bool arg5
= (bool) False
;
13903 int arg6
= (int) -1 ;
13905 bool temp4
= False
;
13906 PyObject
* obj0
= 0 ;
13907 PyObject
* obj1
= 0 ;
13908 PyObject
* obj2
= 0 ;
13909 PyObject
* obj3
= 0 ;
13910 PyObject
* obj4
= 0 ;
13911 PyObject
* obj5
= 0 ;
13912 char *kwnames
[] = {
13913 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
13916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:BookCtrl_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
13917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13919 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13920 if (PyErr_Occurred()) SWIG_fail
;
13921 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
13922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13924 arg4
= wxString_in_helper(obj3
);
13925 if (arg4
== NULL
) SWIG_fail
;
13929 arg5
= (bool) SWIG_AsBool(obj4
);
13930 if (PyErr_Occurred()) SWIG_fail
;
13933 arg6
= (int) SWIG_AsInt(obj5
);
13934 if (PyErr_Occurred()) SWIG_fail
;
13937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13938 result
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
13940 wxPyEndAllowThreads(__tstate
);
13941 if (PyErr_Occurred()) SWIG_fail
;
13944 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13960 static PyObject
*_wrap_BookCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13961 PyObject
*resultobj
;
13962 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13965 PyObject
* obj0
= 0 ;
13966 PyObject
* obj1
= 0 ;
13967 char *kwnames
[] = {
13968 (char *) "self",(char *) "n", NULL
13971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
13972 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13974 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13975 if (PyErr_Occurred()) SWIG_fail
;
13977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13978 result
= (int)(arg1
)->SetSelection(arg2
);
13980 wxPyEndAllowThreads(__tstate
);
13981 if (PyErr_Occurred()) SWIG_fail
;
13983 resultobj
= SWIG_FromInt((int)result
);
13990 static PyObject
*_wrap_BookCtrl_AdvanceSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13991 PyObject
*resultobj
;
13992 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13993 bool arg2
= (bool) True
;
13994 PyObject
* obj0
= 0 ;
13995 PyObject
* obj1
= 0 ;
13996 char *kwnames
[] = {
13997 (char *) "self",(char *) "forward", NULL
14000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:BookCtrl_AdvanceSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
14001 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14004 arg2
= (bool) SWIG_AsBool(obj1
);
14005 if (PyErr_Occurred()) SWIG_fail
;
14008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14009 (arg1
)->AdvanceSelection(arg2
);
14011 wxPyEndAllowThreads(__tstate
);
14012 if (PyErr_Occurred()) SWIG_fail
;
14014 Py_INCREF(Py_None
); resultobj
= Py_None
;
14021 static PyObject
* BookCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
14023 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14024 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrl
, obj
);
14026 return Py_BuildValue((char *)"");
14028 static PyObject
*_wrap_new_BookCtrlEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14029 PyObject
*resultobj
;
14030 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
14031 int arg2
= (int) 0 ;
14032 int arg3
= (int) -1 ;
14033 int arg4
= (int) -1 ;
14034 wxBookCtrlEvent
*result
;
14035 PyObject
* obj0
= 0 ;
14036 PyObject
* obj1
= 0 ;
14037 PyObject
* obj2
= 0 ;
14038 PyObject
* obj3
= 0 ;
14039 char *kwnames
[] = {
14040 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
14043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_BookCtrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14045 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
14046 if (PyErr_Occurred()) SWIG_fail
;
14049 arg2
= (int) SWIG_AsInt(obj1
);
14050 if (PyErr_Occurred()) SWIG_fail
;
14053 arg3
= (int) SWIG_AsInt(obj2
);
14054 if (PyErr_Occurred()) SWIG_fail
;
14057 arg4
= (int) SWIG_AsInt(obj3
);
14058 if (PyErr_Occurred()) SWIG_fail
;
14061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14062 result
= (wxBookCtrlEvent
*)new wxBookCtrlEvent(arg1
,arg2
,arg3
,arg4
);
14064 wxPyEndAllowThreads(__tstate
);
14065 if (PyErr_Occurred()) SWIG_fail
;
14067 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlEvent
, 1);
14074 static PyObject
*_wrap_BookCtrlEvent_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14075 PyObject
*resultobj
;
14076 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
14078 PyObject
* obj0
= 0 ;
14079 char *kwnames
[] = {
14080 (char *) "self", NULL
14083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
14084 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
14085 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14088 result
= (int)((wxBookCtrlEvent
const *)arg1
)->GetSelection();
14090 wxPyEndAllowThreads(__tstate
);
14091 if (PyErr_Occurred()) SWIG_fail
;
14093 resultobj
= SWIG_FromInt((int)result
);
14100 static PyObject
*_wrap_BookCtrlEvent_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14101 PyObject
*resultobj
;
14102 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
14104 PyObject
* obj0
= 0 ;
14105 PyObject
* obj1
= 0 ;
14106 char *kwnames
[] = {
14107 (char *) "self",(char *) "nSel", NULL
14110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlEvent_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
14111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
14112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14113 arg2
= (int) SWIG_AsInt(obj1
);
14114 if (PyErr_Occurred()) SWIG_fail
;
14116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14117 (arg1
)->SetSelection(arg2
);
14119 wxPyEndAllowThreads(__tstate
);
14120 if (PyErr_Occurred()) SWIG_fail
;
14122 Py_INCREF(Py_None
); resultobj
= Py_None
;
14129 static PyObject
*_wrap_BookCtrlEvent_GetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14130 PyObject
*resultobj
;
14131 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
14133 PyObject
* obj0
= 0 ;
14134 char *kwnames
[] = {
14135 (char *) "self", NULL
14138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlEvent_GetOldSelection",kwnames
,&obj0
)) goto fail
;
14139 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
14140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14143 result
= (int)((wxBookCtrlEvent
const *)arg1
)->GetOldSelection();
14145 wxPyEndAllowThreads(__tstate
);
14146 if (PyErr_Occurred()) SWIG_fail
;
14148 resultobj
= SWIG_FromInt((int)result
);
14155 static PyObject
*_wrap_BookCtrlEvent_SetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14156 PyObject
*resultobj
;
14157 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
14159 PyObject
* obj0
= 0 ;
14160 PyObject
* obj1
= 0 ;
14161 char *kwnames
[] = {
14162 (char *) "self",(char *) "nOldSel", NULL
14165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlEvent_SetOldSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
14166 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
14167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14168 arg2
= (int) SWIG_AsInt(obj1
);
14169 if (PyErr_Occurred()) SWIG_fail
;
14171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14172 (arg1
)->SetOldSelection(arg2
);
14174 wxPyEndAllowThreads(__tstate
);
14175 if (PyErr_Occurred()) SWIG_fail
;
14177 Py_INCREF(Py_None
); resultobj
= Py_None
;
14184 static PyObject
* BookCtrlEvent_swigregister(PyObject
*self
, PyObject
*args
) {
14186 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14187 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlEvent
, obj
);
14189 return Py_BuildValue((char *)"");
14191 static PyObject
*_wrap_new_Notebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14192 PyObject
*resultobj
;
14193 wxWindow
*arg1
= (wxWindow
*) 0 ;
14194 int arg2
= (int) -1 ;
14195 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14196 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14197 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14198 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14199 long arg5
= (long) 0 ;
14200 wxString
const &arg6_defvalue
= wxPyNOTEBOOK_NAME
;
14201 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14202 wxNotebook
*result
;
14205 bool temp6
= False
;
14206 PyObject
* obj0
= 0 ;
14207 PyObject
* obj1
= 0 ;
14208 PyObject
* obj2
= 0 ;
14209 PyObject
* obj3
= 0 ;
14210 PyObject
* obj4
= 0 ;
14211 PyObject
* obj5
= 0 ;
14212 char *kwnames
[] = {
14213 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Notebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14217 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
14218 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14220 arg2
= (int) SWIG_AsInt(obj1
);
14221 if (PyErr_Occurred()) SWIG_fail
;
14226 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14232 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14236 arg5
= (long) SWIG_AsLong(obj4
);
14237 if (PyErr_Occurred()) SWIG_fail
;
14241 arg6
= wxString_in_helper(obj5
);
14242 if (arg6
== NULL
) SWIG_fail
;
14247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14248 result
= (wxNotebook
*)new wxNotebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14250 wxPyEndAllowThreads(__tstate
);
14251 if (PyErr_Occurred()) SWIG_fail
;
14254 resultobj
= wxPyMake_wxObject(result
);
14270 static PyObject
*_wrap_new_PreNotebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14271 PyObject
*resultobj
;
14272 wxNotebook
*result
;
14273 char *kwnames
[] = {
14277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreNotebook",kwnames
)) goto fail
;
14279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14280 result
= (wxNotebook
*)new wxNotebook();
14282 wxPyEndAllowThreads(__tstate
);
14283 if (PyErr_Occurred()) SWIG_fail
;
14286 resultobj
= wxPyMake_wxObject(result
);
14294 static PyObject
*_wrap_Notebook_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14295 PyObject
*resultobj
;
14296 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14297 wxWindow
*arg2
= (wxWindow
*) 0 ;
14299 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14300 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14301 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14302 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14303 long arg6
= (long) 0 ;
14304 wxString
const &arg7_defvalue
= wxPyNOTEBOOK_NAME
;
14305 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14309 bool temp7
= False
;
14310 PyObject
* obj0
= 0 ;
14311 PyObject
* obj1
= 0 ;
14312 PyObject
* obj2
= 0 ;
14313 PyObject
* obj3
= 0 ;
14314 PyObject
* obj4
= 0 ;
14315 PyObject
* obj5
= 0 ;
14316 PyObject
* obj6
= 0 ;
14317 char *kwnames
[] = {
14318 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Notebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
14323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14324 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
14325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14326 arg3
= (int) SWIG_AsInt(obj2
);
14327 if (PyErr_Occurred()) SWIG_fail
;
14331 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14337 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14341 arg6
= (long) SWIG_AsLong(obj5
);
14342 if (PyErr_Occurred()) SWIG_fail
;
14346 arg7
= wxString_in_helper(obj6
);
14347 if (arg7
== NULL
) SWIG_fail
;
14352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14353 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14355 wxPyEndAllowThreads(__tstate
);
14356 if (PyErr_Occurred()) SWIG_fail
;
14359 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14375 static PyObject
*_wrap_Notebook_GetRowCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14376 PyObject
*resultobj
;
14377 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14379 PyObject
* obj0
= 0 ;
14380 char *kwnames
[] = {
14381 (char *) "self", NULL
14384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Notebook_GetRowCount",kwnames
,&obj0
)) goto fail
;
14385 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
14386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14389 result
= (int)((wxNotebook
const *)arg1
)->GetRowCount();
14391 wxPyEndAllowThreads(__tstate
);
14392 if (PyErr_Occurred()) SWIG_fail
;
14394 resultobj
= SWIG_FromInt((int)result
);
14401 static PyObject
*_wrap_Notebook_SetPadding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14402 PyObject
*resultobj
;
14403 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14406 PyObject
* obj0
= 0 ;
14407 PyObject
* obj1
= 0 ;
14408 char *kwnames
[] = {
14409 (char *) "self",(char *) "padding", NULL
14412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetPadding",kwnames
,&obj0
,&obj1
)) goto fail
;
14413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
14414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14417 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14421 (arg1
)->SetPadding((wxSize
const &)*arg2
);
14423 wxPyEndAllowThreads(__tstate
);
14424 if (PyErr_Occurred()) SWIG_fail
;
14426 Py_INCREF(Py_None
); resultobj
= Py_None
;
14433 static PyObject
*_wrap_Notebook_SetTabSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14434 PyObject
*resultobj
;
14435 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14438 PyObject
* obj0
= 0 ;
14439 PyObject
* obj1
= 0 ;
14440 char *kwnames
[] = {
14441 (char *) "self",(char *) "sz", NULL
14444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetTabSize",kwnames
,&obj0
,&obj1
)) goto fail
;
14445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
14446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14449 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14453 (arg1
)->SetTabSize((wxSize
const &)*arg2
);
14455 wxPyEndAllowThreads(__tstate
);
14456 if (PyErr_Occurred()) SWIG_fail
;
14458 Py_INCREF(Py_None
); resultobj
= Py_None
;
14465 static PyObject
*_wrap_Notebook_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14466 PyObject
*resultobj
;
14467 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14468 wxPoint
*arg2
= 0 ;
14469 long *arg3
= (long *) 0 ;
14473 PyObject
* obj0
= 0 ;
14474 PyObject
* obj1
= 0 ;
14475 char *kwnames
[] = {
14476 (char *) "self",(char *) "pt", NULL
14480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
14481 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
14482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14485 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14489 result
= (int)((wxNotebook
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
14491 wxPyEndAllowThreads(__tstate
);
14492 if (PyErr_Occurred()) SWIG_fail
;
14494 resultobj
= SWIG_FromInt((int)result
);
14496 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14497 resultobj
= t_output_helper(resultobj
,o
);
14505 static PyObject
*_wrap_Notebook_CalcSizeFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14506 PyObject
*resultobj
;
14507 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14511 PyObject
* obj0
= 0 ;
14512 PyObject
* obj1
= 0 ;
14513 char *kwnames
[] = {
14514 (char *) "self",(char *) "sizePage", NULL
14517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
14518 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
14519 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14522 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14526 result
= ((wxNotebook
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
14528 wxPyEndAllowThreads(__tstate
);
14529 if (PyErr_Occurred()) SWIG_fail
;
14532 wxSize
* resultptr
;
14533 resultptr
= new wxSize((wxSize
&) result
);
14534 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
14542 static PyObject
*_wrap_Notebook_ApplyThemeBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14543 PyObject
*resultobj
;
14544 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14545 wxWindow
*arg2
= (wxWindow
*) 0 ;
14546 wxColour
*arg3
= 0 ;
14548 PyObject
* obj0
= 0 ;
14549 PyObject
* obj1
= 0 ;
14550 PyObject
* obj2
= 0 ;
14551 char *kwnames
[] = {
14552 (char *) "self",(char *) "window",(char *) "colour", NULL
14555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Notebook_ApplyThemeBackground",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
14557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14558 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
14559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14562 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
14565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14566 (arg1
)->ApplyThemeBackground(arg2
,(wxColour
const &)*arg3
);
14568 wxPyEndAllowThreads(__tstate
);
14569 if (PyErr_Occurred()) SWIG_fail
;
14571 Py_INCREF(Py_None
); resultobj
= Py_None
;
14578 static PyObject
* Notebook_swigregister(PyObject
*self
, PyObject
*args
) {
14580 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14581 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook
, obj
);
14583 return Py_BuildValue((char *)"");
14585 static PyObject
*_wrap_new_NotebookEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14586 PyObject
*resultobj
;
14587 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
14588 int arg2
= (int) 0 ;
14589 int arg3
= (int) -1 ;
14590 int arg4
= (int) -1 ;
14591 wxNotebookEvent
*result
;
14592 PyObject
* obj0
= 0 ;
14593 PyObject
* obj1
= 0 ;
14594 PyObject
* obj2
= 0 ;
14595 PyObject
* obj3
= 0 ;
14596 char *kwnames
[] = {
14597 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
14600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_NotebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14602 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
14603 if (PyErr_Occurred()) SWIG_fail
;
14606 arg2
= (int) SWIG_AsInt(obj1
);
14607 if (PyErr_Occurred()) SWIG_fail
;
14610 arg3
= (int) SWIG_AsInt(obj2
);
14611 if (PyErr_Occurred()) SWIG_fail
;
14614 arg4
= (int) SWIG_AsInt(obj3
);
14615 if (PyErr_Occurred()) SWIG_fail
;
14618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14619 result
= (wxNotebookEvent
*)new wxNotebookEvent(arg1
,arg2
,arg3
,arg4
);
14621 wxPyEndAllowThreads(__tstate
);
14622 if (PyErr_Occurred()) SWIG_fail
;
14624 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebookEvent
, 1);
14631 static PyObject
* NotebookEvent_swigregister(PyObject
*self
, PyObject
*args
) {
14633 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14634 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent
, obj
);
14636 return Py_BuildValue((char *)"");
14638 static PyObject
*_wrap_new_Listbook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14639 PyObject
*resultobj
;
14640 wxWindow
*arg1
= (wxWindow
*) 0 ;
14641 int arg2
= (int) -1 ;
14642 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14643 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14644 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14645 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14646 long arg5
= (long) 0 ;
14647 wxString
const &arg6_defvalue
= wxPyEmptyString
;
14648 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14649 wxListbook
*result
;
14652 bool temp6
= False
;
14653 PyObject
* obj0
= 0 ;
14654 PyObject
* obj1
= 0 ;
14655 PyObject
* obj2
= 0 ;
14656 PyObject
* obj3
= 0 ;
14657 PyObject
* obj4
= 0 ;
14658 PyObject
* obj5
= 0 ;
14659 char *kwnames
[] = {
14660 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Listbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14664 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
14665 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14667 arg2
= (int) SWIG_AsInt(obj1
);
14668 if (PyErr_Occurred()) SWIG_fail
;
14673 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14679 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14683 arg5
= (long) SWIG_AsLong(obj4
);
14684 if (PyErr_Occurred()) SWIG_fail
;
14688 arg6
= wxString_in_helper(obj5
);
14689 if (arg6
== NULL
) SWIG_fail
;
14694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14695 result
= (wxListbook
*)new wxListbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14697 wxPyEndAllowThreads(__tstate
);
14698 if (PyErr_Occurred()) SWIG_fail
;
14700 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1);
14715 static PyObject
*_wrap_new_PreListbook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14716 PyObject
*resultobj
;
14717 wxListbook
*result
;
14718 char *kwnames
[] = {
14722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListbook",kwnames
)) goto fail
;
14724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14725 result
= (wxListbook
*)new wxListbook();
14727 wxPyEndAllowThreads(__tstate
);
14728 if (PyErr_Occurred()) SWIG_fail
;
14730 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1);
14737 static PyObject
*_wrap_Listbook_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14738 PyObject
*resultobj
;
14739 wxListbook
*arg1
= (wxListbook
*) 0 ;
14740 wxWindow
*arg2
= (wxWindow
*) 0 ;
14742 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14743 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14744 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14745 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14746 long arg6
= (long) 0 ;
14747 wxString
const &arg7_defvalue
= wxPyEmptyString
;
14748 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14752 bool temp7
= False
;
14753 PyObject
* obj0
= 0 ;
14754 PyObject
* obj1
= 0 ;
14755 PyObject
* obj2
= 0 ;
14756 PyObject
* obj3
= 0 ;
14757 PyObject
* obj4
= 0 ;
14758 PyObject
* obj5
= 0 ;
14759 PyObject
* obj6
= 0 ;
14760 char *kwnames
[] = {
14761 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Listbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14765 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListbook
,
14766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14767 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
14768 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14769 arg3
= (int) SWIG_AsInt(obj2
);
14770 if (PyErr_Occurred()) SWIG_fail
;
14774 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14780 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14784 arg6
= (long) SWIG_AsLong(obj5
);
14785 if (PyErr_Occurred()) SWIG_fail
;
14789 arg7
= wxString_in_helper(obj6
);
14790 if (arg7
== NULL
) SWIG_fail
;
14795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14796 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14798 wxPyEndAllowThreads(__tstate
);
14799 if (PyErr_Occurred()) SWIG_fail
;
14802 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14818 static PyObject
*_wrap_Listbook_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14819 PyObject
*resultobj
;
14820 wxListbook
*arg1
= (wxListbook
*) 0 ;
14822 PyObject
* obj0
= 0 ;
14823 char *kwnames
[] = {
14824 (char *) "self", NULL
14827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Listbook_IsVertical",kwnames
,&obj0
)) goto fail
;
14828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListbook
,
14829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14832 result
= (bool)((wxListbook
const *)arg1
)->IsVertical();
14834 wxPyEndAllowThreads(__tstate
);
14835 if (PyErr_Occurred()) SWIG_fail
;
14838 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14846 static PyObject
* Listbook_swigregister(PyObject
*self
, PyObject
*args
) {
14848 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14849 SWIG_TypeClientData(SWIGTYPE_p_wxListbook
, obj
);
14851 return Py_BuildValue((char *)"");
14853 static PyObject
*_wrap_new_ListbookEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14854 PyObject
*resultobj
;
14855 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
14856 int arg2
= (int) 0 ;
14857 int arg3
= (int) -1 ;
14858 int arg4
= (int) -1 ;
14859 wxListbookEvent
*result
;
14860 PyObject
* obj0
= 0 ;
14861 PyObject
* obj1
= 0 ;
14862 PyObject
* obj2
= 0 ;
14863 PyObject
* obj3
= 0 ;
14864 char *kwnames
[] = {
14865 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
14868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ListbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14870 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
14871 if (PyErr_Occurred()) SWIG_fail
;
14874 arg2
= (int) SWIG_AsInt(obj1
);
14875 if (PyErr_Occurred()) SWIG_fail
;
14878 arg3
= (int) SWIG_AsInt(obj2
);
14879 if (PyErr_Occurred()) SWIG_fail
;
14882 arg4
= (int) SWIG_AsInt(obj3
);
14883 if (PyErr_Occurred()) SWIG_fail
;
14886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14887 result
= (wxListbookEvent
*)new wxListbookEvent(arg1
,arg2
,arg3
,arg4
);
14889 wxPyEndAllowThreads(__tstate
);
14890 if (PyErr_Occurred()) SWIG_fail
;
14892 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbookEvent
, 1);
14899 static PyObject
* ListbookEvent_swigregister(PyObject
*self
, PyObject
*args
) {
14901 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14902 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent
, obj
);
14904 return Py_BuildValue((char *)"");
14906 static PyObject
*_wrap_new_BookCtrlSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14907 PyObject
*resultobj
;
14908 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14909 wxBookCtrlSizer
*result
;
14910 PyObject
* obj0
= 0 ;
14911 char *kwnames
[] = {
14912 (char *) "nb", NULL
14915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BookCtrlSizer",kwnames
,&obj0
)) goto fail
;
14916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14920 result
= (wxBookCtrlSizer
*)new wxBookCtrlSizer(arg1
);
14922 wxPyEndAllowThreads(__tstate
);
14923 if (PyErr_Occurred()) SWIG_fail
;
14925 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlSizer
, 1);
14932 static PyObject
*_wrap_BookCtrlSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14933 PyObject
*resultobj
;
14934 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
14935 PyObject
* obj0
= 0 ;
14936 char *kwnames
[] = {
14937 (char *) "self", NULL
14940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
14941 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlSizer
,
14942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14945 (arg1
)->RecalcSizes();
14947 wxPyEndAllowThreads(__tstate
);
14948 if (PyErr_Occurred()) SWIG_fail
;
14950 Py_INCREF(Py_None
); resultobj
= Py_None
;
14957 static PyObject
*_wrap_BookCtrlSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14958 PyObject
*resultobj
;
14959 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
14961 PyObject
* obj0
= 0 ;
14962 char *kwnames
[] = {
14963 (char *) "self", NULL
14966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
14967 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlSizer
,
14968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14971 result
= (arg1
)->CalcMin();
14973 wxPyEndAllowThreads(__tstate
);
14974 if (PyErr_Occurred()) SWIG_fail
;
14977 wxSize
* resultptr
;
14978 resultptr
= new wxSize((wxSize
&) result
);
14979 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
14987 static PyObject
*_wrap_BookCtrlSizer_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14988 PyObject
*resultobj
;
14989 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
14990 wxBookCtrl
*result
;
14991 PyObject
* obj0
= 0 ;
14992 char *kwnames
[] = {
14993 (char *) "self", NULL
14996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_GetControl",kwnames
,&obj0
)) goto fail
;
14997 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlSizer
,
14998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15001 result
= (wxBookCtrl
*)(arg1
)->GetControl();
15003 wxPyEndAllowThreads(__tstate
);
15004 if (PyErr_Occurred()) SWIG_fail
;
15006 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrl
, 0);
15013 static PyObject
* BookCtrlSizer_swigregister(PyObject
*self
, PyObject
*args
) {
15015 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15016 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer
, obj
);
15018 return Py_BuildValue((char *)"");
15020 static PyObject
*_wrap_new_NotebookSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15021 PyObject
*resultobj
;
15022 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15023 wxNotebookSizer
*result
;
15024 PyObject
* obj0
= 0 ;
15025 char *kwnames
[] = {
15026 (char *) "nb", NULL
15029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NotebookSizer",kwnames
,&obj0
)) goto fail
;
15030 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15034 result
= (wxNotebookSizer
*)new wxNotebookSizer(arg1
);
15036 wxPyEndAllowThreads(__tstate
);
15037 if (PyErr_Occurred()) SWIG_fail
;
15039 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebookSizer
, 1);
15046 static PyObject
*_wrap_NotebookSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15047 PyObject
*resultobj
;
15048 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
15049 PyObject
* obj0
= 0 ;
15050 char *kwnames
[] = {
15051 (char *) "self", NULL
15054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
15055 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebookSizer
,
15056 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15059 (arg1
)->RecalcSizes();
15061 wxPyEndAllowThreads(__tstate
);
15062 if (PyErr_Occurred()) SWIG_fail
;
15064 Py_INCREF(Py_None
); resultobj
= Py_None
;
15071 static PyObject
*_wrap_NotebookSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15072 PyObject
*resultobj
;
15073 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
15075 PyObject
* obj0
= 0 ;
15076 char *kwnames
[] = {
15077 (char *) "self", NULL
15080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
15081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebookSizer
,
15082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15085 result
= (arg1
)->CalcMin();
15087 wxPyEndAllowThreads(__tstate
);
15088 if (PyErr_Occurred()) SWIG_fail
;
15091 wxSize
* resultptr
;
15092 resultptr
= new wxSize((wxSize
&) result
);
15093 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15101 static PyObject
*_wrap_NotebookSizer_GetNotebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15102 PyObject
*resultobj
;
15103 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
15104 wxNotebook
*result
;
15105 PyObject
* obj0
= 0 ;
15106 char *kwnames
[] = {
15107 (char *) "self", NULL
15110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_GetNotebook",kwnames
,&obj0
)) goto fail
;
15111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebookSizer
,
15112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15115 result
= (wxNotebook
*)(arg1
)->GetNotebook();
15117 wxPyEndAllowThreads(__tstate
);
15118 if (PyErr_Occurred()) SWIG_fail
;
15121 resultobj
= wxPyMake_wxObject(result
);
15129 static PyObject
* NotebookSizer_swigregister(PyObject
*self
, PyObject
*args
) {
15131 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15132 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer
, obj
);
15134 return Py_BuildValue((char *)"");
15136 static PyObject
*_wrap_ToolBarToolBase_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15137 PyObject
*resultobj
;
15138 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15140 PyObject
* obj0
= 0 ;
15141 char *kwnames
[] = {
15142 (char *) "self", NULL
15145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetId",kwnames
,&obj0
)) goto fail
;
15146 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15150 result
= (int)(arg1
)->GetId();
15152 wxPyEndAllowThreads(__tstate
);
15153 if (PyErr_Occurred()) SWIG_fail
;
15155 resultobj
= SWIG_FromInt((int)result
);
15162 static PyObject
*_wrap_ToolBarToolBase_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15163 PyObject
*resultobj
;
15164 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15166 PyObject
* obj0
= 0 ;
15167 char *kwnames
[] = {
15168 (char *) "self", NULL
15171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetControl",kwnames
,&obj0
)) goto fail
;
15172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15176 result
= (wxControl
*)(arg1
)->GetControl();
15178 wxPyEndAllowThreads(__tstate
);
15179 if (PyErr_Occurred()) SWIG_fail
;
15182 resultobj
= wxPyMake_wxObject(result
);
15190 static PyObject
*_wrap_ToolBarToolBase_GetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15191 PyObject
*resultobj
;
15192 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15193 wxToolBarBase
*result
;
15194 PyObject
* obj0
= 0 ;
15195 char *kwnames
[] = {
15196 (char *) "self", NULL
15199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetToolBar",kwnames
,&obj0
)) goto fail
;
15200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15204 result
= (wxToolBarBase
*)(arg1
)->GetToolBar();
15206 wxPyEndAllowThreads(__tstate
);
15207 if (PyErr_Occurred()) SWIG_fail
;
15210 resultobj
= wxPyMake_wxObject(result
);
15218 static PyObject
*_wrap_ToolBarToolBase_IsButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15219 PyObject
*resultobj
;
15220 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15222 PyObject
* obj0
= 0 ;
15223 char *kwnames
[] = {
15224 (char *) "self", NULL
15227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsButton",kwnames
,&obj0
)) goto fail
;
15228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15232 result
= (int)(arg1
)->IsButton();
15234 wxPyEndAllowThreads(__tstate
);
15235 if (PyErr_Occurred()) SWIG_fail
;
15237 resultobj
= SWIG_FromInt((int)result
);
15244 static PyObject
*_wrap_ToolBarToolBase_IsControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15245 PyObject
*resultobj
;
15246 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15248 PyObject
* obj0
= 0 ;
15249 char *kwnames
[] = {
15250 (char *) "self", NULL
15253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsControl",kwnames
,&obj0
)) goto fail
;
15254 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15258 result
= (int)(arg1
)->IsControl();
15260 wxPyEndAllowThreads(__tstate
);
15261 if (PyErr_Occurred()) SWIG_fail
;
15263 resultobj
= SWIG_FromInt((int)result
);
15270 static PyObject
*_wrap_ToolBarToolBase_IsSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15271 PyObject
*resultobj
;
15272 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15274 PyObject
* obj0
= 0 ;
15275 char *kwnames
[] = {
15276 (char *) "self", NULL
15279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsSeparator",kwnames
,&obj0
)) goto fail
;
15280 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15281 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15284 result
= (int)(arg1
)->IsSeparator();
15286 wxPyEndAllowThreads(__tstate
);
15287 if (PyErr_Occurred()) SWIG_fail
;
15289 resultobj
= SWIG_FromInt((int)result
);
15296 static PyObject
*_wrap_ToolBarToolBase_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15297 PyObject
*resultobj
;
15298 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15300 PyObject
* obj0
= 0 ;
15301 char *kwnames
[] = {
15302 (char *) "self", NULL
15305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetStyle",kwnames
,&obj0
)) goto fail
;
15306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15310 result
= (int)(arg1
)->GetStyle();
15312 wxPyEndAllowThreads(__tstate
);
15313 if (PyErr_Occurred()) SWIG_fail
;
15315 resultobj
= SWIG_FromInt((int)result
);
15322 static PyObject
*_wrap_ToolBarToolBase_GetKind(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15323 PyObject
*resultobj
;
15324 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15326 PyObject
* obj0
= 0 ;
15327 char *kwnames
[] = {
15328 (char *) "self", NULL
15331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetKind",kwnames
,&obj0
)) goto fail
;
15332 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15336 result
= (int)(arg1
)->GetKind();
15338 wxPyEndAllowThreads(__tstate
);
15339 if (PyErr_Occurred()) SWIG_fail
;
15341 resultobj
= SWIG_FromInt((int)result
);
15348 static PyObject
*_wrap_ToolBarToolBase_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15349 PyObject
*resultobj
;
15350 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15352 PyObject
* obj0
= 0 ;
15353 char *kwnames
[] = {
15354 (char *) "self", NULL
15357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsEnabled",kwnames
,&obj0
)) goto fail
;
15358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15362 result
= (bool)(arg1
)->IsEnabled();
15364 wxPyEndAllowThreads(__tstate
);
15365 if (PyErr_Occurred()) SWIG_fail
;
15368 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15376 static PyObject
*_wrap_ToolBarToolBase_IsToggled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15377 PyObject
*resultobj
;
15378 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15380 PyObject
* obj0
= 0 ;
15381 char *kwnames
[] = {
15382 (char *) "self", NULL
15385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsToggled",kwnames
,&obj0
)) goto fail
;
15386 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15387 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15390 result
= (bool)(arg1
)->IsToggled();
15392 wxPyEndAllowThreads(__tstate
);
15393 if (PyErr_Occurred()) SWIG_fail
;
15396 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15404 static PyObject
*_wrap_ToolBarToolBase_CanBeToggled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15405 PyObject
*resultobj
;
15406 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15408 PyObject
* obj0
= 0 ;
15409 char *kwnames
[] = {
15410 (char *) "self", NULL
15413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames
,&obj0
)) goto fail
;
15414 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15415 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15418 result
= (bool)(arg1
)->CanBeToggled();
15420 wxPyEndAllowThreads(__tstate
);
15421 if (PyErr_Occurred()) SWIG_fail
;
15424 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15432 static PyObject
*_wrap_ToolBarToolBase_GetNormalBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15433 PyObject
*resultobj
;
15434 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15436 PyObject
* obj0
= 0 ;
15437 char *kwnames
[] = {
15438 (char *) "self", NULL
15441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames
,&obj0
)) goto fail
;
15442 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15447 wxBitmap
const &_result_ref
= (arg1
)->GetNormalBitmap();
15448 result
= (wxBitmap
*) &_result_ref
;
15451 wxPyEndAllowThreads(__tstate
);
15452 if (PyErr_Occurred()) SWIG_fail
;
15455 wxBitmap
* resultptr
= new wxBitmap(*result
);
15456 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
15464 static PyObject
*_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15465 PyObject
*resultobj
;
15466 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15468 PyObject
* obj0
= 0 ;
15469 char *kwnames
[] = {
15470 (char *) "self", NULL
15473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
;
15474 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15479 wxBitmap
const &_result_ref
= (arg1
)->GetDisabledBitmap();
15480 result
= (wxBitmap
*) &_result_ref
;
15483 wxPyEndAllowThreads(__tstate
);
15484 if (PyErr_Occurred()) SWIG_fail
;
15487 wxBitmap
* resultptr
= new wxBitmap(*result
);
15488 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
15496 static PyObject
*_wrap_ToolBarToolBase_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15497 PyObject
*resultobj
;
15498 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15500 PyObject
* obj0
= 0 ;
15501 char *kwnames
[] = {
15502 (char *) "self", NULL
15505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetBitmap",kwnames
,&obj0
)) goto fail
;
15506 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15510 result
= (arg1
)->GetBitmap();
15512 wxPyEndAllowThreads(__tstate
);
15513 if (PyErr_Occurred()) SWIG_fail
;
15516 wxBitmap
* resultptr
;
15517 resultptr
= new wxBitmap((wxBitmap
&) result
);
15518 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
15526 static PyObject
*_wrap_ToolBarToolBase_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15527 PyObject
*resultobj
;
15528 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15530 PyObject
* obj0
= 0 ;
15531 char *kwnames
[] = {
15532 (char *) "self", NULL
15535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLabel",kwnames
,&obj0
)) goto fail
;
15536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15540 result
= (arg1
)->GetLabel();
15542 wxPyEndAllowThreads(__tstate
);
15543 if (PyErr_Occurred()) SWIG_fail
;
15547 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15549 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15558 static PyObject
*_wrap_ToolBarToolBase_GetShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15559 PyObject
*resultobj
;
15560 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15562 PyObject
* obj0
= 0 ;
15563 char *kwnames
[] = {
15564 (char *) "self", NULL
15567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames
,&obj0
)) goto fail
;
15568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15572 result
= (arg1
)->GetShortHelp();
15574 wxPyEndAllowThreads(__tstate
);
15575 if (PyErr_Occurred()) SWIG_fail
;
15579 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15581 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15590 static PyObject
*_wrap_ToolBarToolBase_GetLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15591 PyObject
*resultobj
;
15592 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15594 PyObject
* obj0
= 0 ;
15595 char *kwnames
[] = {
15596 (char *) "self", NULL
15599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames
,&obj0
)) goto fail
;
15600 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15601 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15604 result
= (arg1
)->GetLongHelp();
15606 wxPyEndAllowThreads(__tstate
);
15607 if (PyErr_Occurred()) SWIG_fail
;
15611 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15613 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15622 static PyObject
*_wrap_ToolBarToolBase_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15623 PyObject
*resultobj
;
15624 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15627 PyObject
* obj0
= 0 ;
15628 PyObject
* obj1
= 0 ;
15629 char *kwnames
[] = {
15630 (char *) "self",(char *) "enable", NULL
15633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
15634 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15636 arg2
= (bool) SWIG_AsBool(obj1
);
15637 if (PyErr_Occurred()) SWIG_fail
;
15639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15640 result
= (bool)(arg1
)->Enable(arg2
);
15642 wxPyEndAllowThreads(__tstate
);
15643 if (PyErr_Occurred()) SWIG_fail
;
15646 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15654 static PyObject
*_wrap_ToolBarToolBase_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15655 PyObject
*resultobj
;
15656 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15657 PyObject
* obj0
= 0 ;
15658 char *kwnames
[] = {
15659 (char *) "self", NULL
15662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Toggle",kwnames
,&obj0
)) goto fail
;
15663 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15669 wxPyEndAllowThreads(__tstate
);
15670 if (PyErr_Occurred()) SWIG_fail
;
15672 Py_INCREF(Py_None
); resultobj
= Py_None
;
15679 static PyObject
*_wrap_ToolBarToolBase_SetToggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15680 PyObject
*resultobj
;
15681 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15684 PyObject
* obj0
= 0 ;
15685 PyObject
* obj1
= 0 ;
15686 char *kwnames
[] = {
15687 (char *) "self",(char *) "toggle", NULL
15690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetToggle",kwnames
,&obj0
,&obj1
)) goto fail
;
15691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15693 arg2
= (bool) SWIG_AsBool(obj1
);
15694 if (PyErr_Occurred()) SWIG_fail
;
15696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15697 result
= (bool)(arg1
)->SetToggle(arg2
);
15699 wxPyEndAllowThreads(__tstate
);
15700 if (PyErr_Occurred()) SWIG_fail
;
15703 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15711 static PyObject
*_wrap_ToolBarToolBase_SetShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15712 PyObject
*resultobj
;
15713 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15714 wxString
*arg2
= 0 ;
15716 bool temp2
= False
;
15717 PyObject
* obj0
= 0 ;
15718 PyObject
* obj1
= 0 ;
15719 char *kwnames
[] = {
15720 (char *) "self",(char *) "help", NULL
15723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
15724 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15727 arg2
= wxString_in_helper(obj1
);
15728 if (arg2
== NULL
) SWIG_fail
;
15732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15733 result
= (bool)(arg1
)->SetShortHelp((wxString
const &)*arg2
);
15735 wxPyEndAllowThreads(__tstate
);
15736 if (PyErr_Occurred()) SWIG_fail
;
15739 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15755 static PyObject
*_wrap_ToolBarToolBase_SetLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15756 PyObject
*resultobj
;
15757 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15758 wxString
*arg2
= 0 ;
15760 bool temp2
= False
;
15761 PyObject
* obj0
= 0 ;
15762 PyObject
* obj1
= 0 ;
15763 char *kwnames
[] = {
15764 (char *) "self",(char *) "help", NULL
15767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
15768 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15771 arg2
= wxString_in_helper(obj1
);
15772 if (arg2
== NULL
) SWIG_fail
;
15776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15777 result
= (bool)(arg1
)->SetLongHelp((wxString
const &)*arg2
);
15779 wxPyEndAllowThreads(__tstate
);
15780 if (PyErr_Occurred()) SWIG_fail
;
15783 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15799 static PyObject
*_wrap_ToolBarToolBase_SetNormalBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15800 PyObject
*resultobj
;
15801 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15802 wxBitmap
*arg2
= 0 ;
15803 PyObject
* obj0
= 0 ;
15804 PyObject
* obj1
= 0 ;
15805 char *kwnames
[] = {
15806 (char *) "self",(char *) "bmp", NULL
15809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
15810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15812 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
15813 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15815 if (arg2
== NULL
) {
15816 PyErr_SetString(PyExc_TypeError
,"null reference");
15820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15821 (arg1
)->SetNormalBitmap((wxBitmap
const &)*arg2
);
15823 wxPyEndAllowThreads(__tstate
);
15824 if (PyErr_Occurred()) SWIG_fail
;
15826 Py_INCREF(Py_None
); resultobj
= Py_None
;
15833 static PyObject
*_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15834 PyObject
*resultobj
;
15835 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15836 wxBitmap
*arg2
= 0 ;
15837 PyObject
* obj0
= 0 ;
15838 PyObject
* obj1
= 0 ;
15839 char *kwnames
[] = {
15840 (char *) "self",(char *) "bmp", NULL
15843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
15844 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15846 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
15847 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15849 if (arg2
== NULL
) {
15850 PyErr_SetString(PyExc_TypeError
,"null reference");
15854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15855 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
15857 wxPyEndAllowThreads(__tstate
);
15858 if (PyErr_Occurred()) SWIG_fail
;
15860 Py_INCREF(Py_None
); resultobj
= Py_None
;
15867 static PyObject
*_wrap_ToolBarToolBase_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15868 PyObject
*resultobj
;
15869 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15870 wxString
*arg2
= 0 ;
15871 bool temp2
= False
;
15872 PyObject
* obj0
= 0 ;
15873 PyObject
* obj1
= 0 ;
15874 char *kwnames
[] = {
15875 (char *) "self",(char *) "label", NULL
15878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
15879 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15880 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15882 arg2
= wxString_in_helper(obj1
);
15883 if (arg2
== NULL
) SWIG_fail
;
15887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15888 (arg1
)->SetLabel((wxString
const &)*arg2
);
15890 wxPyEndAllowThreads(__tstate
);
15891 if (PyErr_Occurred()) SWIG_fail
;
15893 Py_INCREF(Py_None
); resultobj
= Py_None
;
15908 static PyObject
*_wrap_ToolBarToolBase_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15909 PyObject
*resultobj
;
15910 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15911 PyObject
* obj0
= 0 ;
15912 char *kwnames
[] = {
15913 (char *) "self", NULL
15916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Detach",kwnames
,&obj0
)) goto fail
;
15917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15923 wxPyEndAllowThreads(__tstate
);
15924 if (PyErr_Occurred()) SWIG_fail
;
15926 Py_INCREF(Py_None
); resultobj
= Py_None
;
15933 static PyObject
*_wrap_ToolBarToolBase_Attach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15934 PyObject
*resultobj
;
15935 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15936 wxToolBarBase
*arg2
= (wxToolBarBase
*) 0 ;
15937 PyObject
* obj0
= 0 ;
15938 PyObject
* obj1
= 0 ;
15939 char *kwnames
[] = {
15940 (char *) "self",(char *) "tbar", NULL
15943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
15944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15946 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBarBase
,
15947 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15950 (arg1
)->Attach(arg2
);
15952 wxPyEndAllowThreads(__tstate
);
15953 if (PyErr_Occurred()) SWIG_fail
;
15955 Py_INCREF(Py_None
); resultobj
= Py_None
;
15962 static PyObject
*_wrap_ToolBarToolBase_GetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15963 PyObject
*resultobj
;
15964 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15966 PyObject
* obj0
= 0 ;
15967 char *kwnames
[] = {
15968 (char *) "self", NULL
15971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetClientData",kwnames
,&obj0
)) goto fail
;
15972 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15976 result
= (PyObject
*)wxToolBarToolBase_GetClientData(arg1
);
15978 wxPyEndAllowThreads(__tstate
);
15979 if (PyErr_Occurred()) SWIG_fail
;
15981 resultobj
= result
;
15988 static PyObject
*_wrap_ToolBarToolBase_SetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15989 PyObject
*resultobj
;
15990 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15991 PyObject
*arg2
= (PyObject
*) 0 ;
15992 PyObject
* obj0
= 0 ;
15993 PyObject
* obj1
= 0 ;
15994 char *kwnames
[] = {
15995 (char *) "self",(char *) "clientData", NULL
15998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
15999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16004 wxToolBarToolBase_SetClientData(arg1
,arg2
);
16006 wxPyEndAllowThreads(__tstate
);
16007 if (PyErr_Occurred()) SWIG_fail
;
16009 Py_INCREF(Py_None
); resultobj
= Py_None
;
16016 static PyObject
* ToolBarToolBase_swigregister(PyObject
*self
, PyObject
*args
) {
16018 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16019 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase
, obj
);
16021 return Py_BuildValue((char *)"");
16023 static PyObject
*_wrap_ToolBarBase_DoAddTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16024 PyObject
*resultobj
;
16025 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16027 wxString
*arg3
= 0 ;
16028 wxBitmap
*arg4
= 0 ;
16029 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
16030 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
16031 int arg6
= (int) wxITEM_NORMAL
;
16032 wxString
const &arg7_defvalue
= wxPyEmptyString
;
16033 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
16034 wxString
const &arg8_defvalue
= wxPyEmptyString
;
16035 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
16036 PyObject
*arg9
= (PyObject
*) NULL
;
16037 wxToolBarToolBase
*result
;
16038 bool temp3
= False
;
16039 bool temp7
= False
;
16040 bool temp8
= False
;
16041 PyObject
* obj0
= 0 ;
16042 PyObject
* obj1
= 0 ;
16043 PyObject
* obj2
= 0 ;
16044 PyObject
* obj3
= 0 ;
16045 PyObject
* obj4
= 0 ;
16046 PyObject
* obj5
= 0 ;
16047 PyObject
* obj6
= 0 ;
16048 PyObject
* obj7
= 0 ;
16049 PyObject
* obj8
= 0 ;
16050 char *kwnames
[] = {
16051 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
16054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
16055 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16056 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16057 arg2
= (int) SWIG_AsInt(obj1
);
16058 if (PyErr_Occurred()) SWIG_fail
;
16060 arg3
= wxString_in_helper(obj2
);
16061 if (arg3
== NULL
) SWIG_fail
;
16064 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
16065 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16067 if (arg4
== NULL
) {
16068 PyErr_SetString(PyExc_TypeError
,"null reference");
16072 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxBitmap
,
16073 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16075 if (arg5
== NULL
) {
16076 PyErr_SetString(PyExc_TypeError
,"null reference");
16081 arg6
= (wxItemKind
) SWIG_AsInt(obj5
);
16082 if (PyErr_Occurred()) SWIG_fail
;
16086 arg7
= wxString_in_helper(obj6
);
16087 if (arg7
== NULL
) SWIG_fail
;
16093 arg8
= wxString_in_helper(obj7
);
16094 if (arg8
== NULL
) SWIG_fail
;
16102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16103 result
= (wxToolBarToolBase
*)wxToolBarBase_DoAddTool(arg1
,arg2
,(wxString
const &)*arg3
,(wxBitmap
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxItemKind
)arg6
,(wxString
const &)*arg7
,(wxString
const &)*arg8
,arg9
);
16105 wxPyEndAllowThreads(__tstate
);
16106 if (PyErr_Occurred()) SWIG_fail
;
16109 resultobj
= wxPyMake_wxObject(result
);
16141 static PyObject
*_wrap_ToolBarBase_DoInsertTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16142 PyObject
*resultobj
;
16143 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16146 wxString
*arg4
= 0 ;
16147 wxBitmap
*arg5
= 0 ;
16148 wxBitmap
const &arg6_defvalue
= wxNullBitmap
;
16149 wxBitmap
*arg6
= (wxBitmap
*) &arg6_defvalue
;
16150 int arg7
= (int) wxITEM_NORMAL
;
16151 wxString
const &arg8_defvalue
= wxPyEmptyString
;
16152 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
16153 wxString
const &arg9_defvalue
= wxPyEmptyString
;
16154 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
16155 PyObject
*arg10
= (PyObject
*) NULL
;
16156 wxToolBarToolBase
*result
;
16157 bool temp4
= False
;
16158 bool temp8
= False
;
16159 bool temp9
= False
;
16160 PyObject
* obj0
= 0 ;
16161 PyObject
* obj1
= 0 ;
16162 PyObject
* obj2
= 0 ;
16163 PyObject
* obj3
= 0 ;
16164 PyObject
* obj4
= 0 ;
16165 PyObject
* obj5
= 0 ;
16166 PyObject
* obj6
= 0 ;
16167 PyObject
* obj7
= 0 ;
16168 PyObject
* obj8
= 0 ;
16169 PyObject
* obj9
= 0 ;
16170 char *kwnames
[] = {
16171 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
16174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
16175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16177 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
16178 if (PyErr_Occurred()) SWIG_fail
;
16179 arg3
= (int) SWIG_AsInt(obj2
);
16180 if (PyErr_Occurred()) SWIG_fail
;
16182 arg4
= wxString_in_helper(obj3
);
16183 if (arg4
== NULL
) SWIG_fail
;
16186 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxBitmap
,
16187 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16189 if (arg5
== NULL
) {
16190 PyErr_SetString(PyExc_TypeError
,"null reference");
16194 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxBitmap
,
16195 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16197 if (arg6
== NULL
) {
16198 PyErr_SetString(PyExc_TypeError
,"null reference");
16203 arg7
= (wxItemKind
) SWIG_AsInt(obj6
);
16204 if (PyErr_Occurred()) SWIG_fail
;
16208 arg8
= wxString_in_helper(obj7
);
16209 if (arg8
== NULL
) SWIG_fail
;
16215 arg9
= wxString_in_helper(obj8
);
16216 if (arg9
== NULL
) SWIG_fail
;
16224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16225 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
);
16227 wxPyEndAllowThreads(__tstate
);
16228 if (PyErr_Occurred()) SWIG_fail
;
16231 resultobj
= wxPyMake_wxObject(result
);
16263 static PyObject
*_wrap_ToolBarBase_AddToolItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16264 PyObject
*resultobj
;
16265 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16266 wxToolBarToolBase
*arg2
= (wxToolBarToolBase
*) 0 ;
16267 wxToolBarToolBase
*result
;
16268 PyObject
* obj0
= 0 ;
16269 PyObject
* obj1
= 0 ;
16270 char *kwnames
[] = {
16271 (char *) "self",(char *) "tool", NULL
16274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddToolItem",kwnames
,&obj0
,&obj1
)) goto fail
;
16275 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16277 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBarToolBase
,
16278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16281 result
= (wxToolBarToolBase
*)(arg1
)->AddTool(arg2
);
16283 wxPyEndAllowThreads(__tstate
);
16284 if (PyErr_Occurred()) SWIG_fail
;
16287 resultobj
= wxPyMake_wxObject(result
);
16295 static PyObject
*_wrap_ToolBarBase_InsertToolItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16296 PyObject
*resultobj
;
16297 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16299 wxToolBarToolBase
*arg3
= (wxToolBarToolBase
*) 0 ;
16300 wxToolBarToolBase
*result
;
16301 PyObject
* obj0
= 0 ;
16302 PyObject
* obj1
= 0 ;
16303 PyObject
* obj2
= 0 ;
16304 char *kwnames
[] = {
16305 (char *) "self",(char *) "pos",(char *) "tool", NULL
16308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16311 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
16312 if (PyErr_Occurred()) SWIG_fail
;
16313 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxToolBarToolBase
,
16314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16317 result
= (wxToolBarToolBase
*)(arg1
)->InsertTool(arg2
,arg3
);
16319 wxPyEndAllowThreads(__tstate
);
16320 if (PyErr_Occurred()) SWIG_fail
;
16323 resultobj
= wxPyMake_wxObject(result
);
16331 static PyObject
*_wrap_ToolBarBase_AddControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16332 PyObject
*resultobj
;
16333 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16334 wxControl
*arg2
= (wxControl
*) 0 ;
16335 wxToolBarToolBase
*result
;
16336 PyObject
* obj0
= 0 ;
16337 PyObject
* obj1
= 0 ;
16338 char *kwnames
[] = {
16339 (char *) "self",(char *) "control", NULL
16342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddControl",kwnames
,&obj0
,&obj1
)) goto fail
;
16343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16345 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxControl
,
16346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16349 result
= (wxToolBarToolBase
*)(arg1
)->AddControl(arg2
);
16351 wxPyEndAllowThreads(__tstate
);
16352 if (PyErr_Occurred()) SWIG_fail
;
16355 resultobj
= wxPyMake_wxObject(result
);
16363 static PyObject
*_wrap_ToolBarBase_InsertControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16364 PyObject
*resultobj
;
16365 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16367 wxControl
*arg3
= (wxControl
*) 0 ;
16368 wxToolBarToolBase
*result
;
16369 PyObject
* obj0
= 0 ;
16370 PyObject
* obj1
= 0 ;
16371 PyObject
* obj2
= 0 ;
16372 char *kwnames
[] = {
16373 (char *) "self",(char *) "pos",(char *) "control", NULL
16376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertControl",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16377 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16379 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
16380 if (PyErr_Occurred()) SWIG_fail
;
16381 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxControl
,
16382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16385 result
= (wxToolBarToolBase
*)(arg1
)->InsertControl(arg2
,arg3
);
16387 wxPyEndAllowThreads(__tstate
);
16388 if (PyErr_Occurred()) SWIG_fail
;
16391 resultobj
= wxPyMake_wxObject(result
);
16399 static PyObject
*_wrap_ToolBarBase_FindControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16400 PyObject
*resultobj
;
16401 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16404 PyObject
* obj0
= 0 ;
16405 PyObject
* obj1
= 0 ;
16406 char *kwnames
[] = {
16407 (char *) "self",(char *) "id", NULL
16410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindControl",kwnames
,&obj0
,&obj1
)) goto fail
;
16411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16413 arg2
= (int) SWIG_AsInt(obj1
);
16414 if (PyErr_Occurred()) SWIG_fail
;
16416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16417 result
= (wxControl
*)(arg1
)->FindControl(arg2
);
16419 wxPyEndAllowThreads(__tstate
);
16420 if (PyErr_Occurred()) SWIG_fail
;
16423 resultobj
= wxPyMake_wxObject(result
);
16431 static PyObject
*_wrap_ToolBarBase_AddSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16432 PyObject
*resultobj
;
16433 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16434 wxToolBarToolBase
*result
;
16435 PyObject
* obj0
= 0 ;
16436 char *kwnames
[] = {
16437 (char *) "self", NULL
16440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_AddSeparator",kwnames
,&obj0
)) goto fail
;
16441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16445 result
= (wxToolBarToolBase
*)(arg1
)->AddSeparator();
16447 wxPyEndAllowThreads(__tstate
);
16448 if (PyErr_Occurred()) SWIG_fail
;
16451 resultobj
= wxPyMake_wxObject(result
);
16459 static PyObject
*_wrap_ToolBarBase_InsertSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16460 PyObject
*resultobj
;
16461 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16463 wxToolBarToolBase
*result
;
16464 PyObject
* obj0
= 0 ;
16465 PyObject
* obj1
= 0 ;
16466 char *kwnames
[] = {
16467 (char *) "self",(char *) "pos", NULL
16470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
16471 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16472 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16473 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
16474 if (PyErr_Occurred()) SWIG_fail
;
16476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16477 result
= (wxToolBarToolBase
*)(arg1
)->InsertSeparator(arg2
);
16479 wxPyEndAllowThreads(__tstate
);
16480 if (PyErr_Occurred()) SWIG_fail
;
16483 resultobj
= wxPyMake_wxObject(result
);
16491 static PyObject
*_wrap_ToolBarBase_RemoveTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16492 PyObject
*resultobj
;
16493 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16495 wxToolBarToolBase
*result
;
16496 PyObject
* obj0
= 0 ;
16497 PyObject
* obj1
= 0 ;
16498 char *kwnames
[] = {
16499 (char *) "self",(char *) "id", NULL
16502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_RemoveTool",kwnames
,&obj0
,&obj1
)) goto fail
;
16503 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16505 arg2
= (int) SWIG_AsInt(obj1
);
16506 if (PyErr_Occurred()) SWIG_fail
;
16508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16509 result
= (wxToolBarToolBase
*)(arg1
)->RemoveTool(arg2
);
16511 wxPyEndAllowThreads(__tstate
);
16512 if (PyErr_Occurred()) SWIG_fail
;
16515 resultobj
= wxPyMake_wxObject(result
);
16523 static PyObject
*_wrap_ToolBarBase_DeleteToolByPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16524 PyObject
*resultobj
;
16525 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16528 PyObject
* obj0
= 0 ;
16529 PyObject
* obj1
= 0 ;
16530 char *kwnames
[] = {
16531 (char *) "self",(char *) "pos", NULL
16534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames
,&obj0
,&obj1
)) goto fail
;
16535 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16537 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
16538 if (PyErr_Occurred()) SWIG_fail
;
16540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16541 result
= (bool)(arg1
)->DeleteToolByPos(arg2
);
16543 wxPyEndAllowThreads(__tstate
);
16544 if (PyErr_Occurred()) SWIG_fail
;
16547 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16555 static PyObject
*_wrap_ToolBarBase_DeleteTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16556 PyObject
*resultobj
;
16557 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16560 PyObject
* obj0
= 0 ;
16561 PyObject
* obj1
= 0 ;
16562 char *kwnames
[] = {
16563 (char *) "self",(char *) "id", NULL
16566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteTool",kwnames
,&obj0
,&obj1
)) goto fail
;
16567 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16568 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16569 arg2
= (int) SWIG_AsInt(obj1
);
16570 if (PyErr_Occurred()) SWIG_fail
;
16572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16573 result
= (bool)(arg1
)->DeleteTool(arg2
);
16575 wxPyEndAllowThreads(__tstate
);
16576 if (PyErr_Occurred()) SWIG_fail
;
16579 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16587 static PyObject
*_wrap_ToolBarBase_ClearTools(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16588 PyObject
*resultobj
;
16589 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16590 PyObject
* obj0
= 0 ;
16591 char *kwnames
[] = {
16592 (char *) "self", NULL
16595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_ClearTools",kwnames
,&obj0
)) goto fail
;
16596 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16600 (arg1
)->ClearTools();
16602 wxPyEndAllowThreads(__tstate
);
16603 if (PyErr_Occurred()) SWIG_fail
;
16605 Py_INCREF(Py_None
); resultobj
= Py_None
;
16612 static PyObject
*_wrap_ToolBarBase_Realize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16613 PyObject
*resultobj
;
16614 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16616 PyObject
* obj0
= 0 ;
16617 char *kwnames
[] = {
16618 (char *) "self", NULL
16621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_Realize",kwnames
,&obj0
)) goto fail
;
16622 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16626 result
= (bool)(arg1
)->Realize();
16628 wxPyEndAllowThreads(__tstate
);
16629 if (PyErr_Occurred()) SWIG_fail
;
16632 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16640 static PyObject
*_wrap_ToolBarBase_EnableTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16641 PyObject
*resultobj
;
16642 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16645 PyObject
* obj0
= 0 ;
16646 PyObject
* obj1
= 0 ;
16647 PyObject
* obj2
= 0 ;
16648 char *kwnames
[] = {
16649 (char *) "self",(char *) "id",(char *) "enable", NULL
16652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_EnableTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16655 arg2
= (int) SWIG_AsInt(obj1
);
16656 if (PyErr_Occurred()) SWIG_fail
;
16657 arg3
= (bool) SWIG_AsBool(obj2
);
16658 if (PyErr_Occurred()) SWIG_fail
;
16660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16661 (arg1
)->EnableTool(arg2
,arg3
);
16663 wxPyEndAllowThreads(__tstate
);
16664 if (PyErr_Occurred()) SWIG_fail
;
16666 Py_INCREF(Py_None
); resultobj
= Py_None
;
16673 static PyObject
*_wrap_ToolBarBase_ToggleTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16674 PyObject
*resultobj
;
16675 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16678 PyObject
* obj0
= 0 ;
16679 PyObject
* obj1
= 0 ;
16680 PyObject
* obj2
= 0 ;
16681 char *kwnames
[] = {
16682 (char *) "self",(char *) "id",(char *) "toggle", NULL
16685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_ToggleTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16686 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16687 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16688 arg2
= (int) SWIG_AsInt(obj1
);
16689 if (PyErr_Occurred()) SWIG_fail
;
16690 arg3
= (bool) SWIG_AsBool(obj2
);
16691 if (PyErr_Occurred()) SWIG_fail
;
16693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16694 (arg1
)->ToggleTool(arg2
,arg3
);
16696 wxPyEndAllowThreads(__tstate
);
16697 if (PyErr_Occurred()) SWIG_fail
;
16699 Py_INCREF(Py_None
); resultobj
= Py_None
;
16706 static PyObject
*_wrap_ToolBarBase_SetToggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16707 PyObject
*resultobj
;
16708 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16711 PyObject
* obj0
= 0 ;
16712 PyObject
* obj1
= 0 ;
16713 PyObject
* obj2
= 0 ;
16714 char *kwnames
[] = {
16715 (char *) "self",(char *) "id",(char *) "toggle", NULL
16718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToggle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16719 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16721 arg2
= (int) SWIG_AsInt(obj1
);
16722 if (PyErr_Occurred()) SWIG_fail
;
16723 arg3
= (bool) SWIG_AsBool(obj2
);
16724 if (PyErr_Occurred()) SWIG_fail
;
16726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16727 (arg1
)->SetToggle(arg2
,arg3
);
16729 wxPyEndAllowThreads(__tstate
);
16730 if (PyErr_Occurred()) SWIG_fail
;
16732 Py_INCREF(Py_None
); resultobj
= Py_None
;
16739 static PyObject
*_wrap_ToolBarBase_GetToolClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16740 PyObject
*resultobj
;
16741 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16744 PyObject
* obj0
= 0 ;
16745 PyObject
* obj1
= 0 ;
16746 char *kwnames
[] = {
16747 (char *) "self",(char *) "id", NULL
16750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
16751 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16752 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16753 arg2
= (int) SWIG_AsInt(obj1
);
16754 if (PyErr_Occurred()) SWIG_fail
;
16756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16757 result
= (PyObject
*)wxToolBarBase_GetToolClientData(arg1
,arg2
);
16759 wxPyEndAllowThreads(__tstate
);
16760 if (PyErr_Occurred()) SWIG_fail
;
16762 resultobj
= result
;
16769 static PyObject
*_wrap_ToolBarBase_SetToolClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16770 PyObject
*resultobj
;
16771 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16773 PyObject
*arg3
= (PyObject
*) 0 ;
16774 PyObject
* obj0
= 0 ;
16775 PyObject
* obj1
= 0 ;
16776 PyObject
* obj2
= 0 ;
16777 char *kwnames
[] = {
16778 (char *) "self",(char *) "id",(char *) "clientData", NULL
16781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16782 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16783 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16784 arg2
= (int) SWIG_AsInt(obj1
);
16785 if (PyErr_Occurred()) SWIG_fail
;
16788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16789 wxToolBarBase_SetToolClientData(arg1
,arg2
,arg3
);
16791 wxPyEndAllowThreads(__tstate
);
16792 if (PyErr_Occurred()) SWIG_fail
;
16794 Py_INCREF(Py_None
); resultobj
= Py_None
;
16801 static PyObject
*_wrap_ToolBarBase_GetToolPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16802 PyObject
*resultobj
;
16803 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16806 PyObject
* obj0
= 0 ;
16807 PyObject
* obj1
= 0 ;
16808 char *kwnames
[] = {
16809 (char *) "self",(char *) "id", NULL
16812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolPos",kwnames
,&obj0
,&obj1
)) goto fail
;
16813 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16815 arg2
= (int) SWIG_AsInt(obj1
);
16816 if (PyErr_Occurred()) SWIG_fail
;
16818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16819 result
= (int)((wxToolBarBase
const *)arg1
)->GetToolPos(arg2
);
16821 wxPyEndAllowThreads(__tstate
);
16822 if (PyErr_Occurred()) SWIG_fail
;
16824 resultobj
= SWIG_FromInt((int)result
);
16831 static PyObject
*_wrap_ToolBarBase_GetToolState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16832 PyObject
*resultobj
;
16833 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16836 PyObject
* obj0
= 0 ;
16837 PyObject
* obj1
= 0 ;
16838 char *kwnames
[] = {
16839 (char *) "self",(char *) "id", NULL
16842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolState",kwnames
,&obj0
,&obj1
)) goto fail
;
16843 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16845 arg2
= (int) SWIG_AsInt(obj1
);
16846 if (PyErr_Occurred()) SWIG_fail
;
16848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16849 result
= (bool)(arg1
)->GetToolState(arg2
);
16851 wxPyEndAllowThreads(__tstate
);
16852 if (PyErr_Occurred()) SWIG_fail
;
16855 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16863 static PyObject
*_wrap_ToolBarBase_GetToolEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16864 PyObject
*resultobj
;
16865 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16868 PyObject
* obj0
= 0 ;
16869 PyObject
* obj1
= 0 ;
16870 char *kwnames
[] = {
16871 (char *) "self",(char *) "id", NULL
16874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
16875 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16877 arg2
= (int) SWIG_AsInt(obj1
);
16878 if (PyErr_Occurred()) SWIG_fail
;
16880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16881 result
= (bool)(arg1
)->GetToolEnabled(arg2
);
16883 wxPyEndAllowThreads(__tstate
);
16884 if (PyErr_Occurred()) SWIG_fail
;
16887 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16895 static PyObject
*_wrap_ToolBarBase_SetToolShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16896 PyObject
*resultobj
;
16897 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16899 wxString
*arg3
= 0 ;
16900 bool temp3
= False
;
16901 PyObject
* obj0
= 0 ;
16902 PyObject
* obj1
= 0 ;
16903 PyObject
* obj2
= 0 ;
16904 char *kwnames
[] = {
16905 (char *) "self",(char *) "id",(char *) "helpString", NULL
16908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16911 arg2
= (int) SWIG_AsInt(obj1
);
16912 if (PyErr_Occurred()) SWIG_fail
;
16914 arg3
= wxString_in_helper(obj2
);
16915 if (arg3
== NULL
) SWIG_fail
;
16919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16920 (arg1
)->SetToolShortHelp(arg2
,(wxString
const &)*arg3
);
16922 wxPyEndAllowThreads(__tstate
);
16923 if (PyErr_Occurred()) SWIG_fail
;
16925 Py_INCREF(Py_None
); resultobj
= Py_None
;
16940 static PyObject
*_wrap_ToolBarBase_GetToolShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16941 PyObject
*resultobj
;
16942 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16945 PyObject
* obj0
= 0 ;
16946 PyObject
* obj1
= 0 ;
16947 char *kwnames
[] = {
16948 (char *) "self",(char *) "id", NULL
16951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
16952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16954 arg2
= (int) SWIG_AsInt(obj1
);
16955 if (PyErr_Occurred()) SWIG_fail
;
16957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16958 result
= (arg1
)->GetToolShortHelp(arg2
);
16960 wxPyEndAllowThreads(__tstate
);
16961 if (PyErr_Occurred()) SWIG_fail
;
16965 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16967 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16976 static PyObject
*_wrap_ToolBarBase_SetToolLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16977 PyObject
*resultobj
;
16978 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16980 wxString
*arg3
= 0 ;
16981 bool temp3
= False
;
16982 PyObject
* obj0
= 0 ;
16983 PyObject
* obj1
= 0 ;
16984 PyObject
* obj2
= 0 ;
16985 char *kwnames
[] = {
16986 (char *) "self",(char *) "id",(char *) "helpString", NULL
16989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16990 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16992 arg2
= (int) SWIG_AsInt(obj1
);
16993 if (PyErr_Occurred()) SWIG_fail
;
16995 arg3
= wxString_in_helper(obj2
);
16996 if (arg3
== NULL
) SWIG_fail
;
17000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17001 (arg1
)->SetToolLongHelp(arg2
,(wxString
const &)*arg3
);
17003 wxPyEndAllowThreads(__tstate
);
17004 if (PyErr_Occurred()) SWIG_fail
;
17006 Py_INCREF(Py_None
); resultobj
= Py_None
;
17021 static PyObject
*_wrap_ToolBarBase_GetToolLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17022 PyObject
*resultobj
;
17023 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17026 PyObject
* obj0
= 0 ;
17027 PyObject
* obj1
= 0 ;
17028 char *kwnames
[] = {
17029 (char *) "self",(char *) "id", NULL
17032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
17033 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17035 arg2
= (int) SWIG_AsInt(obj1
);
17036 if (PyErr_Occurred()) SWIG_fail
;
17038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17039 result
= (arg1
)->GetToolLongHelp(arg2
);
17041 wxPyEndAllowThreads(__tstate
);
17042 if (PyErr_Occurred()) SWIG_fail
;
17046 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17048 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17057 static PyObject
*_wrap_ToolBarBase_SetMarginsXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17058 PyObject
*resultobj
;
17059 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17062 PyObject
* obj0
= 0 ;
17063 PyObject
* obj1
= 0 ;
17064 PyObject
* obj2
= 0 ;
17065 char *kwnames
[] = {
17066 (char *) "self",(char *) "x",(char *) "y", NULL
17069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17070 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17072 arg2
= (int) SWIG_AsInt(obj1
);
17073 if (PyErr_Occurred()) SWIG_fail
;
17074 arg3
= (int) SWIG_AsInt(obj2
);
17075 if (PyErr_Occurred()) SWIG_fail
;
17077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17078 (arg1
)->SetMargins(arg2
,arg3
);
17080 wxPyEndAllowThreads(__tstate
);
17081 if (PyErr_Occurred()) SWIG_fail
;
17083 Py_INCREF(Py_None
); resultobj
= Py_None
;
17090 static PyObject
*_wrap_ToolBarBase_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17091 PyObject
*resultobj
;
17092 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17095 PyObject
* obj0
= 0 ;
17096 PyObject
* obj1
= 0 ;
17097 char *kwnames
[] = {
17098 (char *) "self",(char *) "size", NULL
17101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
17102 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17106 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17110 (arg1
)->SetMargins((wxSize
const &)*arg2
);
17112 wxPyEndAllowThreads(__tstate
);
17113 if (PyErr_Occurred()) SWIG_fail
;
17115 Py_INCREF(Py_None
); resultobj
= Py_None
;
17122 static PyObject
*_wrap_ToolBarBase_SetToolPacking(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17123 PyObject
*resultobj
;
17124 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17126 PyObject
* obj0
= 0 ;
17127 PyObject
* obj1
= 0 ;
17128 char *kwnames
[] = {
17129 (char *) "self",(char *) "packing", NULL
17132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolPacking",kwnames
,&obj0
,&obj1
)) goto fail
;
17133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17135 arg2
= (int) SWIG_AsInt(obj1
);
17136 if (PyErr_Occurred()) SWIG_fail
;
17138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17139 (arg1
)->SetToolPacking(arg2
);
17141 wxPyEndAllowThreads(__tstate
);
17142 if (PyErr_Occurred()) SWIG_fail
;
17144 Py_INCREF(Py_None
); resultobj
= Py_None
;
17151 static PyObject
*_wrap_ToolBarBase_SetToolSeparation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17152 PyObject
*resultobj
;
17153 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17155 PyObject
* obj0
= 0 ;
17156 PyObject
* obj1
= 0 ;
17157 char *kwnames
[] = {
17158 (char *) "self",(char *) "separation", NULL
17161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames
,&obj0
,&obj1
)) goto fail
;
17162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17164 arg2
= (int) SWIG_AsInt(obj1
);
17165 if (PyErr_Occurred()) SWIG_fail
;
17167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17168 (arg1
)->SetToolSeparation(arg2
);
17170 wxPyEndAllowThreads(__tstate
);
17171 if (PyErr_Occurred()) SWIG_fail
;
17173 Py_INCREF(Py_None
); resultobj
= Py_None
;
17180 static PyObject
*_wrap_ToolBarBase_GetToolMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17181 PyObject
*resultobj
;
17182 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17184 PyObject
* obj0
= 0 ;
17185 char *kwnames
[] = {
17186 (char *) "self", NULL
17189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolMargins",kwnames
,&obj0
)) goto fail
;
17190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17194 result
= (arg1
)->GetToolMargins();
17196 wxPyEndAllowThreads(__tstate
);
17197 if (PyErr_Occurred()) SWIG_fail
;
17200 wxSize
* resultptr
;
17201 resultptr
= new wxSize((wxSize
&) result
);
17202 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17210 static PyObject
*_wrap_ToolBarBase_GetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17211 PyObject
*resultobj
;
17212 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17214 PyObject
* obj0
= 0 ;
17215 char *kwnames
[] = {
17216 (char *) "self", NULL
17219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMargins",kwnames
,&obj0
)) goto fail
;
17220 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17224 result
= (arg1
)->GetMargins();
17226 wxPyEndAllowThreads(__tstate
);
17227 if (PyErr_Occurred()) SWIG_fail
;
17230 wxSize
* resultptr
;
17231 resultptr
= new wxSize((wxSize
&) result
);
17232 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17240 static PyObject
*_wrap_ToolBarBase_GetToolPacking(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17241 PyObject
*resultobj
;
17242 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17244 PyObject
* obj0
= 0 ;
17245 char *kwnames
[] = {
17246 (char *) "self", NULL
17249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolPacking",kwnames
,&obj0
)) goto fail
;
17250 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17254 result
= (int)(arg1
)->GetToolPacking();
17256 wxPyEndAllowThreads(__tstate
);
17257 if (PyErr_Occurred()) SWIG_fail
;
17259 resultobj
= SWIG_FromInt((int)result
);
17266 static PyObject
*_wrap_ToolBarBase_GetToolSeparation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17267 PyObject
*resultobj
;
17268 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17270 PyObject
* obj0
= 0 ;
17271 char *kwnames
[] = {
17272 (char *) "self", NULL
17275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSeparation",kwnames
,&obj0
)) goto fail
;
17276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17280 result
= (int)(arg1
)->GetToolSeparation();
17282 wxPyEndAllowThreads(__tstate
);
17283 if (PyErr_Occurred()) SWIG_fail
;
17285 resultobj
= SWIG_FromInt((int)result
);
17292 static PyObject
*_wrap_ToolBarBase_SetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17293 PyObject
*resultobj
;
17294 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17296 PyObject
* obj0
= 0 ;
17297 PyObject
* obj1
= 0 ;
17298 char *kwnames
[] = {
17299 (char *) "self",(char *) "nRows", NULL
17302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetRows",kwnames
,&obj0
,&obj1
)) 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
;
17308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17309 (arg1
)->SetRows(arg2
);
17311 wxPyEndAllowThreads(__tstate
);
17312 if (PyErr_Occurred()) SWIG_fail
;
17314 Py_INCREF(Py_None
); resultobj
= Py_None
;
17321 static PyObject
*_wrap_ToolBarBase_SetMaxRowsCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17322 PyObject
*resultobj
;
17323 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17326 PyObject
* obj0
= 0 ;
17327 PyObject
* obj1
= 0 ;
17328 PyObject
* obj2
= 0 ;
17329 char *kwnames
[] = {
17330 (char *) "self",(char *) "rows",(char *) "cols", NULL
17333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17334 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17335 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17336 arg2
= (int) SWIG_AsInt(obj1
);
17337 if (PyErr_Occurred()) SWIG_fail
;
17338 arg3
= (int) SWIG_AsInt(obj2
);
17339 if (PyErr_Occurred()) SWIG_fail
;
17341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17342 (arg1
)->SetMaxRowsCols(arg2
,arg3
);
17344 wxPyEndAllowThreads(__tstate
);
17345 if (PyErr_Occurred()) SWIG_fail
;
17347 Py_INCREF(Py_None
); resultobj
= Py_None
;
17354 static PyObject
*_wrap_ToolBarBase_GetMaxRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17355 PyObject
*resultobj
;
17356 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17358 PyObject
* obj0
= 0 ;
17359 char *kwnames
[] = {
17360 (char *) "self", NULL
17363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxRows",kwnames
,&obj0
)) goto fail
;
17364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17368 result
= (int)(arg1
)->GetMaxRows();
17370 wxPyEndAllowThreads(__tstate
);
17371 if (PyErr_Occurred()) SWIG_fail
;
17373 resultobj
= SWIG_FromInt((int)result
);
17380 static PyObject
*_wrap_ToolBarBase_GetMaxCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17381 PyObject
*resultobj
;
17382 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17384 PyObject
* obj0
= 0 ;
17385 char *kwnames
[] = {
17386 (char *) "self", NULL
17389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxCols",kwnames
,&obj0
)) goto fail
;
17390 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17394 result
= (int)(arg1
)->GetMaxCols();
17396 wxPyEndAllowThreads(__tstate
);
17397 if (PyErr_Occurred()) SWIG_fail
;
17399 resultobj
= SWIG_FromInt((int)result
);
17406 static PyObject
*_wrap_ToolBarBase_SetToolBitmapSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17407 PyObject
*resultobj
;
17408 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17411 PyObject
* obj0
= 0 ;
17412 PyObject
* obj1
= 0 ;
17413 char *kwnames
[] = {
17414 (char *) "self",(char *) "size", NULL
17417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames
,&obj0
,&obj1
)) goto fail
;
17418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17422 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17426 (arg1
)->SetToolBitmapSize((wxSize
const &)*arg2
);
17428 wxPyEndAllowThreads(__tstate
);
17429 if (PyErr_Occurred()) SWIG_fail
;
17431 Py_INCREF(Py_None
); resultobj
= Py_None
;
17438 static PyObject
*_wrap_ToolBarBase_GetToolBitmapSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17439 PyObject
*resultobj
;
17440 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17442 PyObject
* obj0
= 0 ;
17443 char *kwnames
[] = {
17444 (char *) "self", NULL
17447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames
,&obj0
)) goto fail
;
17448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17452 result
= (arg1
)->GetToolBitmapSize();
17454 wxPyEndAllowThreads(__tstate
);
17455 if (PyErr_Occurred()) SWIG_fail
;
17458 wxSize
* resultptr
;
17459 resultptr
= new wxSize((wxSize
&) result
);
17460 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17468 static PyObject
*_wrap_ToolBarBase_GetToolSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17469 PyObject
*resultobj
;
17470 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17472 PyObject
* obj0
= 0 ;
17473 char *kwnames
[] = {
17474 (char *) "self", NULL
17477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSize",kwnames
,&obj0
)) goto fail
;
17478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17482 result
= (arg1
)->GetToolSize();
17484 wxPyEndAllowThreads(__tstate
);
17485 if (PyErr_Occurred()) SWIG_fail
;
17488 wxSize
* resultptr
;
17489 resultptr
= new wxSize((wxSize
&) result
);
17490 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17498 static PyObject
*_wrap_ToolBarBase_FindToolForPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17499 PyObject
*resultobj
;
17500 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17503 wxToolBarToolBase
*result
;
17504 PyObject
* obj0
= 0 ;
17505 PyObject
* obj1
= 0 ;
17506 PyObject
* obj2
= 0 ;
17507 char *kwnames
[] = {
17508 (char *) "self",(char *) "x",(char *) "y", NULL
17511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17512 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17514 arg2
= (int) SWIG_AsInt(obj1
);
17515 if (PyErr_Occurred()) SWIG_fail
;
17516 arg3
= (int) SWIG_AsInt(obj2
);
17517 if (PyErr_Occurred()) SWIG_fail
;
17519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17520 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
17522 wxPyEndAllowThreads(__tstate
);
17523 if (PyErr_Occurred()) SWIG_fail
;
17526 resultobj
= wxPyMake_wxObject(result
);
17534 static PyObject
*_wrap_ToolBarBase_FindById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17535 PyObject
*resultobj
;
17536 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17538 wxToolBarToolBase
*result
;
17539 PyObject
* obj0
= 0 ;
17540 PyObject
* obj1
= 0 ;
17541 char *kwnames
[] = {
17542 (char *) "self",(char *) "toolid", NULL
17545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindById",kwnames
,&obj0
,&obj1
)) goto fail
;
17546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17548 arg2
= (int) SWIG_AsInt(obj1
);
17549 if (PyErr_Occurred()) SWIG_fail
;
17551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17552 result
= (wxToolBarToolBase
*)((wxToolBarBase
const *)arg1
)->FindById(arg2
);
17554 wxPyEndAllowThreads(__tstate
);
17555 if (PyErr_Occurred()) SWIG_fail
;
17558 resultobj
= wxPyMake_wxObject(result
);
17566 static PyObject
*_wrap_ToolBarBase_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17567 PyObject
*resultobj
;
17568 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17570 PyObject
* obj0
= 0 ;
17571 char *kwnames
[] = {
17572 (char *) "self", NULL
17575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_IsVertical",kwnames
,&obj0
)) goto fail
;
17576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17580 result
= (bool)(arg1
)->IsVertical();
17582 wxPyEndAllowThreads(__tstate
);
17583 if (PyErr_Occurred()) SWIG_fail
;
17586 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17594 static PyObject
* ToolBarBase_swigregister(PyObject
*self
, PyObject
*args
) {
17596 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17597 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase
, obj
);
17599 return Py_BuildValue((char *)"");
17601 static PyObject
*_wrap_new_ToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17602 PyObject
*resultobj
;
17603 wxWindow
*arg1
= (wxWindow
*) 0 ;
17605 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
17606 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
17607 wxSize
const &arg4_defvalue
= wxDefaultSize
;
17608 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
17609 long arg5
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
17610 wxString
const &arg6_defvalue
= wxPyToolBarNameStr
;
17611 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
17615 bool temp6
= False
;
17616 PyObject
* obj0
= 0 ;
17617 PyObject
* obj1
= 0 ;
17618 PyObject
* obj2
= 0 ;
17619 PyObject
* obj3
= 0 ;
17620 PyObject
* obj4
= 0 ;
17621 PyObject
* obj5
= 0 ;
17622 char *kwnames
[] = {
17623 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_ToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17627 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
17628 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17629 arg2
= (int) SWIG_AsInt(obj1
);
17630 if (PyErr_Occurred()) SWIG_fail
;
17634 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17640 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
17644 arg5
= (long) SWIG_AsLong(obj4
);
17645 if (PyErr_Occurred()) SWIG_fail
;
17649 arg6
= wxString_in_helper(obj5
);
17650 if (arg6
== NULL
) SWIG_fail
;
17655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17656 result
= (wxToolBar
*)new wxToolBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
17658 wxPyEndAllowThreads(__tstate
);
17659 if (PyErr_Occurred()) SWIG_fail
;
17662 resultobj
= wxPyMake_wxObject(result
);
17678 static PyObject
*_wrap_new_PreToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17679 PyObject
*resultobj
;
17681 char *kwnames
[] = {
17685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToolBar",kwnames
)) goto fail
;
17687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17688 result
= (wxToolBar
*)new wxToolBar();
17690 wxPyEndAllowThreads(__tstate
);
17691 if (PyErr_Occurred()) SWIG_fail
;
17694 resultobj
= wxPyMake_wxObject(result
);
17702 static PyObject
*_wrap_ToolBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17703 PyObject
*resultobj
;
17704 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
17705 wxWindow
*arg2
= (wxWindow
*) 0 ;
17707 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17708 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17709 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17710 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17711 long arg6
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
17712 wxString
const &arg7_defvalue
= wxPyToolBarNameStr
;
17713 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17717 bool temp7
= False
;
17718 PyObject
* obj0
= 0 ;
17719 PyObject
* obj1
= 0 ;
17720 PyObject
* obj2
= 0 ;
17721 PyObject
* obj3
= 0 ;
17722 PyObject
* obj4
= 0 ;
17723 PyObject
* obj5
= 0 ;
17724 PyObject
* obj6
= 0 ;
17725 char *kwnames
[] = {
17726 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:ToolBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17730 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBar
,
17731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17732 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
17733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17734 arg3
= (int) SWIG_AsInt(obj2
);
17735 if (PyErr_Occurred()) SWIG_fail
;
17739 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17745 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17749 arg6
= (long) SWIG_AsLong(obj5
);
17750 if (PyErr_Occurred()) SWIG_fail
;
17754 arg7
= wxString_in_helper(obj6
);
17755 if (arg7
== NULL
) SWIG_fail
;
17760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17761 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
17763 wxPyEndAllowThreads(__tstate
);
17764 if (PyErr_Occurred()) SWIG_fail
;
17767 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17783 static PyObject
*_wrap_ToolBar_FindToolForPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17784 PyObject
*resultobj
;
17785 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
17788 wxToolBarToolBase
*result
;
17789 PyObject
* obj0
= 0 ;
17790 PyObject
* obj1
= 0 ;
17791 PyObject
* obj2
= 0 ;
17792 char *kwnames
[] = {
17793 (char *) "self",(char *) "x",(char *) "y", NULL
17796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBar_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBar
,
17798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17799 arg2
= (int) SWIG_AsInt(obj1
);
17800 if (PyErr_Occurred()) SWIG_fail
;
17801 arg3
= (int) SWIG_AsInt(obj2
);
17802 if (PyErr_Occurred()) SWIG_fail
;
17804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17805 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
17807 wxPyEndAllowThreads(__tstate
);
17808 if (PyErr_Occurred()) SWIG_fail
;
17811 resultobj
= wxPyMake_wxObject(result
);
17819 static PyObject
* ToolBar_swigregister(PyObject
*self
, PyObject
*args
) {
17821 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17822 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar
, obj
);
17824 return Py_BuildValue((char *)"");
17826 static int _wrap_ListCtrlNameStr_set(PyObject
*_val
) {
17827 PyErr_SetString(PyExc_TypeError
,"Variable ListCtrlNameStr is read-only.");
17832 static PyObject
*_wrap_ListCtrlNameStr_get() {
17837 pyobj
= PyUnicode_FromWideChar((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
17839 pyobj
= PyString_FromStringAndSize((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
17846 static PyObject
*_wrap_new_ListItemAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17847 PyObject
*resultobj
;
17848 wxColour
const &arg1_defvalue
= wxNullColour
;
17849 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
17850 wxColour
const &arg2_defvalue
= wxNullColour
;
17851 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
17852 wxFont
const &arg3_defvalue
= wxNullFont
;
17853 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
17854 wxListItemAttr
*result
;
17857 PyObject
* obj0
= 0 ;
17858 PyObject
* obj1
= 0 ;
17859 PyObject
* obj2
= 0 ;
17860 char *kwnames
[] = {
17861 (char *) "colText",(char *) "colBack",(char *) "font", NULL
17864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ListItemAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17868 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
17874 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17878 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
17879 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17881 if (arg3
== NULL
) {
17882 PyErr_SetString(PyExc_TypeError
,"null reference");
17887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17888 result
= (wxListItemAttr
*)new wxListItemAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
);
17890 wxPyEndAllowThreads(__tstate
);
17891 if (PyErr_Occurred()) SWIG_fail
;
17893 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 1);
17900 static PyObject
*_wrap_ListItemAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17901 PyObject
*resultobj
;
17902 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17903 wxColour
*arg2
= 0 ;
17905 PyObject
* obj0
= 0 ;
17906 PyObject
* obj1
= 0 ;
17907 char *kwnames
[] = {
17908 (char *) "self",(char *) "colText", NULL
17911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
17912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
17913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17916 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17920 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
17922 wxPyEndAllowThreads(__tstate
);
17923 if (PyErr_Occurred()) SWIG_fail
;
17925 Py_INCREF(Py_None
); resultobj
= Py_None
;
17932 static PyObject
*_wrap_ListItemAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17933 PyObject
*resultobj
;
17934 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17935 wxColour
*arg2
= 0 ;
17937 PyObject
* obj0
= 0 ;
17938 PyObject
* obj1
= 0 ;
17939 char *kwnames
[] = {
17940 (char *) "self",(char *) "colBack", NULL
17943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
17944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
17945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17948 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17952 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
17954 wxPyEndAllowThreads(__tstate
);
17955 if (PyErr_Occurred()) SWIG_fail
;
17957 Py_INCREF(Py_None
); resultobj
= Py_None
;
17964 static PyObject
*_wrap_ListItemAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17965 PyObject
*resultobj
;
17966 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17968 PyObject
* obj0
= 0 ;
17969 PyObject
* obj1
= 0 ;
17970 char *kwnames
[] = {
17971 (char *) "self",(char *) "font", NULL
17974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
17975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
17976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17977 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
17978 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17980 if (arg2
== NULL
) {
17981 PyErr_SetString(PyExc_TypeError
,"null reference");
17985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17986 (arg1
)->SetFont((wxFont
const &)*arg2
);
17988 wxPyEndAllowThreads(__tstate
);
17989 if (PyErr_Occurred()) SWIG_fail
;
17991 Py_INCREF(Py_None
); resultobj
= Py_None
;
17998 static PyObject
*_wrap_ListItemAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17999 PyObject
*resultobj
;
18000 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18002 PyObject
* obj0
= 0 ;
18003 char *kwnames
[] = {
18004 (char *) "self", NULL
18007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
18008 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18012 result
= (bool)(arg1
)->HasTextColour();
18014 wxPyEndAllowThreads(__tstate
);
18015 if (PyErr_Occurred()) SWIG_fail
;
18018 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18026 static PyObject
*_wrap_ListItemAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18027 PyObject
*resultobj
;
18028 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18030 PyObject
* obj0
= 0 ;
18031 char *kwnames
[] = {
18032 (char *) "self", NULL
18035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
18036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18040 result
= (bool)(arg1
)->HasBackgroundColour();
18042 wxPyEndAllowThreads(__tstate
);
18043 if (PyErr_Occurred()) SWIG_fail
;
18046 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18054 static PyObject
*_wrap_ListItemAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18055 PyObject
*resultobj
;
18056 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18058 PyObject
* obj0
= 0 ;
18059 char *kwnames
[] = {
18060 (char *) "self", NULL
18063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasFont",kwnames
,&obj0
)) goto fail
;
18064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18068 result
= (bool)(arg1
)->HasFont();
18070 wxPyEndAllowThreads(__tstate
);
18071 if (PyErr_Occurred()) SWIG_fail
;
18074 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18082 static PyObject
*_wrap_ListItemAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18083 PyObject
*resultobj
;
18084 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18086 PyObject
* obj0
= 0 ;
18087 char *kwnames
[] = {
18088 (char *) "self", NULL
18091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
18092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18096 result
= (arg1
)->GetTextColour();
18098 wxPyEndAllowThreads(__tstate
);
18099 if (PyErr_Occurred()) SWIG_fail
;
18102 wxColour
* resultptr
;
18103 resultptr
= new wxColour((wxColour
&) result
);
18104 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18112 static PyObject
*_wrap_ListItemAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18113 PyObject
*resultobj
;
18114 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18116 PyObject
* obj0
= 0 ;
18117 char *kwnames
[] = {
18118 (char *) "self", NULL
18121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
18122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18126 result
= (arg1
)->GetBackgroundColour();
18128 wxPyEndAllowThreads(__tstate
);
18129 if (PyErr_Occurred()) SWIG_fail
;
18132 wxColour
* resultptr
;
18133 resultptr
= new wxColour((wxColour
&) result
);
18134 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18142 static PyObject
*_wrap_ListItemAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18143 PyObject
*resultobj
;
18144 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18146 PyObject
* obj0
= 0 ;
18147 char *kwnames
[] = {
18148 (char *) "self", NULL
18151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetFont",kwnames
,&obj0
)) goto fail
;
18152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18156 result
= (arg1
)->GetFont();
18158 wxPyEndAllowThreads(__tstate
);
18159 if (PyErr_Occurred()) SWIG_fail
;
18162 wxFont
* resultptr
;
18163 resultptr
= new wxFont((wxFont
&) result
);
18164 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
18172 static PyObject
*_wrap_ListItemAttr_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18173 PyObject
*resultobj
;
18174 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18175 PyObject
* obj0
= 0 ;
18176 char *kwnames
[] = {
18177 (char *) "self", NULL
18180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_Destroy",kwnames
,&obj0
)) goto fail
;
18181 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18185 wxListItemAttr_Destroy(arg1
);
18187 wxPyEndAllowThreads(__tstate
);
18188 if (PyErr_Occurred()) SWIG_fail
;
18190 Py_INCREF(Py_None
); resultobj
= Py_None
;
18197 static PyObject
* ListItemAttr_swigregister(PyObject
*self
, PyObject
*args
) {
18199 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18200 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr
, obj
);
18202 return Py_BuildValue((char *)"");
18204 static PyObject
*_wrap_new_ListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18205 PyObject
*resultobj
;
18206 wxListItem
*result
;
18207 char *kwnames
[] = {
18211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ListItem",kwnames
)) goto fail
;
18213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18214 result
= (wxListItem
*)new wxListItem();
18216 wxPyEndAllowThreads(__tstate
);
18217 if (PyErr_Occurred()) SWIG_fail
;
18220 resultobj
= wxPyMake_wxObject(result
);
18228 static PyObject
*_wrap_delete_ListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18229 PyObject
*resultobj
;
18230 wxListItem
*arg1
= (wxListItem
*) 0 ;
18231 PyObject
* obj0
= 0 ;
18232 char *kwnames
[] = {
18233 (char *) "self", NULL
18236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ListItem",kwnames
,&obj0
)) goto fail
;
18237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18243 wxPyEndAllowThreads(__tstate
);
18244 if (PyErr_Occurred()) SWIG_fail
;
18246 Py_INCREF(Py_None
); resultobj
= Py_None
;
18253 static PyObject
*_wrap_ListItem_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18254 PyObject
*resultobj
;
18255 wxListItem
*arg1
= (wxListItem
*) 0 ;
18256 PyObject
* obj0
= 0 ;
18257 char *kwnames
[] = {
18258 (char *) "self", NULL
18261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_Clear",kwnames
,&obj0
)) goto fail
;
18262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18268 wxPyEndAllowThreads(__tstate
);
18269 if (PyErr_Occurred()) SWIG_fail
;
18271 Py_INCREF(Py_None
); resultobj
= Py_None
;
18278 static PyObject
*_wrap_ListItem_ClearAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18279 PyObject
*resultobj
;
18280 wxListItem
*arg1
= (wxListItem
*) 0 ;
18281 PyObject
* obj0
= 0 ;
18282 char *kwnames
[] = {
18283 (char *) "self", NULL
18286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_ClearAttributes",kwnames
,&obj0
)) goto fail
;
18287 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18291 (arg1
)->ClearAttributes();
18293 wxPyEndAllowThreads(__tstate
);
18294 if (PyErr_Occurred()) SWIG_fail
;
18296 Py_INCREF(Py_None
); resultobj
= Py_None
;
18303 static PyObject
*_wrap_ListItem_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18304 PyObject
*resultobj
;
18305 wxListItem
*arg1
= (wxListItem
*) 0 ;
18307 PyObject
* obj0
= 0 ;
18308 PyObject
* obj1
= 0 ;
18309 char *kwnames
[] = {
18310 (char *) "self",(char *) "mask", NULL
18313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
18314 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18316 arg2
= (long) SWIG_AsLong(obj1
);
18317 if (PyErr_Occurred()) SWIG_fail
;
18319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18320 (arg1
)->SetMask(arg2
);
18322 wxPyEndAllowThreads(__tstate
);
18323 if (PyErr_Occurred()) SWIG_fail
;
18325 Py_INCREF(Py_None
); resultobj
= Py_None
;
18332 static PyObject
*_wrap_ListItem_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18333 PyObject
*resultobj
;
18334 wxListItem
*arg1
= (wxListItem
*) 0 ;
18336 PyObject
* obj0
= 0 ;
18337 PyObject
* obj1
= 0 ;
18338 char *kwnames
[] = {
18339 (char *) "self",(char *) "id", NULL
18342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
18343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18345 arg2
= (long) SWIG_AsLong(obj1
);
18346 if (PyErr_Occurred()) SWIG_fail
;
18348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18349 (arg1
)->SetId(arg2
);
18351 wxPyEndAllowThreads(__tstate
);
18352 if (PyErr_Occurred()) SWIG_fail
;
18354 Py_INCREF(Py_None
); resultobj
= Py_None
;
18361 static PyObject
*_wrap_ListItem_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18362 PyObject
*resultobj
;
18363 wxListItem
*arg1
= (wxListItem
*) 0 ;
18365 PyObject
* obj0
= 0 ;
18366 PyObject
* obj1
= 0 ;
18367 char *kwnames
[] = {
18368 (char *) "self",(char *) "col", NULL
18371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
18372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18374 arg2
= (int) SWIG_AsInt(obj1
);
18375 if (PyErr_Occurred()) SWIG_fail
;
18377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18378 (arg1
)->SetColumn(arg2
);
18380 wxPyEndAllowThreads(__tstate
);
18381 if (PyErr_Occurred()) SWIG_fail
;
18383 Py_INCREF(Py_None
); resultobj
= Py_None
;
18390 static PyObject
*_wrap_ListItem_SetState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18391 PyObject
*resultobj
;
18392 wxListItem
*arg1
= (wxListItem
*) 0 ;
18394 PyObject
* obj0
= 0 ;
18395 PyObject
* obj1
= 0 ;
18396 char *kwnames
[] = {
18397 (char *) "self",(char *) "state", NULL
18400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetState",kwnames
,&obj0
,&obj1
)) goto fail
;
18401 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18402 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18403 arg2
= (long) SWIG_AsLong(obj1
);
18404 if (PyErr_Occurred()) SWIG_fail
;
18406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18407 (arg1
)->SetState(arg2
);
18409 wxPyEndAllowThreads(__tstate
);
18410 if (PyErr_Occurred()) SWIG_fail
;
18412 Py_INCREF(Py_None
); resultobj
= Py_None
;
18419 static PyObject
*_wrap_ListItem_SetStateMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18420 PyObject
*resultobj
;
18421 wxListItem
*arg1
= (wxListItem
*) 0 ;
18423 PyObject
* obj0
= 0 ;
18424 PyObject
* obj1
= 0 ;
18425 char *kwnames
[] = {
18426 (char *) "self",(char *) "stateMask", NULL
18429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetStateMask",kwnames
,&obj0
,&obj1
)) goto fail
;
18430 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18432 arg2
= (long) SWIG_AsLong(obj1
);
18433 if (PyErr_Occurred()) SWIG_fail
;
18435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18436 (arg1
)->SetStateMask(arg2
);
18438 wxPyEndAllowThreads(__tstate
);
18439 if (PyErr_Occurred()) SWIG_fail
;
18441 Py_INCREF(Py_None
); resultobj
= Py_None
;
18448 static PyObject
*_wrap_ListItem_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18449 PyObject
*resultobj
;
18450 wxListItem
*arg1
= (wxListItem
*) 0 ;
18451 wxString
*arg2
= 0 ;
18452 bool temp2
= False
;
18453 PyObject
* obj0
= 0 ;
18454 PyObject
* obj1
= 0 ;
18455 char *kwnames
[] = {
18456 (char *) "self",(char *) "text", NULL
18459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
18460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18463 arg2
= wxString_in_helper(obj1
);
18464 if (arg2
== NULL
) SWIG_fail
;
18468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18469 (arg1
)->SetText((wxString
const &)*arg2
);
18471 wxPyEndAllowThreads(__tstate
);
18472 if (PyErr_Occurred()) SWIG_fail
;
18474 Py_INCREF(Py_None
); resultobj
= Py_None
;
18489 static PyObject
*_wrap_ListItem_SetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18490 PyObject
*resultobj
;
18491 wxListItem
*arg1
= (wxListItem
*) 0 ;
18493 PyObject
* obj0
= 0 ;
18494 PyObject
* obj1
= 0 ;
18495 char *kwnames
[] = {
18496 (char *) "self",(char *) "image", NULL
18499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetImage",kwnames
,&obj0
,&obj1
)) goto fail
;
18500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18502 arg2
= (int) SWIG_AsInt(obj1
);
18503 if (PyErr_Occurred()) SWIG_fail
;
18505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18506 (arg1
)->SetImage(arg2
);
18508 wxPyEndAllowThreads(__tstate
);
18509 if (PyErr_Occurred()) SWIG_fail
;
18511 Py_INCREF(Py_None
); resultobj
= Py_None
;
18518 static PyObject
*_wrap_ListItem_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18519 PyObject
*resultobj
;
18520 wxListItem
*arg1
= (wxListItem
*) 0 ;
18522 PyObject
* obj0
= 0 ;
18523 PyObject
* obj1
= 0 ;
18524 char *kwnames
[] = {
18525 (char *) "self",(char *) "data", NULL
18528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
18529 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18531 arg2
= (long) SWIG_AsLong(obj1
);
18532 if (PyErr_Occurred()) SWIG_fail
;
18534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18535 (arg1
)->SetData(arg2
);
18537 wxPyEndAllowThreads(__tstate
);
18538 if (PyErr_Occurred()) SWIG_fail
;
18540 Py_INCREF(Py_None
); resultobj
= Py_None
;
18547 static PyObject
*_wrap_ListItem_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18548 PyObject
*resultobj
;
18549 wxListItem
*arg1
= (wxListItem
*) 0 ;
18551 PyObject
* obj0
= 0 ;
18552 PyObject
* obj1
= 0 ;
18553 char *kwnames
[] = {
18554 (char *) "self",(char *) "width", NULL
18557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
18558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18560 arg2
= (int) SWIG_AsInt(obj1
);
18561 if (PyErr_Occurred()) SWIG_fail
;
18563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18564 (arg1
)->SetWidth(arg2
);
18566 wxPyEndAllowThreads(__tstate
);
18567 if (PyErr_Occurred()) SWIG_fail
;
18569 Py_INCREF(Py_None
); resultobj
= Py_None
;
18576 static PyObject
*_wrap_ListItem_SetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18577 PyObject
*resultobj
;
18578 wxListItem
*arg1
= (wxListItem
*) 0 ;
18580 PyObject
* obj0
= 0 ;
18581 PyObject
* obj1
= 0 ;
18582 char *kwnames
[] = {
18583 (char *) "self",(char *) "align", NULL
18586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetAlign",kwnames
,&obj0
,&obj1
)) goto fail
;
18587 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18589 arg2
= (wxListColumnFormat
) SWIG_AsInt(obj1
);
18590 if (PyErr_Occurred()) SWIG_fail
;
18592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18593 (arg1
)->SetAlign((wxListColumnFormat
)arg2
);
18595 wxPyEndAllowThreads(__tstate
);
18596 if (PyErr_Occurred()) SWIG_fail
;
18598 Py_INCREF(Py_None
); resultobj
= Py_None
;
18605 static PyObject
*_wrap_ListItem_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18606 PyObject
*resultobj
;
18607 wxListItem
*arg1
= (wxListItem
*) 0 ;
18608 wxColour
*arg2
= 0 ;
18610 PyObject
* obj0
= 0 ;
18611 PyObject
* obj1
= 0 ;
18612 char *kwnames
[] = {
18613 (char *) "self",(char *) "colText", NULL
18616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18617 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18621 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18625 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
18627 wxPyEndAllowThreads(__tstate
);
18628 if (PyErr_Occurred()) SWIG_fail
;
18630 Py_INCREF(Py_None
); resultobj
= Py_None
;
18637 static PyObject
*_wrap_ListItem_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18638 PyObject
*resultobj
;
18639 wxListItem
*arg1
= (wxListItem
*) 0 ;
18640 wxColour
*arg2
= 0 ;
18642 PyObject
* obj0
= 0 ;
18643 PyObject
* obj1
= 0 ;
18644 char *kwnames
[] = {
18645 (char *) "self",(char *) "colBack", NULL
18648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18653 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18657 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
18659 wxPyEndAllowThreads(__tstate
);
18660 if (PyErr_Occurred()) SWIG_fail
;
18662 Py_INCREF(Py_None
); resultobj
= Py_None
;
18669 static PyObject
*_wrap_ListItem_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18670 PyObject
*resultobj
;
18671 wxListItem
*arg1
= (wxListItem
*) 0 ;
18673 PyObject
* obj0
= 0 ;
18674 PyObject
* obj1
= 0 ;
18675 char *kwnames
[] = {
18676 (char *) "self",(char *) "font", NULL
18679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
18680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18682 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
18683 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18685 if (arg2
== NULL
) {
18686 PyErr_SetString(PyExc_TypeError
,"null reference");
18690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18691 (arg1
)->SetFont((wxFont
const &)*arg2
);
18693 wxPyEndAllowThreads(__tstate
);
18694 if (PyErr_Occurred()) SWIG_fail
;
18696 Py_INCREF(Py_None
); resultobj
= Py_None
;
18703 static PyObject
*_wrap_ListItem_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18704 PyObject
*resultobj
;
18705 wxListItem
*arg1
= (wxListItem
*) 0 ;
18707 PyObject
* obj0
= 0 ;
18708 char *kwnames
[] = {
18709 (char *) "self", NULL
18712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetMask",kwnames
,&obj0
)) goto fail
;
18713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18717 result
= (long)(arg1
)->GetMask();
18719 wxPyEndAllowThreads(__tstate
);
18720 if (PyErr_Occurred()) SWIG_fail
;
18722 resultobj
= SWIG_FromLong((long)result
);
18729 static PyObject
*_wrap_ListItem_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18730 PyObject
*resultobj
;
18731 wxListItem
*arg1
= (wxListItem
*) 0 ;
18733 PyObject
* obj0
= 0 ;
18734 char *kwnames
[] = {
18735 (char *) "self", NULL
18738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetId",kwnames
,&obj0
)) goto fail
;
18739 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18743 result
= (long)(arg1
)->GetId();
18745 wxPyEndAllowThreads(__tstate
);
18746 if (PyErr_Occurred()) SWIG_fail
;
18748 resultobj
= SWIG_FromLong((long)result
);
18755 static PyObject
*_wrap_ListItem_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18756 PyObject
*resultobj
;
18757 wxListItem
*arg1
= (wxListItem
*) 0 ;
18759 PyObject
* obj0
= 0 ;
18760 char *kwnames
[] = {
18761 (char *) "self", NULL
18764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetColumn",kwnames
,&obj0
)) goto fail
;
18765 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18769 result
= (int)(arg1
)->GetColumn();
18771 wxPyEndAllowThreads(__tstate
);
18772 if (PyErr_Occurred()) SWIG_fail
;
18774 resultobj
= SWIG_FromInt((int)result
);
18781 static PyObject
*_wrap_ListItem_GetState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18782 PyObject
*resultobj
;
18783 wxListItem
*arg1
= (wxListItem
*) 0 ;
18785 PyObject
* obj0
= 0 ;
18786 char *kwnames
[] = {
18787 (char *) "self", NULL
18790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetState",kwnames
,&obj0
)) goto fail
;
18791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18795 result
= (long)(arg1
)->GetState();
18797 wxPyEndAllowThreads(__tstate
);
18798 if (PyErr_Occurred()) SWIG_fail
;
18800 resultobj
= SWIG_FromLong((long)result
);
18807 static PyObject
*_wrap_ListItem_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18808 PyObject
*resultobj
;
18809 wxListItem
*arg1
= (wxListItem
*) 0 ;
18811 PyObject
* obj0
= 0 ;
18812 char *kwnames
[] = {
18813 (char *) "self", NULL
18816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetText",kwnames
,&obj0
)) goto fail
;
18817 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18822 wxString
const &_result_ref
= (arg1
)->GetText();
18823 result
= (wxString
*) &_result_ref
;
18826 wxPyEndAllowThreads(__tstate
);
18827 if (PyErr_Occurred()) SWIG_fail
;
18831 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18833 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18842 static PyObject
*_wrap_ListItem_GetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18843 PyObject
*resultobj
;
18844 wxListItem
*arg1
= (wxListItem
*) 0 ;
18846 PyObject
* obj0
= 0 ;
18847 char *kwnames
[] = {
18848 (char *) "self", NULL
18851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetImage",kwnames
,&obj0
)) goto fail
;
18852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18856 result
= (int)(arg1
)->GetImage();
18858 wxPyEndAllowThreads(__tstate
);
18859 if (PyErr_Occurred()) SWIG_fail
;
18861 resultobj
= SWIG_FromInt((int)result
);
18868 static PyObject
*_wrap_ListItem_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18869 PyObject
*resultobj
;
18870 wxListItem
*arg1
= (wxListItem
*) 0 ;
18872 PyObject
* obj0
= 0 ;
18873 char *kwnames
[] = {
18874 (char *) "self", NULL
18877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetData",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();
18882 result
= (long)(arg1
)->GetData();
18884 wxPyEndAllowThreads(__tstate
);
18885 if (PyErr_Occurred()) SWIG_fail
;
18887 resultobj
= SWIG_FromLong((long)result
);
18894 static PyObject
*_wrap_ListItem_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18895 PyObject
*resultobj
;
18896 wxListItem
*arg1
= (wxListItem
*) 0 ;
18898 PyObject
* obj0
= 0 ;
18899 char *kwnames
[] = {
18900 (char *) "self", NULL
18903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetWidth",kwnames
,&obj0
)) goto fail
;
18904 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18908 result
= (int)(arg1
)->GetWidth();
18910 wxPyEndAllowThreads(__tstate
);
18911 if (PyErr_Occurred()) SWIG_fail
;
18913 resultobj
= SWIG_FromInt((int)result
);
18920 static PyObject
*_wrap_ListItem_GetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18921 PyObject
*resultobj
;
18922 wxListItem
*arg1
= (wxListItem
*) 0 ;
18924 PyObject
* obj0
= 0 ;
18925 char *kwnames
[] = {
18926 (char *) "self", NULL
18929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAlign",kwnames
,&obj0
)) goto fail
;
18930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18934 result
= (int)(arg1
)->GetAlign();
18936 wxPyEndAllowThreads(__tstate
);
18937 if (PyErr_Occurred()) SWIG_fail
;
18939 resultobj
= SWIG_FromInt((int)result
);
18946 static PyObject
*_wrap_ListItem_GetAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18947 PyObject
*resultobj
;
18948 wxListItem
*arg1
= (wxListItem
*) 0 ;
18949 wxListItemAttr
*result
;
18950 PyObject
* obj0
= 0 ;
18951 char *kwnames
[] = {
18952 (char *) "self", NULL
18955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAttributes",kwnames
,&obj0
)) goto fail
;
18956 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18960 result
= (wxListItemAttr
*)(arg1
)->GetAttributes();
18962 wxPyEndAllowThreads(__tstate
);
18963 if (PyErr_Occurred()) SWIG_fail
;
18965 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 0);
18972 static PyObject
*_wrap_ListItem_HasAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18973 PyObject
*resultobj
;
18974 wxListItem
*arg1
= (wxListItem
*) 0 ;
18976 PyObject
* obj0
= 0 ;
18977 char *kwnames
[] = {
18978 (char *) "self", NULL
18981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_HasAttributes",kwnames
,&obj0
)) goto fail
;
18982 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18983 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18986 result
= (bool)(arg1
)->HasAttributes();
18988 wxPyEndAllowThreads(__tstate
);
18989 if (PyErr_Occurred()) SWIG_fail
;
18992 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19000 static PyObject
*_wrap_ListItem_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19001 PyObject
*resultobj
;
19002 wxListItem
*arg1
= (wxListItem
*) 0 ;
19004 PyObject
* obj0
= 0 ;
19005 char *kwnames
[] = {
19006 (char *) "self", NULL
19009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetTextColour",kwnames
,&obj0
)) goto fail
;
19010 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19011 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19014 result
= ((wxListItem
const *)arg1
)->GetTextColour();
19016 wxPyEndAllowThreads(__tstate
);
19017 if (PyErr_Occurred()) SWIG_fail
;
19020 wxColour
* resultptr
;
19021 resultptr
= new wxColour((wxColour
&) result
);
19022 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
19030 static PyObject
*_wrap_ListItem_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19031 PyObject
*resultobj
;
19032 wxListItem
*arg1
= (wxListItem
*) 0 ;
19034 PyObject
* obj0
= 0 ;
19035 char *kwnames
[] = {
19036 (char *) "self", NULL
19039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
19040 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19044 result
= ((wxListItem
const *)arg1
)->GetBackgroundColour();
19046 wxPyEndAllowThreads(__tstate
);
19047 if (PyErr_Occurred()) SWIG_fail
;
19050 wxColour
* resultptr
;
19051 resultptr
= new wxColour((wxColour
&) result
);
19052 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
19060 static PyObject
*_wrap_ListItem_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19061 PyObject
*resultobj
;
19062 wxListItem
*arg1
= (wxListItem
*) 0 ;
19064 PyObject
* obj0
= 0 ;
19065 char *kwnames
[] = {
19066 (char *) "self", NULL
19069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetFont",kwnames
,&obj0
)) goto fail
;
19070 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19074 result
= ((wxListItem
const *)arg1
)->GetFont();
19076 wxPyEndAllowThreads(__tstate
);
19077 if (PyErr_Occurred()) SWIG_fail
;
19080 wxFont
* resultptr
;
19081 resultptr
= new wxFont((wxFont
&) result
);
19082 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
19090 static PyObject
*_wrap_ListItem_m_mask_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19091 PyObject
*resultobj
;
19092 wxListItem
*arg1
= (wxListItem
*) 0 ;
19094 PyObject
* obj0
= 0 ;
19095 PyObject
* obj1
= 0 ;
19096 char *kwnames
[] = {
19097 (char *) "self",(char *) "m_mask", NULL
19100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_mask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19101 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19103 arg2
= (long) SWIG_AsLong(obj1
);
19104 if (PyErr_Occurred()) SWIG_fail
;
19105 if (arg1
) (arg1
)->m_mask
= arg2
;
19107 Py_INCREF(Py_None
); resultobj
= Py_None
;
19114 static PyObject
*_wrap_ListItem_m_mask_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19115 PyObject
*resultobj
;
19116 wxListItem
*arg1
= (wxListItem
*) 0 ;
19118 PyObject
* obj0
= 0 ;
19119 char *kwnames
[] = {
19120 (char *) "self", NULL
19123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_mask_get",kwnames
,&obj0
)) goto fail
;
19124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19126 result
= (long) ((arg1
)->m_mask
);
19128 resultobj
= SWIG_FromLong((long)result
);
19135 static PyObject
*_wrap_ListItem_m_itemId_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19136 PyObject
*resultobj
;
19137 wxListItem
*arg1
= (wxListItem
*) 0 ;
19139 PyObject
* obj0
= 0 ;
19140 PyObject
* obj1
= 0 ;
19141 char *kwnames
[] = {
19142 (char *) "self",(char *) "m_itemId", NULL
19145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_itemId_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19146 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19148 arg2
= (long) SWIG_AsLong(obj1
);
19149 if (PyErr_Occurred()) SWIG_fail
;
19150 if (arg1
) (arg1
)->m_itemId
= arg2
;
19152 Py_INCREF(Py_None
); resultobj
= Py_None
;
19159 static PyObject
*_wrap_ListItem_m_itemId_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19160 PyObject
*resultobj
;
19161 wxListItem
*arg1
= (wxListItem
*) 0 ;
19163 PyObject
* obj0
= 0 ;
19164 char *kwnames
[] = {
19165 (char *) "self", NULL
19168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_itemId_get",kwnames
,&obj0
)) goto fail
;
19169 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19171 result
= (long) ((arg1
)->m_itemId
);
19173 resultobj
= SWIG_FromLong((long)result
);
19180 static PyObject
*_wrap_ListItem_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19181 PyObject
*resultobj
;
19182 wxListItem
*arg1
= (wxListItem
*) 0 ;
19184 PyObject
* obj0
= 0 ;
19185 PyObject
* obj1
= 0 ;
19186 char *kwnames
[] = {
19187 (char *) "self",(char *) "m_col", NULL
19190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19191 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19193 arg2
= (int) SWIG_AsInt(obj1
);
19194 if (PyErr_Occurred()) SWIG_fail
;
19195 if (arg1
) (arg1
)->m_col
= arg2
;
19197 Py_INCREF(Py_None
); resultobj
= Py_None
;
19204 static PyObject
*_wrap_ListItem_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19205 PyObject
*resultobj
;
19206 wxListItem
*arg1
= (wxListItem
*) 0 ;
19208 PyObject
* obj0
= 0 ;
19209 char *kwnames
[] = {
19210 (char *) "self", NULL
19213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_col_get",kwnames
,&obj0
)) goto fail
;
19214 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19216 result
= (int) ((arg1
)->m_col
);
19218 resultobj
= SWIG_FromInt((int)result
);
19225 static PyObject
*_wrap_ListItem_m_state_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19226 PyObject
*resultobj
;
19227 wxListItem
*arg1
= (wxListItem
*) 0 ;
19229 PyObject
* obj0
= 0 ;
19230 PyObject
* obj1
= 0 ;
19231 char *kwnames
[] = {
19232 (char *) "self",(char *) "m_state", NULL
19235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_state_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19238 arg2
= (long) SWIG_AsLong(obj1
);
19239 if (PyErr_Occurred()) SWIG_fail
;
19240 if (arg1
) (arg1
)->m_state
= arg2
;
19242 Py_INCREF(Py_None
); resultobj
= Py_None
;
19249 static PyObject
*_wrap_ListItem_m_state_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19250 PyObject
*resultobj
;
19251 wxListItem
*arg1
= (wxListItem
*) 0 ;
19253 PyObject
* obj0
= 0 ;
19254 char *kwnames
[] = {
19255 (char *) "self", NULL
19258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_state_get",kwnames
,&obj0
)) goto fail
;
19259 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19260 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19261 result
= (long) ((arg1
)->m_state
);
19263 resultobj
= SWIG_FromLong((long)result
);
19270 static PyObject
*_wrap_ListItem_m_stateMask_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19271 PyObject
*resultobj
;
19272 wxListItem
*arg1
= (wxListItem
*) 0 ;
19274 PyObject
* obj0
= 0 ;
19275 PyObject
* obj1
= 0 ;
19276 char *kwnames
[] = {
19277 (char *) "self",(char *) "m_stateMask", NULL
19280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_stateMask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19281 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19283 arg2
= (long) SWIG_AsLong(obj1
);
19284 if (PyErr_Occurred()) SWIG_fail
;
19285 if (arg1
) (arg1
)->m_stateMask
= arg2
;
19287 Py_INCREF(Py_None
); resultobj
= Py_None
;
19294 static PyObject
*_wrap_ListItem_m_stateMask_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19295 PyObject
*resultobj
;
19296 wxListItem
*arg1
= (wxListItem
*) 0 ;
19298 PyObject
* obj0
= 0 ;
19299 char *kwnames
[] = {
19300 (char *) "self", NULL
19303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_stateMask_get",kwnames
,&obj0
)) goto fail
;
19304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19306 result
= (long) ((arg1
)->m_stateMask
);
19308 resultobj
= SWIG_FromLong((long)result
);
19315 static PyObject
*_wrap_ListItem_m_text_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19316 PyObject
*resultobj
;
19317 wxListItem
*arg1
= (wxListItem
*) 0 ;
19318 wxString
*arg2
= (wxString
*) 0 ;
19319 bool temp2
= False
;
19320 PyObject
* obj0
= 0 ;
19321 PyObject
* obj1
= 0 ;
19322 char *kwnames
[] = {
19323 (char *) "self",(char *) "m_text", NULL
19326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_text_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19327 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19328 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19330 arg2
= wxString_in_helper(obj1
);
19331 if (arg2
== NULL
) SWIG_fail
;
19334 if (arg1
) (arg1
)->m_text
= *arg2
;
19336 Py_INCREF(Py_None
); resultobj
= Py_None
;
19351 static PyObject
*_wrap_ListItem_m_text_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19352 PyObject
*resultobj
;
19353 wxListItem
*arg1
= (wxListItem
*) 0 ;
19355 PyObject
* obj0
= 0 ;
19356 char *kwnames
[] = {
19357 (char *) "self", NULL
19360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_text_get",kwnames
,&obj0
)) goto fail
;
19361 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19363 result
= (wxString
*)& ((arg1
)->m_text
);
19367 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19369 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19378 static PyObject
*_wrap_ListItem_m_image_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19379 PyObject
*resultobj
;
19380 wxListItem
*arg1
= (wxListItem
*) 0 ;
19382 PyObject
* obj0
= 0 ;
19383 PyObject
* obj1
= 0 ;
19384 char *kwnames
[] = {
19385 (char *) "self",(char *) "m_image", NULL
19388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_image_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19391 arg2
= (int) SWIG_AsInt(obj1
);
19392 if (PyErr_Occurred()) SWIG_fail
;
19393 if (arg1
) (arg1
)->m_image
= arg2
;
19395 Py_INCREF(Py_None
); resultobj
= Py_None
;
19402 static PyObject
*_wrap_ListItem_m_image_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19403 PyObject
*resultobj
;
19404 wxListItem
*arg1
= (wxListItem
*) 0 ;
19406 PyObject
* obj0
= 0 ;
19407 char *kwnames
[] = {
19408 (char *) "self", NULL
19411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_image_get",kwnames
,&obj0
)) goto fail
;
19412 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19414 result
= (int) ((arg1
)->m_image
);
19416 resultobj
= SWIG_FromInt((int)result
);
19423 static PyObject
*_wrap_ListItem_m_data_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19424 PyObject
*resultobj
;
19425 wxListItem
*arg1
= (wxListItem
*) 0 ;
19427 PyObject
* obj0
= 0 ;
19428 PyObject
* obj1
= 0 ;
19429 char *kwnames
[] = {
19430 (char *) "self",(char *) "m_data", NULL
19433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_data_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19434 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19436 arg2
= (long) SWIG_AsLong(obj1
);
19437 if (PyErr_Occurred()) SWIG_fail
;
19438 if (arg1
) (arg1
)->m_data
= arg2
;
19440 Py_INCREF(Py_None
); resultobj
= Py_None
;
19447 static PyObject
*_wrap_ListItem_m_data_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19448 PyObject
*resultobj
;
19449 wxListItem
*arg1
= (wxListItem
*) 0 ;
19451 PyObject
* obj0
= 0 ;
19452 char *kwnames
[] = {
19453 (char *) "self", NULL
19456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_data_get",kwnames
,&obj0
)) goto fail
;
19457 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19459 result
= (long) ((arg1
)->m_data
);
19461 resultobj
= SWIG_FromLong((long)result
);
19468 static PyObject
*_wrap_ListItem_m_format_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19469 PyObject
*resultobj
;
19470 wxListItem
*arg1
= (wxListItem
*) 0 ;
19472 PyObject
* obj0
= 0 ;
19473 PyObject
* obj1
= 0 ;
19474 char *kwnames
[] = {
19475 (char *) "self",(char *) "m_format", NULL
19478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_format_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19479 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19480 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19481 arg2
= (int) SWIG_AsInt(obj1
);
19482 if (PyErr_Occurred()) SWIG_fail
;
19483 if (arg1
) (arg1
)->m_format
= arg2
;
19485 Py_INCREF(Py_None
); resultobj
= Py_None
;
19492 static PyObject
*_wrap_ListItem_m_format_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19493 PyObject
*resultobj
;
19494 wxListItem
*arg1
= (wxListItem
*) 0 ;
19496 PyObject
* obj0
= 0 ;
19497 char *kwnames
[] = {
19498 (char *) "self", NULL
19501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_format_get",kwnames
,&obj0
)) goto fail
;
19502 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19503 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19504 result
= (int) ((arg1
)->m_format
);
19506 resultobj
= SWIG_FromInt((int)result
);
19513 static PyObject
*_wrap_ListItem_m_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19514 PyObject
*resultobj
;
19515 wxListItem
*arg1
= (wxListItem
*) 0 ;
19517 PyObject
* obj0
= 0 ;
19518 PyObject
* obj1
= 0 ;
19519 char *kwnames
[] = {
19520 (char *) "self",(char *) "m_width", NULL
19523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19526 arg2
= (int) SWIG_AsInt(obj1
);
19527 if (PyErr_Occurred()) SWIG_fail
;
19528 if (arg1
) (arg1
)->m_width
= arg2
;
19530 Py_INCREF(Py_None
); resultobj
= Py_None
;
19537 static PyObject
*_wrap_ListItem_m_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19538 PyObject
*resultobj
;
19539 wxListItem
*arg1
= (wxListItem
*) 0 ;
19541 PyObject
* obj0
= 0 ;
19542 char *kwnames
[] = {
19543 (char *) "self", NULL
19546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_width_get",kwnames
,&obj0
)) goto fail
;
19547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19549 result
= (int) ((arg1
)->m_width
);
19551 resultobj
= SWIG_FromInt((int)result
);
19558 static PyObject
* ListItem_swigregister(PyObject
*self
, PyObject
*args
) {
19560 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19561 SWIG_TypeClientData(SWIGTYPE_p_wxListItem
, obj
);
19563 return Py_BuildValue((char *)"");
19565 static PyObject
*_wrap_new_ListEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19566 PyObject
*resultobj
;
19567 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19568 int arg2
= (int) 0 ;
19569 wxListEvent
*result
;
19570 PyObject
* obj0
= 0 ;
19571 PyObject
* obj1
= 0 ;
19572 char *kwnames
[] = {
19573 (char *) "commandType",(char *) "id", NULL
19576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ListEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19578 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
19579 if (PyErr_Occurred()) SWIG_fail
;
19582 arg2
= (int) SWIG_AsInt(obj1
);
19583 if (PyErr_Occurred()) SWIG_fail
;
19586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19587 result
= (wxListEvent
*)new wxListEvent(arg1
,arg2
);
19589 wxPyEndAllowThreads(__tstate
);
19590 if (PyErr_Occurred()) SWIG_fail
;
19592 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListEvent
, 1);
19599 static PyObject
*_wrap_ListEvent_m_code_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19600 PyObject
*resultobj
;
19601 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19603 PyObject
* obj0
= 0 ;
19604 PyObject
* obj1
= 0 ;
19605 char *kwnames
[] = {
19606 (char *) "self",(char *) "m_code", NULL
19609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_code_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19610 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19612 arg2
= (int) SWIG_AsInt(obj1
);
19613 if (PyErr_Occurred()) SWIG_fail
;
19614 if (arg1
) (arg1
)->m_code
= arg2
;
19616 Py_INCREF(Py_None
); resultobj
= Py_None
;
19623 static PyObject
*_wrap_ListEvent_m_code_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19624 PyObject
*resultobj
;
19625 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19627 PyObject
* obj0
= 0 ;
19628 char *kwnames
[] = {
19629 (char *) "self", NULL
19632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_code_get",kwnames
,&obj0
)) goto fail
;
19633 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19634 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19635 result
= (int) ((arg1
)->m_code
);
19637 resultobj
= SWIG_FromInt((int)result
);
19644 static PyObject
*_wrap_ListEvent_m_oldItemIndex_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19645 PyObject
*resultobj
;
19646 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19648 PyObject
* obj0
= 0 ;
19649 PyObject
* obj1
= 0 ;
19650 char *kwnames
[] = {
19651 (char *) "self",(char *) "m_oldItemIndex", NULL
19654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_oldItemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19657 arg2
= (long) SWIG_AsLong(obj1
);
19658 if (PyErr_Occurred()) SWIG_fail
;
19659 if (arg1
) (arg1
)->m_oldItemIndex
= arg2
;
19661 Py_INCREF(Py_None
); resultobj
= Py_None
;
19668 static PyObject
*_wrap_ListEvent_m_oldItemIndex_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19669 PyObject
*resultobj
;
19670 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19672 PyObject
* obj0
= 0 ;
19673 char *kwnames
[] = {
19674 (char *) "self", NULL
19677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames
,&obj0
)) goto fail
;
19678 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19679 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19680 result
= (long) ((arg1
)->m_oldItemIndex
);
19682 resultobj
= SWIG_FromLong((long)result
);
19689 static PyObject
*_wrap_ListEvent_m_itemIndex_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19690 PyObject
*resultobj
;
19691 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19693 PyObject
* obj0
= 0 ;
19694 PyObject
* obj1
= 0 ;
19695 char *kwnames
[] = {
19696 (char *) "self",(char *) "m_itemIndex", NULL
19699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_itemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19702 arg2
= (long) SWIG_AsLong(obj1
);
19703 if (PyErr_Occurred()) SWIG_fail
;
19704 if (arg1
) (arg1
)->m_itemIndex
= arg2
;
19706 Py_INCREF(Py_None
); resultobj
= Py_None
;
19713 static PyObject
*_wrap_ListEvent_m_itemIndex_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19714 PyObject
*resultobj
;
19715 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19717 PyObject
* obj0
= 0 ;
19718 char *kwnames
[] = {
19719 (char *) "self", NULL
19722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_itemIndex_get",kwnames
,&obj0
)) goto fail
;
19723 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19724 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19725 result
= (long) ((arg1
)->m_itemIndex
);
19727 resultobj
= SWIG_FromLong((long)result
);
19734 static PyObject
*_wrap_ListEvent_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19735 PyObject
*resultobj
;
19736 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19738 PyObject
* obj0
= 0 ;
19739 PyObject
* obj1
= 0 ;
19740 char *kwnames
[] = {
19741 (char *) "self",(char *) "m_col", NULL
19744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19745 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19747 arg2
= (int) SWIG_AsInt(obj1
);
19748 if (PyErr_Occurred()) SWIG_fail
;
19749 if (arg1
) (arg1
)->m_col
= arg2
;
19751 Py_INCREF(Py_None
); resultobj
= Py_None
;
19758 static PyObject
*_wrap_ListEvent_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19759 PyObject
*resultobj
;
19760 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19762 PyObject
* obj0
= 0 ;
19763 char *kwnames
[] = {
19764 (char *) "self", NULL
19767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_col_get",kwnames
,&obj0
)) goto fail
;
19768 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19770 result
= (int) ((arg1
)->m_col
);
19772 resultobj
= SWIG_FromInt((int)result
);
19779 static PyObject
*_wrap_ListEvent_m_pointDrag_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19780 PyObject
*resultobj
;
19781 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19782 wxPoint
*arg2
= (wxPoint
*) 0 ;
19783 PyObject
* obj0
= 0 ;
19784 PyObject
* obj1
= 0 ;
19785 char *kwnames
[] = {
19786 (char *) "self",(char *) "m_pointDrag", NULL
19789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_pointDrag_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19790 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19792 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPoint
,
19793 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19794 if (arg1
) (arg1
)->m_pointDrag
= *arg2
;
19796 Py_INCREF(Py_None
); resultobj
= Py_None
;
19803 static PyObject
*_wrap_ListEvent_m_pointDrag_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19804 PyObject
*resultobj
;
19805 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19807 PyObject
* obj0
= 0 ;
19808 char *kwnames
[] = {
19809 (char *) "self", NULL
19812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_pointDrag_get",kwnames
,&obj0
)) goto fail
;
19813 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19815 result
= (wxPoint
*)& ((arg1
)->m_pointDrag
);
19817 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
19824 static PyObject
*_wrap_ListEvent_m_item_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19825 PyObject
*resultobj
;
19826 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19827 wxListItem
*result
;
19828 PyObject
* obj0
= 0 ;
19829 char *kwnames
[] = {
19830 (char *) "self", NULL
19833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_item_get",kwnames
,&obj0
)) goto fail
;
19834 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19836 result
= (wxListItem
*)& ((arg1
)->m_item
);
19839 resultobj
= wxPyMake_wxObject(result
);
19847 static PyObject
*_wrap_ListEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19848 PyObject
*resultobj
;
19849 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19851 PyObject
* obj0
= 0 ;
19852 char *kwnames
[] = {
19853 (char *) "self", NULL
19856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
19857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19861 result
= (int)(arg1
)->GetKeyCode();
19863 wxPyEndAllowThreads(__tstate
);
19864 if (PyErr_Occurred()) SWIG_fail
;
19866 resultobj
= SWIG_FromInt((int)result
);
19873 static PyObject
*_wrap_ListEvent_GetIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19874 PyObject
*resultobj
;
19875 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19877 PyObject
* obj0
= 0 ;
19878 char *kwnames
[] = {
19879 (char *) "self", NULL
19882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetIndex",kwnames
,&obj0
)) goto fail
;
19883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19887 result
= (long)(arg1
)->GetIndex();
19889 wxPyEndAllowThreads(__tstate
);
19890 if (PyErr_Occurred()) SWIG_fail
;
19892 resultobj
= SWIG_FromLong((long)result
);
19899 static PyObject
*_wrap_ListEvent_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19900 PyObject
*resultobj
;
19901 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19903 PyObject
* obj0
= 0 ;
19904 char *kwnames
[] = {
19905 (char *) "self", NULL
19908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetColumn",kwnames
,&obj0
)) goto fail
;
19909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19913 result
= (int)(arg1
)->GetColumn();
19915 wxPyEndAllowThreads(__tstate
);
19916 if (PyErr_Occurred()) SWIG_fail
;
19918 resultobj
= SWIG_FromInt((int)result
);
19925 static PyObject
*_wrap_ListEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19926 PyObject
*resultobj
;
19927 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19929 PyObject
* obj0
= 0 ;
19930 char *kwnames
[] = {
19931 (char *) "self", NULL
19934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
19935 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19936 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19939 result
= (arg1
)->GetPoint();
19941 wxPyEndAllowThreads(__tstate
);
19942 if (PyErr_Occurred()) SWIG_fail
;
19945 wxPoint
* resultptr
;
19946 resultptr
= new wxPoint((wxPoint
&) result
);
19947 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
19955 static PyObject
*_wrap_ListEvent_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19956 PyObject
*resultobj
;
19957 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19959 PyObject
* obj0
= 0 ;
19960 char *kwnames
[] = {
19961 (char *) "self", NULL
19964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
19965 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19970 wxString
const &_result_ref
= (arg1
)->GetLabel();
19971 result
= (wxString
*) &_result_ref
;
19974 wxPyEndAllowThreads(__tstate
);
19975 if (PyErr_Occurred()) SWIG_fail
;
19979 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19981 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19990 static PyObject
*_wrap_ListEvent_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19991 PyObject
*resultobj
;
19992 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19994 PyObject
* obj0
= 0 ;
19995 char *kwnames
[] = {
19996 (char *) "self", NULL
19999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetText",kwnames
,&obj0
)) goto fail
;
20000 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20001 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20005 wxString
const &_result_ref
= (arg1
)->GetText();
20006 result
= (wxString
*) &_result_ref
;
20009 wxPyEndAllowThreads(__tstate
);
20010 if (PyErr_Occurred()) SWIG_fail
;
20014 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20016 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20025 static PyObject
*_wrap_ListEvent_GetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20026 PyObject
*resultobj
;
20027 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20029 PyObject
* obj0
= 0 ;
20030 char *kwnames
[] = {
20031 (char *) "self", NULL
20034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetImage",kwnames
,&obj0
)) goto fail
;
20035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20039 result
= (int)(arg1
)->GetImage();
20041 wxPyEndAllowThreads(__tstate
);
20042 if (PyErr_Occurred()) SWIG_fail
;
20044 resultobj
= SWIG_FromInt((int)result
);
20051 static PyObject
*_wrap_ListEvent_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20052 PyObject
*resultobj
;
20053 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20055 PyObject
* obj0
= 0 ;
20056 char *kwnames
[] = {
20057 (char *) "self", NULL
20060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetData",kwnames
,&obj0
)) goto fail
;
20061 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20065 result
= (long)(arg1
)->GetData();
20067 wxPyEndAllowThreads(__tstate
);
20068 if (PyErr_Occurred()) SWIG_fail
;
20070 resultobj
= SWIG_FromLong((long)result
);
20077 static PyObject
*_wrap_ListEvent_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20078 PyObject
*resultobj
;
20079 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20081 PyObject
* obj0
= 0 ;
20082 char *kwnames
[] = {
20083 (char *) "self", NULL
20086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetMask",kwnames
,&obj0
)) goto fail
;
20087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20091 result
= (long)(arg1
)->GetMask();
20093 wxPyEndAllowThreads(__tstate
);
20094 if (PyErr_Occurred()) SWIG_fail
;
20096 resultobj
= SWIG_FromLong((long)result
);
20103 static PyObject
*_wrap_ListEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20104 PyObject
*resultobj
;
20105 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20106 wxListItem
*result
;
20107 PyObject
* obj0
= 0 ;
20108 char *kwnames
[] = {
20109 (char *) "self", NULL
20112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetItem",kwnames
,&obj0
)) goto fail
;
20113 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20118 wxListItem
const &_result_ref
= (arg1
)->GetItem();
20119 result
= (wxListItem
*) &_result_ref
;
20122 wxPyEndAllowThreads(__tstate
);
20123 if (PyErr_Occurred()) SWIG_fail
;
20125 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItem
, 0);
20132 static PyObject
*_wrap_ListEvent_GetCacheFrom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20133 PyObject
*resultobj
;
20134 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20136 PyObject
* obj0
= 0 ;
20137 char *kwnames
[] = {
20138 (char *) "self", NULL
20141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheFrom",kwnames
,&obj0
)) goto fail
;
20142 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20146 result
= (long)(arg1
)->GetCacheFrom();
20148 wxPyEndAllowThreads(__tstate
);
20149 if (PyErr_Occurred()) SWIG_fail
;
20151 resultobj
= SWIG_FromLong((long)result
);
20158 static PyObject
*_wrap_ListEvent_GetCacheTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20159 PyObject
*resultobj
;
20160 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20162 PyObject
* obj0
= 0 ;
20163 char *kwnames
[] = {
20164 (char *) "self", NULL
20167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheTo",kwnames
,&obj0
)) goto fail
;
20168 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20172 result
= (long)(arg1
)->GetCacheTo();
20174 wxPyEndAllowThreads(__tstate
);
20175 if (PyErr_Occurred()) SWIG_fail
;
20177 resultobj
= SWIG_FromLong((long)result
);
20184 static PyObject
*_wrap_ListEvent_IsEditCancelled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20185 PyObject
*resultobj
;
20186 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20188 PyObject
* obj0
= 0 ;
20189 char *kwnames
[] = {
20190 (char *) "self", NULL
20193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
20194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20198 result
= (bool)((wxListEvent
const *)arg1
)->IsEditCancelled();
20200 wxPyEndAllowThreads(__tstate
);
20201 if (PyErr_Occurred()) SWIG_fail
;
20204 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20212 static PyObject
*_wrap_ListEvent_SetEditCanceled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20213 PyObject
*resultobj
;
20214 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20216 PyObject
* obj0
= 0 ;
20217 PyObject
* obj1
= 0 ;
20218 char *kwnames
[] = {
20219 (char *) "self",(char *) "editCancelled", NULL
20222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
20223 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20225 arg2
= (bool) SWIG_AsBool(obj1
);
20226 if (PyErr_Occurred()) SWIG_fail
;
20228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20229 (arg1
)->SetEditCanceled(arg2
);
20231 wxPyEndAllowThreads(__tstate
);
20232 if (PyErr_Occurred()) SWIG_fail
;
20234 Py_INCREF(Py_None
); resultobj
= Py_None
;
20241 static PyObject
* ListEvent_swigregister(PyObject
*self
, PyObject
*args
) {
20243 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20244 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent
, obj
);
20246 return Py_BuildValue((char *)"");
20248 static PyObject
*_wrap_new_ListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20249 PyObject
*resultobj
;
20250 wxWindow
*arg1
= (wxWindow
*) 0 ;
20251 int arg2
= (int) -1 ;
20252 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
20253 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
20254 wxSize
const &arg4_defvalue
= wxDefaultSize
;
20255 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
20256 long arg5
= (long) wxLC_ICON
;
20257 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
20258 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
20259 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
20260 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20261 wxPyListCtrl
*result
;
20264 bool temp7
= False
;
20265 PyObject
* obj0
= 0 ;
20266 PyObject
* obj1
= 0 ;
20267 PyObject
* obj2
= 0 ;
20268 PyObject
* obj3
= 0 ;
20269 PyObject
* obj4
= 0 ;
20270 PyObject
* obj5
= 0 ;
20271 PyObject
* obj6
= 0 ;
20272 char *kwnames
[] = {
20273 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
20276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
20277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
20278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20280 arg2
= (int) SWIG_AsInt(obj1
);
20281 if (PyErr_Occurred()) SWIG_fail
;
20286 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20292 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
20296 arg5
= (long) SWIG_AsLong(obj4
);
20297 if (PyErr_Occurred()) SWIG_fail
;
20300 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
20301 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20303 if (arg6
== NULL
) {
20304 PyErr_SetString(PyExc_TypeError
,"null reference");
20310 arg7
= wxString_in_helper(obj6
);
20311 if (arg7
== NULL
) SWIG_fail
;
20316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20317 result
= (wxPyListCtrl
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
20319 wxPyEndAllowThreads(__tstate
);
20320 if (PyErr_Occurred()) SWIG_fail
;
20322 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1);
20337 static PyObject
*_wrap_new_PreListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20338 PyObject
*resultobj
;
20339 wxPyListCtrl
*result
;
20340 char *kwnames
[] = {
20344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListCtrl",kwnames
)) goto fail
;
20346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20347 result
= (wxPyListCtrl
*)new wxPyListCtrl();
20349 wxPyEndAllowThreads(__tstate
);
20350 if (PyErr_Occurred()) SWIG_fail
;
20352 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1);
20359 static PyObject
*_wrap_ListCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20360 PyObject
*resultobj
;
20361 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20362 wxWindow
*arg2
= (wxWindow
*) 0 ;
20363 int arg3
= (int) -1 ;
20364 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20365 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20366 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20367 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20368 long arg6
= (long) wxLC_ICON
;
20369 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
20370 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
20371 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
20372 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
20376 bool temp8
= False
;
20377 PyObject
* obj0
= 0 ;
20378 PyObject
* obj1
= 0 ;
20379 PyObject
* obj2
= 0 ;
20380 PyObject
* obj3
= 0 ;
20381 PyObject
* obj4
= 0 ;
20382 PyObject
* obj5
= 0 ;
20383 PyObject
* obj6
= 0 ;
20384 PyObject
* obj7
= 0 ;
20385 char *kwnames
[] = {
20386 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
20389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
20390 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20392 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
20393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20395 arg3
= (int) SWIG_AsInt(obj2
);
20396 if (PyErr_Occurred()) SWIG_fail
;
20401 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20407 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20411 arg6
= (long) SWIG_AsLong(obj5
);
20412 if (PyErr_Occurred()) SWIG_fail
;
20415 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
20416 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20418 if (arg7
== NULL
) {
20419 PyErr_SetString(PyExc_TypeError
,"null reference");
20425 arg8
= wxString_in_helper(obj7
);
20426 if (arg8
== NULL
) SWIG_fail
;
20431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20432 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
20434 wxPyEndAllowThreads(__tstate
);
20435 if (PyErr_Occurred()) SWIG_fail
;
20438 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20454 static PyObject
*_wrap_ListCtrl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20455 PyObject
*resultobj
;
20456 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20457 PyObject
*arg2
= (PyObject
*) 0 ;
20458 PyObject
*arg3
= (PyObject
*) 0 ;
20459 PyObject
* obj0
= 0 ;
20460 PyObject
* obj1
= 0 ;
20461 PyObject
* obj2
= 0 ;
20462 char *kwnames
[] = {
20463 (char *) "self",(char *) "self",(char *) "_class", NULL
20466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20473 (arg1
)->_setCallbackInfo(arg2
,arg3
);
20475 wxPyEndAllowThreads(__tstate
);
20476 if (PyErr_Occurred()) SWIG_fail
;
20478 Py_INCREF(Py_None
); resultobj
= Py_None
;
20485 static PyObject
*_wrap_ListCtrl_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20486 PyObject
*resultobj
;
20487 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20488 wxColour
*arg2
= 0 ;
20491 PyObject
* obj0
= 0 ;
20492 PyObject
* obj1
= 0 ;
20493 char *kwnames
[] = {
20494 (char *) "self",(char *) "col", NULL
20497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
20498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20502 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
20505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20506 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
20508 wxPyEndAllowThreads(__tstate
);
20509 if (PyErr_Occurred()) SWIG_fail
;
20512 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20520 static PyObject
*_wrap_ListCtrl_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20521 PyObject
*resultobj
;
20522 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20523 wxColour
*arg2
= 0 ;
20526 PyObject
* obj0
= 0 ;
20527 PyObject
* obj1
= 0 ;
20528 char *kwnames
[] = {
20529 (char *) "self",(char *) "col", NULL
20532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
20533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20537 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
20540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20541 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
20543 wxPyEndAllowThreads(__tstate
);
20544 if (PyErr_Occurred()) SWIG_fail
;
20547 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20555 static PyObject
*_wrap_ListCtrl_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20556 PyObject
*resultobj
;
20557 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20559 wxListItem
*result
;
20560 PyObject
* obj0
= 0 ;
20561 PyObject
* obj1
= 0 ;
20562 char *kwnames
[] = {
20563 (char *) "self",(char *) "col", NULL
20566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
20567 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20568 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20569 arg2
= (int) SWIG_AsInt(obj1
);
20570 if (PyErr_Occurred()) SWIG_fail
;
20572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20573 result
= (wxListItem
*)wxPyListCtrl_GetColumn(arg1
,arg2
);
20575 wxPyEndAllowThreads(__tstate
);
20576 if (PyErr_Occurred()) SWIG_fail
;
20579 resultobj
= wxPyMake_wxObject(result
);
20587 static PyObject
*_wrap_ListCtrl_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20588 PyObject
*resultobj
;
20589 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20591 wxListItem
*arg3
= 0 ;
20593 PyObject
* obj0
= 0 ;
20594 PyObject
* obj1
= 0 ;
20595 PyObject
* obj2
= 0 ;
20596 char *kwnames
[] = {
20597 (char *) "self",(char *) "col",(char *) "item", NULL
20600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumn",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20601 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20602 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20603 arg2
= (int) SWIG_AsInt(obj1
);
20604 if (PyErr_Occurred()) SWIG_fail
;
20605 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxListItem
,
20606 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20608 if (arg3
== NULL
) {
20609 PyErr_SetString(PyExc_TypeError
,"null reference");
20613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20614 result
= (bool)(arg1
)->SetColumn(arg2
,*arg3
);
20616 wxPyEndAllowThreads(__tstate
);
20617 if (PyErr_Occurred()) SWIG_fail
;
20620 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20628 static PyObject
*_wrap_ListCtrl_GetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20629 PyObject
*resultobj
;
20630 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20633 PyObject
* obj0
= 0 ;
20634 PyObject
* obj1
= 0 ;
20635 char *kwnames
[] = {
20636 (char *) "self",(char *) "col", NULL
20639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
20640 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20641 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20642 arg2
= (int) SWIG_AsInt(obj1
);
20643 if (PyErr_Occurred()) SWIG_fail
;
20645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20646 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
20648 wxPyEndAllowThreads(__tstate
);
20649 if (PyErr_Occurred()) SWIG_fail
;
20651 resultobj
= SWIG_FromInt((int)result
);
20658 static PyObject
*_wrap_ListCtrl_SetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20659 PyObject
*resultobj
;
20660 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20664 PyObject
* obj0
= 0 ;
20665 PyObject
* obj1
= 0 ;
20666 PyObject
* obj2
= 0 ;
20667 char *kwnames
[] = {
20668 (char *) "self",(char *) "col",(char *) "width", NULL
20671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20674 arg2
= (int) SWIG_AsInt(obj1
);
20675 if (PyErr_Occurred()) SWIG_fail
;
20676 arg3
= (int) SWIG_AsInt(obj2
);
20677 if (PyErr_Occurred()) SWIG_fail
;
20679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20680 result
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
);
20682 wxPyEndAllowThreads(__tstate
);
20683 if (PyErr_Occurred()) SWIG_fail
;
20686 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20694 static PyObject
*_wrap_ListCtrl_GetCountPerPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20695 PyObject
*resultobj
;
20696 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20698 PyObject
* obj0
= 0 ;
20699 char *kwnames
[] = {
20700 (char *) "self", NULL
20703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetCountPerPage",kwnames
,&obj0
)) goto fail
;
20704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20708 result
= (int)((wxPyListCtrl
const *)arg1
)->GetCountPerPage();
20710 wxPyEndAllowThreads(__tstate
);
20711 if (PyErr_Occurred()) SWIG_fail
;
20713 resultobj
= SWIG_FromInt((int)result
);
20720 static PyObject
*_wrap_ListCtrl_GetViewRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20721 PyObject
*resultobj
;
20722 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20724 PyObject
* obj0
= 0 ;
20725 char *kwnames
[] = {
20726 (char *) "self", NULL
20729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetViewRect",kwnames
,&obj0
)) goto fail
;
20730 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20734 result
= ((wxPyListCtrl
const *)arg1
)->GetViewRect();
20736 wxPyEndAllowThreads(__tstate
);
20737 if (PyErr_Occurred()) SWIG_fail
;
20740 wxRect
* resultptr
;
20741 resultptr
= new wxRect((wxRect
&) result
);
20742 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
20750 static PyObject
*_wrap_ListCtrl_GetEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20751 PyObject
*resultobj
;
20752 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20753 wxTextCtrl
*result
;
20754 PyObject
* obj0
= 0 ;
20755 char *kwnames
[] = {
20756 (char *) "self", NULL
20759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetEditControl",kwnames
,&obj0
)) goto fail
;
20760 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20764 result
= (wxTextCtrl
*)((wxPyListCtrl
const *)arg1
)->GetEditControl();
20766 wxPyEndAllowThreads(__tstate
);
20767 if (PyErr_Occurred()) SWIG_fail
;
20770 resultobj
= wxPyMake_wxObject(result
);
20778 static PyObject
*_wrap_ListCtrl_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20779 PyObject
*resultobj
;
20780 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20782 int arg3
= (int) 0 ;
20783 wxListItem
*result
;
20784 PyObject
* obj0
= 0 ;
20785 PyObject
* obj1
= 0 ;
20786 PyObject
* obj2
= 0 ;
20787 char *kwnames
[] = {
20788 (char *) "self",(char *) "itemId",(char *) "col", NULL
20791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20792 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20793 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20794 arg2
= (long) SWIG_AsLong(obj1
);
20795 if (PyErr_Occurred()) SWIG_fail
;
20797 arg3
= (int) SWIG_AsInt(obj2
);
20798 if (PyErr_Occurred()) SWIG_fail
;
20801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20802 result
= (wxListItem
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
);
20804 wxPyEndAllowThreads(__tstate
);
20805 if (PyErr_Occurred()) SWIG_fail
;
20808 resultobj
= wxPyMake_wxObject(result
);
20816 static PyObject
*_wrap_ListCtrl_SetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20817 PyObject
*resultobj
;
20818 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20819 wxListItem
*arg2
= 0 ;
20821 PyObject
* obj0
= 0 ;
20822 PyObject
* obj1
= 0 ;
20823 char *kwnames
[] = {
20824 (char *) "self",(char *) "info", NULL
20827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
20828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20830 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxListItem
,
20831 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20833 if (arg2
== NULL
) {
20834 PyErr_SetString(PyExc_TypeError
,"null reference");
20838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20839 result
= (bool)(arg1
)->SetItem(*arg2
);
20841 wxPyEndAllowThreads(__tstate
);
20842 if (PyErr_Occurred()) SWIG_fail
;
20845 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20853 static PyObject
*_wrap_ListCtrl_SetStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20854 PyObject
*resultobj
;
20855 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20858 wxString
*arg4
= 0 ;
20859 int arg5
= (int) -1 ;
20861 bool temp4
= False
;
20862 PyObject
* obj0
= 0 ;
20863 PyObject
* obj1
= 0 ;
20864 PyObject
* obj2
= 0 ;
20865 PyObject
* obj3
= 0 ;
20866 PyObject
* obj4
= 0 ;
20867 char *kwnames
[] = {
20868 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
20871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
20872 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20873 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20874 arg2
= (long) SWIG_AsLong(obj1
);
20875 if (PyErr_Occurred()) SWIG_fail
;
20876 arg3
= (int) SWIG_AsInt(obj2
);
20877 if (PyErr_Occurred()) SWIG_fail
;
20879 arg4
= wxString_in_helper(obj3
);
20880 if (arg4
== NULL
) SWIG_fail
;
20884 arg5
= (int) SWIG_AsInt(obj4
);
20885 if (PyErr_Occurred()) SWIG_fail
;
20888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20889 result
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
20891 wxPyEndAllowThreads(__tstate
);
20892 if (PyErr_Occurred()) SWIG_fail
;
20894 resultobj
= SWIG_FromLong((long)result
);
20909 static PyObject
*_wrap_ListCtrl_GetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20910 PyObject
*resultobj
;
20911 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20915 PyObject
* obj0
= 0 ;
20916 PyObject
* obj1
= 0 ;
20917 PyObject
* obj2
= 0 ;
20918 char *kwnames
[] = {
20919 (char *) "self",(char *) "item",(char *) "stateMask", NULL
20922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_GetItemState",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20925 arg2
= (long) SWIG_AsLong(obj1
);
20926 if (PyErr_Occurred()) SWIG_fail
;
20927 arg3
= (long) SWIG_AsLong(obj2
);
20928 if (PyErr_Occurred()) SWIG_fail
;
20930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20931 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemState(arg2
,arg3
);
20933 wxPyEndAllowThreads(__tstate
);
20934 if (PyErr_Occurred()) SWIG_fail
;
20936 resultobj
= SWIG_FromInt((int)result
);
20943 static PyObject
*_wrap_ListCtrl_SetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20944 PyObject
*resultobj
;
20945 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20950 PyObject
* obj0
= 0 ;
20951 PyObject
* obj1
= 0 ;
20952 PyObject
* obj2
= 0 ;
20953 PyObject
* obj3
= 0 ;
20954 char *kwnames
[] = {
20955 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
20958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemState",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20959 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20961 arg2
= (long) SWIG_AsLong(obj1
);
20962 if (PyErr_Occurred()) SWIG_fail
;
20963 arg3
= (long) SWIG_AsLong(obj2
);
20964 if (PyErr_Occurred()) SWIG_fail
;
20965 arg4
= (long) SWIG_AsLong(obj3
);
20966 if (PyErr_Occurred()) SWIG_fail
;
20968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20969 result
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
);
20971 wxPyEndAllowThreads(__tstate
);
20972 if (PyErr_Occurred()) SWIG_fail
;
20975 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20983 static PyObject
*_wrap_ListCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20984 PyObject
*resultobj
;
20985 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20990 PyObject
* obj0
= 0 ;
20991 PyObject
* obj1
= 0 ;
20992 PyObject
* obj2
= 0 ;
20993 PyObject
* obj3
= 0 ;
20994 char *kwnames
[] = {
20995 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
20998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21001 arg2
= (long) SWIG_AsLong(obj1
);
21002 if (PyErr_Occurred()) SWIG_fail
;
21003 arg3
= (int) SWIG_AsInt(obj2
);
21004 if (PyErr_Occurred()) SWIG_fail
;
21005 arg4
= (int) SWIG_AsInt(obj3
);
21006 if (PyErr_Occurred()) SWIG_fail
;
21008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21009 result
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
);
21011 wxPyEndAllowThreads(__tstate
);
21012 if (PyErr_Occurred()) SWIG_fail
;
21015 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21023 static PyObject
*_wrap_ListCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21024 PyObject
*resultobj
;
21025 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21028 PyObject
* obj0
= 0 ;
21029 PyObject
* obj1
= 0 ;
21030 char *kwnames
[] = {
21031 (char *) "self",(char *) "item", NULL
21034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
21035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21037 arg2
= (long) SWIG_AsLong(obj1
);
21038 if (PyErr_Occurred()) SWIG_fail
;
21040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21041 result
= ((wxPyListCtrl
const *)arg1
)->GetItemText(arg2
);
21043 wxPyEndAllowThreads(__tstate
);
21044 if (PyErr_Occurred()) SWIG_fail
;
21048 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21050 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21059 static PyObject
*_wrap_ListCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21060 PyObject
*resultobj
;
21061 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21063 wxString
*arg3
= 0 ;
21064 bool temp3
= False
;
21065 PyObject
* obj0
= 0 ;
21066 PyObject
* obj1
= 0 ;
21067 PyObject
* obj2
= 0 ;
21068 char *kwnames
[] = {
21069 (char *) "self",(char *) "item",(char *) "str", NULL
21072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21073 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21075 arg2
= (long) SWIG_AsLong(obj1
);
21076 if (PyErr_Occurred()) SWIG_fail
;
21078 arg3
= wxString_in_helper(obj2
);
21079 if (arg3
== NULL
) SWIG_fail
;
21083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21084 (arg1
)->SetItemText(arg2
,(wxString
const &)*arg3
);
21086 wxPyEndAllowThreads(__tstate
);
21087 if (PyErr_Occurred()) SWIG_fail
;
21089 Py_INCREF(Py_None
); resultobj
= Py_None
;
21104 static PyObject
*_wrap_ListCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21105 PyObject
*resultobj
;
21106 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21109 PyObject
* obj0
= 0 ;
21110 PyObject
* obj1
= 0 ;
21111 char *kwnames
[] = {
21112 (char *) "self",(char *) "item", NULL
21115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
21116 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21118 arg2
= (long) SWIG_AsLong(obj1
);
21119 if (PyErr_Occurred()) SWIG_fail
;
21121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21122 result
= (long)((wxPyListCtrl
const *)arg1
)->GetItemData(arg2
);
21124 wxPyEndAllowThreads(__tstate
);
21125 if (PyErr_Occurred()) SWIG_fail
;
21127 resultobj
= SWIG_FromLong((long)result
);
21134 static PyObject
*_wrap_ListCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21135 PyObject
*resultobj
;
21136 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21140 PyObject
* obj0
= 0 ;
21141 PyObject
* obj1
= 0 ;
21142 PyObject
* obj2
= 0 ;
21143 char *kwnames
[] = {
21144 (char *) "self",(char *) "item",(char *) "data", NULL
21147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21148 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21150 arg2
= (long) SWIG_AsLong(obj1
);
21151 if (PyErr_Occurred()) SWIG_fail
;
21152 arg3
= (long) SWIG_AsLong(obj2
);
21153 if (PyErr_Occurred()) SWIG_fail
;
21155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21156 result
= (bool)(arg1
)->SetItemData(arg2
,arg3
);
21158 wxPyEndAllowThreads(__tstate
);
21159 if (PyErr_Occurred()) SWIG_fail
;
21162 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21170 static PyObject
*_wrap_ListCtrl_GetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21171 PyObject
*resultobj
;
21172 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21175 PyObject
* obj0
= 0 ;
21176 PyObject
* obj1
= 0 ;
21177 char *kwnames
[] = {
21178 (char *) "self",(char *) "item", NULL
21181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
21182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21184 arg2
= (long) SWIG_AsLong(obj1
);
21185 if (PyErr_Occurred()) SWIG_fail
;
21187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21188 result
= wxPyListCtrl_GetItemPosition(arg1
,arg2
);
21190 wxPyEndAllowThreads(__tstate
);
21191 if (PyErr_Occurred()) SWIG_fail
;
21194 wxPoint
* resultptr
;
21195 resultptr
= new wxPoint((wxPoint
&) result
);
21196 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
21204 static PyObject
*_wrap_ListCtrl_GetItemRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21205 PyObject
*resultobj
;
21206 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21208 int arg3
= (int) wxLIST_RECT_BOUNDS
;
21210 PyObject
* obj0
= 0 ;
21211 PyObject
* obj1
= 0 ;
21212 PyObject
* obj2
= 0 ;
21213 char *kwnames
[] = {
21214 (char *) "self",(char *) "item",(char *) "code", NULL
21217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItemRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21220 arg2
= (long) SWIG_AsLong(obj1
);
21221 if (PyErr_Occurred()) SWIG_fail
;
21223 arg3
= (int) SWIG_AsInt(obj2
);
21224 if (PyErr_Occurred()) SWIG_fail
;
21227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21228 result
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
);
21230 wxPyEndAllowThreads(__tstate
);
21231 if (PyErr_Occurred()) SWIG_fail
;
21234 wxRect
* resultptr
;
21235 resultptr
= new wxRect((wxRect
&) result
);
21236 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
21244 static PyObject
*_wrap_ListCtrl_SetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21245 PyObject
*resultobj
;
21246 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21248 wxPoint
*arg3
= 0 ;
21251 PyObject
* obj0
= 0 ;
21252 PyObject
* obj1
= 0 ;
21253 PyObject
* obj2
= 0 ;
21254 char *kwnames
[] = {
21255 (char *) "self",(char *) "item",(char *) "pos", NULL
21258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21259 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21260 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21261 arg2
= (long) SWIG_AsLong(obj1
);
21262 if (PyErr_Occurred()) SWIG_fail
;
21265 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21269 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint
const &)*arg3
);
21271 wxPyEndAllowThreads(__tstate
);
21272 if (PyErr_Occurred()) SWIG_fail
;
21275 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21283 static PyObject
*_wrap_ListCtrl_GetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21284 PyObject
*resultobj
;
21285 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21287 PyObject
* obj0
= 0 ;
21288 char *kwnames
[] = {
21289 (char *) "self", NULL
21292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemCount",kwnames
,&obj0
)) goto fail
;
21293 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21294 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21297 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemCount();
21299 wxPyEndAllowThreads(__tstate
);
21300 if (PyErr_Occurred()) SWIG_fail
;
21302 resultobj
= SWIG_FromInt((int)result
);
21309 static PyObject
*_wrap_ListCtrl_GetColumnCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21310 PyObject
*resultobj
;
21311 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21313 PyObject
* obj0
= 0 ;
21314 char *kwnames
[] = {
21315 (char *) "self", NULL
21318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetColumnCount",kwnames
,&obj0
)) goto fail
;
21319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21323 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnCount();
21325 wxPyEndAllowThreads(__tstate
);
21326 if (PyErr_Occurred()) SWIG_fail
;
21328 resultobj
= SWIG_FromInt((int)result
);
21335 static PyObject
*_wrap_ListCtrl_GetItemSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21336 PyObject
*resultobj
;
21337 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21339 PyObject
* obj0
= 0 ;
21340 char *kwnames
[] = {
21341 (char *) "self", NULL
21344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemSpacing",kwnames
,&obj0
)) goto fail
;
21345 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21349 result
= ((wxPyListCtrl
const *)arg1
)->GetItemSpacing();
21351 wxPyEndAllowThreads(__tstate
);
21352 if (PyErr_Occurred()) SWIG_fail
;
21355 wxSize
* resultptr
;
21356 resultptr
= new wxSize((wxSize
&) result
);
21357 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
21365 static PyObject
*_wrap_ListCtrl_GetSelectedItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21366 PyObject
*resultobj
;
21367 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21369 PyObject
* obj0
= 0 ;
21370 char *kwnames
[] = {
21371 (char *) "self", NULL
21374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames
,&obj0
)) goto fail
;
21375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21379 result
= (int)((wxPyListCtrl
const *)arg1
)->GetSelectedItemCount();
21381 wxPyEndAllowThreads(__tstate
);
21382 if (PyErr_Occurred()) SWIG_fail
;
21384 resultobj
= SWIG_FromInt((int)result
);
21391 static PyObject
*_wrap_ListCtrl_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21392 PyObject
*resultobj
;
21393 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21395 PyObject
* obj0
= 0 ;
21396 char *kwnames
[] = {
21397 (char *) "self", NULL
21400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTextColour",kwnames
,&obj0
)) goto fail
;
21401 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21402 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21405 result
= ((wxPyListCtrl
const *)arg1
)->GetTextColour();
21407 wxPyEndAllowThreads(__tstate
);
21408 if (PyErr_Occurred()) SWIG_fail
;
21411 wxColour
* resultptr
;
21412 resultptr
= new wxColour((wxColour
&) result
);
21413 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
21421 static PyObject
*_wrap_ListCtrl_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21422 PyObject
*resultobj
;
21423 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21424 wxColour
*arg2
= 0 ;
21426 PyObject
* obj0
= 0 ;
21427 PyObject
* obj1
= 0 ;
21428 char *kwnames
[] = {
21429 (char *) "self",(char *) "col", NULL
21432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21437 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21441 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
21443 wxPyEndAllowThreads(__tstate
);
21444 if (PyErr_Occurred()) SWIG_fail
;
21446 Py_INCREF(Py_None
); resultobj
= Py_None
;
21453 static PyObject
*_wrap_ListCtrl_GetTopItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21454 PyObject
*resultobj
;
21455 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21457 PyObject
* obj0
= 0 ;
21458 char *kwnames
[] = {
21459 (char *) "self", NULL
21462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTopItem",kwnames
,&obj0
)) goto fail
;
21463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21467 result
= (long)((wxPyListCtrl
const *)arg1
)->GetTopItem();
21469 wxPyEndAllowThreads(__tstate
);
21470 if (PyErr_Occurred()) SWIG_fail
;
21472 resultobj
= SWIG_FromLong((long)result
);
21479 static PyObject
*_wrap_ListCtrl_SetSingleStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21480 PyObject
*resultobj
;
21481 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21483 bool arg3
= (bool) True
;
21484 PyObject
* obj0
= 0 ;
21485 PyObject
* obj1
= 0 ;
21486 PyObject
* obj2
= 0 ;
21487 char *kwnames
[] = {
21488 (char *) "self",(char *) "style",(char *) "add", NULL
21491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21492 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21494 arg2
= (long) SWIG_AsLong(obj1
);
21495 if (PyErr_Occurred()) SWIG_fail
;
21497 arg3
= (bool) SWIG_AsBool(obj2
);
21498 if (PyErr_Occurred()) SWIG_fail
;
21501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21502 (arg1
)->SetSingleStyle(arg2
,arg3
);
21504 wxPyEndAllowThreads(__tstate
);
21505 if (PyErr_Occurred()) SWIG_fail
;
21507 Py_INCREF(Py_None
); resultobj
= Py_None
;
21514 static PyObject
*_wrap_ListCtrl_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21515 PyObject
*resultobj
;
21516 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21518 PyObject
* obj0
= 0 ;
21519 PyObject
* obj1
= 0 ;
21520 char *kwnames
[] = {
21521 (char *) "self",(char *) "style", NULL
21524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
21525 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21526 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21527 arg2
= (long) SWIG_AsLong(obj1
);
21528 if (PyErr_Occurred()) SWIG_fail
;
21530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21531 (arg1
)->SetWindowStyleFlag(arg2
);
21533 wxPyEndAllowThreads(__tstate
);
21534 if (PyErr_Occurred()) SWIG_fail
;
21536 Py_INCREF(Py_None
); resultobj
= Py_None
;
21543 static PyObject
*_wrap_ListCtrl_GetNextItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21544 PyObject
*resultobj
;
21545 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21547 int arg3
= (int) wxLIST_NEXT_ALL
;
21548 int arg4
= (int) wxLIST_STATE_DONTCARE
;
21550 PyObject
* obj0
= 0 ;
21551 PyObject
* obj1
= 0 ;
21552 PyObject
* obj2
= 0 ;
21553 PyObject
* obj3
= 0 ;
21554 char *kwnames
[] = {
21555 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
21558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21559 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21560 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21561 arg2
= (long) SWIG_AsLong(obj1
);
21562 if (PyErr_Occurred()) SWIG_fail
;
21564 arg3
= (int) SWIG_AsInt(obj2
);
21565 if (PyErr_Occurred()) SWIG_fail
;
21568 arg4
= (int) SWIG_AsInt(obj3
);
21569 if (PyErr_Occurred()) SWIG_fail
;
21572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21573 result
= (long)((wxPyListCtrl
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
21575 wxPyEndAllowThreads(__tstate
);
21576 if (PyErr_Occurred()) SWIG_fail
;
21578 resultobj
= SWIG_FromLong((long)result
);
21585 static PyObject
*_wrap_ListCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21586 PyObject
*resultobj
;
21587 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21589 wxImageList
*result
;
21590 PyObject
* obj0
= 0 ;
21591 PyObject
* obj1
= 0 ;
21592 char *kwnames
[] = {
21593 (char *) "self",(char *) "which", NULL
21596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
21597 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21599 arg2
= (int) SWIG_AsInt(obj1
);
21600 if (PyErr_Occurred()) SWIG_fail
;
21602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21603 result
= (wxImageList
*)((wxPyListCtrl
const *)arg1
)->GetImageList(arg2
);
21605 wxPyEndAllowThreads(__tstate
);
21606 if (PyErr_Occurred()) SWIG_fail
;
21609 resultobj
= wxPyMake_wxObject(result
);
21617 static PyObject
*_wrap_ListCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21618 PyObject
*resultobj
;
21619 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21620 wxImageList
*arg2
= (wxImageList
*) 0 ;
21622 PyObject
* obj0
= 0 ;
21623 PyObject
* obj1
= 0 ;
21624 PyObject
* obj2
= 0 ;
21625 char *kwnames
[] = {
21626 (char *) "self",(char *) "imageList",(char *) "which", NULL
21629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21630 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21632 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
21633 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21634 arg3
= (int) SWIG_AsInt(obj2
);
21635 if (PyErr_Occurred()) SWIG_fail
;
21637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21638 (arg1
)->SetImageList(arg2
,arg3
);
21640 wxPyEndAllowThreads(__tstate
);
21641 if (PyErr_Occurred()) SWIG_fail
;
21643 Py_INCREF(Py_None
); resultobj
= Py_None
;
21650 static PyObject
*_wrap_ListCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21651 PyObject
*resultobj
;
21652 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21653 wxImageList
*arg2
= (wxImageList
*) 0 ;
21655 PyObject
* obj0
= 0 ;
21656 PyObject
* obj1
= 0 ;
21657 PyObject
* obj2
= 0 ;
21658 char *kwnames
[] = {
21659 (char *) "self",(char *) "imageList",(char *) "which", NULL
21662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21663 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21665 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
21666 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
21667 arg3
= (int) SWIG_AsInt(obj2
);
21668 if (PyErr_Occurred()) SWIG_fail
;
21670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21671 (arg1
)->AssignImageList(arg2
,arg3
);
21673 wxPyEndAllowThreads(__tstate
);
21674 if (PyErr_Occurred()) SWIG_fail
;
21676 Py_INCREF(Py_None
); resultobj
= Py_None
;
21683 static PyObject
*_wrap_ListCtrl_InReportView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21684 PyObject
*resultobj
;
21685 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21687 PyObject
* obj0
= 0 ;
21688 char *kwnames
[] = {
21689 (char *) "self", NULL
21692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_InReportView",kwnames
,&obj0
)) goto fail
;
21693 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21697 result
= (bool)((wxPyListCtrl
const *)arg1
)->InReportView();
21699 wxPyEndAllowThreads(__tstate
);
21700 if (PyErr_Occurred()) SWIG_fail
;
21703 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21711 static PyObject
*_wrap_ListCtrl_IsVirtual(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21712 PyObject
*resultobj
;
21713 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21715 PyObject
* obj0
= 0 ;
21716 char *kwnames
[] = {
21717 (char *) "self", NULL
21720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_IsVirtual",kwnames
,&obj0
)) goto fail
;
21721 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21725 result
= (bool)((wxPyListCtrl
const *)arg1
)->IsVirtual();
21727 wxPyEndAllowThreads(__tstate
);
21728 if (PyErr_Occurred()) SWIG_fail
;
21731 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21739 static PyObject
*_wrap_ListCtrl_RefreshItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21740 PyObject
*resultobj
;
21741 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21743 PyObject
* obj0
= 0 ;
21744 PyObject
* obj1
= 0 ;
21745 char *kwnames
[] = {
21746 (char *) "self",(char *) "item", NULL
21749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_RefreshItem",kwnames
,&obj0
,&obj1
)) goto fail
;
21750 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21752 arg2
= (long) SWIG_AsLong(obj1
);
21753 if (PyErr_Occurred()) SWIG_fail
;
21755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21756 (arg1
)->RefreshItem(arg2
);
21758 wxPyEndAllowThreads(__tstate
);
21759 if (PyErr_Occurred()) SWIG_fail
;
21761 Py_INCREF(Py_None
); resultobj
= Py_None
;
21768 static PyObject
*_wrap_ListCtrl_RefreshItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21769 PyObject
*resultobj
;
21770 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21773 PyObject
* obj0
= 0 ;
21774 PyObject
* obj1
= 0 ;
21775 PyObject
* obj2
= 0 ;
21776 char *kwnames
[] = {
21777 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
21780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_RefreshItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21781 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21783 arg2
= (long) SWIG_AsLong(obj1
);
21784 if (PyErr_Occurred()) SWIG_fail
;
21785 arg3
= (long) SWIG_AsLong(obj2
);
21786 if (PyErr_Occurred()) SWIG_fail
;
21788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21789 (arg1
)->RefreshItems(arg2
,arg3
);
21791 wxPyEndAllowThreads(__tstate
);
21792 if (PyErr_Occurred()) SWIG_fail
;
21794 Py_INCREF(Py_None
); resultobj
= Py_None
;
21801 static PyObject
*_wrap_ListCtrl_Arrange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21802 PyObject
*resultobj
;
21803 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21804 int arg2
= (int) wxLIST_ALIGN_DEFAULT
;
21806 PyObject
* obj0
= 0 ;
21807 PyObject
* obj1
= 0 ;
21808 char *kwnames
[] = {
21809 (char *) "self",(char *) "flag", NULL
21812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListCtrl_Arrange",kwnames
,&obj0
,&obj1
)) goto fail
;
21813 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21816 arg2
= (int) SWIG_AsInt(obj1
);
21817 if (PyErr_Occurred()) SWIG_fail
;
21820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21821 result
= (bool)(arg1
)->Arrange(arg2
);
21823 wxPyEndAllowThreads(__tstate
);
21824 if (PyErr_Occurred()) SWIG_fail
;
21827 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21835 static PyObject
*_wrap_ListCtrl_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21836 PyObject
*resultobj
;
21837 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21840 PyObject
* obj0
= 0 ;
21841 PyObject
* obj1
= 0 ;
21842 char *kwnames
[] = {
21843 (char *) "self",(char *) "item", NULL
21846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteItem",kwnames
,&obj0
,&obj1
)) 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
;
21852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21853 result
= (bool)(arg1
)->DeleteItem(arg2
);
21855 wxPyEndAllowThreads(__tstate
);
21856 if (PyErr_Occurred()) SWIG_fail
;
21859 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21867 static PyObject
*_wrap_ListCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21868 PyObject
*resultobj
;
21869 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21871 PyObject
* obj0
= 0 ;
21872 char *kwnames
[] = {
21873 (char *) "self", NULL
21876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
21877 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21881 result
= (bool)(arg1
)->DeleteAllItems();
21883 wxPyEndAllowThreads(__tstate
);
21884 if (PyErr_Occurred()) SWIG_fail
;
21887 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21895 static PyObject
*_wrap_ListCtrl_DeleteColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21896 PyObject
*resultobj
;
21897 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21900 PyObject
* obj0
= 0 ;
21901 PyObject
* obj1
= 0 ;
21902 char *kwnames
[] = {
21903 (char *) "self",(char *) "col", NULL
21906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
21907 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21909 arg2
= (int) SWIG_AsInt(obj1
);
21910 if (PyErr_Occurred()) SWIG_fail
;
21912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21913 result
= (bool)(arg1
)->DeleteColumn(arg2
);
21915 wxPyEndAllowThreads(__tstate
);
21916 if (PyErr_Occurred()) SWIG_fail
;
21919 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21927 static PyObject
*_wrap_ListCtrl_DeleteAllColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21928 PyObject
*resultobj
;
21929 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21931 PyObject
* obj0
= 0 ;
21932 char *kwnames
[] = {
21933 (char *) "self", NULL
21936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllColumns",kwnames
,&obj0
)) goto fail
;
21937 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21938 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21941 result
= (bool)(arg1
)->DeleteAllColumns();
21943 wxPyEndAllowThreads(__tstate
);
21944 if (PyErr_Occurred()) SWIG_fail
;
21947 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21955 static PyObject
*_wrap_ListCtrl_ClearAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21956 PyObject
*resultobj
;
21957 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21958 PyObject
* obj0
= 0 ;
21959 char *kwnames
[] = {
21960 (char *) "self", NULL
21963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_ClearAll",kwnames
,&obj0
)) goto fail
;
21964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21968 (arg1
)->ClearAll();
21970 wxPyEndAllowThreads(__tstate
);
21971 if (PyErr_Occurred()) SWIG_fail
;
21973 Py_INCREF(Py_None
); resultobj
= Py_None
;
21980 static PyObject
*_wrap_ListCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21981 PyObject
*resultobj
;
21982 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21984 wxTextCtrl
*result
;
21985 PyObject
* obj0
= 0 ;
21986 PyObject
* obj1
= 0 ;
21987 char *kwnames
[] = {
21988 (char *) "self",(char *) "item", NULL
21991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
21992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21994 arg2
= (long) SWIG_AsLong(obj1
);
21995 if (PyErr_Occurred()) SWIG_fail
;
21997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21998 result
= (wxTextCtrl
*)(arg1
)->EditLabel(arg2
);
22000 wxPyEndAllowThreads(__tstate
);
22001 if (PyErr_Occurred()) SWIG_fail
;
22004 resultobj
= wxPyMake_wxObject(result
);
22012 static PyObject
*_wrap_ListCtrl_EndEditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22013 PyObject
*resultobj
;
22014 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22017 PyObject
* obj0
= 0 ;
22018 PyObject
* obj1
= 0 ;
22019 char *kwnames
[] = {
22020 (char *) "self",(char *) "cancel", NULL
22023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EndEditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
22024 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22025 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22026 arg2
= (bool) SWIG_AsBool(obj1
);
22027 if (PyErr_Occurred()) SWIG_fail
;
22029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22030 result
= (bool)(arg1
)->EndEditLabel(arg2
);
22032 wxPyEndAllowThreads(__tstate
);
22033 if (PyErr_Occurred()) SWIG_fail
;
22036 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22044 static PyObject
*_wrap_ListCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22045 PyObject
*resultobj
;
22046 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22049 PyObject
* obj0
= 0 ;
22050 PyObject
* obj1
= 0 ;
22051 char *kwnames
[] = {
22052 (char *) "self",(char *) "item", NULL
22055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
22056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22058 arg2
= (long) SWIG_AsLong(obj1
);
22059 if (PyErr_Occurred()) SWIG_fail
;
22061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22062 result
= (bool)(arg1
)->EnsureVisible(arg2
);
22064 wxPyEndAllowThreads(__tstate
);
22065 if (PyErr_Occurred()) SWIG_fail
;
22068 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22076 static PyObject
*_wrap_ListCtrl_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22077 PyObject
*resultobj
;
22078 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22080 wxString
*arg3
= 0 ;
22081 bool arg4
= (bool) False
;
22083 bool temp3
= False
;
22084 PyObject
* obj0
= 0 ;
22085 PyObject
* obj1
= 0 ;
22086 PyObject
* obj2
= 0 ;
22087 PyObject
* obj3
= 0 ;
22088 char *kwnames
[] = {
22089 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
22092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_FindItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22095 arg2
= (long) SWIG_AsLong(obj1
);
22096 if (PyErr_Occurred()) SWIG_fail
;
22098 arg3
= wxString_in_helper(obj2
);
22099 if (arg3
== NULL
) SWIG_fail
;
22103 arg4
= (bool) SWIG_AsBool(obj3
);
22104 if (PyErr_Occurred()) SWIG_fail
;
22107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22108 result
= (long)(arg1
)->FindItem(arg2
,(wxString
const &)*arg3
,arg4
);
22110 wxPyEndAllowThreads(__tstate
);
22111 if (PyErr_Occurred()) SWIG_fail
;
22113 resultobj
= SWIG_FromLong((long)result
);
22128 static PyObject
*_wrap_ListCtrl_FindItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22129 PyObject
*resultobj
;
22130 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22134 PyObject
* obj0
= 0 ;
22135 PyObject
* obj1
= 0 ;
22136 PyObject
* obj2
= 0 ;
22137 char *kwnames
[] = {
22138 (char *) "self",(char *) "start",(char *) "data", NULL
22141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_FindItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22142 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22144 arg2
= (long) SWIG_AsLong(obj1
);
22145 if (PyErr_Occurred()) SWIG_fail
;
22146 arg3
= (long) SWIG_AsLong(obj2
);
22147 if (PyErr_Occurred()) SWIG_fail
;
22149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22150 result
= (long)(arg1
)->FindItem(arg2
,arg3
);
22152 wxPyEndAllowThreads(__tstate
);
22153 if (PyErr_Occurred()) SWIG_fail
;
22155 resultobj
= SWIG_FromLong((long)result
);
22162 static PyObject
*_wrap_ListCtrl_FindItemAtPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22163 PyObject
*resultobj
;
22164 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22166 wxPoint
*arg3
= 0 ;
22170 PyObject
* obj0
= 0 ;
22171 PyObject
* obj1
= 0 ;
22172 PyObject
* obj2
= 0 ;
22173 PyObject
* obj3
= 0 ;
22174 char *kwnames
[] = {
22175 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
22178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22179 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22181 arg2
= (long) SWIG_AsLong(obj1
);
22182 if (PyErr_Occurred()) SWIG_fail
;
22185 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22187 arg4
= (int) SWIG_AsInt(obj3
);
22188 if (PyErr_Occurred()) SWIG_fail
;
22190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22191 result
= (long)(arg1
)->FindItem(arg2
,(wxPoint
const &)*arg3
,arg4
);
22193 wxPyEndAllowThreads(__tstate
);
22194 if (PyErr_Occurred()) SWIG_fail
;
22196 resultobj
= SWIG_FromLong((long)result
);
22203 static PyObject
*_wrap_ListCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22204 PyObject
*resultobj
;
22205 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22206 wxPoint
*arg2
= 0 ;
22211 PyObject
* obj0
= 0 ;
22212 PyObject
* obj1
= 0 ;
22213 char *kwnames
[] = {
22214 (char *) "self",(char *) "point", NULL
22218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
22219 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22220 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22223 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22227 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
22229 wxPyEndAllowThreads(__tstate
);
22230 if (PyErr_Occurred()) SWIG_fail
;
22232 resultobj
= SWIG_FromLong((long)result
);
22234 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22235 resultobj
= t_output_helper(resultobj
,o
);
22243 static PyObject
*_wrap_ListCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22244 PyObject
*resultobj
;
22245 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22246 wxListItem
*arg2
= 0 ;
22248 PyObject
* obj0
= 0 ;
22249 PyObject
* obj1
= 0 ;
22250 char *kwnames
[] = {
22251 (char *) "self",(char *) "info", NULL
22254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) goto fail
;
22255 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22256 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22257 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxListItem
,
22258 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22260 if (arg2
== NULL
) {
22261 PyErr_SetString(PyExc_TypeError
,"null reference");
22265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22266 result
= (long)(arg1
)->InsertItem(*arg2
);
22268 wxPyEndAllowThreads(__tstate
);
22269 if (PyErr_Occurred()) SWIG_fail
;
22271 resultobj
= SWIG_FromLong((long)result
);
22278 static PyObject
*_wrap_ListCtrl_InsertStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22279 PyObject
*resultobj
;
22280 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22282 wxString
*arg3
= 0 ;
22284 bool temp3
= False
;
22285 PyObject
* obj0
= 0 ;
22286 PyObject
* obj1
= 0 ;
22287 PyObject
* obj2
= 0 ;
22288 char *kwnames
[] = {
22289 (char *) "self",(char *) "index",(char *) "label", NULL
22292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertStringItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22293 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22294 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22295 arg2
= (long) SWIG_AsLong(obj1
);
22296 if (PyErr_Occurred()) SWIG_fail
;
22298 arg3
= wxString_in_helper(obj2
);
22299 if (arg3
== NULL
) SWIG_fail
;
22303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22304 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
);
22306 wxPyEndAllowThreads(__tstate
);
22307 if (PyErr_Occurred()) SWIG_fail
;
22309 resultobj
= SWIG_FromLong((long)result
);
22324 static PyObject
*_wrap_ListCtrl_InsertImageItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22325 PyObject
*resultobj
;
22326 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22330 PyObject
* obj0
= 0 ;
22331 PyObject
* obj1
= 0 ;
22332 PyObject
* obj2
= 0 ;
22333 char *kwnames
[] = {
22334 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
22337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertImageItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22340 arg2
= (long) SWIG_AsLong(obj1
);
22341 if (PyErr_Occurred()) SWIG_fail
;
22342 arg3
= (int) SWIG_AsInt(obj2
);
22343 if (PyErr_Occurred()) SWIG_fail
;
22345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22346 result
= (long)(arg1
)->InsertItem(arg2
,arg3
);
22348 wxPyEndAllowThreads(__tstate
);
22349 if (PyErr_Occurred()) SWIG_fail
;
22351 resultobj
= SWIG_FromLong((long)result
);
22358 static PyObject
*_wrap_ListCtrl_InsertImageStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22359 PyObject
*resultobj
;
22360 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22362 wxString
*arg3
= 0 ;
22365 bool temp3
= False
;
22366 PyObject
* obj0
= 0 ;
22367 PyObject
* obj1
= 0 ;
22368 PyObject
* obj2
= 0 ;
22369 PyObject
* obj3
= 0 ;
22370 char *kwnames
[] = {
22371 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
22374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22377 arg2
= (long) SWIG_AsLong(obj1
);
22378 if (PyErr_Occurred()) SWIG_fail
;
22380 arg3
= wxString_in_helper(obj2
);
22381 if (arg3
== NULL
) SWIG_fail
;
22384 arg4
= (int) SWIG_AsInt(obj3
);
22385 if (PyErr_Occurred()) SWIG_fail
;
22387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22388 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
22390 wxPyEndAllowThreads(__tstate
);
22391 if (PyErr_Occurred()) SWIG_fail
;
22393 resultobj
= SWIG_FromLong((long)result
);
22408 static PyObject
*_wrap_ListCtrl_InsertColumnInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22409 PyObject
*resultobj
;
22410 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22412 wxListItem
*arg3
= 0 ;
22414 PyObject
* obj0
= 0 ;
22415 PyObject
* obj1
= 0 ;
22416 PyObject
* obj2
= 0 ;
22417 char *kwnames
[] = {
22418 (char *) "self",(char *) "col",(char *) "info", NULL
22421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertColumnInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22424 arg2
= (long) SWIG_AsLong(obj1
);
22425 if (PyErr_Occurred()) SWIG_fail
;
22426 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxListItem
,
22427 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22429 if (arg3
== NULL
) {
22430 PyErr_SetString(PyExc_TypeError
,"null reference");
22434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22435 result
= (long)(arg1
)->InsertColumn(arg2
,*arg3
);
22437 wxPyEndAllowThreads(__tstate
);
22438 if (PyErr_Occurred()) SWIG_fail
;
22440 resultobj
= SWIG_FromLong((long)result
);
22447 static PyObject
*_wrap_ListCtrl_InsertColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22448 PyObject
*resultobj
;
22449 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22451 wxString
*arg3
= 0 ;
22452 int arg4
= (int) wxLIST_FORMAT_LEFT
;
22453 int arg5
= (int) -1 ;
22455 bool temp3
= False
;
22456 PyObject
* obj0
= 0 ;
22457 PyObject
* obj1
= 0 ;
22458 PyObject
* obj2
= 0 ;
22459 PyObject
* obj3
= 0 ;
22460 PyObject
* obj4
= 0 ;
22461 char *kwnames
[] = {
22462 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
22465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
22466 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22468 arg2
= (long) SWIG_AsLong(obj1
);
22469 if (PyErr_Occurred()) SWIG_fail
;
22471 arg3
= wxString_in_helper(obj2
);
22472 if (arg3
== NULL
) SWIG_fail
;
22476 arg4
= (int) SWIG_AsInt(obj3
);
22477 if (PyErr_Occurred()) SWIG_fail
;
22480 arg5
= (int) SWIG_AsInt(obj4
);
22481 if (PyErr_Occurred()) SWIG_fail
;
22484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22485 result
= (long)(arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
22487 wxPyEndAllowThreads(__tstate
);
22488 if (PyErr_Occurred()) SWIG_fail
;
22490 resultobj
= SWIG_FromLong((long)result
);
22505 static PyObject
*_wrap_ListCtrl_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22506 PyObject
*resultobj
;
22507 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22509 PyObject
* obj0
= 0 ;
22510 PyObject
* obj1
= 0 ;
22511 char *kwnames
[] = {
22512 (char *) "self",(char *) "count", NULL
22515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
22516 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22518 arg2
= (long) SWIG_AsLong(obj1
);
22519 if (PyErr_Occurred()) SWIG_fail
;
22521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22522 (arg1
)->SetItemCount(arg2
);
22524 wxPyEndAllowThreads(__tstate
);
22525 if (PyErr_Occurred()) SWIG_fail
;
22527 Py_INCREF(Py_None
); resultobj
= Py_None
;
22534 static PyObject
*_wrap_ListCtrl_ScrollList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22535 PyObject
*resultobj
;
22536 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22540 PyObject
* obj0
= 0 ;
22541 PyObject
* obj1
= 0 ;
22542 PyObject
* obj2
= 0 ;
22543 char *kwnames
[] = {
22544 (char *) "self",(char *) "dx",(char *) "dy", NULL
22547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_ScrollList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22548 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22549 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22550 arg2
= (int) SWIG_AsInt(obj1
);
22551 if (PyErr_Occurred()) SWIG_fail
;
22552 arg3
= (int) SWIG_AsInt(obj2
);
22553 if (PyErr_Occurred()) SWIG_fail
;
22555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22556 result
= (bool)(arg1
)->ScrollList(arg2
,arg3
);
22558 wxPyEndAllowThreads(__tstate
);
22559 if (PyErr_Occurred()) SWIG_fail
;
22562 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22570 static PyObject
*_wrap_ListCtrl_SetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22571 PyObject
*resultobj
;
22572 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22574 wxColour
*arg3
= 0 ;
22576 PyObject
* obj0
= 0 ;
22577 PyObject
* obj1
= 0 ;
22578 PyObject
* obj2
= 0 ;
22579 char *kwnames
[] = {
22580 (char *) "self",(char *) "item",(char *) "col", NULL
22583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22586 arg2
= (long) SWIG_AsLong(obj1
);
22587 if (PyErr_Occurred()) SWIG_fail
;
22590 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
22593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22594 (arg1
)->SetItemTextColour(arg2
,(wxColour
const &)*arg3
);
22596 wxPyEndAllowThreads(__tstate
);
22597 if (PyErr_Occurred()) SWIG_fail
;
22599 Py_INCREF(Py_None
); resultobj
= Py_None
;
22606 static PyObject
*_wrap_ListCtrl_GetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22607 PyObject
*resultobj
;
22608 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22611 PyObject
* obj0
= 0 ;
22612 PyObject
* obj1
= 0 ;
22613 char *kwnames
[] = {
22614 (char *) "self",(char *) "item", NULL
22617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
22618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22620 arg2
= (long) SWIG_AsLong(obj1
);
22621 if (PyErr_Occurred()) SWIG_fail
;
22623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22624 result
= ((wxPyListCtrl
const *)arg1
)->GetItemTextColour(arg2
);
22626 wxPyEndAllowThreads(__tstate
);
22627 if (PyErr_Occurred()) SWIG_fail
;
22630 wxColour
* resultptr
;
22631 resultptr
= new wxColour((wxColour
&) result
);
22632 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
22640 static PyObject
*_wrap_ListCtrl_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22641 PyObject
*resultobj
;
22642 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22644 wxColour
*arg3
= 0 ;
22646 PyObject
* obj0
= 0 ;
22647 PyObject
* obj1
= 0 ;
22648 PyObject
* obj2
= 0 ;
22649 char *kwnames
[] = {
22650 (char *) "self",(char *) "item",(char *) "col", NULL
22653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22654 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22655 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22656 arg2
= (long) SWIG_AsLong(obj1
);
22657 if (PyErr_Occurred()) SWIG_fail
;
22660 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
22663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22664 (arg1
)->SetItemBackgroundColour(arg2
,(wxColour
const &)*arg3
);
22666 wxPyEndAllowThreads(__tstate
);
22667 if (PyErr_Occurred()) SWIG_fail
;
22669 Py_INCREF(Py_None
); resultobj
= Py_None
;
22676 static PyObject
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22677 PyObject
*resultobj
;
22678 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22681 PyObject
* obj0
= 0 ;
22682 PyObject
* obj1
= 0 ;
22683 char *kwnames
[] = {
22684 (char *) "self",(char *) "item", NULL
22687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
22688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22690 arg2
= (long) SWIG_AsLong(obj1
);
22691 if (PyErr_Occurred()) SWIG_fail
;
22693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22694 result
= ((wxPyListCtrl
const *)arg1
)->GetItemBackgroundColour(arg2
);
22696 wxPyEndAllowThreads(__tstate
);
22697 if (PyErr_Occurred()) SWIG_fail
;
22700 wxColour
* resultptr
;
22701 resultptr
= new wxColour((wxColour
&) result
);
22702 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
22710 static PyObject
*_wrap_ListCtrl_SortItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22711 PyObject
*resultobj
;
22712 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22713 PyObject
*arg2
= (PyObject
*) 0 ;
22715 PyObject
* obj0
= 0 ;
22716 PyObject
* obj1
= 0 ;
22717 char *kwnames
[] = {
22718 (char *) "self",(char *) "func", NULL
22721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",kwnames
,&obj0
,&obj1
)) goto fail
;
22722 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22727 result
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
);
22729 wxPyEndAllowThreads(__tstate
);
22730 if (PyErr_Occurred()) SWIG_fail
;
22733 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22741 static PyObject
*_wrap_ListCtrl_GetMainWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22742 PyObject
*resultobj
;
22743 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22745 PyObject
* obj0
= 0 ;
22746 char *kwnames
[] = {
22747 (char *) "self", NULL
22750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetMainWindow",kwnames
,&obj0
)) goto fail
;
22751 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22752 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22755 result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(arg1
);
22757 wxPyEndAllowThreads(__tstate
);
22758 if (PyErr_Occurred()) SWIG_fail
;
22761 resultobj
= wxPyMake_wxObject(result
);
22769 static PyObject
*_wrap_ListCtrl_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22770 PyObject
*resultobj
;
22771 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
22772 wxVisualAttributes result
;
22773 PyObject
* obj0
= 0 ;
22774 char *kwnames
[] = {
22775 (char *) "variant", NULL
22778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
22780 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
22781 if (PyErr_Occurred()) SWIG_fail
;
22784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22785 result
= wxPyListCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
22787 wxPyEndAllowThreads(__tstate
);
22788 if (PyErr_Occurred()) SWIG_fail
;
22791 wxVisualAttributes
* resultptr
;
22792 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
22793 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
22801 static PyObject
* ListCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
22803 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22804 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl
, obj
);
22806 return Py_BuildValue((char *)"");
22808 static PyObject
*_wrap_new_ListView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22809 PyObject
*resultobj
;
22810 wxWindow
*arg1
= (wxWindow
*) 0 ;
22811 int arg2
= (int) -1 ;
22812 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22813 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22814 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22815 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22816 long arg5
= (long) wxLC_REPORT
;
22817 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
22818 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
22819 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
22820 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22821 wxListView
*result
;
22824 bool temp7
= False
;
22825 PyObject
* obj0
= 0 ;
22826 PyObject
* obj1
= 0 ;
22827 PyObject
* obj2
= 0 ;
22828 PyObject
* obj3
= 0 ;
22829 PyObject
* obj4
= 0 ;
22830 PyObject
* obj5
= 0 ;
22831 PyObject
* obj6
= 0 ;
22832 char *kwnames
[] = {
22833 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
22836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListView",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
22837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22840 arg2
= (int) SWIG_AsInt(obj1
);
22841 if (PyErr_Occurred()) SWIG_fail
;
22846 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22852 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22856 arg5
= (long) SWIG_AsLong(obj4
);
22857 if (PyErr_Occurred()) SWIG_fail
;
22860 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
22861 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22863 if (arg6
== NULL
) {
22864 PyErr_SetString(PyExc_TypeError
,"null reference");
22870 arg7
= wxString_in_helper(obj6
);
22871 if (arg7
== NULL
) SWIG_fail
;
22876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22877 result
= (wxListView
*)new wxListView(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
22879 wxPyEndAllowThreads(__tstate
);
22880 if (PyErr_Occurred()) SWIG_fail
;
22882 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1);
22897 static PyObject
*_wrap_new_PreListView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22898 PyObject
*resultobj
;
22899 wxListView
*result
;
22900 char *kwnames
[] = {
22904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListView",kwnames
)) goto fail
;
22906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22907 result
= (wxListView
*)new wxListView();
22909 wxPyEndAllowThreads(__tstate
);
22910 if (PyErr_Occurred()) SWIG_fail
;
22912 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1);
22919 static PyObject
*_wrap_ListView_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22920 PyObject
*resultobj
;
22921 wxListView
*arg1
= (wxListView
*) 0 ;
22922 wxWindow
*arg2
= (wxWindow
*) 0 ;
22923 int arg3
= (int) -1 ;
22924 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22925 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22926 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22927 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22928 long arg6
= (long) wxLC_REPORT
;
22929 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
22930 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
22931 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
22932 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
22936 bool temp8
= False
;
22937 PyObject
* obj0
= 0 ;
22938 PyObject
* obj1
= 0 ;
22939 PyObject
* obj2
= 0 ;
22940 PyObject
* obj3
= 0 ;
22941 PyObject
* obj4
= 0 ;
22942 PyObject
* obj5
= 0 ;
22943 PyObject
* obj6
= 0 ;
22944 PyObject
* obj7
= 0 ;
22945 char *kwnames
[] = {
22946 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
22949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListView_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
22950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
22951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22952 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
22953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22955 arg3
= (int) SWIG_AsInt(obj2
);
22956 if (PyErr_Occurred()) SWIG_fail
;
22961 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22967 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22971 arg6
= (long) SWIG_AsLong(obj5
);
22972 if (PyErr_Occurred()) SWIG_fail
;
22975 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
22976 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22978 if (arg7
== NULL
) {
22979 PyErr_SetString(PyExc_TypeError
,"null reference");
22985 arg8
= wxString_in_helper(obj7
);
22986 if (arg8
== NULL
) SWIG_fail
;
22991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22992 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
22994 wxPyEndAllowThreads(__tstate
);
22995 if (PyErr_Occurred()) SWIG_fail
;
22998 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23014 static PyObject
*_wrap_ListView_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23015 PyObject
*resultobj
;
23016 wxListView
*arg1
= (wxListView
*) 0 ;
23018 bool arg3
= (bool) True
;
23019 PyObject
* obj0
= 0 ;
23020 PyObject
* obj1
= 0 ;
23021 PyObject
* obj2
= 0 ;
23022 char *kwnames
[] = {
23023 (char *) "self",(char *) "n",(char *) "on", NULL
23026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListView_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23029 arg2
= (long) SWIG_AsLong(obj1
);
23030 if (PyErr_Occurred()) SWIG_fail
;
23032 arg3
= (bool) SWIG_AsBool(obj2
);
23033 if (PyErr_Occurred()) SWIG_fail
;
23036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23037 (arg1
)->Select(arg2
,arg3
);
23039 wxPyEndAllowThreads(__tstate
);
23040 if (PyErr_Occurred()) SWIG_fail
;
23042 Py_INCREF(Py_None
); resultobj
= Py_None
;
23049 static PyObject
*_wrap_ListView_Focus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23050 PyObject
*resultobj
;
23051 wxListView
*arg1
= (wxListView
*) 0 ;
23053 PyObject
* obj0
= 0 ;
23054 PyObject
* obj1
= 0 ;
23055 char *kwnames
[] = {
23056 (char *) "self",(char *) "index", NULL
23059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_Focus",kwnames
,&obj0
,&obj1
)) goto fail
;
23060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23062 arg2
= (long) SWIG_AsLong(obj1
);
23063 if (PyErr_Occurred()) SWIG_fail
;
23065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23066 (arg1
)->Focus(arg2
);
23068 wxPyEndAllowThreads(__tstate
);
23069 if (PyErr_Occurred()) SWIG_fail
;
23071 Py_INCREF(Py_None
); resultobj
= Py_None
;
23078 static PyObject
*_wrap_ListView_GetFocusedItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23079 PyObject
*resultobj
;
23080 wxListView
*arg1
= (wxListView
*) 0 ;
23082 PyObject
* obj0
= 0 ;
23083 char *kwnames
[] = {
23084 (char *) "self", NULL
23087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFocusedItem",kwnames
,&obj0
)) goto fail
;
23088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23092 result
= (long)((wxListView
const *)arg1
)->GetFocusedItem();
23094 wxPyEndAllowThreads(__tstate
);
23095 if (PyErr_Occurred()) SWIG_fail
;
23097 resultobj
= SWIG_FromLong((long)result
);
23104 static PyObject
*_wrap_ListView_GetNextSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23105 PyObject
*resultobj
;
23106 wxListView
*arg1
= (wxListView
*) 0 ;
23109 PyObject
* obj0
= 0 ;
23110 PyObject
* obj1
= 0 ;
23111 char *kwnames
[] = {
23112 (char *) "self",(char *) "item", NULL
23115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
23116 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23118 arg2
= (long) SWIG_AsLong(obj1
);
23119 if (PyErr_Occurred()) SWIG_fail
;
23121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23122 result
= (long)((wxListView
const *)arg1
)->GetNextSelected(arg2
);
23124 wxPyEndAllowThreads(__tstate
);
23125 if (PyErr_Occurred()) SWIG_fail
;
23127 resultobj
= SWIG_FromLong((long)result
);
23134 static PyObject
*_wrap_ListView_GetFirstSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23135 PyObject
*resultobj
;
23136 wxListView
*arg1
= (wxListView
*) 0 ;
23138 PyObject
* obj0
= 0 ;
23139 char *kwnames
[] = {
23140 (char *) "self", NULL
23143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFirstSelected",kwnames
,&obj0
)) goto fail
;
23144 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23148 result
= (long)((wxListView
const *)arg1
)->GetFirstSelected();
23150 wxPyEndAllowThreads(__tstate
);
23151 if (PyErr_Occurred()) SWIG_fail
;
23153 resultobj
= SWIG_FromLong((long)result
);
23160 static PyObject
*_wrap_ListView_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23161 PyObject
*resultobj
;
23162 wxListView
*arg1
= (wxListView
*) 0 ;
23165 PyObject
* obj0
= 0 ;
23166 PyObject
* obj1
= 0 ;
23167 char *kwnames
[] = {
23168 (char *) "self",(char *) "index", NULL
23171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
23172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23174 arg2
= (long) SWIG_AsLong(obj1
);
23175 if (PyErr_Occurred()) SWIG_fail
;
23177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23178 result
= (bool)(arg1
)->IsSelected(arg2
);
23180 wxPyEndAllowThreads(__tstate
);
23181 if (PyErr_Occurred()) SWIG_fail
;
23184 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23192 static PyObject
*_wrap_ListView_SetColumnImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23193 PyObject
*resultobj
;
23194 wxListView
*arg1
= (wxListView
*) 0 ;
23197 PyObject
* obj0
= 0 ;
23198 PyObject
* obj1
= 0 ;
23199 PyObject
* obj2
= 0 ;
23200 char *kwnames
[] = {
23201 (char *) "self",(char *) "col",(char *) "image", NULL
23204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListView_SetColumnImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23207 arg2
= (int) SWIG_AsInt(obj1
);
23208 if (PyErr_Occurred()) SWIG_fail
;
23209 arg3
= (int) SWIG_AsInt(obj2
);
23210 if (PyErr_Occurred()) SWIG_fail
;
23212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23213 (arg1
)->SetColumnImage(arg2
,arg3
);
23215 wxPyEndAllowThreads(__tstate
);
23216 if (PyErr_Occurred()) SWIG_fail
;
23218 Py_INCREF(Py_None
); resultobj
= Py_None
;
23225 static PyObject
*_wrap_ListView_ClearColumnImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23226 PyObject
*resultobj
;
23227 wxListView
*arg1
= (wxListView
*) 0 ;
23229 PyObject
* obj0
= 0 ;
23230 PyObject
* obj1
= 0 ;
23231 char *kwnames
[] = {
23232 (char *) "self",(char *) "col", NULL
23235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_ClearColumnImage",kwnames
,&obj0
,&obj1
)) goto fail
;
23236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23238 arg2
= (int) SWIG_AsInt(obj1
);
23239 if (PyErr_Occurred()) SWIG_fail
;
23241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23242 (arg1
)->ClearColumnImage(arg2
);
23244 wxPyEndAllowThreads(__tstate
);
23245 if (PyErr_Occurred()) SWIG_fail
;
23247 Py_INCREF(Py_None
); resultobj
= Py_None
;
23254 static PyObject
* ListView_swigregister(PyObject
*self
, PyObject
*args
) {
23256 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23257 SWIG_TypeClientData(SWIGTYPE_p_wxListView
, obj
);
23259 return Py_BuildValue((char *)"");
23261 static int _wrap_TreeCtrlNameStr_set(PyObject
*_val
) {
23262 PyErr_SetString(PyExc_TypeError
,"Variable TreeCtrlNameStr is read-only.");
23267 static PyObject
*_wrap_TreeCtrlNameStr_get() {
23272 pyobj
= PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
23274 pyobj
= PyString_FromStringAndSize((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
23281 static PyObject
*_wrap_new_TreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23282 PyObject
*resultobj
;
23283 wxTreeItemId
*result
;
23284 char *kwnames
[] = {
23288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TreeItemId",kwnames
)) goto fail
;
23290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23291 result
= (wxTreeItemId
*)new wxTreeItemId();
23293 wxPyEndAllowThreads(__tstate
);
23294 if (PyErr_Occurred()) SWIG_fail
;
23296 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 1);
23303 static PyObject
*_wrap_delete_TreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23304 PyObject
*resultobj
;
23305 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
23306 PyObject
* obj0
= 0 ;
23307 char *kwnames
[] = {
23308 (char *) "self", NULL
23311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TreeItemId",kwnames
,&obj0
)) goto fail
;
23312 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
23313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23318 wxPyEndAllowThreads(__tstate
);
23319 if (PyErr_Occurred()) SWIG_fail
;
23321 Py_INCREF(Py_None
); resultobj
= Py_None
;
23328 static PyObject
*_wrap_TreeItemId_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23329 PyObject
*resultobj
;
23330 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
23332 PyObject
* obj0
= 0 ;
23333 char *kwnames
[] = {
23334 (char *) "self", NULL
23337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_IsOk",kwnames
,&obj0
)) goto fail
;
23338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
23339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23342 result
= (bool)((wxTreeItemId
const *)arg1
)->IsOk();
23344 wxPyEndAllowThreads(__tstate
);
23345 if (PyErr_Occurred()) SWIG_fail
;
23348 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23356 static PyObject
*_wrap_TreeItemId___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23357 PyObject
*resultobj
;
23358 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
23359 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
23361 PyObject
* obj0
= 0 ;
23362 PyObject
* obj1
= 0 ;
23363 char *kwnames
[] = {
23364 (char *) "self",(char *) "other", NULL
23367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
23368 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
23369 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23370 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
23371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23374 result
= (bool)wxTreeItemId___eq__(arg1
,(wxTreeItemId
const *)arg2
);
23376 wxPyEndAllowThreads(__tstate
);
23377 if (PyErr_Occurred()) SWIG_fail
;
23380 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23388 static PyObject
*_wrap_TreeItemId___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23389 PyObject
*resultobj
;
23390 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
23391 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
23393 PyObject
* obj0
= 0 ;
23394 PyObject
* obj1
= 0 ;
23395 char *kwnames
[] = {
23396 (char *) "self",(char *) "other", NULL
23399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
23400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
23401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23402 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
23403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23406 result
= (bool)wxTreeItemId___ne__(arg1
,(wxTreeItemId
const *)arg2
);
23408 wxPyEndAllowThreads(__tstate
);
23409 if (PyErr_Occurred()) SWIG_fail
;
23412 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23420 static PyObject
*_wrap_TreeItemId_m_pItem_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23421 PyObject
*resultobj
;
23422 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
23423 void *arg2
= (void *) 0 ;
23424 PyObject
* obj0
= 0 ;
23425 PyObject
* obj1
= 0 ;
23426 char *kwnames
[] = {
23427 (char *) "self",(char *) "m_pItem", NULL
23430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId_m_pItem_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23431 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
23432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23433 if ((SWIG_ConvertPtr(obj1
,&arg2
,0,SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
23434 if (arg1
) (arg1
)->m_pItem
= arg2
;
23436 Py_INCREF(Py_None
); resultobj
= Py_None
;
23443 static PyObject
*_wrap_TreeItemId_m_pItem_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23444 PyObject
*resultobj
;
23445 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
23447 PyObject
* obj0
= 0 ;
23448 char *kwnames
[] = {
23449 (char *) "self", NULL
23452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_m_pItem_get",kwnames
,&obj0
)) goto fail
;
23453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
23454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23455 result
= (void *) ((arg1
)->m_pItem
);
23457 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_void
, 0);
23464 static PyObject
* TreeItemId_swigregister(PyObject
*self
, PyObject
*args
) {
23466 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23467 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId
, obj
);
23469 return Py_BuildValue((char *)"");
23471 static PyObject
*_wrap_new_TreeItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23472 PyObject
*resultobj
;
23473 PyObject
*arg1
= (PyObject
*) NULL
;
23474 wxPyTreeItemData
*result
;
23475 PyObject
* obj0
= 0 ;
23476 char *kwnames
[] = {
23477 (char *) "obj", NULL
23480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) goto fail
;
23485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23486 result
= (wxPyTreeItemData
*)new wxPyTreeItemData(arg1
);
23488 wxPyEndAllowThreads(__tstate
);
23489 if (PyErr_Occurred()) SWIG_fail
;
23491 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 1);
23498 static PyObject
*_wrap_TreeItemData_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23499 PyObject
*resultobj
;
23500 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
23502 PyObject
* obj0
= 0 ;
23503 char *kwnames
[] = {
23504 (char *) "self", NULL
23507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetData",kwnames
,&obj0
)) goto fail
;
23508 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
23509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23512 result
= (PyObject
*)(arg1
)->GetData();
23514 wxPyEndAllowThreads(__tstate
);
23515 if (PyErr_Occurred()) SWIG_fail
;
23517 resultobj
= result
;
23524 static PyObject
*_wrap_TreeItemData_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23525 PyObject
*resultobj
;
23526 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
23527 PyObject
*arg2
= (PyObject
*) 0 ;
23528 PyObject
* obj0
= 0 ;
23529 PyObject
* obj1
= 0 ;
23530 char *kwnames
[] = {
23531 (char *) "self",(char *) "obj", NULL
23534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
23535 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
23536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23540 (arg1
)->SetData(arg2
);
23542 wxPyEndAllowThreads(__tstate
);
23543 if (PyErr_Occurred()) SWIG_fail
;
23545 Py_INCREF(Py_None
); resultobj
= Py_None
;
23552 static PyObject
*_wrap_TreeItemData_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23553 PyObject
*resultobj
;
23554 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
23555 wxTreeItemId
*result
;
23556 PyObject
* obj0
= 0 ;
23557 char *kwnames
[] = {
23558 (char *) "self", NULL
23561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetId",kwnames
,&obj0
)) goto fail
;
23562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
23563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23567 wxTreeItemId
const &_result_ref
= (arg1
)->GetId();
23568 result
= (wxTreeItemId
*) &_result_ref
;
23571 wxPyEndAllowThreads(__tstate
);
23572 if (PyErr_Occurred()) SWIG_fail
;
23574 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 0);
23581 static PyObject
*_wrap_TreeItemData_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23582 PyObject
*resultobj
;
23583 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
23584 wxTreeItemId
*arg2
= 0 ;
23585 PyObject
* obj0
= 0 ;
23586 PyObject
* obj1
= 0 ;
23587 char *kwnames
[] = {
23588 (char *) "self",(char *) "id", NULL
23591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
23592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
23593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23594 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
23595 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23597 if (arg2
== NULL
) {
23598 PyErr_SetString(PyExc_TypeError
,"null reference");
23602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23603 (arg1
)->SetId((wxTreeItemId
const &)*arg2
);
23605 wxPyEndAllowThreads(__tstate
);
23606 if (PyErr_Occurred()) SWIG_fail
;
23608 Py_INCREF(Py_None
); resultobj
= Py_None
;
23615 static PyObject
*_wrap_TreeItemData_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23616 PyObject
*resultobj
;
23617 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
23618 PyObject
* obj0
= 0 ;
23619 char *kwnames
[] = {
23620 (char *) "self", NULL
23623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_Destroy",kwnames
,&obj0
)) goto fail
;
23624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
23625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23628 wxPyTreeItemData_Destroy(arg1
);
23630 wxPyEndAllowThreads(__tstate
);
23631 if (PyErr_Occurred()) SWIG_fail
;
23633 Py_INCREF(Py_None
); resultobj
= Py_None
;
23640 static PyObject
* TreeItemData_swigregister(PyObject
*self
, PyObject
*args
) {
23642 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23643 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData
, obj
);
23645 return Py_BuildValue((char *)"");
23647 static PyObject
*_wrap_new_TreeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23648 PyObject
*resultobj
;
23649 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
23650 int arg2
= (int) 0 ;
23651 wxTreeEvent
*result
;
23652 PyObject
* obj0
= 0 ;
23653 PyObject
* obj1
= 0 ;
23654 char *kwnames
[] = {
23655 (char *) "commandType",(char *) "id", NULL
23658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TreeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
23660 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
23661 if (PyErr_Occurred()) SWIG_fail
;
23664 arg2
= (int) SWIG_AsInt(obj1
);
23665 if (PyErr_Occurred()) SWIG_fail
;
23668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23669 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
);
23671 wxPyEndAllowThreads(__tstate
);
23672 if (PyErr_Occurred()) SWIG_fail
;
23674 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeEvent
, 1);
23681 static PyObject
*_wrap_TreeEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23682 PyObject
*resultobj
;
23683 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23684 wxTreeItemId result
;
23685 PyObject
* obj0
= 0 ;
23686 char *kwnames
[] = {
23687 (char *) "self", NULL
23690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetItem",kwnames
,&obj0
)) goto fail
;
23691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23695 result
= ((wxTreeEvent
const *)arg1
)->GetItem();
23697 wxPyEndAllowThreads(__tstate
);
23698 if (PyErr_Occurred()) SWIG_fail
;
23701 wxTreeItemId
* resultptr
;
23702 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
23703 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
23711 static PyObject
*_wrap_TreeEvent_SetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23712 PyObject
*resultobj
;
23713 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23714 wxTreeItemId
*arg2
= 0 ;
23715 PyObject
* obj0
= 0 ;
23716 PyObject
* obj1
= 0 ;
23717 char *kwnames
[] = {
23718 (char *) "self",(char *) "item", NULL
23721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
23722 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23724 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
23725 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23727 if (arg2
== NULL
) {
23728 PyErr_SetString(PyExc_TypeError
,"null reference");
23732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23733 (arg1
)->SetItem((wxTreeItemId
const &)*arg2
);
23735 wxPyEndAllowThreads(__tstate
);
23736 if (PyErr_Occurred()) SWIG_fail
;
23738 Py_INCREF(Py_None
); resultobj
= Py_None
;
23745 static PyObject
*_wrap_TreeEvent_GetOldItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23746 PyObject
*resultobj
;
23747 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23748 wxTreeItemId result
;
23749 PyObject
* obj0
= 0 ;
23750 char *kwnames
[] = {
23751 (char *) "self", NULL
23754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetOldItem",kwnames
,&obj0
)) goto fail
;
23755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23759 result
= ((wxTreeEvent
const *)arg1
)->GetOldItem();
23761 wxPyEndAllowThreads(__tstate
);
23762 if (PyErr_Occurred()) SWIG_fail
;
23765 wxTreeItemId
* resultptr
;
23766 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
23767 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
23775 static PyObject
*_wrap_TreeEvent_SetOldItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23776 PyObject
*resultobj
;
23777 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23778 wxTreeItemId
*arg2
= 0 ;
23779 PyObject
* obj0
= 0 ;
23780 PyObject
* obj1
= 0 ;
23781 char *kwnames
[] = {
23782 (char *) "self",(char *) "item", NULL
23785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) goto fail
;
23786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23788 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
23789 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23791 if (arg2
== NULL
) {
23792 PyErr_SetString(PyExc_TypeError
,"null reference");
23796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23797 (arg1
)->SetOldItem((wxTreeItemId
const &)*arg2
);
23799 wxPyEndAllowThreads(__tstate
);
23800 if (PyErr_Occurred()) SWIG_fail
;
23802 Py_INCREF(Py_None
); resultobj
= Py_None
;
23809 static PyObject
*_wrap_TreeEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23810 PyObject
*resultobj
;
23811 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23813 PyObject
* obj0
= 0 ;
23814 char *kwnames
[] = {
23815 (char *) "self", NULL
23818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
23819 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23820 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23823 result
= ((wxTreeEvent
const *)arg1
)->GetPoint();
23825 wxPyEndAllowThreads(__tstate
);
23826 if (PyErr_Occurred()) SWIG_fail
;
23829 wxPoint
* resultptr
;
23830 resultptr
= new wxPoint((wxPoint
&) result
);
23831 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
23839 static PyObject
*_wrap_TreeEvent_SetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23840 PyObject
*resultobj
;
23841 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23842 wxPoint
*arg2
= 0 ;
23844 PyObject
* obj0
= 0 ;
23845 PyObject
* obj1
= 0 ;
23846 char *kwnames
[] = {
23847 (char *) "self",(char *) "pt", NULL
23850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
23851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23855 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23859 (arg1
)->SetPoint((wxPoint
const &)*arg2
);
23861 wxPyEndAllowThreads(__tstate
);
23862 if (PyErr_Occurred()) SWIG_fail
;
23864 Py_INCREF(Py_None
); resultobj
= Py_None
;
23871 static PyObject
*_wrap_TreeEvent_GetKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23872 PyObject
*resultobj
;
23873 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23874 wxKeyEvent
*result
;
23875 PyObject
* obj0
= 0 ;
23876 char *kwnames
[] = {
23877 (char *) "self", NULL
23880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyEvent",kwnames
,&obj0
)) goto fail
;
23881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23886 wxKeyEvent
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetKeyEvent();
23887 result
= (wxKeyEvent
*) &_result_ref
;
23890 wxPyEndAllowThreads(__tstate
);
23891 if (PyErr_Occurred()) SWIG_fail
;
23893 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 0);
23900 static PyObject
*_wrap_TreeEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23901 PyObject
*resultobj
;
23902 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23904 PyObject
* obj0
= 0 ;
23905 char *kwnames
[] = {
23906 (char *) "self", NULL
23909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
23910 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23911 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23914 result
= (int)((wxTreeEvent
const *)arg1
)->GetKeyCode();
23916 wxPyEndAllowThreads(__tstate
);
23917 if (PyErr_Occurred()) SWIG_fail
;
23919 resultobj
= SWIG_FromInt((int)result
);
23926 static PyObject
*_wrap_TreeEvent_SetKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23927 PyObject
*resultobj
;
23928 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23929 wxKeyEvent
*arg2
= 0 ;
23930 PyObject
* obj0
= 0 ;
23931 PyObject
* obj1
= 0 ;
23932 char *kwnames
[] = {
23933 (char *) "self",(char *) "evt", NULL
23936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
23937 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23938 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23939 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxKeyEvent
,
23940 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23942 if (arg2
== NULL
) {
23943 PyErr_SetString(PyExc_TypeError
,"null reference");
23947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23948 (arg1
)->SetKeyEvent((wxKeyEvent
const &)*arg2
);
23950 wxPyEndAllowThreads(__tstate
);
23951 if (PyErr_Occurred()) SWIG_fail
;
23953 Py_INCREF(Py_None
); resultobj
= Py_None
;
23960 static PyObject
*_wrap_TreeEvent_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23961 PyObject
*resultobj
;
23962 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23964 PyObject
* obj0
= 0 ;
23965 char *kwnames
[] = {
23966 (char *) "self", NULL
23969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
23970 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23975 wxString
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetLabel();
23976 result
= (wxString
*) &_result_ref
;
23979 wxPyEndAllowThreads(__tstate
);
23980 if (PyErr_Occurred()) SWIG_fail
;
23984 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
23986 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
23995 static PyObject
*_wrap_TreeEvent_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23996 PyObject
*resultobj
;
23997 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23998 wxString
*arg2
= 0 ;
23999 bool temp2
= False
;
24000 PyObject
* obj0
= 0 ;
24001 PyObject
* obj1
= 0 ;
24002 char *kwnames
[] = {
24003 (char *) "self",(char *) "label", NULL
24006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
24007 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24010 arg2
= wxString_in_helper(obj1
);
24011 if (arg2
== NULL
) SWIG_fail
;
24015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24016 (arg1
)->SetLabel((wxString
const &)*arg2
);
24018 wxPyEndAllowThreads(__tstate
);
24019 if (PyErr_Occurred()) SWIG_fail
;
24021 Py_INCREF(Py_None
); resultobj
= Py_None
;
24036 static PyObject
*_wrap_TreeEvent_IsEditCancelled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24037 PyObject
*resultobj
;
24038 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24040 PyObject
* obj0
= 0 ;
24041 char *kwnames
[] = {
24042 (char *) "self", NULL
24045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
24046 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24047 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24050 result
= (bool)((wxTreeEvent
const *)arg1
)->IsEditCancelled();
24052 wxPyEndAllowThreads(__tstate
);
24053 if (PyErr_Occurred()) SWIG_fail
;
24056 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24064 static PyObject
*_wrap_TreeEvent_SetEditCanceled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24065 PyObject
*resultobj
;
24066 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24068 PyObject
* obj0
= 0 ;
24069 PyObject
* obj1
= 0 ;
24070 char *kwnames
[] = {
24071 (char *) "self",(char *) "editCancelled", NULL
24074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
24075 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24077 arg2
= (bool) SWIG_AsBool(obj1
);
24078 if (PyErr_Occurred()) SWIG_fail
;
24080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24081 (arg1
)->SetEditCanceled(arg2
);
24083 wxPyEndAllowThreads(__tstate
);
24084 if (PyErr_Occurred()) SWIG_fail
;
24086 Py_INCREF(Py_None
); resultobj
= Py_None
;
24093 static PyObject
*_wrap_TreeEvent_SetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24094 PyObject
*resultobj
;
24095 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24096 wxString
*arg2
= 0 ;
24097 bool temp2
= False
;
24098 PyObject
* obj0
= 0 ;
24099 PyObject
* obj1
= 0 ;
24100 char *kwnames
[] = {
24101 (char *) "self",(char *) "toolTip", NULL
24104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
24105 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24106 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24108 arg2
= wxString_in_helper(obj1
);
24109 if (arg2
== NULL
) SWIG_fail
;
24113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24114 (arg1
)->SetToolTip((wxString
const &)*arg2
);
24116 wxPyEndAllowThreads(__tstate
);
24117 if (PyErr_Occurred()) SWIG_fail
;
24119 Py_INCREF(Py_None
); resultobj
= Py_None
;
24134 static PyObject
* TreeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
24136 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24137 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent
, obj
);
24139 return Py_BuildValue((char *)"");
24141 static PyObject
*_wrap_new_TreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24142 PyObject
*resultobj
;
24143 wxWindow
*arg1
= (wxWindow
*) 0 ;
24144 int arg2
= (int) -1 ;
24145 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
24146 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
24147 wxSize
const &arg4_defvalue
= wxDefaultSize
;
24148 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
24149 long arg5
= (long) wxTR_DEFAULT_STYLE
;
24150 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
24151 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
24152 wxString
const &arg7_defvalue
= wxPyTreeCtrlNameStr
;
24153 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
24154 wxPyTreeCtrl
*result
;
24157 bool temp7
= False
;
24158 PyObject
* obj0
= 0 ;
24159 PyObject
* obj1
= 0 ;
24160 PyObject
* obj2
= 0 ;
24161 PyObject
* obj3
= 0 ;
24162 PyObject
* obj4
= 0 ;
24163 PyObject
* obj5
= 0 ;
24164 PyObject
* obj6
= 0 ;
24165 char *kwnames
[] = {
24166 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
24169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_TreeCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
24170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24173 arg2
= (int) SWIG_AsInt(obj1
);
24174 if (PyErr_Occurred()) SWIG_fail
;
24179 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
24185 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
24189 arg5
= (long) SWIG_AsLong(obj4
);
24190 if (PyErr_Occurred()) SWIG_fail
;
24193 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
24194 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24196 if (arg6
== NULL
) {
24197 PyErr_SetString(PyExc_TypeError
,"null reference");
24203 arg7
= wxString_in_helper(obj6
);
24204 if (arg7
== NULL
) SWIG_fail
;
24209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24210 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
24212 wxPyEndAllowThreads(__tstate
);
24213 if (PyErr_Occurred()) SWIG_fail
;
24216 resultobj
= wxPyMake_wxObject(result
);
24232 static PyObject
*_wrap_new_PreTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24233 PyObject
*resultobj
;
24234 wxPyTreeCtrl
*result
;
24235 char *kwnames
[] = {
24239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTreeCtrl",kwnames
)) goto fail
;
24241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24242 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl();
24244 wxPyEndAllowThreads(__tstate
);
24245 if (PyErr_Occurred()) SWIG_fail
;
24248 resultobj
= wxPyMake_wxObject(result
);
24256 static PyObject
*_wrap_TreeCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24257 PyObject
*resultobj
;
24258 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24259 wxWindow
*arg2
= (wxWindow
*) 0 ;
24260 int arg3
= (int) -1 ;
24261 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
24262 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
24263 wxSize
const &arg5_defvalue
= wxDefaultSize
;
24264 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
24265 long arg6
= (long) wxTR_DEFAULT_STYLE
;
24266 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
24267 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
24268 wxString
const &arg8_defvalue
= wxPyTreeCtrlNameStr
;
24269 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
24273 bool temp8
= False
;
24274 PyObject
* obj0
= 0 ;
24275 PyObject
* obj1
= 0 ;
24276 PyObject
* obj2
= 0 ;
24277 PyObject
* obj3
= 0 ;
24278 PyObject
* obj4
= 0 ;
24279 PyObject
* obj5
= 0 ;
24280 PyObject
* obj6
= 0 ;
24281 PyObject
* obj7
= 0 ;
24282 char *kwnames
[] = {
24283 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
24286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
24287 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24289 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24292 arg3
= (int) SWIG_AsInt(obj2
);
24293 if (PyErr_Occurred()) SWIG_fail
;
24298 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
24304 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
24308 arg6
= (long) SWIG_AsLong(obj5
);
24309 if (PyErr_Occurred()) SWIG_fail
;
24312 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
24313 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24315 if (arg7
== NULL
) {
24316 PyErr_SetString(PyExc_TypeError
,"null reference");
24322 arg8
= wxString_in_helper(obj7
);
24323 if (arg8
== NULL
) SWIG_fail
;
24328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24329 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
24331 wxPyEndAllowThreads(__tstate
);
24332 if (PyErr_Occurred()) SWIG_fail
;
24335 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24351 static PyObject
*_wrap_TreeCtrl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24352 PyObject
*resultobj
;
24353 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24354 PyObject
*arg2
= (PyObject
*) 0 ;
24355 PyObject
*arg3
= (PyObject
*) 0 ;
24356 PyObject
* obj0
= 0 ;
24357 PyObject
* obj1
= 0 ;
24358 PyObject
* obj2
= 0 ;
24359 char *kwnames
[] = {
24360 (char *) "self",(char *) "self",(char *) "_class", NULL
24363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24370 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24372 wxPyEndAllowThreads(__tstate
);
24373 if (PyErr_Occurred()) SWIG_fail
;
24375 Py_INCREF(Py_None
); resultobj
= Py_None
;
24382 static PyObject
*_wrap_TreeCtrl_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24383 PyObject
*resultobj
;
24384 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24386 PyObject
* obj0
= 0 ;
24387 char *kwnames
[] = {
24388 (char *) "self", NULL
24391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetCount",kwnames
,&obj0
)) goto fail
;
24392 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24396 result
= (size_t)((wxPyTreeCtrl
const *)arg1
)->GetCount();
24398 wxPyEndAllowThreads(__tstate
);
24399 if (PyErr_Occurred()) SWIG_fail
;
24401 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
24408 static PyObject
*_wrap_TreeCtrl_GetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24409 PyObject
*resultobj
;
24410 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24411 unsigned int result
;
24412 PyObject
* obj0
= 0 ;
24413 char *kwnames
[] = {
24414 (char *) "self", NULL
24417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetIndent",kwnames
,&obj0
)) goto fail
;
24418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24422 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetIndent();
24424 wxPyEndAllowThreads(__tstate
);
24425 if (PyErr_Occurred()) SWIG_fail
;
24427 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
24434 static PyObject
*_wrap_TreeCtrl_SetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24435 PyObject
*resultobj
;
24436 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24437 unsigned int arg2
;
24438 PyObject
* obj0
= 0 ;
24439 PyObject
* obj1
= 0 ;
24440 char *kwnames
[] = {
24441 (char *) "self",(char *) "indent", NULL
24444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
24445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24447 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
24448 if (PyErr_Occurred()) SWIG_fail
;
24450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24451 (arg1
)->SetIndent(arg2
);
24453 wxPyEndAllowThreads(__tstate
);
24454 if (PyErr_Occurred()) SWIG_fail
;
24456 Py_INCREF(Py_None
); resultobj
= Py_None
;
24463 static PyObject
*_wrap_TreeCtrl_GetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24464 PyObject
*resultobj
;
24465 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24466 unsigned int result
;
24467 PyObject
* obj0
= 0 ;
24468 char *kwnames
[] = {
24469 (char *) "self", NULL
24472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSpacing",kwnames
,&obj0
)) goto fail
;
24473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24477 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetSpacing();
24479 wxPyEndAllowThreads(__tstate
);
24480 if (PyErr_Occurred()) SWIG_fail
;
24482 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
24489 static PyObject
*_wrap_TreeCtrl_SetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24490 PyObject
*resultobj
;
24491 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24492 unsigned int arg2
;
24493 PyObject
* obj0
= 0 ;
24494 PyObject
* obj1
= 0 ;
24495 char *kwnames
[] = {
24496 (char *) "self",(char *) "spacing", NULL
24499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",kwnames
,&obj0
,&obj1
)) goto fail
;
24500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24502 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
24503 if (PyErr_Occurred()) SWIG_fail
;
24505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24506 (arg1
)->SetSpacing(arg2
);
24508 wxPyEndAllowThreads(__tstate
);
24509 if (PyErr_Occurred()) SWIG_fail
;
24511 Py_INCREF(Py_None
); resultobj
= Py_None
;
24518 static PyObject
*_wrap_TreeCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24519 PyObject
*resultobj
;
24520 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24521 wxImageList
*result
;
24522 PyObject
* obj0
= 0 ;
24523 char *kwnames
[] = {
24524 (char *) "self", NULL
24527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
24528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24532 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetImageList();
24534 wxPyEndAllowThreads(__tstate
);
24535 if (PyErr_Occurred()) SWIG_fail
;
24538 resultobj
= wxPyMake_wxObject(result
);
24546 static PyObject
*_wrap_TreeCtrl_GetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24547 PyObject
*resultobj
;
24548 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24549 wxImageList
*result
;
24550 PyObject
* obj0
= 0 ;
24551 char *kwnames
[] = {
24552 (char *) "self", NULL
24555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetStateImageList",kwnames
,&obj0
)) goto fail
;
24556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24560 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetStateImageList();
24562 wxPyEndAllowThreads(__tstate
);
24563 if (PyErr_Occurred()) SWIG_fail
;
24566 resultobj
= wxPyMake_wxObject(result
);
24574 static PyObject
*_wrap_TreeCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24575 PyObject
*resultobj
;
24576 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24577 wxImageList
*arg2
= (wxImageList
*) 0 ;
24578 PyObject
* obj0
= 0 ;
24579 PyObject
* obj1
= 0 ;
24580 char *kwnames
[] = {
24581 (char *) "self",(char *) "imageList", NULL
24584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
24585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24587 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
24588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24591 (arg1
)->SetImageList(arg2
);
24593 wxPyEndAllowThreads(__tstate
);
24594 if (PyErr_Occurred()) SWIG_fail
;
24596 Py_INCREF(Py_None
); resultobj
= Py_None
;
24603 static PyObject
*_wrap_TreeCtrl_SetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24604 PyObject
*resultobj
;
24605 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24606 wxImageList
*arg2
= (wxImageList
*) 0 ;
24607 PyObject
* obj0
= 0 ;
24608 PyObject
* obj1
= 0 ;
24609 char *kwnames
[] = {
24610 (char *) "self",(char *) "imageList", NULL
24613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
24614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24616 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
24617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24620 (arg1
)->SetStateImageList(arg2
);
24622 wxPyEndAllowThreads(__tstate
);
24623 if (PyErr_Occurred()) SWIG_fail
;
24625 Py_INCREF(Py_None
); resultobj
= Py_None
;
24632 static PyObject
*_wrap_TreeCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24633 PyObject
*resultobj
;
24634 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24635 wxImageList
*arg2
= (wxImageList
*) 0 ;
24636 PyObject
* obj0
= 0 ;
24637 PyObject
* obj1
= 0 ;
24638 char *kwnames
[] = {
24639 (char *) "self",(char *) "imageList", NULL
24642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
24643 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24644 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24645 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
24646 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
24648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24649 (arg1
)->AssignImageList(arg2
);
24651 wxPyEndAllowThreads(__tstate
);
24652 if (PyErr_Occurred()) SWIG_fail
;
24654 Py_INCREF(Py_None
); resultobj
= Py_None
;
24661 static PyObject
*_wrap_TreeCtrl_AssignStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24662 PyObject
*resultobj
;
24663 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24664 wxImageList
*arg2
= (wxImageList
*) 0 ;
24665 PyObject
* obj0
= 0 ;
24666 PyObject
* obj1
= 0 ;
24667 char *kwnames
[] = {
24668 (char *) "self",(char *) "imageList", NULL
24671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
24672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24674 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
24675 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
24677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24678 (arg1
)->AssignStateImageList(arg2
);
24680 wxPyEndAllowThreads(__tstate
);
24681 if (PyErr_Occurred()) SWIG_fail
;
24683 Py_INCREF(Py_None
); resultobj
= Py_None
;
24690 static PyObject
*_wrap_TreeCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24691 PyObject
*resultobj
;
24692 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24693 wxTreeItemId
*arg2
= 0 ;
24695 PyObject
* obj0
= 0 ;
24696 PyObject
* obj1
= 0 ;
24697 char *kwnames
[] = {
24698 (char *) "self",(char *) "item", NULL
24701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
24702 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24704 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24705 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24707 if (arg2
== NULL
) {
24708 PyErr_SetString(PyExc_TypeError
,"null reference");
24712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24713 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemText((wxTreeItemId
const &)*arg2
);
24715 wxPyEndAllowThreads(__tstate
);
24716 if (PyErr_Occurred()) SWIG_fail
;
24720 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24722 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24731 static PyObject
*_wrap_TreeCtrl_GetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24732 PyObject
*resultobj
;
24733 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24734 wxTreeItemId
*arg2
= 0 ;
24735 int arg3
= (int) wxTreeItemIcon_Normal
;
24737 PyObject
* obj0
= 0 ;
24738 PyObject
* obj1
= 0 ;
24739 PyObject
* obj2
= 0 ;
24740 char *kwnames
[] = {
24741 (char *) "self",(char *) "item",(char *) "which", NULL
24744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24745 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24747 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24748 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24750 if (arg2
== NULL
) {
24751 PyErr_SetString(PyExc_TypeError
,"null reference");
24755 arg3
= (wxTreeItemIcon
) SWIG_AsInt(obj2
);
24756 if (PyErr_Occurred()) SWIG_fail
;
24759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24760 result
= (int)((wxPyTreeCtrl
const *)arg1
)->GetItemImage((wxTreeItemId
const &)*arg2
,(wxTreeItemIcon
)arg3
);
24762 wxPyEndAllowThreads(__tstate
);
24763 if (PyErr_Occurred()) SWIG_fail
;
24765 resultobj
= SWIG_FromInt((int)result
);
24772 static PyObject
*_wrap_TreeCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24773 PyObject
*resultobj
;
24774 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24775 wxTreeItemId
*arg2
= 0 ;
24776 wxPyTreeItemData
*result
;
24777 PyObject
* obj0
= 0 ;
24778 PyObject
* obj1
= 0 ;
24779 char *kwnames
[] = {
24780 (char *) "self",(char *) "item", NULL
24783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
24784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24786 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24787 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24789 if (arg2
== NULL
) {
24790 PyErr_SetString(PyExc_TypeError
,"null reference");
24794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24795 result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
24797 wxPyEndAllowThreads(__tstate
);
24798 if (PyErr_Occurred()) SWIG_fail
;
24800 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 0);
24807 static PyObject
*_wrap_TreeCtrl_GetItemPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24808 PyObject
*resultobj
;
24809 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24810 wxTreeItemId
*arg2
= 0 ;
24812 PyObject
* obj0
= 0 ;
24813 PyObject
* obj1
= 0 ;
24814 char *kwnames
[] = {
24815 (char *) "self",(char *) "item", NULL
24818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemPyData",kwnames
,&obj0
,&obj1
)) goto fail
;
24819 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24820 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24821 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24822 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24824 if (arg2
== NULL
) {
24825 PyErr_SetString(PyExc_TypeError
,"null reference");
24829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24830 result
= (PyObject
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
24832 wxPyEndAllowThreads(__tstate
);
24833 if (PyErr_Occurred()) SWIG_fail
;
24835 resultobj
= result
;
24842 static PyObject
*_wrap_TreeCtrl_GetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24843 PyObject
*resultobj
;
24844 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24845 wxTreeItemId
*arg2
= 0 ;
24847 PyObject
* obj0
= 0 ;
24848 PyObject
* obj1
= 0 ;
24849 char *kwnames
[] = {
24850 (char *) "self",(char *) "item", NULL
24853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
24854 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24856 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24857 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24859 if (arg2
== NULL
) {
24860 PyErr_SetString(PyExc_TypeError
,"null reference");
24864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24865 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
24867 wxPyEndAllowThreads(__tstate
);
24868 if (PyErr_Occurred()) SWIG_fail
;
24871 wxColour
* resultptr
;
24872 resultptr
= new wxColour((wxColour
&) result
);
24873 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
24881 static PyObject
*_wrap_TreeCtrl_GetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24882 PyObject
*resultobj
;
24883 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24884 wxTreeItemId
*arg2
= 0 ;
24886 PyObject
* obj0
= 0 ;
24887 PyObject
* obj1
= 0 ;
24888 char *kwnames
[] = {
24889 (char *) "self",(char *) "item", NULL
24892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
24893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24895 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24896 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24898 if (arg2
== NULL
) {
24899 PyErr_SetString(PyExc_TypeError
,"null reference");
24903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24904 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId
const &)*arg2
);
24906 wxPyEndAllowThreads(__tstate
);
24907 if (PyErr_Occurred()) SWIG_fail
;
24910 wxColour
* resultptr
;
24911 resultptr
= new wxColour((wxColour
&) result
);
24912 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
24920 static PyObject
*_wrap_TreeCtrl_GetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24921 PyObject
*resultobj
;
24922 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24923 wxTreeItemId
*arg2
= 0 ;
24925 PyObject
* obj0
= 0 ;
24926 PyObject
* obj1
= 0 ;
24927 char *kwnames
[] = {
24928 (char *) "self",(char *) "item", NULL
24931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) goto fail
;
24932 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24934 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24935 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24937 if (arg2
== NULL
) {
24938 PyErr_SetString(PyExc_TypeError
,"null reference");
24942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24943 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
24945 wxPyEndAllowThreads(__tstate
);
24946 if (PyErr_Occurred()) SWIG_fail
;
24949 wxFont
* resultptr
;
24950 resultptr
= new wxFont((wxFont
&) result
);
24951 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
24959 static PyObject
*_wrap_TreeCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24960 PyObject
*resultobj
;
24961 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24962 wxTreeItemId
*arg2
= 0 ;
24963 wxString
*arg3
= 0 ;
24964 bool temp3
= False
;
24965 PyObject
* obj0
= 0 ;
24966 PyObject
* obj1
= 0 ;
24967 PyObject
* obj2
= 0 ;
24968 char *kwnames
[] = {
24969 (char *) "self",(char *) "item",(char *) "text", NULL
24972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24975 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24976 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24978 if (arg2
== NULL
) {
24979 PyErr_SetString(PyExc_TypeError
,"null reference");
24983 arg3
= wxString_in_helper(obj2
);
24984 if (arg3
== NULL
) SWIG_fail
;
24988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24989 (arg1
)->SetItemText((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
);
24991 wxPyEndAllowThreads(__tstate
);
24992 if (PyErr_Occurred()) SWIG_fail
;
24994 Py_INCREF(Py_None
); resultobj
= Py_None
;
25009 static PyObject
*_wrap_TreeCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25010 PyObject
*resultobj
;
25011 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25012 wxTreeItemId
*arg2
= 0 ;
25014 int arg4
= (int) wxTreeItemIcon_Normal
;
25015 PyObject
* obj0
= 0 ;
25016 PyObject
* obj1
= 0 ;
25017 PyObject
* obj2
= 0 ;
25018 PyObject
* obj3
= 0 ;
25019 char *kwnames
[] = {
25020 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
25023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25024 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25025 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25026 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25027 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25029 if (arg2
== NULL
) {
25030 PyErr_SetString(PyExc_TypeError
,"null reference");
25033 arg3
= (int) SWIG_AsInt(obj2
);
25034 if (PyErr_Occurred()) SWIG_fail
;
25036 arg4
= (wxTreeItemIcon
) SWIG_AsInt(obj3
);
25037 if (PyErr_Occurred()) SWIG_fail
;
25040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25041 (arg1
)->SetItemImage((wxTreeItemId
const &)*arg2
,arg3
,(wxTreeItemIcon
)arg4
);
25043 wxPyEndAllowThreads(__tstate
);
25044 if (PyErr_Occurred()) SWIG_fail
;
25046 Py_INCREF(Py_None
); resultobj
= Py_None
;
25053 static PyObject
*_wrap_TreeCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25054 PyObject
*resultobj
;
25055 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25056 wxTreeItemId
*arg2
= 0 ;
25057 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
25058 PyObject
* obj0
= 0 ;
25059 PyObject
* obj1
= 0 ;
25060 PyObject
* obj2
= 0 ;
25061 char *kwnames
[] = {
25062 (char *) "self",(char *) "item",(char *) "data", NULL
25065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25068 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25069 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25071 if (arg2
== NULL
) {
25072 PyErr_SetString(PyExc_TypeError
,"null reference");
25075 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyTreeItemData
,
25076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25079 wxPyTreeCtrl_SetItemData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
25081 wxPyEndAllowThreads(__tstate
);
25082 if (PyErr_Occurred()) SWIG_fail
;
25084 Py_INCREF(Py_None
); resultobj
= Py_None
;
25091 static PyObject
*_wrap_TreeCtrl_SetItemPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25092 PyObject
*resultobj
;
25093 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25094 wxTreeItemId
*arg2
= 0 ;
25095 PyObject
*arg3
= (PyObject
*) 0 ;
25096 PyObject
* obj0
= 0 ;
25097 PyObject
* obj1
= 0 ;
25098 PyObject
* obj2
= 0 ;
25099 char *kwnames
[] = {
25100 (char *) "self",(char *) "item",(char *) "obj", NULL
25103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25104 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25106 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25107 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25109 if (arg2
== NULL
) {
25110 PyErr_SetString(PyExc_TypeError
,"null reference");
25115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25116 wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
25118 wxPyEndAllowThreads(__tstate
);
25119 if (PyErr_Occurred()) SWIG_fail
;
25121 Py_INCREF(Py_None
); resultobj
= Py_None
;
25128 static PyObject
*_wrap_TreeCtrl_SetItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25129 PyObject
*resultobj
;
25130 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25131 wxTreeItemId
*arg2
= 0 ;
25132 bool arg3
= (bool) True
;
25133 PyObject
* obj0
= 0 ;
25134 PyObject
* obj1
= 0 ;
25135 PyObject
* obj2
= 0 ;
25136 char *kwnames
[] = {
25137 (char *) "self",(char *) "item",(char *) "has", NULL
25140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25141 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25143 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25144 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25146 if (arg2
== NULL
) {
25147 PyErr_SetString(PyExc_TypeError
,"null reference");
25151 arg3
= (bool) SWIG_AsBool(obj2
);
25152 if (PyErr_Occurred()) SWIG_fail
;
25155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25156 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
25158 wxPyEndAllowThreads(__tstate
);
25159 if (PyErr_Occurred()) SWIG_fail
;
25161 Py_INCREF(Py_None
); resultobj
= Py_None
;
25168 static PyObject
*_wrap_TreeCtrl_SetItemBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25169 PyObject
*resultobj
;
25170 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25171 wxTreeItemId
*arg2
= 0 ;
25172 bool arg3
= (bool) True
;
25173 PyObject
* obj0
= 0 ;
25174 PyObject
* obj1
= 0 ;
25175 PyObject
* obj2
= 0 ;
25176 char *kwnames
[] = {
25177 (char *) "self",(char *) "item",(char *) "bold", NULL
25180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25181 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25183 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25184 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25186 if (arg2
== NULL
) {
25187 PyErr_SetString(PyExc_TypeError
,"null reference");
25191 arg3
= (bool) SWIG_AsBool(obj2
);
25192 if (PyErr_Occurred()) SWIG_fail
;
25195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25196 (arg1
)->SetItemBold((wxTreeItemId
const &)*arg2
,arg3
);
25198 wxPyEndAllowThreads(__tstate
);
25199 if (PyErr_Occurred()) SWIG_fail
;
25201 Py_INCREF(Py_None
); resultobj
= Py_None
;
25208 static PyObject
*_wrap_TreeCtrl_SetItemDropHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25209 PyObject
*resultobj
;
25210 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25211 wxTreeItemId
*arg2
= 0 ;
25212 bool arg3
= (bool) True
;
25213 PyObject
* obj0
= 0 ;
25214 PyObject
* obj1
= 0 ;
25215 PyObject
* obj2
= 0 ;
25216 char *kwnames
[] = {
25217 (char *) "self",(char *) "item",(char *) "highlight", NULL
25220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25221 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25223 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25224 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25226 if (arg2
== NULL
) {
25227 PyErr_SetString(PyExc_TypeError
,"null reference");
25231 arg3
= (bool) SWIG_AsBool(obj2
);
25232 if (PyErr_Occurred()) SWIG_fail
;
25235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25236 (arg1
)->SetItemDropHighlight((wxTreeItemId
const &)*arg2
,arg3
);
25238 wxPyEndAllowThreads(__tstate
);
25239 if (PyErr_Occurred()) SWIG_fail
;
25241 Py_INCREF(Py_None
); resultobj
= Py_None
;
25248 static PyObject
*_wrap_TreeCtrl_SetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25249 PyObject
*resultobj
;
25250 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25251 wxTreeItemId
*arg2
= 0 ;
25252 wxColour
*arg3
= 0 ;
25254 PyObject
* obj0
= 0 ;
25255 PyObject
* obj1
= 0 ;
25256 PyObject
* obj2
= 0 ;
25257 char *kwnames
[] = {
25258 (char *) "self",(char *) "item",(char *) "col", NULL
25261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25264 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25265 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25267 if (arg2
== NULL
) {
25268 PyErr_SetString(PyExc_TypeError
,"null reference");
25273 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
25276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25277 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
25279 wxPyEndAllowThreads(__tstate
);
25280 if (PyErr_Occurred()) SWIG_fail
;
25282 Py_INCREF(Py_None
); resultobj
= Py_None
;
25289 static PyObject
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25290 PyObject
*resultobj
;
25291 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25292 wxTreeItemId
*arg2
= 0 ;
25293 wxColour
*arg3
= 0 ;
25295 PyObject
* obj0
= 0 ;
25296 PyObject
* obj1
= 0 ;
25297 PyObject
* obj2
= 0 ;
25298 char *kwnames
[] = {
25299 (char *) "self",(char *) "item",(char *) "col", NULL
25302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25305 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25306 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25308 if (arg2
== NULL
) {
25309 PyErr_SetString(PyExc_TypeError
,"null reference");
25314 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
25317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25318 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
25320 wxPyEndAllowThreads(__tstate
);
25321 if (PyErr_Occurred()) SWIG_fail
;
25323 Py_INCREF(Py_None
); resultobj
= Py_None
;
25330 static PyObject
*_wrap_TreeCtrl_SetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25331 PyObject
*resultobj
;
25332 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25333 wxTreeItemId
*arg2
= 0 ;
25335 PyObject
* obj0
= 0 ;
25336 PyObject
* obj1
= 0 ;
25337 PyObject
* obj2
= 0 ;
25338 char *kwnames
[] = {
25339 (char *) "self",(char *) "item",(char *) "font", NULL
25342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25345 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25346 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25348 if (arg2
== NULL
) {
25349 PyErr_SetString(PyExc_TypeError
,"null reference");
25352 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
25353 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25355 if (arg3
== NULL
) {
25356 PyErr_SetString(PyExc_TypeError
,"null reference");
25360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25361 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
25363 wxPyEndAllowThreads(__tstate
);
25364 if (PyErr_Occurred()) SWIG_fail
;
25366 Py_INCREF(Py_None
); resultobj
= Py_None
;
25373 static PyObject
*_wrap_TreeCtrl_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25374 PyObject
*resultobj
;
25375 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25376 wxTreeItemId
*arg2
= 0 ;
25378 PyObject
* obj0
= 0 ;
25379 PyObject
* obj1
= 0 ;
25380 char *kwnames
[] = {
25381 (char *) "self",(char *) "item", NULL
25384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
25385 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25387 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25388 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25390 if (arg2
== NULL
) {
25391 PyErr_SetString(PyExc_TypeError
,"null reference");
25395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25396 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsVisible((wxTreeItemId
const &)*arg2
);
25398 wxPyEndAllowThreads(__tstate
);
25399 if (PyErr_Occurred()) SWIG_fail
;
25402 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25410 static PyObject
*_wrap_TreeCtrl_ItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25411 PyObject
*resultobj
;
25412 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25413 wxTreeItemId
*arg2
= 0 ;
25415 PyObject
* obj0
= 0 ;
25416 PyObject
* obj1
= 0 ;
25417 char *kwnames
[] = {
25418 (char *) "self",(char *) "item", NULL
25421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
25422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25424 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25425 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25427 if (arg2
== NULL
) {
25428 PyErr_SetString(PyExc_TypeError
,"null reference");
25432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25433 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->ItemHasChildren((wxTreeItemId
const &)*arg2
);
25435 wxPyEndAllowThreads(__tstate
);
25436 if (PyErr_Occurred()) SWIG_fail
;
25439 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25447 static PyObject
*_wrap_TreeCtrl_IsExpanded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25448 PyObject
*resultobj
;
25449 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25450 wxTreeItemId
*arg2
= 0 ;
25452 PyObject
* obj0
= 0 ;
25453 PyObject
* obj1
= 0 ;
25454 char *kwnames
[] = {
25455 (char *) "self",(char *) "item", NULL
25458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) goto fail
;
25459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25461 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25462 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25464 if (arg2
== NULL
) {
25465 PyErr_SetString(PyExc_TypeError
,"null reference");
25469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25470 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsExpanded((wxTreeItemId
const &)*arg2
);
25472 wxPyEndAllowThreads(__tstate
);
25473 if (PyErr_Occurred()) SWIG_fail
;
25476 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25484 static PyObject
*_wrap_TreeCtrl_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25485 PyObject
*resultobj
;
25486 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25487 wxTreeItemId
*arg2
= 0 ;
25489 PyObject
* obj0
= 0 ;
25490 PyObject
* obj1
= 0 ;
25491 char *kwnames
[] = {
25492 (char *) "self",(char *) "item", NULL
25495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
25496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25498 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25499 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25501 if (arg2
== NULL
) {
25502 PyErr_SetString(PyExc_TypeError
,"null reference");
25506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25507 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsSelected((wxTreeItemId
const &)*arg2
);
25509 wxPyEndAllowThreads(__tstate
);
25510 if (PyErr_Occurred()) SWIG_fail
;
25513 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25521 static PyObject
*_wrap_TreeCtrl_IsBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25522 PyObject
*resultobj
;
25523 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25524 wxTreeItemId
*arg2
= 0 ;
25526 PyObject
* obj0
= 0 ;
25527 PyObject
* obj1
= 0 ;
25528 char *kwnames
[] = {
25529 (char *) "self",(char *) "item", NULL
25532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsBold",kwnames
,&obj0
,&obj1
)) goto fail
;
25533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25535 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25536 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25538 if (arg2
== NULL
) {
25539 PyErr_SetString(PyExc_TypeError
,"null reference");
25543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25544 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsBold((wxTreeItemId
const &)*arg2
);
25546 wxPyEndAllowThreads(__tstate
);
25547 if (PyErr_Occurred()) SWIG_fail
;
25550 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25558 static PyObject
*_wrap_TreeCtrl_GetChildrenCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25559 PyObject
*resultobj
;
25560 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25561 wxTreeItemId
*arg2
= 0 ;
25562 bool arg3
= (bool) True
;
25564 PyObject
* obj0
= 0 ;
25565 PyObject
* obj1
= 0 ;
25566 PyObject
* obj2
= 0 ;
25567 char *kwnames
[] = {
25568 (char *) "self",(char *) "item",(char *) "recursively", NULL
25571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25572 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25573 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25574 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25575 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25577 if (arg2
== NULL
) {
25578 PyErr_SetString(PyExc_TypeError
,"null reference");
25582 arg3
= (bool) SWIG_AsBool(obj2
);
25583 if (PyErr_Occurred()) SWIG_fail
;
25586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25587 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
25589 wxPyEndAllowThreads(__tstate
);
25590 if (PyErr_Occurred()) SWIG_fail
;
25592 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
25599 static PyObject
*_wrap_TreeCtrl_GetRootItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25600 PyObject
*resultobj
;
25601 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25602 wxTreeItemId result
;
25603 PyObject
* obj0
= 0 ;
25604 char *kwnames
[] = {
25605 (char *) "self", NULL
25608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetRootItem",kwnames
,&obj0
)) goto fail
;
25609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25613 result
= ((wxPyTreeCtrl
const *)arg1
)->GetRootItem();
25615 wxPyEndAllowThreads(__tstate
);
25616 if (PyErr_Occurred()) SWIG_fail
;
25619 wxTreeItemId
* resultptr
;
25620 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25621 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25629 static PyObject
*_wrap_TreeCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25630 PyObject
*resultobj
;
25631 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25632 wxTreeItemId result
;
25633 PyObject
* obj0
= 0 ;
25634 char *kwnames
[] = {
25635 (char *) "self", NULL
25638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
25639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25643 result
= ((wxPyTreeCtrl
const *)arg1
)->GetSelection();
25645 wxPyEndAllowThreads(__tstate
);
25646 if (PyErr_Occurred()) SWIG_fail
;
25649 wxTreeItemId
* resultptr
;
25650 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25651 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25659 static PyObject
*_wrap_TreeCtrl_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25660 PyObject
*resultobj
;
25661 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25663 PyObject
* obj0
= 0 ;
25664 char *kwnames
[] = {
25665 (char *) "self", NULL
25668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelections",kwnames
,&obj0
)) goto fail
;
25669 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25673 result
= (PyObject
*)wxPyTreeCtrl_GetSelections(arg1
);
25675 wxPyEndAllowThreads(__tstate
);
25676 if (PyErr_Occurred()) SWIG_fail
;
25678 resultobj
= result
;
25685 static PyObject
*_wrap_TreeCtrl_GetItemParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25686 PyObject
*resultobj
;
25687 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25688 wxTreeItemId
*arg2
= 0 ;
25689 wxTreeItemId result
;
25690 PyObject
* obj0
= 0 ;
25691 PyObject
* obj1
= 0 ;
25692 char *kwnames
[] = {
25693 (char *) "self",(char *) "item", NULL
25696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) goto fail
;
25697 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25699 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25700 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25702 if (arg2
== NULL
) {
25703 PyErr_SetString(PyExc_TypeError
,"null reference");
25707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25708 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
25710 wxPyEndAllowThreads(__tstate
);
25711 if (PyErr_Occurred()) SWIG_fail
;
25714 wxTreeItemId
* resultptr
;
25715 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25716 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25724 static PyObject
*_wrap_TreeCtrl_GetFirstChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25725 PyObject
*resultobj
;
25726 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25727 wxTreeItemId
*arg2
= 0 ;
25729 PyObject
* obj0
= 0 ;
25730 PyObject
* obj1
= 0 ;
25731 char *kwnames
[] = {
25732 (char *) "self",(char *) "item", NULL
25735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) goto fail
;
25736 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25738 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25739 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25741 if (arg2
== NULL
) {
25742 PyErr_SetString(PyExc_TypeError
,"null reference");
25746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25747 result
= (PyObject
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
25749 wxPyEndAllowThreads(__tstate
);
25750 if (PyErr_Occurred()) SWIG_fail
;
25752 resultobj
= result
;
25759 static PyObject
*_wrap_TreeCtrl_GetNextChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25760 PyObject
*resultobj
;
25761 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25762 wxTreeItemId
*arg2
= 0 ;
25763 void *arg3
= (void *) 0 ;
25765 PyObject
* obj0
= 0 ;
25766 PyObject
* obj1
= 0 ;
25767 PyObject
* obj2
= 0 ;
25768 char *kwnames
[] = {
25769 (char *) "self",(char *) "item",(char *) "cookie", NULL
25772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25773 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25774 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25775 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25776 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25778 if (arg2
== NULL
) {
25779 PyErr_SetString(PyExc_TypeError
,"null reference");
25782 if ((SWIG_ConvertPtr(obj2
,&arg3
,0,SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25785 result
= (PyObject
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
25787 wxPyEndAllowThreads(__tstate
);
25788 if (PyErr_Occurred()) SWIG_fail
;
25790 resultobj
= result
;
25797 static PyObject
*_wrap_TreeCtrl_GetLastChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25798 PyObject
*resultobj
;
25799 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25800 wxTreeItemId
*arg2
= 0 ;
25801 wxTreeItemId result
;
25802 PyObject
* obj0
= 0 ;
25803 PyObject
* obj1
= 0 ;
25804 char *kwnames
[] = {
25805 (char *) "self",(char *) "item", NULL
25808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) goto fail
;
25809 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25810 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25811 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25812 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25814 if (arg2
== NULL
) {
25815 PyErr_SetString(PyExc_TypeError
,"null reference");
25819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25820 result
= ((wxPyTreeCtrl
const *)arg1
)->GetLastChild((wxTreeItemId
const &)*arg2
);
25822 wxPyEndAllowThreads(__tstate
);
25823 if (PyErr_Occurred()) SWIG_fail
;
25826 wxTreeItemId
* resultptr
;
25827 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25828 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25836 static PyObject
*_wrap_TreeCtrl_GetNextSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25837 PyObject
*resultobj
;
25838 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25839 wxTreeItemId
*arg2
= 0 ;
25840 wxTreeItemId result
;
25841 PyObject
* obj0
= 0 ;
25842 PyObject
* obj1
= 0 ;
25843 char *kwnames
[] = {
25844 (char *) "self",(char *) "item", NULL
25847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
25848 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25849 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25850 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25851 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25853 if (arg2
== NULL
) {
25854 PyErr_SetString(PyExc_TypeError
,"null reference");
25858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25859 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextSibling((wxTreeItemId
const &)*arg2
);
25861 wxPyEndAllowThreads(__tstate
);
25862 if (PyErr_Occurred()) SWIG_fail
;
25865 wxTreeItemId
* resultptr
;
25866 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25867 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25875 static PyObject
*_wrap_TreeCtrl_GetPrevSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25876 PyObject
*resultobj
;
25877 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25878 wxTreeItemId
*arg2
= 0 ;
25879 wxTreeItemId result
;
25880 PyObject
* obj0
= 0 ;
25881 PyObject
* obj1
= 0 ;
25882 char *kwnames
[] = {
25883 (char *) "self",(char *) "item", NULL
25886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
25887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25889 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25890 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25892 if (arg2
== NULL
) {
25893 PyErr_SetString(PyExc_TypeError
,"null reference");
25897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25898 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevSibling((wxTreeItemId
const &)*arg2
);
25900 wxPyEndAllowThreads(__tstate
);
25901 if (PyErr_Occurred()) SWIG_fail
;
25904 wxTreeItemId
* resultptr
;
25905 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25906 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25914 static PyObject
*_wrap_TreeCtrl_GetFirstVisibleItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25915 PyObject
*resultobj
;
25916 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25917 wxTreeItemId result
;
25918 PyObject
* obj0
= 0 ;
25919 char *kwnames
[] = {
25920 (char *) "self", NULL
25923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames
,&obj0
)) goto fail
;
25924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25928 result
= ((wxPyTreeCtrl
const *)arg1
)->GetFirstVisibleItem();
25930 wxPyEndAllowThreads(__tstate
);
25931 if (PyErr_Occurred()) SWIG_fail
;
25934 wxTreeItemId
* resultptr
;
25935 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25936 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25944 static PyObject
*_wrap_TreeCtrl_GetNextVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25945 PyObject
*resultobj
;
25946 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25947 wxTreeItemId
*arg2
= 0 ;
25948 wxTreeItemId result
;
25949 PyObject
* obj0
= 0 ;
25950 PyObject
* obj1
= 0 ;
25951 char *kwnames
[] = {
25952 (char *) "self",(char *) "item", NULL
25955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
25956 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25958 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25959 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25961 if (arg2
== NULL
) {
25962 PyErr_SetString(PyExc_TypeError
,"null reference");
25966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25967 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextVisible((wxTreeItemId
const &)*arg2
);
25969 wxPyEndAllowThreads(__tstate
);
25970 if (PyErr_Occurred()) SWIG_fail
;
25973 wxTreeItemId
* resultptr
;
25974 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25975 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25983 static PyObject
*_wrap_TreeCtrl_GetPrevVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25984 PyObject
*resultobj
;
25985 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25986 wxTreeItemId
*arg2
= 0 ;
25987 wxTreeItemId result
;
25988 PyObject
* obj0
= 0 ;
25989 PyObject
* obj1
= 0 ;
25990 char *kwnames
[] = {
25991 (char *) "self",(char *) "item", NULL
25994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
25995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25997 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25998 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26000 if (arg2
== NULL
) {
26001 PyErr_SetString(PyExc_TypeError
,"null reference");
26005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26006 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevVisible((wxTreeItemId
const &)*arg2
);
26008 wxPyEndAllowThreads(__tstate
);
26009 if (PyErr_Occurred()) SWIG_fail
;
26012 wxTreeItemId
* resultptr
;
26013 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26014 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26022 static PyObject
*_wrap_TreeCtrl_AddRoot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26023 PyObject
*resultobj
;
26024 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26025 wxString
*arg2
= 0 ;
26026 int arg3
= (int) -1 ;
26027 int arg4
= (int) -1 ;
26028 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
26029 wxTreeItemId result
;
26030 bool temp2
= False
;
26031 PyObject
* obj0
= 0 ;
26032 PyObject
* obj1
= 0 ;
26033 PyObject
* obj2
= 0 ;
26034 PyObject
* obj3
= 0 ;
26035 PyObject
* obj4
= 0 ;
26036 char *kwnames
[] = {
26037 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
26040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
26041 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26044 arg2
= wxString_in_helper(obj1
);
26045 if (arg2
== NULL
) SWIG_fail
;
26049 arg3
= (int) SWIG_AsInt(obj2
);
26050 if (PyErr_Occurred()) SWIG_fail
;
26053 arg4
= (int) SWIG_AsInt(obj3
);
26054 if (PyErr_Occurred()) SWIG_fail
;
26057 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxPyTreeItemData
,
26058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26062 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
26064 wxPyEndAllowThreads(__tstate
);
26065 if (PyErr_Occurred()) SWIG_fail
;
26068 wxTreeItemId
* resultptr
;
26069 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26070 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26086 static PyObject
*_wrap_TreeCtrl_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26087 PyObject
*resultobj
;
26088 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26089 wxTreeItemId
*arg2
= 0 ;
26090 wxString
*arg3
= 0 ;
26091 int arg4
= (int) -1 ;
26092 int arg5
= (int) -1 ;
26093 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
26094 wxTreeItemId result
;
26095 bool temp3
= False
;
26096 PyObject
* obj0
= 0 ;
26097 PyObject
* obj1
= 0 ;
26098 PyObject
* obj2
= 0 ;
26099 PyObject
* obj3
= 0 ;
26100 PyObject
* obj4
= 0 ;
26101 PyObject
* obj5
= 0 ;
26102 char *kwnames
[] = {
26103 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
26106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
26107 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26108 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26109 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26110 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26112 if (arg2
== NULL
) {
26113 PyErr_SetString(PyExc_TypeError
,"null reference");
26117 arg3
= wxString_in_helper(obj2
);
26118 if (arg3
== NULL
) SWIG_fail
;
26122 arg4
= (int) SWIG_AsInt(obj3
);
26123 if (PyErr_Occurred()) SWIG_fail
;
26126 arg5
= (int) SWIG_AsInt(obj4
);
26127 if (PyErr_Occurred()) SWIG_fail
;
26130 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxPyTreeItemData
,
26131 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26135 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
26137 wxPyEndAllowThreads(__tstate
);
26138 if (PyErr_Occurred()) SWIG_fail
;
26141 wxTreeItemId
* resultptr
;
26142 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26143 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26159 static PyObject
*_wrap_TreeCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26160 PyObject
*resultobj
;
26161 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26162 wxTreeItemId
*arg2
= 0 ;
26163 wxTreeItemId
*arg3
= 0 ;
26164 wxString
*arg4
= 0 ;
26165 int arg5
= (int) -1 ;
26166 int arg6
= (int) -1 ;
26167 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
26168 wxTreeItemId result
;
26169 bool temp4
= False
;
26170 PyObject
* obj0
= 0 ;
26171 PyObject
* obj1
= 0 ;
26172 PyObject
* obj2
= 0 ;
26173 PyObject
* obj3
= 0 ;
26174 PyObject
* obj4
= 0 ;
26175 PyObject
* obj5
= 0 ;
26176 PyObject
* obj6
= 0 ;
26177 char *kwnames
[] = {
26178 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
26181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
26182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26184 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26185 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26187 if (arg2
== NULL
) {
26188 PyErr_SetString(PyExc_TypeError
,"null reference");
26191 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTreeItemId
,
26192 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26194 if (arg3
== NULL
) {
26195 PyErr_SetString(PyExc_TypeError
,"null reference");
26199 arg4
= wxString_in_helper(obj3
);
26200 if (arg4
== NULL
) SWIG_fail
;
26204 arg5
= (int) SWIG_AsInt(obj4
);
26205 if (PyErr_Occurred()) SWIG_fail
;
26208 arg6
= (int) SWIG_AsInt(obj5
);
26209 if (PyErr_Occurred()) SWIG_fail
;
26212 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxPyTreeItemData
,
26213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26217 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
26219 wxPyEndAllowThreads(__tstate
);
26220 if (PyErr_Occurred()) SWIG_fail
;
26223 wxTreeItemId
* resultptr
;
26224 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26225 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26241 static PyObject
*_wrap_TreeCtrl_InsertItemBefore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26242 PyObject
*resultobj
;
26243 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26244 wxTreeItemId
*arg2
= 0 ;
26246 wxString
*arg4
= 0 ;
26247 int arg5
= (int) -1 ;
26248 int arg6
= (int) -1 ;
26249 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
26250 wxTreeItemId result
;
26251 bool temp4
= False
;
26252 PyObject
* obj0
= 0 ;
26253 PyObject
* obj1
= 0 ;
26254 PyObject
* obj2
= 0 ;
26255 PyObject
* obj3
= 0 ;
26256 PyObject
* obj4
= 0 ;
26257 PyObject
* obj5
= 0 ;
26258 PyObject
* obj6
= 0 ;
26259 char *kwnames
[] = {
26260 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
26263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
26264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26266 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26267 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26269 if (arg2
== NULL
) {
26270 PyErr_SetString(PyExc_TypeError
,"null reference");
26273 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
26274 if (PyErr_Occurred()) SWIG_fail
;
26276 arg4
= wxString_in_helper(obj3
);
26277 if (arg4
== NULL
) SWIG_fail
;
26281 arg5
= (int) SWIG_AsInt(obj4
);
26282 if (PyErr_Occurred()) SWIG_fail
;
26285 arg6
= (int) SWIG_AsInt(obj5
);
26286 if (PyErr_Occurred()) SWIG_fail
;
26289 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxPyTreeItemData
,
26290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26294 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
26296 wxPyEndAllowThreads(__tstate
);
26297 if (PyErr_Occurred()) SWIG_fail
;
26300 wxTreeItemId
* resultptr
;
26301 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26302 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26318 static PyObject
*_wrap_TreeCtrl_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26319 PyObject
*resultobj
;
26320 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26321 wxTreeItemId
*arg2
= 0 ;
26322 wxString
*arg3
= 0 ;
26323 int arg4
= (int) -1 ;
26324 int arg5
= (int) -1 ;
26325 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
26326 wxTreeItemId result
;
26327 bool temp3
= False
;
26328 PyObject
* obj0
= 0 ;
26329 PyObject
* obj1
= 0 ;
26330 PyObject
* obj2
= 0 ;
26331 PyObject
* obj3
= 0 ;
26332 PyObject
* obj4
= 0 ;
26333 PyObject
* obj5
= 0 ;
26334 char *kwnames
[] = {
26335 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
26338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
26339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26341 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26342 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26344 if (arg2
== NULL
) {
26345 PyErr_SetString(PyExc_TypeError
,"null reference");
26349 arg3
= wxString_in_helper(obj2
);
26350 if (arg3
== NULL
) SWIG_fail
;
26354 arg4
= (int) SWIG_AsInt(obj3
);
26355 if (PyErr_Occurred()) SWIG_fail
;
26358 arg5
= (int) SWIG_AsInt(obj4
);
26359 if (PyErr_Occurred()) SWIG_fail
;
26362 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxPyTreeItemData
,
26363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26367 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
26369 wxPyEndAllowThreads(__tstate
);
26370 if (PyErr_Occurred()) SWIG_fail
;
26373 wxTreeItemId
* resultptr
;
26374 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26375 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26391 static PyObject
*_wrap_TreeCtrl_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26392 PyObject
*resultobj
;
26393 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26394 wxTreeItemId
*arg2
= 0 ;
26395 PyObject
* obj0
= 0 ;
26396 PyObject
* obj1
= 0 ;
26397 char *kwnames
[] = {
26398 (char *) "self",(char *) "item", NULL
26401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
26402 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26404 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26405 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26407 if (arg2
== NULL
) {
26408 PyErr_SetString(PyExc_TypeError
,"null reference");
26412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26413 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
26415 wxPyEndAllowThreads(__tstate
);
26416 if (PyErr_Occurred()) SWIG_fail
;
26418 Py_INCREF(Py_None
); resultobj
= Py_None
;
26425 static PyObject
*_wrap_TreeCtrl_DeleteChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26426 PyObject
*resultobj
;
26427 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26428 wxTreeItemId
*arg2
= 0 ;
26429 PyObject
* obj0
= 0 ;
26430 PyObject
* obj1
= 0 ;
26431 char *kwnames
[] = {
26432 (char *) "self",(char *) "item", NULL
26435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
26436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26438 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26439 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26441 if (arg2
== NULL
) {
26442 PyErr_SetString(PyExc_TypeError
,"null reference");
26446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26447 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
26449 wxPyEndAllowThreads(__tstate
);
26450 if (PyErr_Occurred()) SWIG_fail
;
26452 Py_INCREF(Py_None
); resultobj
= Py_None
;
26459 static PyObject
*_wrap_TreeCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26460 PyObject
*resultobj
;
26461 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26462 PyObject
* obj0
= 0 ;
26463 char *kwnames
[] = {
26464 (char *) "self", NULL
26467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
26468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26472 (arg1
)->DeleteAllItems();
26474 wxPyEndAllowThreads(__tstate
);
26475 if (PyErr_Occurred()) SWIG_fail
;
26477 Py_INCREF(Py_None
); resultobj
= Py_None
;
26484 static PyObject
*_wrap_TreeCtrl_Expand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26485 PyObject
*resultobj
;
26486 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26487 wxTreeItemId
*arg2
= 0 ;
26488 PyObject
* obj0
= 0 ;
26489 PyObject
* obj1
= 0 ;
26490 char *kwnames
[] = {
26491 (char *) "self",(char *) "item", NULL
26494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Expand",kwnames
,&obj0
,&obj1
)) goto fail
;
26495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26497 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26498 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26500 if (arg2
== NULL
) {
26501 PyErr_SetString(PyExc_TypeError
,"null reference");
26505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26506 (arg1
)->Expand((wxTreeItemId
const &)*arg2
);
26508 wxPyEndAllowThreads(__tstate
);
26509 if (PyErr_Occurred()) SWIG_fail
;
26511 Py_INCREF(Py_None
); resultobj
= Py_None
;
26518 static PyObject
*_wrap_TreeCtrl_Collapse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26519 PyObject
*resultobj
;
26520 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26521 wxTreeItemId
*arg2
= 0 ;
26522 PyObject
* obj0
= 0 ;
26523 PyObject
* obj1
= 0 ;
26524 char *kwnames
[] = {
26525 (char *) "self",(char *) "item", NULL
26528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Collapse",kwnames
,&obj0
,&obj1
)) goto fail
;
26529 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26531 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26532 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26534 if (arg2
== NULL
) {
26535 PyErr_SetString(PyExc_TypeError
,"null reference");
26539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26540 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
26542 wxPyEndAllowThreads(__tstate
);
26543 if (PyErr_Occurred()) SWIG_fail
;
26545 Py_INCREF(Py_None
); resultobj
= Py_None
;
26552 static PyObject
*_wrap_TreeCtrl_CollapseAndReset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26553 PyObject
*resultobj
;
26554 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26555 wxTreeItemId
*arg2
= 0 ;
26556 PyObject
* obj0
= 0 ;
26557 PyObject
* obj1
= 0 ;
26558 char *kwnames
[] = {
26559 (char *) "self",(char *) "item", NULL
26562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) goto fail
;
26563 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26565 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26566 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26568 if (arg2
== NULL
) {
26569 PyErr_SetString(PyExc_TypeError
,"null reference");
26573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26574 (arg1
)->CollapseAndReset((wxTreeItemId
const &)*arg2
);
26576 wxPyEndAllowThreads(__tstate
);
26577 if (PyErr_Occurred()) SWIG_fail
;
26579 Py_INCREF(Py_None
); resultobj
= Py_None
;
26586 static PyObject
*_wrap_TreeCtrl_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26587 PyObject
*resultobj
;
26588 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26589 wxTreeItemId
*arg2
= 0 ;
26590 PyObject
* obj0
= 0 ;
26591 PyObject
* obj1
= 0 ;
26592 char *kwnames
[] = {
26593 (char *) "self",(char *) "item", NULL
26596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
26597 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26599 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26600 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26602 if (arg2
== NULL
) {
26603 PyErr_SetString(PyExc_TypeError
,"null reference");
26607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26608 (arg1
)->Toggle((wxTreeItemId
const &)*arg2
);
26610 wxPyEndAllowThreads(__tstate
);
26611 if (PyErr_Occurred()) SWIG_fail
;
26613 Py_INCREF(Py_None
); resultobj
= Py_None
;
26620 static PyObject
*_wrap_TreeCtrl_Unselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26621 PyObject
*resultobj
;
26622 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26623 PyObject
* obj0
= 0 ;
26624 char *kwnames
[] = {
26625 (char *) "self", NULL
26628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_Unselect",kwnames
,&obj0
)) goto fail
;
26629 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26633 (arg1
)->Unselect();
26635 wxPyEndAllowThreads(__tstate
);
26636 if (PyErr_Occurred()) SWIG_fail
;
26638 Py_INCREF(Py_None
); resultobj
= Py_None
;
26645 static PyObject
*_wrap_TreeCtrl_UnselectItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26646 PyObject
*resultobj
;
26647 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26648 wxTreeItemId
*arg2
= 0 ;
26649 PyObject
* obj0
= 0 ;
26650 PyObject
* obj1
= 0 ;
26651 char *kwnames
[] = {
26652 (char *) "self",(char *) "item", NULL
26655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_UnselectItem",kwnames
,&obj0
,&obj1
)) goto fail
;
26656 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26658 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26659 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26661 if (arg2
== NULL
) {
26662 PyErr_SetString(PyExc_TypeError
,"null reference");
26666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26667 (arg1
)->UnselectItem((wxTreeItemId
const &)*arg2
);
26669 wxPyEndAllowThreads(__tstate
);
26670 if (PyErr_Occurred()) SWIG_fail
;
26672 Py_INCREF(Py_None
); resultobj
= Py_None
;
26679 static PyObject
*_wrap_TreeCtrl_UnselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26680 PyObject
*resultobj
;
26681 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26682 PyObject
* obj0
= 0 ;
26683 char *kwnames
[] = {
26684 (char *) "self", NULL
26687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_UnselectAll",kwnames
,&obj0
)) goto fail
;
26688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26692 (arg1
)->UnselectAll();
26694 wxPyEndAllowThreads(__tstate
);
26695 if (PyErr_Occurred()) SWIG_fail
;
26697 Py_INCREF(Py_None
); resultobj
= Py_None
;
26704 static PyObject
*_wrap_TreeCtrl_SelectItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26705 PyObject
*resultobj
;
26706 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26707 wxTreeItemId
*arg2
= 0 ;
26708 bool arg3
= (bool) True
;
26709 PyObject
* obj0
= 0 ;
26710 PyObject
* obj1
= 0 ;
26711 PyObject
* obj2
= 0 ;
26712 char *kwnames
[] = {
26713 (char *) "self",(char *) "item",(char *) "select", NULL
26716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26717 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26719 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26720 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26722 if (arg2
== NULL
) {
26723 PyErr_SetString(PyExc_TypeError
,"null reference");
26727 arg3
= (bool) SWIG_AsBool(obj2
);
26728 if (PyErr_Occurred()) SWIG_fail
;
26731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26732 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
,arg3
);
26734 wxPyEndAllowThreads(__tstate
);
26735 if (PyErr_Occurred()) SWIG_fail
;
26737 Py_INCREF(Py_None
); resultobj
= Py_None
;
26744 static PyObject
*_wrap_TreeCtrl_ToggleItemSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26745 PyObject
*resultobj
;
26746 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26747 wxTreeItemId
*arg2
= 0 ;
26748 PyObject
* obj0
= 0 ;
26749 PyObject
* obj1
= 0 ;
26750 char *kwnames
[] = {
26751 (char *) "self",(char *) "item", NULL
26754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
26755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26757 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26758 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26760 if (arg2
== NULL
) {
26761 PyErr_SetString(PyExc_TypeError
,"null reference");
26765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26766 (arg1
)->ToggleItemSelection((wxTreeItemId
const &)*arg2
);
26768 wxPyEndAllowThreads(__tstate
);
26769 if (PyErr_Occurred()) SWIG_fail
;
26771 Py_INCREF(Py_None
); resultobj
= Py_None
;
26778 static PyObject
*_wrap_TreeCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26779 PyObject
*resultobj
;
26780 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26781 wxTreeItemId
*arg2
= 0 ;
26782 PyObject
* obj0
= 0 ;
26783 PyObject
* obj1
= 0 ;
26784 char *kwnames
[] = {
26785 (char *) "self",(char *) "item", NULL
26788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
26789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26791 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26792 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26794 if (arg2
== NULL
) {
26795 PyErr_SetString(PyExc_TypeError
,"null reference");
26799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26800 (arg1
)->EnsureVisible((wxTreeItemId
const &)*arg2
);
26802 wxPyEndAllowThreads(__tstate
);
26803 if (PyErr_Occurred()) SWIG_fail
;
26805 Py_INCREF(Py_None
); resultobj
= Py_None
;
26812 static PyObject
*_wrap_TreeCtrl_ScrollTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26813 PyObject
*resultobj
;
26814 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26815 wxTreeItemId
*arg2
= 0 ;
26816 PyObject
* obj0
= 0 ;
26817 PyObject
* obj1
= 0 ;
26818 char *kwnames
[] = {
26819 (char *) "self",(char *) "item", NULL
26822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) goto fail
;
26823 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26825 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26826 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26828 if (arg2
== NULL
) {
26829 PyErr_SetString(PyExc_TypeError
,"null reference");
26833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26834 (arg1
)->ScrollTo((wxTreeItemId
const &)*arg2
);
26836 wxPyEndAllowThreads(__tstate
);
26837 if (PyErr_Occurred()) SWIG_fail
;
26839 Py_INCREF(Py_None
); resultobj
= Py_None
;
26846 static PyObject
*_wrap_TreeCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26847 PyObject
*resultobj
;
26848 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26849 wxTreeItemId
*arg2
= 0 ;
26850 PyObject
* obj0
= 0 ;
26851 PyObject
* obj1
= 0 ;
26852 char *kwnames
[] = {
26853 (char *) "self",(char *) "item", NULL
26856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
26857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26859 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26860 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26862 if (arg2
== NULL
) {
26863 PyErr_SetString(PyExc_TypeError
,"null reference");
26867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26868 (arg1
)->EditLabel((wxTreeItemId
const &)*arg2
);
26870 wxPyEndAllowThreads(__tstate
);
26871 if (PyErr_Occurred()) SWIG_fail
;
26873 Py_INCREF(Py_None
); resultobj
= Py_None
;
26880 static PyObject
*_wrap_TreeCtrl_GetEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26881 PyObject
*resultobj
;
26882 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26883 wxTextCtrl
*result
;
26884 PyObject
* obj0
= 0 ;
26885 char *kwnames
[] = {
26886 (char *) "self", NULL
26889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetEditControl",kwnames
,&obj0
)) goto fail
;
26890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26894 result
= (wxTextCtrl
*)((wxPyTreeCtrl
const *)arg1
)->GetEditControl();
26896 wxPyEndAllowThreads(__tstate
);
26897 if (PyErr_Occurred()) SWIG_fail
;
26900 resultobj
= wxPyMake_wxObject(result
);
26908 static PyObject
*_wrap_TreeCtrl_EndEditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26909 PyObject
*resultobj
;
26910 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26911 wxTreeItemId
*arg2
= 0 ;
26912 bool arg3
= (bool) False
;
26913 PyObject
* obj0
= 0 ;
26914 PyObject
* obj1
= 0 ;
26915 PyObject
* obj2
= 0 ;
26916 char *kwnames
[] = {
26917 (char *) "self",(char *) "item",(char *) "discardChanges", NULL
26920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_EndEditLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26923 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26924 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26926 if (arg2
== NULL
) {
26927 PyErr_SetString(PyExc_TypeError
,"null reference");
26931 arg3
= (bool) SWIG_AsBool(obj2
);
26932 if (PyErr_Occurred()) SWIG_fail
;
26935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26936 (arg1
)->EndEditLabel((wxTreeItemId
const &)*arg2
,arg3
);
26938 wxPyEndAllowThreads(__tstate
);
26939 if (PyErr_Occurred()) SWIG_fail
;
26941 Py_INCREF(Py_None
); resultobj
= Py_None
;
26948 static PyObject
*_wrap_TreeCtrl_SortChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26949 PyObject
*resultobj
;
26950 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26951 wxTreeItemId
*arg2
= 0 ;
26952 PyObject
* obj0
= 0 ;
26953 PyObject
* obj1
= 0 ;
26954 char *kwnames
[] = {
26955 (char *) "self",(char *) "item", NULL
26958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SortChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
26959 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26961 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26962 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26964 if (arg2
== NULL
) {
26965 PyErr_SetString(PyExc_TypeError
,"null reference");
26969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26970 (arg1
)->SortChildren((wxTreeItemId
const &)*arg2
);
26972 wxPyEndAllowThreads(__tstate
);
26973 if (PyErr_Occurred()) SWIG_fail
;
26975 Py_INCREF(Py_None
); resultobj
= Py_None
;
26982 static PyObject
*_wrap_TreeCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26983 PyObject
*resultobj
;
26984 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26985 wxPoint
*arg2
= 0 ;
26987 wxTreeItemId result
;
26990 PyObject
* obj0
= 0 ;
26991 PyObject
* obj1
= 0 ;
26992 char *kwnames
[] = {
26993 (char *) "self",(char *) "point", NULL
26997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
26998 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27002 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
27005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27006 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
27008 wxPyEndAllowThreads(__tstate
);
27009 if (PyErr_Occurred()) SWIG_fail
;
27012 wxTreeItemId
* resultptr
;
27013 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27014 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27017 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
27018 resultobj
= t_output_helper(resultobj
,o
);
27026 static PyObject
*_wrap_TreeCtrl_GetBoundingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27027 PyObject
*resultobj
;
27028 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27029 wxTreeItemId
*arg2
= 0 ;
27030 bool arg3
= (bool) False
;
27032 PyObject
* obj0
= 0 ;
27033 PyObject
* obj1
= 0 ;
27034 PyObject
* obj2
= 0 ;
27035 char *kwnames
[] = {
27036 (char *) "self",(char *) "item",(char *) "textOnly", NULL
27039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27040 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27042 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27043 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27045 if (arg2
== NULL
) {
27046 PyErr_SetString(PyExc_TypeError
,"null reference");
27050 arg3
= (bool) SWIG_AsBool(obj2
);
27051 if (PyErr_Occurred()) SWIG_fail
;
27054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27055 result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
27057 wxPyEndAllowThreads(__tstate
);
27058 if (PyErr_Occurred()) SWIG_fail
;
27060 resultobj
= result
;
27067 static PyObject
*_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27068 PyObject
*resultobj
;
27069 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
27070 wxVisualAttributes result
;
27071 PyObject
* obj0
= 0 ;
27072 char *kwnames
[] = {
27073 (char *) "variant", NULL
27076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
27078 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
27079 if (PyErr_Occurred()) SWIG_fail
;
27082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27083 result
= wxPyTreeCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
27085 wxPyEndAllowThreads(__tstate
);
27086 if (PyErr_Occurred()) SWIG_fail
;
27089 wxVisualAttributes
* resultptr
;
27090 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
27091 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
27099 static PyObject
* TreeCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
27101 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27102 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl
, obj
);
27104 return Py_BuildValue((char *)"");
27106 static int _wrap_DirDialogDefaultFolderStr_set(PyObject
*_val
) {
27107 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogDefaultFolderStr is read-only.");
27112 static PyObject
*_wrap_DirDialogDefaultFolderStr_get() {
27117 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
27119 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
27126 static PyObject
*_wrap_new_GenericDirCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27127 PyObject
*resultobj
;
27128 wxWindow
*arg1
= (wxWindow
*) 0 ;
27129 int arg2
= (int) (int)-1 ;
27130 wxString
const &arg3_defvalue
= wxPyDirDialogDefaultFolderStr
;
27131 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
27132 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
27133 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
27134 wxSize
const &arg5_defvalue
= wxDefaultSize
;
27135 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
27136 long arg6
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
27137 wxString
const &arg7_defvalue
= wxPyEmptyString
;
27138 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
27139 int arg8
= (int) 0 ;
27140 wxString
const &arg9_defvalue
= wxPyTreeCtrlNameStr
;
27141 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
27142 wxGenericDirCtrl
*result
;
27143 bool temp3
= False
;
27146 bool temp7
= False
;
27147 bool temp9
= False
;
27148 PyObject
* obj0
= 0 ;
27149 PyObject
* obj1
= 0 ;
27150 PyObject
* obj2
= 0 ;
27151 PyObject
* obj3
= 0 ;
27152 PyObject
* obj4
= 0 ;
27153 PyObject
* obj5
= 0 ;
27154 PyObject
* obj6
= 0 ;
27155 PyObject
* obj7
= 0 ;
27156 PyObject
* obj8
= 0 ;
27157 char *kwnames
[] = {
27158 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
27161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
27162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27165 arg2
= (int const) SWIG_AsInt(obj1
);
27166 if (PyErr_Occurred()) SWIG_fail
;
27170 arg3
= wxString_in_helper(obj2
);
27171 if (arg3
== NULL
) SWIG_fail
;
27178 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
27184 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
27188 arg6
= (long) SWIG_AsLong(obj5
);
27189 if (PyErr_Occurred()) SWIG_fail
;
27193 arg7
= wxString_in_helper(obj6
);
27194 if (arg7
== NULL
) SWIG_fail
;
27199 arg8
= (int) SWIG_AsInt(obj7
);
27200 if (PyErr_Occurred()) SWIG_fail
;
27204 arg9
= wxString_in_helper(obj8
);
27205 if (arg9
== NULL
) SWIG_fail
;
27210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27211 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
27213 wxPyEndAllowThreads(__tstate
);
27214 if (PyErr_Occurred()) SWIG_fail
;
27216 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1);
27247 static PyObject
*_wrap_new_PreGenericDirCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27248 PyObject
*resultobj
;
27249 wxGenericDirCtrl
*result
;
27250 char *kwnames
[] = {
27254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGenericDirCtrl",kwnames
)) goto fail
;
27256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27257 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl();
27259 wxPyEndAllowThreads(__tstate
);
27260 if (PyErr_Occurred()) SWIG_fail
;
27262 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1);
27269 static PyObject
*_wrap_GenericDirCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27270 PyObject
*resultobj
;
27271 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27272 wxWindow
*arg2
= (wxWindow
*) 0 ;
27273 int arg3
= (int) (int)-1 ;
27274 wxString
const &arg4_defvalue
= wxPyDirDialogDefaultFolderStr
;
27275 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
27276 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
27277 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
27278 wxSize
const &arg6_defvalue
= wxDefaultSize
;
27279 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
27280 long arg7
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
27281 wxString
const &arg8_defvalue
= wxPyEmptyString
;
27282 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
27283 int arg9
= (int) 0 ;
27284 wxString
const &arg10_defvalue
= wxPyTreeCtrlNameStr
;
27285 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
27287 bool temp4
= False
;
27290 bool temp8
= False
;
27291 bool temp10
= False
;
27292 PyObject
* obj0
= 0 ;
27293 PyObject
* obj1
= 0 ;
27294 PyObject
* obj2
= 0 ;
27295 PyObject
* obj3
= 0 ;
27296 PyObject
* obj4
= 0 ;
27297 PyObject
* obj5
= 0 ;
27298 PyObject
* obj6
= 0 ;
27299 PyObject
* obj7
= 0 ;
27300 PyObject
* obj8
= 0 ;
27301 PyObject
* obj9
= 0 ;
27302 char *kwnames
[] = {
27303 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
27306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
27307 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27308 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27309 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
27310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27312 arg3
= (int const) SWIG_AsInt(obj2
);
27313 if (PyErr_Occurred()) SWIG_fail
;
27317 arg4
= wxString_in_helper(obj3
);
27318 if (arg4
== NULL
) SWIG_fail
;
27325 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
27331 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
27335 arg7
= (long) SWIG_AsLong(obj6
);
27336 if (PyErr_Occurred()) SWIG_fail
;
27340 arg8
= wxString_in_helper(obj7
);
27341 if (arg8
== NULL
) SWIG_fail
;
27346 arg9
= (int) SWIG_AsInt(obj8
);
27347 if (PyErr_Occurred()) SWIG_fail
;
27351 arg10
= wxString_in_helper(obj9
);
27352 if (arg10
== NULL
) SWIG_fail
;
27357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27358 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
,arg9
,(wxString
const &)*arg10
);
27360 wxPyEndAllowThreads(__tstate
);
27361 if (PyErr_Occurred()) SWIG_fail
;
27364 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27396 static PyObject
*_wrap_GenericDirCtrl_ExpandPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27397 PyObject
*resultobj
;
27398 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27399 wxString
*arg2
= 0 ;
27401 bool temp2
= False
;
27402 PyObject
* obj0
= 0 ;
27403 PyObject
* obj1
= 0 ;
27404 char *kwnames
[] = {
27405 (char *) "self",(char *) "path", NULL
27408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) goto fail
;
27409 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27412 arg2
= wxString_in_helper(obj1
);
27413 if (arg2
== NULL
) SWIG_fail
;
27417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27418 result
= (bool)(arg1
)->ExpandPath((wxString
const &)*arg2
);
27420 wxPyEndAllowThreads(__tstate
);
27421 if (PyErr_Occurred()) SWIG_fail
;
27424 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27440 static PyObject
*_wrap_GenericDirCtrl_GetDefaultPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27441 PyObject
*resultobj
;
27442 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27444 PyObject
* obj0
= 0 ;
27445 char *kwnames
[] = {
27446 (char *) "self", NULL
27449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames
,&obj0
)) goto fail
;
27450 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27454 result
= ((wxGenericDirCtrl
const *)arg1
)->GetDefaultPath();
27456 wxPyEndAllowThreads(__tstate
);
27457 if (PyErr_Occurred()) SWIG_fail
;
27461 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27463 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27472 static PyObject
*_wrap_GenericDirCtrl_SetDefaultPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27473 PyObject
*resultobj
;
27474 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27475 wxString
*arg2
= 0 ;
27476 bool temp2
= False
;
27477 PyObject
* obj0
= 0 ;
27478 PyObject
* obj1
= 0 ;
27479 char *kwnames
[] = {
27480 (char *) "self",(char *) "path", NULL
27483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames
,&obj0
,&obj1
)) goto fail
;
27484 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27487 arg2
= wxString_in_helper(obj1
);
27488 if (arg2
== NULL
) SWIG_fail
;
27492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27493 (arg1
)->SetDefaultPath((wxString
const &)*arg2
);
27495 wxPyEndAllowThreads(__tstate
);
27496 if (PyErr_Occurred()) SWIG_fail
;
27498 Py_INCREF(Py_None
); resultobj
= Py_None
;
27513 static PyObject
*_wrap_GenericDirCtrl_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27514 PyObject
*resultobj
;
27515 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27517 PyObject
* obj0
= 0 ;
27518 char *kwnames
[] = {
27519 (char *) "self", NULL
27522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetPath",kwnames
,&obj0
)) goto fail
;
27523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27527 result
= ((wxGenericDirCtrl
const *)arg1
)->GetPath();
27529 wxPyEndAllowThreads(__tstate
);
27530 if (PyErr_Occurred()) SWIG_fail
;
27534 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27536 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27545 static PyObject
*_wrap_GenericDirCtrl_GetFilePath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27546 PyObject
*resultobj
;
27547 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27549 PyObject
* obj0
= 0 ;
27550 char *kwnames
[] = {
27551 (char *) "self", NULL
27554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilePath",kwnames
,&obj0
)) goto fail
;
27555 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27559 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilePath();
27561 wxPyEndAllowThreads(__tstate
);
27562 if (PyErr_Occurred()) SWIG_fail
;
27566 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27568 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27577 static PyObject
*_wrap_GenericDirCtrl_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27578 PyObject
*resultobj
;
27579 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27580 wxString
*arg2
= 0 ;
27581 bool temp2
= False
;
27582 PyObject
* obj0
= 0 ;
27583 PyObject
* obj1
= 0 ;
27584 char *kwnames
[] = {
27585 (char *) "self",(char *) "path", NULL
27588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
27589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27592 arg2
= wxString_in_helper(obj1
);
27593 if (arg2
== NULL
) SWIG_fail
;
27597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27598 (arg1
)->SetPath((wxString
const &)*arg2
);
27600 wxPyEndAllowThreads(__tstate
);
27601 if (PyErr_Occurred()) SWIG_fail
;
27603 Py_INCREF(Py_None
); resultobj
= Py_None
;
27618 static PyObject
*_wrap_GenericDirCtrl_ShowHidden(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27619 PyObject
*resultobj
;
27620 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27622 PyObject
* obj0
= 0 ;
27623 PyObject
* obj1
= 0 ;
27624 char *kwnames
[] = {
27625 (char *) "self",(char *) "show", NULL
27628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames
,&obj0
,&obj1
)) goto fail
;
27629 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27631 arg2
= (bool) SWIG_AsBool(obj1
);
27632 if (PyErr_Occurred()) SWIG_fail
;
27634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27635 (arg1
)->ShowHidden(arg2
);
27637 wxPyEndAllowThreads(__tstate
);
27638 if (PyErr_Occurred()) SWIG_fail
;
27640 Py_INCREF(Py_None
); resultobj
= Py_None
;
27647 static PyObject
*_wrap_GenericDirCtrl_GetShowHidden(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27648 PyObject
*resultobj
;
27649 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27651 PyObject
* obj0
= 0 ;
27652 char *kwnames
[] = {
27653 (char *) "self", NULL
27656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames
,&obj0
)) goto fail
;
27657 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27661 result
= (bool)(arg1
)->GetShowHidden();
27663 wxPyEndAllowThreads(__tstate
);
27664 if (PyErr_Occurred()) SWIG_fail
;
27667 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27675 static PyObject
*_wrap_GenericDirCtrl_GetFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27676 PyObject
*resultobj
;
27677 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27679 PyObject
* obj0
= 0 ;
27680 char *kwnames
[] = {
27681 (char *) "self", NULL
27684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilter",kwnames
,&obj0
)) goto fail
;
27685 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27689 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilter();
27691 wxPyEndAllowThreads(__tstate
);
27692 if (PyErr_Occurred()) SWIG_fail
;
27696 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27698 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27707 static PyObject
*_wrap_GenericDirCtrl_SetFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27708 PyObject
*resultobj
;
27709 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27710 wxString
*arg2
= 0 ;
27711 bool temp2
= False
;
27712 PyObject
* obj0
= 0 ;
27713 PyObject
* obj1
= 0 ;
27714 char *kwnames
[] = {
27715 (char *) "self",(char *) "filter", NULL
27718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) goto fail
;
27719 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27722 arg2
= wxString_in_helper(obj1
);
27723 if (arg2
== NULL
) SWIG_fail
;
27727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27728 (arg1
)->SetFilter((wxString
const &)*arg2
);
27730 wxPyEndAllowThreads(__tstate
);
27731 if (PyErr_Occurred()) SWIG_fail
;
27733 Py_INCREF(Py_None
); resultobj
= Py_None
;
27748 static PyObject
*_wrap_GenericDirCtrl_GetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27749 PyObject
*resultobj
;
27750 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27752 PyObject
* obj0
= 0 ;
27753 char *kwnames
[] = {
27754 (char *) "self", NULL
27757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
27758 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27762 result
= (int)((wxGenericDirCtrl
const *)arg1
)->GetFilterIndex();
27764 wxPyEndAllowThreads(__tstate
);
27765 if (PyErr_Occurred()) SWIG_fail
;
27767 resultobj
= SWIG_FromInt((int)result
);
27774 static PyObject
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27775 PyObject
*resultobj
;
27776 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27778 PyObject
* obj0
= 0 ;
27779 PyObject
* obj1
= 0 ;
27780 char *kwnames
[] = {
27781 (char *) "self",(char *) "n", NULL
27784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
27785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27787 arg2
= (int) SWIG_AsInt(obj1
);
27788 if (PyErr_Occurred()) SWIG_fail
;
27790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27791 (arg1
)->SetFilterIndex(arg2
);
27793 wxPyEndAllowThreads(__tstate
);
27794 if (PyErr_Occurred()) SWIG_fail
;
27796 Py_INCREF(Py_None
); resultobj
= Py_None
;
27803 static PyObject
*_wrap_GenericDirCtrl_GetRootId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27804 PyObject
*resultobj
;
27805 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27806 wxTreeItemId result
;
27807 PyObject
* obj0
= 0 ;
27808 char *kwnames
[] = {
27809 (char *) "self", NULL
27812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetRootId",kwnames
,&obj0
)) goto fail
;
27813 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27817 result
= (arg1
)->GetRootId();
27819 wxPyEndAllowThreads(__tstate
);
27820 if (PyErr_Occurred()) SWIG_fail
;
27823 wxTreeItemId
* resultptr
;
27824 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27825 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27833 static PyObject
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27834 PyObject
*resultobj
;
27835 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27836 wxPyTreeCtrl
*result
;
27837 PyObject
* obj0
= 0 ;
27838 char *kwnames
[] = {
27839 (char *) "self", NULL
27842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames
,&obj0
)) goto fail
;
27843 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27847 result
= (wxPyTreeCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetTreeCtrl();
27849 wxPyEndAllowThreads(__tstate
);
27850 if (PyErr_Occurred()) SWIG_fail
;
27853 resultobj
= wxPyMake_wxObject(result
);
27861 static PyObject
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27862 PyObject
*resultobj
;
27863 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27864 wxDirFilterListCtrl
*result
;
27865 PyObject
* obj0
= 0 ;
27866 char *kwnames
[] = {
27867 (char *) "self", NULL
27870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames
,&obj0
)) goto fail
;
27871 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27875 result
= (wxDirFilterListCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetFilterListCtrl();
27877 wxPyEndAllowThreads(__tstate
);
27878 if (PyErr_Occurred()) SWIG_fail
;
27880 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 0);
27887 static PyObject
*_wrap_GenericDirCtrl_FindChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27888 PyObject
*resultobj
;
27889 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27890 wxTreeItemId arg2
;
27891 wxString
*arg3
= 0 ;
27893 wxTreeItemId result
;
27894 wxTreeItemId
*argp2
;
27895 bool temp3
= False
;
27897 PyObject
* obj0
= 0 ;
27898 PyObject
* obj1
= 0 ;
27899 PyObject
* obj2
= 0 ;
27900 char *kwnames
[] = {
27901 (char *) "self",(char *) "parentId",(char *) "path", NULL
27905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27906 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27908 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxTreeItemId
,
27909 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
27912 arg3
= wxString_in_helper(obj2
);
27913 if (arg3
== NULL
) SWIG_fail
;
27917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27918 result
= (arg1
)->FindChild(arg2
,(wxString
const &)*arg3
,*arg4
);
27920 wxPyEndAllowThreads(__tstate
);
27921 if (PyErr_Occurred()) SWIG_fail
;
27924 wxTreeItemId
* resultptr
;
27925 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27926 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27929 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
27930 resultobj
= t_output_helper(resultobj
,o
);
27946 static PyObject
*_wrap_GenericDirCtrl_DoResize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27947 PyObject
*resultobj
;
27948 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27949 PyObject
* obj0
= 0 ;
27950 char *kwnames
[] = {
27951 (char *) "self", NULL
27954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_DoResize",kwnames
,&obj0
)) goto fail
;
27955 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27959 (arg1
)->DoResize();
27961 wxPyEndAllowThreads(__tstate
);
27962 if (PyErr_Occurred()) SWIG_fail
;
27964 Py_INCREF(Py_None
); resultobj
= Py_None
;
27971 static PyObject
*_wrap_GenericDirCtrl_ReCreateTree(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27972 PyObject
*resultobj
;
27973 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27974 PyObject
* obj0
= 0 ;
27975 char *kwnames
[] = {
27976 (char *) "self", NULL
27979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames
,&obj0
)) goto fail
;
27980 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27984 (arg1
)->ReCreateTree();
27986 wxPyEndAllowThreads(__tstate
);
27987 if (PyErr_Occurred()) SWIG_fail
;
27989 Py_INCREF(Py_None
); resultobj
= Py_None
;
27996 static PyObject
* GenericDirCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
27998 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27999 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl
, obj
);
28001 return Py_BuildValue((char *)"");
28003 static PyObject
*_wrap_new_DirFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28004 PyObject
*resultobj
;
28005 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28006 int arg2
= (int) (int)-1 ;
28007 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28008 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28009 wxSize
const &arg4_defvalue
= wxDefaultSize
;
28010 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
28011 long arg5
= (long) 0 ;
28012 wxDirFilterListCtrl
*result
;
28015 PyObject
* obj0
= 0 ;
28016 PyObject
* obj1
= 0 ;
28017 PyObject
* obj2
= 0 ;
28018 PyObject
* obj3
= 0 ;
28019 PyObject
* obj4
= 0 ;
28020 char *kwnames
[] = {
28021 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
28024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28028 arg2
= (int const) SWIG_AsInt(obj1
);
28029 if (PyErr_Occurred()) SWIG_fail
;
28034 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28040 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
28044 arg5
= (long) SWIG_AsLong(obj4
);
28045 if (PyErr_Occurred()) SWIG_fail
;
28048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28049 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
28051 wxPyEndAllowThreads(__tstate
);
28052 if (PyErr_Occurred()) SWIG_fail
;
28054 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1);
28061 static PyObject
*_wrap_new_PreDirFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28062 PyObject
*resultobj
;
28063 wxDirFilterListCtrl
*result
;
28064 char *kwnames
[] = {
28068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDirFilterListCtrl",kwnames
)) goto fail
;
28070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28071 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl();
28073 wxPyEndAllowThreads(__tstate
);
28074 if (PyErr_Occurred()) SWIG_fail
;
28076 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1);
28083 static PyObject
*_wrap_DirFilterListCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28084 PyObject
*resultobj
;
28085 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
28086 wxGenericDirCtrl
*arg2
= (wxGenericDirCtrl
*) 0 ;
28087 int arg3
= (int) (int)-1 ;
28088 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
28089 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
28090 wxSize
const &arg5_defvalue
= wxDefaultSize
;
28091 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
28092 long arg6
= (long) 0 ;
28096 PyObject
* obj0
= 0 ;
28097 PyObject
* obj1
= 0 ;
28098 PyObject
* obj2
= 0 ;
28099 PyObject
* obj3
= 0 ;
28100 PyObject
* obj4
= 0 ;
28101 PyObject
* obj5
= 0 ;
28102 char *kwnames
[] = {
28103 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
28106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
28107 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirFilterListCtrl
,
28108 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28109 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGenericDirCtrl
,
28110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28112 arg3
= (int const) SWIG_AsInt(obj2
);
28113 if (PyErr_Occurred()) SWIG_fail
;
28118 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
28124 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
28128 arg6
= (long) SWIG_AsLong(obj5
);
28129 if (PyErr_Occurred()) SWIG_fail
;
28132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28133 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
28135 wxPyEndAllowThreads(__tstate
);
28136 if (PyErr_Occurred()) SWIG_fail
;
28139 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28147 static PyObject
*_wrap_DirFilterListCtrl_FillFilterList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28148 PyObject
*resultobj
;
28149 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
28150 wxString
*arg2
= 0 ;
28152 bool temp2
= False
;
28153 PyObject
* obj0
= 0 ;
28154 PyObject
* obj1
= 0 ;
28155 PyObject
* obj2
= 0 ;
28156 char *kwnames
[] = {
28157 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
28160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirFilterListCtrl
,
28162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28164 arg2
= wxString_in_helper(obj1
);
28165 if (arg2
== NULL
) SWIG_fail
;
28168 arg3
= (int) SWIG_AsInt(obj2
);
28169 if (PyErr_Occurred()) SWIG_fail
;
28171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28172 (arg1
)->FillFilterList((wxString
const &)*arg2
,arg3
);
28174 wxPyEndAllowThreads(__tstate
);
28175 if (PyErr_Occurred()) SWIG_fail
;
28177 Py_INCREF(Py_None
); resultobj
= Py_None
;
28192 static PyObject
* DirFilterListCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
28194 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28195 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl
, obj
);
28197 return Py_BuildValue((char *)"");
28199 static PyObject
*_wrap_new_PyControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28200 PyObject
*resultobj
;
28201 wxWindow
*arg1
= (wxWindow
*) 0 ;
28203 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28204 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28205 wxSize
const &arg4_defvalue
= wxDefaultSize
;
28206 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
28207 long arg5
= (long) 0 ;
28208 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
28209 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
28210 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
28211 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28212 wxPyControl
*result
;
28215 bool temp7
= False
;
28216 PyObject
* obj0
= 0 ;
28217 PyObject
* obj1
= 0 ;
28218 PyObject
* obj2
= 0 ;
28219 PyObject
* obj3
= 0 ;
28220 PyObject
* obj4
= 0 ;
28221 PyObject
* obj5
= 0 ;
28222 PyObject
* obj6
= 0 ;
28223 char *kwnames
[] = {
28224 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:new_PyControl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
28228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28230 arg2
= (int const) SWIG_AsInt(obj1
);
28231 if (PyErr_Occurred()) SWIG_fail
;
28235 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28241 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
28245 arg5
= (long) SWIG_AsLong(obj4
);
28246 if (PyErr_Occurred()) SWIG_fail
;
28249 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
28250 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28252 if (arg6
== NULL
) {
28253 PyErr_SetString(PyExc_TypeError
,"null reference");
28259 arg7
= wxString_in_helper(obj6
);
28260 if (arg7
== NULL
) SWIG_fail
;
28265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28266 result
= (wxPyControl
*)new wxPyControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
28268 wxPyEndAllowThreads(__tstate
);
28269 if (PyErr_Occurred()) SWIG_fail
;
28271 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControl
, 1);
28286 static PyObject
*_wrap_new_PrePyControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28287 PyObject
*resultobj
;
28288 wxPyControl
*result
;
28289 char *kwnames
[] = {
28293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyControl",kwnames
)) goto fail
;
28295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28296 result
= (wxPyControl
*)new wxPyControl();
28298 wxPyEndAllowThreads(__tstate
);
28299 if (PyErr_Occurred()) SWIG_fail
;
28301 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControl
, 1);
28308 static PyObject
*_wrap_PyControl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28309 PyObject
*resultobj
;
28310 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28311 PyObject
*arg2
= (PyObject
*) 0 ;
28312 PyObject
*arg3
= (PyObject
*) 0 ;
28313 PyObject
* obj0
= 0 ;
28314 PyObject
* obj1
= 0 ;
28315 PyObject
* obj2
= 0 ;
28316 char *kwnames
[] = {
28317 (char *) "self",(char *) "self",(char *) "_class", NULL
28320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28321 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28327 (arg1
)->_setCallbackInfo(arg2
,arg3
);
28329 wxPyEndAllowThreads(__tstate
);
28330 if (PyErr_Occurred()) SWIG_fail
;
28332 Py_INCREF(Py_None
); resultobj
= Py_None
;
28339 static PyObject
*_wrap_PyControl_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28340 PyObject
*resultobj
;
28341 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28346 PyObject
* obj0
= 0 ;
28347 PyObject
* obj1
= 0 ;
28348 PyObject
* obj2
= 0 ;
28349 PyObject
* obj3
= 0 ;
28350 PyObject
* obj4
= 0 ;
28351 char *kwnames
[] = {
28352 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
28355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyControl_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28358 arg2
= (int) SWIG_AsInt(obj1
);
28359 if (PyErr_Occurred()) SWIG_fail
;
28360 arg3
= (int) SWIG_AsInt(obj2
);
28361 if (PyErr_Occurred()) SWIG_fail
;
28362 arg4
= (int) SWIG_AsInt(obj3
);
28363 if (PyErr_Occurred()) SWIG_fail
;
28364 arg5
= (int) SWIG_AsInt(obj4
);
28365 if (PyErr_Occurred()) SWIG_fail
;
28367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28368 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
28370 wxPyEndAllowThreads(__tstate
);
28371 if (PyErr_Occurred()) SWIG_fail
;
28373 Py_INCREF(Py_None
); resultobj
= Py_None
;
28380 static PyObject
*_wrap_PyControl_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28381 PyObject
*resultobj
;
28382 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28387 int arg6
= (int) wxSIZE_AUTO
;
28388 PyObject
* obj0
= 0 ;
28389 PyObject
* obj1
= 0 ;
28390 PyObject
* obj2
= 0 ;
28391 PyObject
* obj3
= 0 ;
28392 PyObject
* obj4
= 0 ;
28393 PyObject
* obj5
= 0 ;
28394 char *kwnames
[] = {
28395 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
28398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyControl_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
28399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28401 arg2
= (int) SWIG_AsInt(obj1
);
28402 if (PyErr_Occurred()) SWIG_fail
;
28403 arg3
= (int) SWIG_AsInt(obj2
);
28404 if (PyErr_Occurred()) SWIG_fail
;
28405 arg4
= (int) SWIG_AsInt(obj3
);
28406 if (PyErr_Occurred()) SWIG_fail
;
28407 arg5
= (int) SWIG_AsInt(obj4
);
28408 if (PyErr_Occurred()) SWIG_fail
;
28410 arg6
= (int) SWIG_AsInt(obj5
);
28411 if (PyErr_Occurred()) SWIG_fail
;
28414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28415 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
28417 wxPyEndAllowThreads(__tstate
);
28418 if (PyErr_Occurred()) SWIG_fail
;
28420 Py_INCREF(Py_None
); resultobj
= Py_None
;
28427 static PyObject
*_wrap_PyControl_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28428 PyObject
*resultobj
;
28429 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28432 PyObject
* obj0
= 0 ;
28433 PyObject
* obj1
= 0 ;
28434 PyObject
* obj2
= 0 ;
28435 char *kwnames
[] = {
28436 (char *) "self",(char *) "width",(char *) "height", NULL
28439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28440 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28442 arg2
= (int) SWIG_AsInt(obj1
);
28443 if (PyErr_Occurred()) SWIG_fail
;
28444 arg3
= (int) SWIG_AsInt(obj2
);
28445 if (PyErr_Occurred()) SWIG_fail
;
28447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28448 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
28450 wxPyEndAllowThreads(__tstate
);
28451 if (PyErr_Occurred()) SWIG_fail
;
28453 Py_INCREF(Py_None
); resultobj
= Py_None
;
28460 static PyObject
*_wrap_PyControl_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28461 PyObject
*resultobj
;
28462 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28465 PyObject
* obj0
= 0 ;
28466 PyObject
* obj1
= 0 ;
28467 PyObject
* obj2
= 0 ;
28468 char *kwnames
[] = {
28469 (char *) "self",(char *) "x",(char *) "y", NULL
28472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28475 arg2
= (int) SWIG_AsInt(obj1
);
28476 if (PyErr_Occurred()) SWIG_fail
;
28477 arg3
= (int) SWIG_AsInt(obj2
);
28478 if (PyErr_Occurred()) SWIG_fail
;
28480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28481 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
28483 wxPyEndAllowThreads(__tstate
);
28484 if (PyErr_Occurred()) SWIG_fail
;
28486 Py_INCREF(Py_None
); resultobj
= Py_None
;
28493 static PyObject
*_wrap_PyControl_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28494 PyObject
*resultobj
;
28495 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28496 int *arg2
= (int *) 0 ;
28497 int *arg3
= (int *) 0 ;
28500 PyObject
* obj0
= 0 ;
28501 char *kwnames
[] = {
28502 (char *) "self", NULL
28507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
28508 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28512 ((wxPyControl
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
28514 wxPyEndAllowThreads(__tstate
);
28515 if (PyErr_Occurred()) SWIG_fail
;
28517 Py_INCREF(Py_None
); resultobj
= Py_None
;
28519 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
28520 resultobj
= t_output_helper(resultobj
,o
);
28523 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
28524 resultobj
= t_output_helper(resultobj
,o
);
28532 static PyObject
*_wrap_PyControl_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28533 PyObject
*resultobj
;
28534 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28535 int *arg2
= (int *) 0 ;
28536 int *arg3
= (int *) 0 ;
28539 PyObject
* obj0
= 0 ;
28540 char *kwnames
[] = {
28541 (char *) "self", NULL
28546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
28547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28551 ((wxPyControl
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
28553 wxPyEndAllowThreads(__tstate
);
28554 if (PyErr_Occurred()) SWIG_fail
;
28556 Py_INCREF(Py_None
); resultobj
= Py_None
;
28558 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
28559 resultobj
= t_output_helper(resultobj
,o
);
28562 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
28563 resultobj
= t_output_helper(resultobj
,o
);
28571 static PyObject
*_wrap_PyControl_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28572 PyObject
*resultobj
;
28573 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28574 int *arg2
= (int *) 0 ;
28575 int *arg3
= (int *) 0 ;
28578 PyObject
* obj0
= 0 ;
28579 char *kwnames
[] = {
28580 (char *) "self", NULL
28585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
28586 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28590 ((wxPyControl
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
28592 wxPyEndAllowThreads(__tstate
);
28593 if (PyErr_Occurred()) SWIG_fail
;
28595 Py_INCREF(Py_None
); resultobj
= Py_None
;
28597 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
28598 resultobj
= t_output_helper(resultobj
,o
);
28601 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
28602 resultobj
= t_output_helper(resultobj
,o
);
28610 static PyObject
*_wrap_PyControl_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28611 PyObject
*resultobj
;
28612 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28614 PyObject
* obj0
= 0 ;
28615 char *kwnames
[] = {
28616 (char *) "self", NULL
28619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
28620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28624 result
= ((wxPyControl
const *)arg1
)->base_DoGetVirtualSize();
28626 wxPyEndAllowThreads(__tstate
);
28627 if (PyErr_Occurred()) SWIG_fail
;
28630 wxSize
* resultptr
;
28631 resultptr
= new wxSize((wxSize
&) result
);
28632 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
28640 static PyObject
*_wrap_PyControl_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28641 PyObject
*resultobj
;
28642 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28644 PyObject
* obj0
= 0 ;
28645 char *kwnames
[] = {
28646 (char *) "self", NULL
28649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
28650 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28654 result
= ((wxPyControl
const *)arg1
)->base_DoGetBestSize();
28656 wxPyEndAllowThreads(__tstate
);
28657 if (PyErr_Occurred()) SWIG_fail
;
28660 wxSize
* resultptr
;
28661 resultptr
= new wxSize((wxSize
&) result
);
28662 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
28670 static PyObject
*_wrap_PyControl_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28671 PyObject
*resultobj
;
28672 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28673 PyObject
* obj0
= 0 ;
28674 char *kwnames
[] = {
28675 (char *) "self", NULL
28678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_InitDialog",kwnames
,&obj0
)) goto fail
;
28679 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28683 (arg1
)->base_InitDialog();
28685 wxPyEndAllowThreads(__tstate
);
28686 if (PyErr_Occurred()) SWIG_fail
;
28688 Py_INCREF(Py_None
); resultobj
= Py_None
;
28695 static PyObject
*_wrap_PyControl_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28696 PyObject
*resultobj
;
28697 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28699 PyObject
* obj0
= 0 ;
28700 char *kwnames
[] = {
28701 (char *) "self", NULL
28704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
28705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28709 result
= (bool)(arg1
)->base_TransferDataToWindow();
28711 wxPyEndAllowThreads(__tstate
);
28712 if (PyErr_Occurred()) SWIG_fail
;
28715 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28723 static PyObject
*_wrap_PyControl_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28724 PyObject
*resultobj
;
28725 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28727 PyObject
* obj0
= 0 ;
28728 char *kwnames
[] = {
28729 (char *) "self", NULL
28732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
28733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28737 result
= (bool)(arg1
)->base_TransferDataFromWindow();
28739 wxPyEndAllowThreads(__tstate
);
28740 if (PyErr_Occurred()) SWIG_fail
;
28743 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28751 static PyObject
*_wrap_PyControl_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28752 PyObject
*resultobj
;
28753 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28755 PyObject
* obj0
= 0 ;
28756 char *kwnames
[] = {
28757 (char *) "self", NULL
28760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_Validate",kwnames
,&obj0
)) goto fail
;
28761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28765 result
= (bool)(arg1
)->base_Validate();
28767 wxPyEndAllowThreads(__tstate
);
28768 if (PyErr_Occurred()) SWIG_fail
;
28771 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28779 static PyObject
*_wrap_PyControl_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28780 PyObject
*resultobj
;
28781 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28783 PyObject
* obj0
= 0 ;
28784 char *kwnames
[] = {
28785 (char *) "self", NULL
28788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
28789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28793 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocus();
28795 wxPyEndAllowThreads(__tstate
);
28796 if (PyErr_Occurred()) SWIG_fail
;
28799 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28807 static PyObject
*_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28808 PyObject
*resultobj
;
28809 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28811 PyObject
* obj0
= 0 ;
28812 char *kwnames
[] = {
28813 (char *) "self", NULL
28816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
28817 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28821 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocusFromKeyboard();
28823 wxPyEndAllowThreads(__tstate
);
28824 if (PyErr_Occurred()) SWIG_fail
;
28827 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28835 static PyObject
*_wrap_PyControl_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28836 PyObject
*resultobj
;
28837 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28839 PyObject
* obj0
= 0 ;
28840 char *kwnames
[] = {
28841 (char *) "self", NULL
28844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
28845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28849 result
= ((wxPyControl
const *)arg1
)->base_GetMaxSize();
28851 wxPyEndAllowThreads(__tstate
);
28852 if (PyErr_Occurred()) SWIG_fail
;
28855 wxSize
* resultptr
;
28856 resultptr
= new wxSize((wxSize
&) result
);
28857 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
28865 static PyObject
*_wrap_PyControl_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28866 PyObject
*resultobj
;
28867 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28868 wxWindow
*arg2
= (wxWindow
*) 0 ;
28869 PyObject
* obj0
= 0 ;
28870 PyObject
* obj1
= 0 ;
28871 char *kwnames
[] = {
28872 (char *) "self",(char *) "child", NULL
28875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
28876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28878 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28882 (arg1
)->base_AddChild(arg2
);
28884 wxPyEndAllowThreads(__tstate
);
28885 if (PyErr_Occurred()) SWIG_fail
;
28887 Py_INCREF(Py_None
); resultobj
= Py_None
;
28894 static PyObject
*_wrap_PyControl_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28895 PyObject
*resultobj
;
28896 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28897 wxWindow
*arg2
= (wxWindow
*) 0 ;
28898 PyObject
* obj0
= 0 ;
28899 PyObject
* obj1
= 0 ;
28900 char *kwnames
[] = {
28901 (char *) "self",(char *) "child", NULL
28904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
28905 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28907 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28911 (arg1
)->base_RemoveChild(arg2
);
28913 wxPyEndAllowThreads(__tstate
);
28914 if (PyErr_Occurred()) SWIG_fail
;
28916 Py_INCREF(Py_None
); resultobj
= Py_None
;
28923 static PyObject
*_wrap_PyControl_base_ShouldInheritColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28924 PyObject
*resultobj
;
28925 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28927 PyObject
* obj0
= 0 ;
28928 char *kwnames
[] = {
28929 (char *) "self", NULL
28932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
28933 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28937 result
= (bool)(arg1
)->base_ShouldInheritColours();
28939 wxPyEndAllowThreads(__tstate
);
28940 if (PyErr_Occurred()) SWIG_fail
;
28943 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28951 static PyObject
*_wrap_PyControl_base_ApplyParentThemeBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28952 PyObject
*resultobj
;
28953 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28954 wxColour
*arg2
= 0 ;
28956 PyObject
* obj0
= 0 ;
28957 PyObject
* obj1
= 0 ;
28958 char *kwnames
[] = {
28959 (char *) "self",(char *) "c", NULL
28962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
28963 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28967 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
28970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28971 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
28973 wxPyEndAllowThreads(__tstate
);
28974 if (PyErr_Occurred()) SWIG_fail
;
28976 Py_INCREF(Py_None
); resultobj
= Py_None
;
28983 static PyObject
* PyControl_swigregister(PyObject
*self
, PyObject
*args
) {
28985 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28986 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl
, obj
);
28988 return Py_BuildValue((char *)"");
28990 static PyObject
*_wrap_new_HelpEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28991 PyObject
*resultobj
;
28992 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
28993 int arg2
= (int) 0 ;
28994 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28995 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28996 wxHelpEvent
*result
;
28998 PyObject
* obj0
= 0 ;
28999 PyObject
* obj1
= 0 ;
29000 PyObject
* obj2
= 0 ;
29001 char *kwnames
[] = {
29002 (char *) "type",(char *) "winid",(char *) "pt", NULL
29005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_HelpEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29007 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
29008 if (PyErr_Occurred()) SWIG_fail
;
29011 arg2
= (int) SWIG_AsInt(obj1
);
29012 if (PyErr_Occurred()) SWIG_fail
;
29017 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29022 result
= (wxHelpEvent
*)new wxHelpEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
29024 wxPyEndAllowThreads(__tstate
);
29025 if (PyErr_Occurred()) SWIG_fail
;
29027 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpEvent
, 1);
29034 static PyObject
*_wrap_HelpEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29035 PyObject
*resultobj
;
29036 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
29038 PyObject
* obj0
= 0 ;
29039 char *kwnames
[] = {
29040 (char *) "self", NULL
29043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
29044 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
29045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29048 result
= ((wxHelpEvent
const *)arg1
)->GetPosition();
29050 wxPyEndAllowThreads(__tstate
);
29051 if (PyErr_Occurred()) SWIG_fail
;
29054 wxPoint
* resultptr
;
29055 resultptr
= new wxPoint((wxPoint
&) result
);
29056 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
29064 static PyObject
*_wrap_HelpEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29065 PyObject
*resultobj
;
29066 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
29067 wxPoint
*arg2
= 0 ;
29069 PyObject
* obj0
= 0 ;
29070 PyObject
* obj1
= 0 ;
29071 char *kwnames
[] = {
29072 (char *) "self",(char *) "pos", NULL
29075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
29076 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
29077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29080 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29084 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
29086 wxPyEndAllowThreads(__tstate
);
29087 if (PyErr_Occurred()) SWIG_fail
;
29089 Py_INCREF(Py_None
); resultobj
= Py_None
;
29096 static PyObject
*_wrap_HelpEvent_GetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29097 PyObject
*resultobj
;
29098 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
29100 PyObject
* obj0
= 0 ;
29101 char *kwnames
[] = {
29102 (char *) "self", NULL
29105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetLink",kwnames
,&obj0
)) goto fail
;
29106 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
29107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29111 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetLink();
29112 result
= (wxString
*) &_result_ref
;
29115 wxPyEndAllowThreads(__tstate
);
29116 if (PyErr_Occurred()) SWIG_fail
;
29120 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
29122 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
29131 static PyObject
*_wrap_HelpEvent_SetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29132 PyObject
*resultobj
;
29133 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
29134 wxString
*arg2
= 0 ;
29135 bool temp2
= False
;
29136 PyObject
* obj0
= 0 ;
29137 PyObject
* obj1
= 0 ;
29138 char *kwnames
[] = {
29139 (char *) "self",(char *) "link", NULL
29142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",kwnames
,&obj0
,&obj1
)) goto fail
;
29143 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
29144 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29146 arg2
= wxString_in_helper(obj1
);
29147 if (arg2
== NULL
) SWIG_fail
;
29151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29152 (arg1
)->SetLink((wxString
const &)*arg2
);
29154 wxPyEndAllowThreads(__tstate
);
29155 if (PyErr_Occurred()) SWIG_fail
;
29157 Py_INCREF(Py_None
); resultobj
= Py_None
;
29172 static PyObject
*_wrap_HelpEvent_GetTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29173 PyObject
*resultobj
;
29174 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
29176 PyObject
* obj0
= 0 ;
29177 char *kwnames
[] = {
29178 (char *) "self", NULL
29181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetTarget",kwnames
,&obj0
)) goto fail
;
29182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
29183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29187 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetTarget();
29188 result
= (wxString
*) &_result_ref
;
29191 wxPyEndAllowThreads(__tstate
);
29192 if (PyErr_Occurred()) SWIG_fail
;
29196 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
29198 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
29207 static PyObject
*_wrap_HelpEvent_SetTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29208 PyObject
*resultobj
;
29209 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
29210 wxString
*arg2
= 0 ;
29211 bool temp2
= False
;
29212 PyObject
* obj0
= 0 ;
29213 PyObject
* obj1
= 0 ;
29214 char *kwnames
[] = {
29215 (char *) "self",(char *) "target", NULL
29218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
29219 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
29220 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29222 arg2
= wxString_in_helper(obj1
);
29223 if (arg2
== NULL
) SWIG_fail
;
29227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29228 (arg1
)->SetTarget((wxString
const &)*arg2
);
29230 wxPyEndAllowThreads(__tstate
);
29231 if (PyErr_Occurred()) SWIG_fail
;
29233 Py_INCREF(Py_None
); resultobj
= Py_None
;
29248 static PyObject
* HelpEvent_swigregister(PyObject
*self
, PyObject
*args
) {
29250 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29251 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent
, obj
);
29253 return Py_BuildValue((char *)"");
29255 static PyObject
*_wrap_new_ContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29256 PyObject
*resultobj
;
29257 wxWindow
*arg1
= (wxWindow
*) NULL
;
29258 bool arg2
= (bool) True
;
29259 wxContextHelp
*result
;
29260 PyObject
* obj0
= 0 ;
29261 PyObject
* obj1
= 0 ;
29262 char *kwnames
[] = {
29263 (char *) "window",(char *) "doNow", NULL
29266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
29268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
29269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29272 arg2
= (bool) SWIG_AsBool(obj1
);
29273 if (PyErr_Occurred()) SWIG_fail
;
29276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29277 result
= (wxContextHelp
*)new wxContextHelp(arg1
,arg2
);
29279 wxPyEndAllowThreads(__tstate
);
29280 if (PyErr_Occurred()) SWIG_fail
;
29282 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelp
, 1);
29289 static PyObject
*_wrap_delete_ContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29290 PyObject
*resultobj
;
29291 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
29292 PyObject
* obj0
= 0 ;
29293 char *kwnames
[] = {
29294 (char *) "self", NULL
29297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ContextHelp",kwnames
,&obj0
)) goto fail
;
29298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextHelp
,
29299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29304 wxPyEndAllowThreads(__tstate
);
29305 if (PyErr_Occurred()) SWIG_fail
;
29307 Py_INCREF(Py_None
); resultobj
= Py_None
;
29314 static PyObject
*_wrap_ContextHelp_BeginContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29315 PyObject
*resultobj
;
29316 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
29317 wxWindow
*arg2
= (wxWindow
*) NULL
;
29319 PyObject
* obj0
= 0 ;
29320 PyObject
* obj1
= 0 ;
29321 char *kwnames
[] = {
29322 (char *) "self",(char *) "window", NULL
29325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
29326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextHelp
,
29327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29329 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29334 result
= (bool)(arg1
)->BeginContextHelp(arg2
);
29336 wxPyEndAllowThreads(__tstate
);
29337 if (PyErr_Occurred()) SWIG_fail
;
29340 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29348 static PyObject
*_wrap_ContextHelp_EndContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29349 PyObject
*resultobj
;
29350 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
29352 PyObject
* obj0
= 0 ;
29353 char *kwnames
[] = {
29354 (char *) "self", NULL
29357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextHelp_EndContextHelp",kwnames
,&obj0
)) goto fail
;
29358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextHelp
,
29359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29362 result
= (bool)(arg1
)->EndContextHelp();
29364 wxPyEndAllowThreads(__tstate
);
29365 if (PyErr_Occurred()) SWIG_fail
;
29368 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29376 static PyObject
* ContextHelp_swigregister(PyObject
*self
, PyObject
*args
) {
29378 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29379 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp
, obj
);
29381 return Py_BuildValue((char *)"");
29383 static PyObject
*_wrap_new_ContextHelpButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29384 PyObject
*resultobj
;
29385 wxWindow
*arg1
= (wxWindow
*) 0 ;
29386 int arg2
= (int) wxID_CONTEXT_HELP
;
29387 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
29388 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
29389 wxSize
const &arg4_defvalue
= wxDefaultSize
;
29390 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
29391 long arg5
= (long) wxBU_AUTODRAW
;
29392 wxContextHelpButton
*result
;
29395 PyObject
* obj0
= 0 ;
29396 PyObject
* obj1
= 0 ;
29397 PyObject
* obj2
= 0 ;
29398 PyObject
* obj3
= 0 ;
29399 PyObject
* obj4
= 0 ;
29400 char *kwnames
[] = {
29401 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
29404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_ContextHelpButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
29406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29408 arg2
= (int) SWIG_AsInt(obj1
);
29409 if (PyErr_Occurred()) SWIG_fail
;
29414 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29420 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
29424 arg5
= (long) SWIG_AsLong(obj4
);
29425 if (PyErr_Occurred()) SWIG_fail
;
29428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29429 result
= (wxContextHelpButton
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
29431 wxPyEndAllowThreads(__tstate
);
29432 if (PyErr_Occurred()) SWIG_fail
;
29434 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelpButton
, 1);
29441 static PyObject
* ContextHelpButton_swigregister(PyObject
*self
, PyObject
*args
) {
29443 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29444 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton
, obj
);
29446 return Py_BuildValue((char *)"");
29448 static PyObject
*_wrap_HelpProvider_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29449 PyObject
*resultobj
;
29450 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
29451 wxHelpProvider
*result
;
29452 PyObject
* obj0
= 0 ;
29453 char *kwnames
[] = {
29454 (char *) "helpProvider", NULL
29457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) goto fail
;
29458 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
29459 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29462 result
= (wxHelpProvider
*)wxHelpProvider::Set(arg1
);
29464 wxPyEndAllowThreads(__tstate
);
29465 if (PyErr_Occurred()) SWIG_fail
;
29467 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 0);
29474 static PyObject
*_wrap_HelpProvider_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29475 PyObject
*resultobj
;
29476 wxHelpProvider
*result
;
29477 char *kwnames
[] = {
29481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":HelpProvider_Get",kwnames
)) goto fail
;
29483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29484 result
= (wxHelpProvider
*)wxHelpProvider::Get();
29486 wxPyEndAllowThreads(__tstate
);
29487 if (PyErr_Occurred()) SWIG_fail
;
29489 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 0);
29496 static PyObject
*_wrap_HelpProvider_GetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29497 PyObject
*resultobj
;
29498 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
29499 wxWindow
*arg2
= (wxWindow
*) 0 ;
29501 PyObject
* obj0
= 0 ;
29502 PyObject
* obj1
= 0 ;
29503 char *kwnames
[] = {
29504 (char *) "self",(char *) "window", NULL
29507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
29508 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
29509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29510 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29514 result
= (arg1
)->GetHelp((wxWindow
const *)arg2
);
29516 wxPyEndAllowThreads(__tstate
);
29517 if (PyErr_Occurred()) SWIG_fail
;
29521 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29523 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29532 static PyObject
*_wrap_HelpProvider_ShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29533 PyObject
*resultobj
;
29534 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
29535 wxWindow
*arg2
= (wxWindow
*) 0 ;
29537 PyObject
* obj0
= 0 ;
29538 PyObject
* obj1
= 0 ;
29539 char *kwnames
[] = {
29540 (char *) "self",(char *) "window", NULL
29543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
29544 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
29545 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29546 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29550 result
= (bool)(arg1
)->ShowHelp(arg2
);
29552 wxPyEndAllowThreads(__tstate
);
29553 if (PyErr_Occurred()) SWIG_fail
;
29556 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29564 static PyObject
*_wrap_HelpProvider_AddHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29565 PyObject
*resultobj
;
29566 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
29567 wxWindow
*arg2
= (wxWindow
*) 0 ;
29568 wxString
*arg3
= 0 ;
29569 bool temp3
= False
;
29570 PyObject
* obj0
= 0 ;
29571 PyObject
* obj1
= 0 ;
29572 PyObject
* obj2
= 0 ;
29573 char *kwnames
[] = {
29574 (char *) "self",(char *) "window",(char *) "text", NULL
29577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29578 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
29579 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29580 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29583 arg3
= wxString_in_helper(obj2
);
29584 if (arg3
== NULL
) SWIG_fail
;
29588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29589 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
29591 wxPyEndAllowThreads(__tstate
);
29592 if (PyErr_Occurred()) SWIG_fail
;
29594 Py_INCREF(Py_None
); resultobj
= Py_None
;
29609 static PyObject
*_wrap_HelpProvider_AddHelpById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29610 PyObject
*resultobj
;
29611 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
29613 wxString
*arg3
= 0 ;
29614 bool temp3
= False
;
29615 PyObject
* obj0
= 0 ;
29616 PyObject
* obj1
= 0 ;
29617 PyObject
* obj2
= 0 ;
29618 char *kwnames
[] = {
29619 (char *) "self",(char *) "id",(char *) "text", NULL
29622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelpById",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
29624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29625 arg2
= (int) SWIG_AsInt(obj1
);
29626 if (PyErr_Occurred()) SWIG_fail
;
29628 arg3
= wxString_in_helper(obj2
);
29629 if (arg3
== NULL
) SWIG_fail
;
29633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29634 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
29636 wxPyEndAllowThreads(__tstate
);
29637 if (PyErr_Occurred()) SWIG_fail
;
29639 Py_INCREF(Py_None
); resultobj
= Py_None
;
29654 static PyObject
*_wrap_HelpProvider_RemoveHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29655 PyObject
*resultobj
;
29656 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
29657 wxWindow
*arg2
= (wxWindow
*) 0 ;
29658 PyObject
* obj0
= 0 ;
29659 PyObject
* obj1
= 0 ;
29660 char *kwnames
[] = {
29661 (char *) "self",(char *) "window", NULL
29664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_RemoveHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
29665 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
29666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29667 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29671 (arg1
)->RemoveHelp(arg2
);
29673 wxPyEndAllowThreads(__tstate
);
29674 if (PyErr_Occurred()) SWIG_fail
;
29676 Py_INCREF(Py_None
); resultobj
= Py_None
;
29683 static PyObject
*_wrap_HelpProvider_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29684 PyObject
*resultobj
;
29685 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
29686 PyObject
* obj0
= 0 ;
29687 char *kwnames
[] = {
29688 (char *) "self", NULL
29691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Destroy",kwnames
,&obj0
)) goto fail
;
29692 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
29693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29696 wxHelpProvider_Destroy(arg1
);
29698 wxPyEndAllowThreads(__tstate
);
29699 if (PyErr_Occurred()) SWIG_fail
;
29701 Py_INCREF(Py_None
); resultobj
= Py_None
;
29708 static PyObject
* HelpProvider_swigregister(PyObject
*self
, PyObject
*args
) {
29710 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29711 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider
, obj
);
29713 return Py_BuildValue((char *)"");
29715 static PyObject
*_wrap_new_SimpleHelpProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29716 PyObject
*resultobj
;
29717 wxSimpleHelpProvider
*result
;
29718 char *kwnames
[] = {
29722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SimpleHelpProvider",kwnames
)) goto fail
;
29724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29725 result
= (wxSimpleHelpProvider
*)new wxSimpleHelpProvider();
29727 wxPyEndAllowThreads(__tstate
);
29728 if (PyErr_Occurred()) SWIG_fail
;
29730 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSimpleHelpProvider
, 1);
29737 static PyObject
* SimpleHelpProvider_swigregister(PyObject
*self
, PyObject
*args
) {
29739 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29740 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider
, obj
);
29742 return Py_BuildValue((char *)"");
29744 static PyObject
*_wrap_new_DragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29745 PyObject
*resultobj
;
29746 wxBitmap
*arg1
= 0 ;
29747 wxCursor
const &arg2_defvalue
= wxNullCursor
;
29748 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
29749 wxGenericDragImage
*result
;
29750 PyObject
* obj0
= 0 ;
29751 PyObject
* obj1
= 0 ;
29752 char *kwnames
[] = {
29753 (char *) "image",(char *) "cursor", NULL
29756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) goto fail
;
29757 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
29758 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29760 if (arg1
== NULL
) {
29761 PyErr_SetString(PyExc_TypeError
,"null reference");
29765 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
29766 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29768 if (arg2
== NULL
) {
29769 PyErr_SetString(PyExc_TypeError
,"null reference");
29774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29775 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxBitmap
const &)*arg1
,(wxCursor
const &)*arg2
);
29777 wxPyEndAllowThreads(__tstate
);
29778 if (PyErr_Occurred()) SWIG_fail
;
29780 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
29787 static PyObject
*_wrap_new_DragIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29788 PyObject
*resultobj
;
29790 wxCursor
const &arg2_defvalue
= wxNullCursor
;
29791 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
29792 wxGenericDragImage
*result
;
29793 PyObject
* obj0
= 0 ;
29794 PyObject
* obj1
= 0 ;
29795 char *kwnames
[] = {
29796 (char *) "image",(char *) "cursor", NULL
29799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
29800 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
29801 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29803 if (arg1
== NULL
) {
29804 PyErr_SetString(PyExc_TypeError
,"null reference");
29808 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
29809 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29811 if (arg2
== NULL
) {
29812 PyErr_SetString(PyExc_TypeError
,"null reference");
29817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29818 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxIcon
const &)*arg1
,(wxCursor
const &)*arg2
);
29820 wxPyEndAllowThreads(__tstate
);
29821 if (PyErr_Occurred()) SWIG_fail
;
29823 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
29830 static PyObject
*_wrap_new_DragString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29831 PyObject
*resultobj
;
29832 wxString
*arg1
= 0 ;
29833 wxCursor
const &arg2_defvalue
= wxNullCursor
;
29834 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
29835 wxGenericDragImage
*result
;
29836 bool temp1
= False
;
29837 PyObject
* obj0
= 0 ;
29838 PyObject
* obj1
= 0 ;
29839 char *kwnames
[] = {
29840 (char *) "str",(char *) "cursor", NULL
29843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) goto fail
;
29845 arg1
= wxString_in_helper(obj0
);
29846 if (arg1
== NULL
) SWIG_fail
;
29850 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
29851 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29853 if (arg2
== NULL
) {
29854 PyErr_SetString(PyExc_TypeError
,"null reference");
29859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29860 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxString
const &)*arg1
,(wxCursor
const &)*arg2
);
29862 wxPyEndAllowThreads(__tstate
);
29863 if (PyErr_Occurred()) SWIG_fail
;
29865 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
29880 static PyObject
*_wrap_new_DragTreeItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29881 PyObject
*resultobj
;
29882 wxPyTreeCtrl
*arg1
= 0 ;
29883 wxTreeItemId
*arg2
= 0 ;
29884 wxGenericDragImage
*result
;
29885 PyObject
* obj0
= 0 ;
29886 PyObject
* obj1
= 0 ;
29887 char *kwnames
[] = {
29888 (char *) "treeCtrl",(char *) "id", NULL
29891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
29893 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29895 if (arg1
== NULL
) {
29896 PyErr_SetString(PyExc_TypeError
,"null reference");
29899 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
29900 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29902 if (arg2
== NULL
) {
29903 PyErr_SetString(PyExc_TypeError
,"null reference");
29907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29908 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyTreeCtrl
const &)*arg1
,*arg2
);
29910 wxPyEndAllowThreads(__tstate
);
29911 if (PyErr_Occurred()) SWIG_fail
;
29913 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
29920 static PyObject
*_wrap_new_DragListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29921 PyObject
*resultobj
;
29922 wxPyListCtrl
*arg1
= 0 ;
29924 wxGenericDragImage
*result
;
29925 PyObject
* obj0
= 0 ;
29926 PyObject
* obj1
= 0 ;
29927 char *kwnames
[] = {
29928 (char *) "listCtrl",(char *) "id", NULL
29931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragListItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29932 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
29933 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29935 if (arg1
== NULL
) {
29936 PyErr_SetString(PyExc_TypeError
,"null reference");
29939 arg2
= (long) SWIG_AsLong(obj1
);
29940 if (PyErr_Occurred()) SWIG_fail
;
29942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29943 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyListCtrl
const &)*arg1
,arg2
);
29945 wxPyEndAllowThreads(__tstate
);
29946 if (PyErr_Occurred()) SWIG_fail
;
29948 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
29955 static PyObject
*_wrap_delete_DragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29956 PyObject
*resultobj
;
29957 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29958 PyObject
* obj0
= 0 ;
29959 char *kwnames
[] = {
29960 (char *) "self", NULL
29963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DragImage",kwnames
,&obj0
)) goto fail
;
29964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29970 wxPyEndAllowThreads(__tstate
);
29971 if (PyErr_Occurred()) SWIG_fail
;
29973 Py_INCREF(Py_None
); resultobj
= Py_None
;
29980 static PyObject
*_wrap_DragImage_SetBackingBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29981 PyObject
*resultobj
;
29982 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29983 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
29984 PyObject
* obj0
= 0 ;
29985 PyObject
* obj1
= 0 ;
29986 char *kwnames
[] = {
29987 (char *) "self",(char *) "bitmap", NULL
29990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
29991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29993 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
29994 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29997 (arg1
)->SetBackingBitmap(arg2
);
29999 wxPyEndAllowThreads(__tstate
);
30000 if (PyErr_Occurred()) SWIG_fail
;
30002 Py_INCREF(Py_None
); resultobj
= Py_None
;
30009 static PyObject
*_wrap_DragImage_BeginDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30010 PyObject
*resultobj
;
30011 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30012 wxPoint
*arg2
= 0 ;
30013 wxWindow
*arg3
= (wxWindow
*) 0 ;
30014 bool arg4
= (bool) False
;
30015 wxRect
*arg5
= (wxRect
*) NULL
;
30018 PyObject
* obj0
= 0 ;
30019 PyObject
* obj1
= 0 ;
30020 PyObject
* obj2
= 0 ;
30021 PyObject
* obj3
= 0 ;
30022 PyObject
* obj4
= 0 ;
30023 char *kwnames
[] = {
30024 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
30027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30028 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30032 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30034 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
30035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30037 arg4
= (bool) SWIG_AsBool(obj3
);
30038 if (PyErr_Occurred()) SWIG_fail
;
30041 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxRect
,
30042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30046 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
,arg5
);
30048 wxPyEndAllowThreads(__tstate
);
30049 if (PyErr_Occurred()) SWIG_fail
;
30052 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30060 static PyObject
*_wrap_DragImage_BeginDragBounded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30061 PyObject
*resultobj
;
30062 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30063 wxPoint
*arg2
= 0 ;
30064 wxWindow
*arg3
= (wxWindow
*) 0 ;
30065 wxWindow
*arg4
= (wxWindow
*) 0 ;
30068 PyObject
* obj0
= 0 ;
30069 PyObject
* obj1
= 0 ;
30070 PyObject
* obj2
= 0 ;
30071 PyObject
* obj3
= 0 ;
30072 char *kwnames
[] = {
30073 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
30076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30077 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30078 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30081 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30083 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
30084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30085 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
30086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30089 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
);
30091 wxPyEndAllowThreads(__tstate
);
30092 if (PyErr_Occurred()) SWIG_fail
;
30095 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30103 static PyObject
*_wrap_DragImage_EndDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30104 PyObject
*resultobj
;
30105 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30107 PyObject
* obj0
= 0 ;
30108 char *kwnames
[] = {
30109 (char *) "self", NULL
30112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_EndDrag",kwnames
,&obj0
)) goto fail
;
30113 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30117 result
= (bool)(arg1
)->EndDrag();
30119 wxPyEndAllowThreads(__tstate
);
30120 if (PyErr_Occurred()) SWIG_fail
;
30123 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30131 static PyObject
*_wrap_DragImage_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30132 PyObject
*resultobj
;
30133 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30134 wxPoint
*arg2
= 0 ;
30137 PyObject
* obj0
= 0 ;
30138 PyObject
* obj1
= 0 ;
30139 char *kwnames
[] = {
30140 (char *) "self",(char *) "pt", NULL
30143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
30144 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30148 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30152 result
= (bool)(arg1
)->Move((wxPoint
const &)*arg2
);
30154 wxPyEndAllowThreads(__tstate
);
30155 if (PyErr_Occurred()) SWIG_fail
;
30158 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30166 static PyObject
*_wrap_DragImage_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30167 PyObject
*resultobj
;
30168 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30170 PyObject
* obj0
= 0 ;
30171 char *kwnames
[] = {
30172 (char *) "self", NULL
30175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Show",kwnames
,&obj0
)) goto fail
;
30176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30180 result
= (bool)(arg1
)->Show();
30182 wxPyEndAllowThreads(__tstate
);
30183 if (PyErr_Occurred()) SWIG_fail
;
30186 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30194 static PyObject
*_wrap_DragImage_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30195 PyObject
*resultobj
;
30196 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30198 PyObject
* obj0
= 0 ;
30199 char *kwnames
[] = {
30200 (char *) "self", NULL
30203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Hide",kwnames
,&obj0
)) goto fail
;
30204 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30208 result
= (bool)(arg1
)->Hide();
30210 wxPyEndAllowThreads(__tstate
);
30211 if (PyErr_Occurred()) SWIG_fail
;
30214 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30222 static PyObject
*_wrap_DragImage_GetImageRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30223 PyObject
*resultobj
;
30224 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30225 wxPoint
*arg2
= 0 ;
30228 PyObject
* obj0
= 0 ;
30229 PyObject
* obj1
= 0 ;
30230 char *kwnames
[] = {
30231 (char *) "self",(char *) "pos", NULL
30234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) goto fail
;
30235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30239 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30243 result
= ((wxGenericDragImage
const *)arg1
)->GetImageRect((wxPoint
const &)*arg2
);
30245 wxPyEndAllowThreads(__tstate
);
30246 if (PyErr_Occurred()) SWIG_fail
;
30249 wxRect
* resultptr
;
30250 resultptr
= new wxRect((wxRect
&) result
);
30251 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
30259 static PyObject
*_wrap_DragImage_DoDrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30260 PyObject
*resultobj
;
30261 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30263 wxPoint
*arg3
= 0 ;
30266 PyObject
* obj0
= 0 ;
30267 PyObject
* obj1
= 0 ;
30268 PyObject
* obj2
= 0 ;
30269 char *kwnames
[] = {
30270 (char *) "self",(char *) "dc",(char *) "pos", NULL
30273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30276 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
30277 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30279 if (arg2
== NULL
) {
30280 PyErr_SetString(PyExc_TypeError
,"null reference");
30285 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30289 result
= (bool)((wxGenericDragImage
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint
const &)*arg3
);
30291 wxPyEndAllowThreads(__tstate
);
30292 if (PyErr_Occurred()) SWIG_fail
;
30295 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30303 static PyObject
*_wrap_DragImage_UpdateBackingFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30304 PyObject
*resultobj
;
30305 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30307 wxMemoryDC
*arg3
= 0 ;
30313 PyObject
* obj0
= 0 ;
30314 PyObject
* obj1
= 0 ;
30315 PyObject
* obj2
= 0 ;
30316 PyObject
* obj3
= 0 ;
30317 PyObject
* obj4
= 0 ;
30318 char *kwnames
[] = {
30319 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
30322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30325 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
30326 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30328 if (arg2
== NULL
) {
30329 PyErr_SetString(PyExc_TypeError
,"null reference");
30332 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMemoryDC
,
30333 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30335 if (arg3
== NULL
) {
30336 PyErr_SetString(PyExc_TypeError
,"null reference");
30341 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
30345 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
30348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30349 result
= (bool)((wxGenericDragImage
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect
const &)*arg4
,(wxRect
const &)*arg5
);
30351 wxPyEndAllowThreads(__tstate
);
30352 if (PyErr_Occurred()) SWIG_fail
;
30355 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30363 static PyObject
*_wrap_DragImage_RedrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30364 PyObject
*resultobj
;
30365 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30366 wxPoint
*arg2
= 0 ;
30367 wxPoint
*arg3
= 0 ;
30373 PyObject
* obj0
= 0 ;
30374 PyObject
* obj1
= 0 ;
30375 PyObject
* obj2
= 0 ;
30376 PyObject
* obj3
= 0 ;
30377 PyObject
* obj4
= 0 ;
30378 char *kwnames
[] = {
30379 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
30382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30387 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30391 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30393 arg4
= (bool) SWIG_AsBool(obj3
);
30394 if (PyErr_Occurred()) SWIG_fail
;
30395 arg5
= (bool) SWIG_AsBool(obj4
);
30396 if (PyErr_Occurred()) SWIG_fail
;
30398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30399 result
= (bool)(arg1
)->RedrawImage((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
30401 wxPyEndAllowThreads(__tstate
);
30402 if (PyErr_Occurred()) SWIG_fail
;
30405 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30413 static PyObject
* DragImage_swigregister(PyObject
*self
, PyObject
*args
) {
30415 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30416 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage
, obj
);
30418 return Py_BuildValue((char *)"");
30420 static PyMethodDef SwigMethods
[] = {
30421 { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS
| METH_KEYWORDS
},
30422 { (char *)"new_PreButton", (PyCFunction
) _wrap_new_PreButton
, METH_VARARGS
| METH_KEYWORDS
},
30423 { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS
| METH_KEYWORDS
},
30424 { (char *)"Button_SetDefault", (PyCFunction
) _wrap_Button_SetDefault
, METH_VARARGS
| METH_KEYWORDS
},
30425 { (char *)"Button_GetDefaultSize", (PyCFunction
) _wrap_Button_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
30426 { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS
},
30427 { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS
| METH_KEYWORDS
},
30428 { (char *)"new_PreBitmapButton", (PyCFunction
) _wrap_new_PreBitmapButton
, METH_VARARGS
| METH_KEYWORDS
},
30429 { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
30430 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_GetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
30431 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_GetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
30432 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_GetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
30433 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_GetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
30434 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
30435 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
30436 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
30437 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
30438 { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
30439 { (char *)"BitmapButton_GetMarginX", (PyCFunction
) _wrap_BitmapButton_GetMarginX
, METH_VARARGS
| METH_KEYWORDS
},
30440 { (char *)"BitmapButton_GetMarginY", (PyCFunction
) _wrap_BitmapButton_GetMarginY
, METH_VARARGS
| METH_KEYWORDS
},
30441 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS
},
30442 { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS
| METH_KEYWORDS
},
30443 { (char *)"new_PreCheckBox", (PyCFunction
) _wrap_new_PreCheckBox
, METH_VARARGS
| METH_KEYWORDS
},
30444 { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
30445 { (char *)"CheckBox_GetValue", (PyCFunction
) _wrap_CheckBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
30446 { (char *)"CheckBox_IsChecked", (PyCFunction
) _wrap_CheckBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
30447 { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
30448 { (char *)"CheckBox_Get3StateValue", (PyCFunction
) _wrap_CheckBox_Get3StateValue
, METH_VARARGS
| METH_KEYWORDS
},
30449 { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS
| METH_KEYWORDS
},
30450 { (char *)"CheckBox_Is3State", (PyCFunction
) _wrap_CheckBox_Is3State
, METH_VARARGS
| METH_KEYWORDS
},
30451 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
) _wrap_CheckBox_Is3rdStateAllowedForUser
, METH_VARARGS
| METH_KEYWORDS
},
30452 { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS
},
30453 { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS
| METH_KEYWORDS
},
30454 { (char *)"new_PreChoice", (PyCFunction
) _wrap_new_PreChoice
, METH_VARARGS
| METH_KEYWORDS
},
30455 { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS
| METH_KEYWORDS
},
30456 { (char *)"Choice_SetSelection", (PyCFunction
) _wrap_Choice_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30457 { (char *)"Choice_SetStringSelection", (PyCFunction
) _wrap_Choice_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
30458 { (char *)"Choice_SetString", (PyCFunction
) _wrap_Choice_SetString
, METH_VARARGS
| METH_KEYWORDS
},
30459 { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS
},
30460 { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS
| METH_KEYWORDS
},
30461 { (char *)"new_PreComboBox", (PyCFunction
) _wrap_new_PreComboBox
, METH_VARARGS
| METH_KEYWORDS
},
30462 { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
30463 { (char *)"ComboBox_GetValue", (PyCFunction
) _wrap_ComboBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
30464 { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
30465 { (char *)"ComboBox_Copy", (PyCFunction
) _wrap_ComboBox_Copy
, METH_VARARGS
| METH_KEYWORDS
},
30466 { (char *)"ComboBox_Cut", (PyCFunction
) _wrap_ComboBox_Cut
, METH_VARARGS
| METH_KEYWORDS
},
30467 { (char *)"ComboBox_Paste", (PyCFunction
) _wrap_ComboBox_Paste
, METH_VARARGS
| METH_KEYWORDS
},
30468 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
30469 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
) _wrap_ComboBox_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
30470 { (char *)"ComboBox_GetLastPosition", (PyCFunction
) _wrap_ComboBox_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
30471 { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
},
30472 { (char *)"ComboBox_SetSelection", (PyCFunction
) _wrap_ComboBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30473 { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
},
30474 { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
30475 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
) _wrap_ComboBox_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
30476 { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
},
30477 { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS
},
30478 { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS
| METH_KEYWORDS
},
30479 { (char *)"new_PreGauge", (PyCFunction
) _wrap_new_PreGauge
, METH_VARARGS
| METH_KEYWORDS
},
30480 { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS
| METH_KEYWORDS
},
30481 { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
30482 { (char *)"Gauge_GetRange", (PyCFunction
) _wrap_Gauge_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
30483 { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
30484 { (char *)"Gauge_GetValue", (PyCFunction
) _wrap_Gauge_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
30485 { (char *)"Gauge_IsVertical", (PyCFunction
) _wrap_Gauge_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
30486 { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
30487 { (char *)"Gauge_GetShadowWidth", (PyCFunction
) _wrap_Gauge_GetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
30488 { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
30489 { (char *)"Gauge_GetBezelFace", (PyCFunction
) _wrap_Gauge_GetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
30490 { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS
},
30491 { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS
| METH_KEYWORDS
},
30492 { (char *)"new_PreStaticBox", (PyCFunction
) _wrap_new_PreStaticBox
, METH_VARARGS
| METH_KEYWORDS
},
30493 { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
30494 { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS
},
30495 { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS
| METH_KEYWORDS
},
30496 { (char *)"new_PreStaticLine", (PyCFunction
) _wrap_new_PreStaticLine
, METH_VARARGS
| METH_KEYWORDS
},
30497 { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
},
30498 { (char *)"StaticLine_IsVertical", (PyCFunction
) _wrap_StaticLine_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
30499 { (char *)"StaticLine_GetDefaultSize", (PyCFunction
) _wrap_StaticLine_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
30500 { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS
},
30501 { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS
| METH_KEYWORDS
},
30502 { (char *)"new_PreStaticText", (PyCFunction
) _wrap_new_PreStaticText
, METH_VARARGS
| METH_KEYWORDS
},
30503 { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS
| METH_KEYWORDS
},
30504 { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS
},
30505 { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS
| METH_KEYWORDS
},
30506 { (char *)"new_PreStaticBitmap", (PyCFunction
) _wrap_new_PreStaticBitmap
, METH_VARARGS
| METH_KEYWORDS
},
30507 { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
},
30508 { (char *)"StaticBitmap_GetBitmap", (PyCFunction
) _wrap_StaticBitmap_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
30509 { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
30510 { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
30511 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS
},
30512 { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS
| METH_KEYWORDS
},
30513 { (char *)"new_PreListBox", (PyCFunction
) _wrap_new_PreListBox
, METH_VARARGS
| METH_KEYWORDS
},
30514 { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
30515 { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS
| METH_KEYWORDS
},
30516 { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
},
30517 { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS
| METH_KEYWORDS
},
30518 { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
30519 { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30520 { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS
| METH_KEYWORDS
},
30521 { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
},
30522 { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
},
30523 { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
30524 { (char *)"ListBox_GetSelections", (PyCFunction
) _wrap_ListBox_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
30525 { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
},
30526 { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
},
30527 { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
30528 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
30529 { (char *)"ListBox_IsSorted", (PyCFunction
) _wrap_ListBox_IsSorted
, METH_VARARGS
| METH_KEYWORDS
},
30530 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction
) _wrap_ListBox_SetItemForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30531 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction
) _wrap_ListBox_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30532 { (char *)"ListBox_SetItemFont", (PyCFunction
) _wrap_ListBox_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
30533 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
30534 { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS
},
30535 { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS
| METH_KEYWORDS
},
30536 { (char *)"new_PreCheckListBox", (PyCFunction
) _wrap_new_PreCheckListBox
, METH_VARARGS
| METH_KEYWORDS
},
30537 { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
30538 { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
30539 { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
},
30540 { (char *)"CheckListBox_GetItemHeight", (PyCFunction
) _wrap_CheckListBox_GetItemHeight
, METH_VARARGS
| METH_KEYWORDS
},
30541 { (char *)"CheckListBox_HitTest", (PyCFunction
) _wrap_CheckListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
30542 { (char *)"CheckListBox_HitTestXY", (PyCFunction
) _wrap_CheckListBox_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
},
30543 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS
},
30544 { (char *)"new_TextAttr", _wrap_new_TextAttr
, METH_VARARGS
},
30545 { (char *)"delete_TextAttr", (PyCFunction
) _wrap_delete_TextAttr
, METH_VARARGS
| METH_KEYWORDS
},
30546 { (char *)"TextAttr_Init", (PyCFunction
) _wrap_TextAttr_Init
, METH_VARARGS
| METH_KEYWORDS
},
30547 { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30548 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30549 { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
30550 { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
30551 { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
},
30552 { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
30553 { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
30554 { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
30555 { (char *)"TextAttr_HasTextColour", (PyCFunction
) _wrap_TextAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30556 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
) _wrap_TextAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30557 { (char *)"TextAttr_HasFont", (PyCFunction
) _wrap_TextAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
30558 { (char *)"TextAttr_HasAlignment", (PyCFunction
) _wrap_TextAttr_HasAlignment
, METH_VARARGS
| METH_KEYWORDS
},
30559 { (char *)"TextAttr_HasTabs", (PyCFunction
) _wrap_TextAttr_HasTabs
, METH_VARARGS
| METH_KEYWORDS
},
30560 { (char *)"TextAttr_HasLeftIndent", (PyCFunction
) _wrap_TextAttr_HasLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
30561 { (char *)"TextAttr_HasRightIndent", (PyCFunction
) _wrap_TextAttr_HasRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
30562 { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
},
30563 { (char *)"TextAttr_GetTextColour", (PyCFunction
) _wrap_TextAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30564 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
) _wrap_TextAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30565 { (char *)"TextAttr_GetFont", (PyCFunction
) _wrap_TextAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
30566 { (char *)"TextAttr_GetAlignment", (PyCFunction
) _wrap_TextAttr_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
30567 { (char *)"TextAttr_GetTabs", (PyCFunction
) _wrap_TextAttr_GetTabs
, METH_VARARGS
| METH_KEYWORDS
},
30568 { (char *)"TextAttr_GetLeftIndent", (PyCFunction
) _wrap_TextAttr_GetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
30569 { (char *)"TextAttr_GetRightIndent", (PyCFunction
) _wrap_TextAttr_GetRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
30570 { (char *)"TextAttr_GetFlags", (PyCFunction
) _wrap_TextAttr_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
30571 { (char *)"TextAttr_IsDefault", (PyCFunction
) _wrap_TextAttr_IsDefault
, METH_VARARGS
| METH_KEYWORDS
},
30572 { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
},
30573 { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS
},
30574 { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30575 { (char *)"new_PreTextCtrl", (PyCFunction
) _wrap_new_PreTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30576 { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
30577 { (char *)"TextCtrl_GetValue", (PyCFunction
) _wrap_TextCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
30578 { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
30579 { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
30580 { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
},
30581 { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
},
30582 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
) _wrap_TextCtrl_GetNumberOfLines
, METH_VARARGS
| METH_KEYWORDS
},
30583 { (char *)"TextCtrl_IsModified", (PyCFunction
) _wrap_TextCtrl_IsModified
, METH_VARARGS
| METH_KEYWORDS
},
30584 { (char *)"TextCtrl_IsEditable", (PyCFunction
) _wrap_TextCtrl_IsEditable
, METH_VARARGS
| METH_KEYWORDS
},
30585 { (char *)"TextCtrl_IsSingleLine", (PyCFunction
) _wrap_TextCtrl_IsSingleLine
, METH_VARARGS
| METH_KEYWORDS
},
30586 { (char *)"TextCtrl_IsMultiLine", (PyCFunction
) _wrap_TextCtrl_IsMultiLine
, METH_VARARGS
| METH_KEYWORDS
},
30587 { (char *)"TextCtrl_GetSelection", (PyCFunction
) _wrap_TextCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30588 { (char *)"TextCtrl_GetStringSelection", (PyCFunction
) _wrap_TextCtrl_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
30589 { (char *)"TextCtrl_Clear", (PyCFunction
) _wrap_TextCtrl_Clear
, METH_VARARGS
| METH_KEYWORDS
},
30590 { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
},
30591 { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
},
30592 { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
30593 { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
30594 { (char *)"TextCtrl_MarkDirty", (PyCFunction
) _wrap_TextCtrl_MarkDirty
, METH_VARARGS
| METH_KEYWORDS
},
30595 { (char *)"TextCtrl_DiscardEdits", (PyCFunction
) _wrap_TextCtrl_DiscardEdits
, METH_VARARGS
| METH_KEYWORDS
},
30596 { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
},
30597 { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
},
30598 { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
},
30599 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
},
30600 { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
30601 { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
30602 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
},
30603 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_GetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
},
30604 { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
},
30605 { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
},
30606 { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
},
30607 { (char *)"TextCtrl_HitTest", (PyCFunction
) _wrap_TextCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
30608 { (char *)"TextCtrl_Copy", (PyCFunction
) _wrap_TextCtrl_Copy
, METH_VARARGS
| METH_KEYWORDS
},
30609 { (char *)"TextCtrl_Cut", (PyCFunction
) _wrap_TextCtrl_Cut
, METH_VARARGS
| METH_KEYWORDS
},
30610 { (char *)"TextCtrl_Paste", (PyCFunction
) _wrap_TextCtrl_Paste
, METH_VARARGS
| METH_KEYWORDS
},
30611 { (char *)"TextCtrl_CanCopy", (PyCFunction
) _wrap_TextCtrl_CanCopy
, METH_VARARGS
| METH_KEYWORDS
},
30612 { (char *)"TextCtrl_CanCut", (PyCFunction
) _wrap_TextCtrl_CanCut
, METH_VARARGS
| METH_KEYWORDS
},
30613 { (char *)"TextCtrl_CanPaste", (PyCFunction
) _wrap_TextCtrl_CanPaste
, METH_VARARGS
| METH_KEYWORDS
},
30614 { (char *)"TextCtrl_Undo", (PyCFunction
) _wrap_TextCtrl_Undo
, METH_VARARGS
| METH_KEYWORDS
},
30615 { (char *)"TextCtrl_Redo", (PyCFunction
) _wrap_TextCtrl_Redo
, METH_VARARGS
| METH_KEYWORDS
},
30616 { (char *)"TextCtrl_CanUndo", (PyCFunction
) _wrap_TextCtrl_CanUndo
, METH_VARARGS
| METH_KEYWORDS
},
30617 { (char *)"TextCtrl_CanRedo", (PyCFunction
) _wrap_TextCtrl_CanRedo
, METH_VARARGS
| METH_KEYWORDS
},
30618 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
30619 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
) _wrap_TextCtrl_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
30620 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
30621 { (char *)"TextCtrl_GetLastPosition", (PyCFunction
) _wrap_TextCtrl_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
30622 { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30623 { (char *)"TextCtrl_SelectAll", (PyCFunction
) _wrap_TextCtrl_SelectAll
, METH_VARARGS
| METH_KEYWORDS
},
30624 { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
30625 { (char *)"TextCtrl_ShowNativeCaret", (PyCFunction
) _wrap_TextCtrl_ShowNativeCaret
, METH_VARARGS
| METH_KEYWORDS
},
30626 { (char *)"TextCtrl_HideNativeCaret", (PyCFunction
) _wrap_TextCtrl_HideNativeCaret
, METH_VARARGS
| METH_KEYWORDS
},
30627 { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
},
30628 { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
},
30629 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS
},
30630 { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
},
30631 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
) _wrap_TextUrlEvent_GetMouseEvent
, METH_VARARGS
| METH_KEYWORDS
},
30632 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
) _wrap_TextUrlEvent_GetURLStart
, METH_VARARGS
| METH_KEYWORDS
},
30633 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
) _wrap_TextUrlEvent_GetURLEnd
, METH_VARARGS
| METH_KEYWORDS
},
30634 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS
},
30635 { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
30636 { (char *)"new_PreScrollBar", (PyCFunction
) _wrap_new_PreScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
30637 { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
30638 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
) _wrap_ScrollBar_GetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
30639 { (char *)"ScrollBar_GetThumbSize", (PyCFunction
) _wrap_ScrollBar_GetThumbSize
, METH_VARARGS
| METH_KEYWORDS
},
30640 { (char *)"ScrollBar_GetPageSize", (PyCFunction
) _wrap_ScrollBar_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
30641 { (char *)"ScrollBar_GetRange", (PyCFunction
) _wrap_ScrollBar_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
30642 { (char *)"ScrollBar_IsVertical", (PyCFunction
) _wrap_ScrollBar_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
30643 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
30644 { (char *)"ScrollBar_SetScrollbar", (PyCFunction
) _wrap_ScrollBar_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
30645 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS
},
30646 { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS
| METH_KEYWORDS
},
30647 { (char *)"new_PreSpinButton", (PyCFunction
) _wrap_new_PreSpinButton
, METH_VARARGS
| METH_KEYWORDS
},
30648 { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
30649 { (char *)"SpinButton_GetValue", (PyCFunction
) _wrap_SpinButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
30650 { (char *)"SpinButton_GetMin", (PyCFunction
) _wrap_SpinButton_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
30651 { (char *)"SpinButton_GetMax", (PyCFunction
) _wrap_SpinButton_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
30652 { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
30653 { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS
| METH_KEYWORDS
},
30654 { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS
| METH_KEYWORDS
},
30655 { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
30656 { (char *)"SpinButton_IsVertical", (PyCFunction
) _wrap_SpinButton_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
30657 { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS
},
30658 { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30659 { (char *)"new_PreSpinCtrl", (PyCFunction
) _wrap_new_PreSpinCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30660 { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
30661 { (char *)"SpinCtrl_GetValue", (PyCFunction
) _wrap_SpinCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
30662 { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
30663 { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS
| METH_KEYWORDS
},
30664 { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
30665 { (char *)"SpinCtrl_GetMin", (PyCFunction
) _wrap_SpinCtrl_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
30666 { (char *)"SpinCtrl_GetMax", (PyCFunction
) _wrap_SpinCtrl_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
30667 { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30668 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS
},
30669 { (char *)"new_SpinEvent", (PyCFunction
) _wrap_new_SpinEvent
, METH_VARARGS
| METH_KEYWORDS
},
30670 { (char *)"SpinEvent_GetPosition", (PyCFunction
) _wrap_SpinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
30671 { (char *)"SpinEvent_SetPosition", (PyCFunction
) _wrap_SpinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
30672 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister
, METH_VARARGS
},
30673 { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS
| METH_KEYWORDS
},
30674 { (char *)"new_PreRadioBox", (PyCFunction
) _wrap_new_PreRadioBox
, METH_VARARGS
| METH_KEYWORDS
},
30675 { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
30676 { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30677 { (char *)"RadioBox_GetSelection", (PyCFunction
) _wrap_RadioBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30678 { (char *)"RadioBox_GetStringSelection", (PyCFunction
) _wrap_RadioBox_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
30679 { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
30680 { (char *)"RadioBox_GetCount", (PyCFunction
) _wrap_RadioBox_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
30681 { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
},
30682 { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
},
30683 { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
},
30684 { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
},
30685 { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
},
30686 { (char *)"RadioBox_GetColumnCount", (PyCFunction
) _wrap_RadioBox_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
},
30687 { (char *)"RadioBox_GetRowCount", (PyCFunction
) _wrap_RadioBox_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
},
30688 { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
},
30689 { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS
},
30690 { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS
| METH_KEYWORDS
},
30691 { (char *)"new_PreRadioButton", (PyCFunction
) _wrap_new_PreRadioButton
, METH_VARARGS
| METH_KEYWORDS
},
30692 { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
30693 { (char *)"RadioButton_GetValue", (PyCFunction
) _wrap_RadioButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
30694 { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
30695 { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS
},
30696 { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS
| METH_KEYWORDS
},
30697 { (char *)"new_PreSlider", (PyCFunction
) _wrap_new_PreSlider
, METH_VARARGS
| METH_KEYWORDS
},
30698 { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS
| METH_KEYWORDS
},
30699 { (char *)"Slider_GetValue", (PyCFunction
) _wrap_Slider_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
30700 { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
30701 { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
30702 { (char *)"Slider_GetMin", (PyCFunction
) _wrap_Slider_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
30703 { (char *)"Slider_GetMax", (PyCFunction
) _wrap_Slider_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
30704 { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS
| METH_KEYWORDS
},
30705 { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS
| METH_KEYWORDS
},
30706 { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
30707 { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
30708 { (char *)"Slider_GetLineSize", (PyCFunction
) _wrap_Slider_GetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
30709 { (char *)"Slider_GetPageSize", (PyCFunction
) _wrap_Slider_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
30710 { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
30711 { (char *)"Slider_GetThumbLength", (PyCFunction
) _wrap_Slider_GetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
30712 { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
30713 { (char *)"Slider_GetTickFreq", (PyCFunction
) _wrap_Slider_GetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
30714 { (char *)"Slider_ClearTicks", (PyCFunction
) _wrap_Slider_ClearTicks
, METH_VARARGS
| METH_KEYWORDS
},
30715 { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS
| METH_KEYWORDS
},
30716 { (char *)"Slider_ClearSel", (PyCFunction
) _wrap_Slider_ClearSel
, METH_VARARGS
| METH_KEYWORDS
},
30717 { (char *)"Slider_GetSelEnd", (PyCFunction
) _wrap_Slider_GetSelEnd
, METH_VARARGS
| METH_KEYWORDS
},
30718 { (char *)"Slider_GetSelStart", (PyCFunction
) _wrap_Slider_GetSelStart
, METH_VARARGS
| METH_KEYWORDS
},
30719 { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30720 { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS
},
30721 { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS
| METH_KEYWORDS
},
30722 { (char *)"new_PreToggleButton", (PyCFunction
) _wrap_new_PreToggleButton
, METH_VARARGS
| METH_KEYWORDS
},
30723 { (char *)"ToggleButton_Create", (PyCFunction
) _wrap_ToggleButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
30724 { (char *)"ToggleButton_SetValue", (PyCFunction
) _wrap_ToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
30725 { (char *)"ToggleButton_GetValue", (PyCFunction
) _wrap_ToggleButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
30726 { (char *)"ToggleButton_SetLabel", (PyCFunction
) _wrap_ToggleButton_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
30727 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS
},
30728 { (char *)"BookCtrl_GetPageCount", (PyCFunction
) _wrap_BookCtrl_GetPageCount
, METH_VARARGS
| METH_KEYWORDS
},
30729 { (char *)"BookCtrl_GetPage", (PyCFunction
) _wrap_BookCtrl_GetPage
, METH_VARARGS
| METH_KEYWORDS
},
30730 { (char *)"BookCtrl_GetSelection", (PyCFunction
) _wrap_BookCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30731 { (char *)"BookCtrl_SetPageText", (PyCFunction
) _wrap_BookCtrl_SetPageText
, METH_VARARGS
| METH_KEYWORDS
},
30732 { (char *)"BookCtrl_GetPageText", (PyCFunction
) _wrap_BookCtrl_GetPageText
, METH_VARARGS
| METH_KEYWORDS
},
30733 { (char *)"BookCtrl_SetImageList", (PyCFunction
) _wrap_BookCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
30734 { (char *)"BookCtrl_AssignImageList", (PyCFunction
) _wrap_BookCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
30735 { (char *)"BookCtrl_GetImageList", (PyCFunction
) _wrap_BookCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
30736 { (char *)"BookCtrl_GetPageImage", (PyCFunction
) _wrap_BookCtrl_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
30737 { (char *)"BookCtrl_SetPageImage", (PyCFunction
) _wrap_BookCtrl_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
30738 { (char *)"BookCtrl_SetPageSize", (PyCFunction
) _wrap_BookCtrl_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
30739 { (char *)"BookCtrl_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrl_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
},
30740 { (char *)"BookCtrl_DeletePage", (PyCFunction
) _wrap_BookCtrl_DeletePage
, METH_VARARGS
| METH_KEYWORDS
},
30741 { (char *)"BookCtrl_RemovePage", (PyCFunction
) _wrap_BookCtrl_RemovePage
, METH_VARARGS
| METH_KEYWORDS
},
30742 { (char *)"BookCtrl_DeleteAllPages", (PyCFunction
) _wrap_BookCtrl_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
},
30743 { (char *)"BookCtrl_AddPage", (PyCFunction
) _wrap_BookCtrl_AddPage
, METH_VARARGS
| METH_KEYWORDS
},
30744 { (char *)"BookCtrl_InsertPage", (PyCFunction
) _wrap_BookCtrl_InsertPage
, METH_VARARGS
| METH_KEYWORDS
},
30745 { (char *)"BookCtrl_SetSelection", (PyCFunction
) _wrap_BookCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30746 { (char *)"BookCtrl_AdvanceSelection", (PyCFunction
) _wrap_BookCtrl_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
},
30747 { (char *)"BookCtrl_swigregister", BookCtrl_swigregister
, METH_VARARGS
},
30748 { (char *)"new_BookCtrlEvent", (PyCFunction
) _wrap_new_BookCtrlEvent
, METH_VARARGS
| METH_KEYWORDS
},
30749 { (char *)"BookCtrlEvent_GetSelection", (PyCFunction
) _wrap_BookCtrlEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30750 { (char *)"BookCtrlEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30751 { (char *)"BookCtrlEvent_GetOldSelection", (PyCFunction
) _wrap_BookCtrlEvent_GetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
30752 { (char *)"BookCtrlEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
30753 { (char *)"BookCtrlEvent_swigregister", BookCtrlEvent_swigregister
, METH_VARARGS
},
30754 { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS
| METH_KEYWORDS
},
30755 { (char *)"new_PreNotebook", (PyCFunction
) _wrap_new_PreNotebook
, METH_VARARGS
| METH_KEYWORDS
},
30756 { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS
| METH_KEYWORDS
},
30757 { (char *)"Notebook_GetRowCount", (PyCFunction
) _wrap_Notebook_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
},
30758 { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
},
30759 { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
},
30760 { (char *)"Notebook_HitTest", (PyCFunction
) _wrap_Notebook_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
30761 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction
) _wrap_Notebook_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
},
30762 { (char *)"Notebook_ApplyThemeBackground", (PyCFunction
) _wrap_Notebook_ApplyThemeBackground
, METH_VARARGS
| METH_KEYWORDS
},
30763 { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS
},
30764 { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS
| METH_KEYWORDS
},
30765 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS
},
30766 { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS
| METH_KEYWORDS
},
30767 { (char *)"new_PreListbook", (PyCFunction
) _wrap_new_PreListbook
, METH_VARARGS
| METH_KEYWORDS
},
30768 { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS
| METH_KEYWORDS
},
30769 { (char *)"Listbook_IsVertical", (PyCFunction
) _wrap_Listbook_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
30770 { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS
},
30771 { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS
| METH_KEYWORDS
},
30772 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS
},
30773 { (char *)"new_BookCtrlSizer", (PyCFunction
) _wrap_new_BookCtrlSizer
, METH_VARARGS
| METH_KEYWORDS
},
30774 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction
) _wrap_BookCtrlSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
30775 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction
) _wrap_BookCtrlSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
30776 { (char *)"BookCtrlSizer_GetControl", (PyCFunction
) _wrap_BookCtrlSizer_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
30777 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister
, METH_VARARGS
},
30778 { (char *)"new_NotebookSizer", (PyCFunction
) _wrap_new_NotebookSizer
, METH_VARARGS
| METH_KEYWORDS
},
30779 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction
) _wrap_NotebookSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
30780 { (char *)"NotebookSizer_CalcMin", (PyCFunction
) _wrap_NotebookSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
30781 { (char *)"NotebookSizer_GetNotebook", (PyCFunction
) _wrap_NotebookSizer_GetNotebook
, METH_VARARGS
| METH_KEYWORDS
},
30782 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister
, METH_VARARGS
},
30783 { (char *)"ToolBarToolBase_GetId", (PyCFunction
) _wrap_ToolBarToolBase_GetId
, METH_VARARGS
| METH_KEYWORDS
},
30784 { (char *)"ToolBarToolBase_GetControl", (PyCFunction
) _wrap_ToolBarToolBase_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
30785 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
) _wrap_ToolBarToolBase_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
30786 { (char *)"ToolBarToolBase_IsButton", (PyCFunction
) _wrap_ToolBarToolBase_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
30787 { (char *)"ToolBarToolBase_IsControl", (PyCFunction
) _wrap_ToolBarToolBase_IsControl
, METH_VARARGS
| METH_KEYWORDS
},
30788 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
) _wrap_ToolBarToolBase_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
},
30789 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
) _wrap_ToolBarToolBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
30790 { (char *)"ToolBarToolBase_GetKind", (PyCFunction
) _wrap_ToolBarToolBase_GetKind
, METH_VARARGS
| METH_KEYWORDS
},
30791 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
) _wrap_ToolBarToolBase_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
30792 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
) _wrap_ToolBarToolBase_IsToggled
, METH_VARARGS
| METH_KEYWORDS
},
30793 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
) _wrap_ToolBarToolBase_CanBeToggled
, METH_VARARGS
| METH_KEYWORDS
},
30794 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
},
30795 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
},
30796 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
30797 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
) _wrap_ToolBarToolBase_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
30798 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
30799 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
30800 { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
},
30801 { (char *)"ToolBarToolBase_Toggle", (PyCFunction
) _wrap_ToolBarToolBase_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
30802 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
},
30803 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
30804 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
30805 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
},
30806 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
},
30807 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
30808 { (char *)"ToolBarToolBase_Detach", (PyCFunction
) _wrap_ToolBarToolBase_Detach
, METH_VARARGS
| METH_KEYWORDS
},
30809 { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
},
30810 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
) _wrap_ToolBarToolBase_GetClientData
, METH_VARARGS
| METH_KEYWORDS
},
30811 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
},
30812 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS
},
30813 { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS
| METH_KEYWORDS
},
30814 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS
| METH_KEYWORDS
},
30815 { (char *)"ToolBarBase_AddToolItem", (PyCFunction
) _wrap_ToolBarBase_AddToolItem
, METH_VARARGS
| METH_KEYWORDS
},
30816 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction
) _wrap_ToolBarBase_InsertToolItem
, METH_VARARGS
| METH_KEYWORDS
},
30817 { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
},
30818 { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
},
30819 { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS
| METH_KEYWORDS
},
30820 { (char *)"ToolBarBase_AddSeparator", (PyCFunction
) _wrap_ToolBarBase_AddSeparator
, METH_VARARGS
| METH_KEYWORDS
},
30821 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
},
30822 { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
},
30823 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
},
30824 { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
},
30825 { (char *)"ToolBarBase_ClearTools", (PyCFunction
) _wrap_ToolBarBase_ClearTools
, METH_VARARGS
| METH_KEYWORDS
},
30826 { (char *)"ToolBarBase_Realize", (PyCFunction
) _wrap_ToolBarBase_Realize
, METH_VARARGS
| METH_KEYWORDS
},
30827 { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
},
30828 { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
},
30829 { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
},
30830 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
},
30831 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
},
30832 { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS
| METH_KEYWORDS
},
30833 { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
},
30834 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
},
30835 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
30836 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
30837 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
30838 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
30839 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
},
30840 { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
30841 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
},
30842 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
},
30843 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
) _wrap_ToolBarBase_GetToolMargins
, METH_VARARGS
| METH_KEYWORDS
},
30844 { (char *)"ToolBarBase_GetMargins", (PyCFunction
) _wrap_ToolBarBase_GetMargins
, METH_VARARGS
| METH_KEYWORDS
},
30845 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
) _wrap_ToolBarBase_GetToolPacking
, METH_VARARGS
| METH_KEYWORDS
},
30846 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_GetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
},
30847 { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
},
30848 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
},
30849 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
) _wrap_ToolBarBase_GetMaxRows
, METH_VARARGS
| METH_KEYWORDS
},
30850 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
) _wrap_ToolBarBase_GetMaxCols
, METH_VARARGS
| METH_KEYWORDS
},
30851 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
},
30852 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_GetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
},
30853 { (char *)"ToolBarBase_GetToolSize", (PyCFunction
) _wrap_ToolBarBase_GetToolSize
, METH_VARARGS
| METH_KEYWORDS
},
30854 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
},
30855 { (char *)"ToolBarBase_FindById", (PyCFunction
) _wrap_ToolBarBase_FindById
, METH_VARARGS
| METH_KEYWORDS
},
30856 { (char *)"ToolBarBase_IsVertical", (PyCFunction
) _wrap_ToolBarBase_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
30857 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS
},
30858 { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS
| METH_KEYWORDS
},
30859 { (char *)"new_PreToolBar", (PyCFunction
) _wrap_new_PreToolBar
, METH_VARARGS
| METH_KEYWORDS
},
30860 { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
30861 { (char *)"ToolBar_FindToolForPosition", (PyCFunction
) _wrap_ToolBar_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
},
30862 { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS
},
30863 { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
},
30864 { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30865 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30866 { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
30867 { (char *)"ListItemAttr_HasTextColour", (PyCFunction
) _wrap_ListItemAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30868 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30869 { (char *)"ListItemAttr_HasFont", (PyCFunction
) _wrap_ListItemAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
30870 { (char *)"ListItemAttr_GetTextColour", (PyCFunction
) _wrap_ListItemAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30871 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30872 { (char *)"ListItemAttr_GetFont", (PyCFunction
) _wrap_ListItemAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
30873 { (char *)"ListItemAttr_Destroy", (PyCFunction
) _wrap_ListItemAttr_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
30874 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS
},
30875 { (char *)"new_ListItem", (PyCFunction
) _wrap_new_ListItem
, METH_VARARGS
| METH_KEYWORDS
},
30876 { (char *)"delete_ListItem", (PyCFunction
) _wrap_delete_ListItem
, METH_VARARGS
| METH_KEYWORDS
},
30877 { (char *)"ListItem_Clear", (PyCFunction
) _wrap_ListItem_Clear
, METH_VARARGS
| METH_KEYWORDS
},
30878 { (char *)"ListItem_ClearAttributes", (PyCFunction
) _wrap_ListItem_ClearAttributes
, METH_VARARGS
| METH_KEYWORDS
},
30879 { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
30880 { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
},
30881 { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
30882 { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
},
30883 { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
},
30884 { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
},
30885 { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
},
30886 { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
},
30887 { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
30888 { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
},
30889 { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30890 { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30891 { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
30892 { (char *)"ListItem_GetMask", (PyCFunction
) _wrap_ListItem_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
30893 { (char *)"ListItem_GetId", (PyCFunction
) _wrap_ListItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
30894 { (char *)"ListItem_GetColumn", (PyCFunction
) _wrap_ListItem_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
30895 { (char *)"ListItem_GetState", (PyCFunction
) _wrap_ListItem_GetState
, METH_VARARGS
| METH_KEYWORDS
},
30896 { (char *)"ListItem_GetText", (PyCFunction
) _wrap_ListItem_GetText
, METH_VARARGS
| METH_KEYWORDS
},
30897 { (char *)"ListItem_GetImage", (PyCFunction
) _wrap_ListItem_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
30898 { (char *)"ListItem_GetData", (PyCFunction
) _wrap_ListItem_GetData
, METH_VARARGS
| METH_KEYWORDS
},
30899 { (char *)"ListItem_GetWidth", (PyCFunction
) _wrap_ListItem_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
30900 { (char *)"ListItem_GetAlign", (PyCFunction
) _wrap_ListItem_GetAlign
, METH_VARARGS
| METH_KEYWORDS
},
30901 { (char *)"ListItem_GetAttributes", (PyCFunction
) _wrap_ListItem_GetAttributes
, METH_VARARGS
| METH_KEYWORDS
},
30902 { (char *)"ListItem_HasAttributes", (PyCFunction
) _wrap_ListItem_HasAttributes
, METH_VARARGS
| METH_KEYWORDS
},
30903 { (char *)"ListItem_GetTextColour", (PyCFunction
) _wrap_ListItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30904 { (char *)"ListItem_GetBackgroundColour", (PyCFunction
) _wrap_ListItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30905 { (char *)"ListItem_GetFont", (PyCFunction
) _wrap_ListItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
30906 { (char *)"ListItem_m_mask_set", (PyCFunction
) _wrap_ListItem_m_mask_set
, METH_VARARGS
| METH_KEYWORDS
},
30907 { (char *)"ListItem_m_mask_get", (PyCFunction
) _wrap_ListItem_m_mask_get
, METH_VARARGS
| METH_KEYWORDS
},
30908 { (char *)"ListItem_m_itemId_set", (PyCFunction
) _wrap_ListItem_m_itemId_set
, METH_VARARGS
| METH_KEYWORDS
},
30909 { (char *)"ListItem_m_itemId_get", (PyCFunction
) _wrap_ListItem_m_itemId_get
, METH_VARARGS
| METH_KEYWORDS
},
30910 { (char *)"ListItem_m_col_set", (PyCFunction
) _wrap_ListItem_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
30911 { (char *)"ListItem_m_col_get", (PyCFunction
) _wrap_ListItem_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
30912 { (char *)"ListItem_m_state_set", (PyCFunction
) _wrap_ListItem_m_state_set
, METH_VARARGS
| METH_KEYWORDS
},
30913 { (char *)"ListItem_m_state_get", (PyCFunction
) _wrap_ListItem_m_state_get
, METH_VARARGS
| METH_KEYWORDS
},
30914 { (char *)"ListItem_m_stateMask_set", (PyCFunction
) _wrap_ListItem_m_stateMask_set
, METH_VARARGS
| METH_KEYWORDS
},
30915 { (char *)"ListItem_m_stateMask_get", (PyCFunction
) _wrap_ListItem_m_stateMask_get
, METH_VARARGS
| METH_KEYWORDS
},
30916 { (char *)"ListItem_m_text_set", (PyCFunction
) _wrap_ListItem_m_text_set
, METH_VARARGS
| METH_KEYWORDS
},
30917 { (char *)"ListItem_m_text_get", (PyCFunction
) _wrap_ListItem_m_text_get
, METH_VARARGS
| METH_KEYWORDS
},
30918 { (char *)"ListItem_m_image_set", (PyCFunction
) _wrap_ListItem_m_image_set
, METH_VARARGS
| METH_KEYWORDS
},
30919 { (char *)"ListItem_m_image_get", (PyCFunction
) _wrap_ListItem_m_image_get
, METH_VARARGS
| METH_KEYWORDS
},
30920 { (char *)"ListItem_m_data_set", (PyCFunction
) _wrap_ListItem_m_data_set
, METH_VARARGS
| METH_KEYWORDS
},
30921 { (char *)"ListItem_m_data_get", (PyCFunction
) _wrap_ListItem_m_data_get
, METH_VARARGS
| METH_KEYWORDS
},
30922 { (char *)"ListItem_m_format_set", (PyCFunction
) _wrap_ListItem_m_format_set
, METH_VARARGS
| METH_KEYWORDS
},
30923 { (char *)"ListItem_m_format_get", (PyCFunction
) _wrap_ListItem_m_format_get
, METH_VARARGS
| METH_KEYWORDS
},
30924 { (char *)"ListItem_m_width_set", (PyCFunction
) _wrap_ListItem_m_width_set
, METH_VARARGS
| METH_KEYWORDS
},
30925 { (char *)"ListItem_m_width_get", (PyCFunction
) _wrap_ListItem_m_width_get
, METH_VARARGS
| METH_KEYWORDS
},
30926 { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS
},
30927 { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS
| METH_KEYWORDS
},
30928 { (char *)"ListEvent_m_code_set", (PyCFunction
) _wrap_ListEvent_m_code_set
, METH_VARARGS
| METH_KEYWORDS
},
30929 { (char *)"ListEvent_m_code_get", (PyCFunction
) _wrap_ListEvent_m_code_get
, METH_VARARGS
| METH_KEYWORDS
},
30930 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
30931 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
30932 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction
) _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
30933 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
) _wrap_ListEvent_m_itemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
30934 { (char *)"ListEvent_m_col_set", (PyCFunction
) _wrap_ListEvent_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
30935 { (char *)"ListEvent_m_col_get", (PyCFunction
) _wrap_ListEvent_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
30936 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction
) _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS
| METH_KEYWORDS
},
30937 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
) _wrap_ListEvent_m_pointDrag_get
, METH_VARARGS
| METH_KEYWORDS
},
30938 { (char *)"ListEvent_m_item_get", (PyCFunction
) _wrap_ListEvent_m_item_get
, METH_VARARGS
| METH_KEYWORDS
},
30939 { (char *)"ListEvent_GetKeyCode", (PyCFunction
) _wrap_ListEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
30940 { (char *)"ListEvent_GetIndex", (PyCFunction
) _wrap_ListEvent_GetIndex
, METH_VARARGS
| METH_KEYWORDS
},
30941 { (char *)"ListEvent_GetColumn", (PyCFunction
) _wrap_ListEvent_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
30942 { (char *)"ListEvent_GetPoint", (PyCFunction
) _wrap_ListEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
30943 { (char *)"ListEvent_GetLabel", (PyCFunction
) _wrap_ListEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
30944 { (char *)"ListEvent_GetText", (PyCFunction
) _wrap_ListEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
},
30945 { (char *)"ListEvent_GetImage", (PyCFunction
) _wrap_ListEvent_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
30946 { (char *)"ListEvent_GetData", (PyCFunction
) _wrap_ListEvent_GetData
, METH_VARARGS
| METH_KEYWORDS
},
30947 { (char *)"ListEvent_GetMask", (PyCFunction
) _wrap_ListEvent_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
30948 { (char *)"ListEvent_GetItem", (PyCFunction
) _wrap_ListEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
30949 { (char *)"ListEvent_GetCacheFrom", (PyCFunction
) _wrap_ListEvent_GetCacheFrom
, METH_VARARGS
| METH_KEYWORDS
},
30950 { (char *)"ListEvent_GetCacheTo", (PyCFunction
) _wrap_ListEvent_GetCacheTo
, METH_VARARGS
| METH_KEYWORDS
},
30951 { (char *)"ListEvent_IsEditCancelled", (PyCFunction
) _wrap_ListEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
},
30952 { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
},
30953 { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS
},
30954 { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30955 { (char *)"new_PreListCtrl", (PyCFunction
) _wrap_new_PreListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30956 { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
30957 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
30958 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction
) _wrap_ListCtrl_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30959 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30960 { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
30961 { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
30962 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
30963 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
30964 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
) _wrap_ListCtrl_GetCountPerPage
, METH_VARARGS
| METH_KEYWORDS
},
30965 { (char *)"ListCtrl_GetViewRect", (PyCFunction
) _wrap_ListCtrl_GetViewRect
, METH_VARARGS
| METH_KEYWORDS
},
30966 { (char *)"ListCtrl_GetEditControl", (PyCFunction
) _wrap_ListCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
},
30967 { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
30968 { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
},
30969 { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
},
30970 { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
},
30971 { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
},
30972 { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
30973 { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
30974 { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
30975 { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
30976 { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
30977 { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
30978 { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
},
30979 { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
30980 { (char *)"ListCtrl_GetItemCount", (PyCFunction
) _wrap_ListCtrl_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
30981 { (char *)"ListCtrl_GetColumnCount", (PyCFunction
) _wrap_ListCtrl_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
},
30982 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
) _wrap_ListCtrl_GetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
},
30983 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
) _wrap_ListCtrl_GetSelectedItemCount
, METH_VARARGS
| METH_KEYWORDS
},
30984 { (char *)"ListCtrl_GetTextColour", (PyCFunction
) _wrap_ListCtrl_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30985 { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30986 { (char *)"ListCtrl_GetTopItem", (PyCFunction
) _wrap_ListCtrl_GetTopItem
, METH_VARARGS
| METH_KEYWORDS
},
30987 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
},
30988 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction
) _wrap_ListCtrl_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
30989 { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
},
30990 { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
30991 { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
30992 { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
30993 { (char *)"ListCtrl_InReportView", (PyCFunction
) _wrap_ListCtrl_InReportView
, METH_VARARGS
| METH_KEYWORDS
},
30994 { (char *)"ListCtrl_IsVirtual", (PyCFunction
) _wrap_ListCtrl_IsVirtual
, METH_VARARGS
| METH_KEYWORDS
},
30995 { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
},
30996 { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
},
30997 { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
},
30998 { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
30999 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
) _wrap_ListCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
31000 { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
},
31001 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
) _wrap_ListCtrl_DeleteAllColumns
, METH_VARARGS
| METH_KEYWORDS
},
31002 { (char *)"ListCtrl_ClearAll", (PyCFunction
) _wrap_ListCtrl_ClearAll
, METH_VARARGS
| METH_KEYWORDS
},
31003 { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
31004 { (char *)"ListCtrl_EndEditLabel", (PyCFunction
) _wrap_ListCtrl_EndEditLabel
, METH_VARARGS
| METH_KEYWORDS
},
31005 { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
31006 { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
31007 { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
},
31008 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
},
31009 { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
31010 { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
31011 { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
},
31012 { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
},
31013 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
},
31014 { (char *)"ListCtrl_InsertColumnInfo", (PyCFunction
) _wrap_ListCtrl_InsertColumnInfo
, METH_VARARGS
| METH_KEYWORDS
},
31015 { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
},
31016 { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
31017 { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
},
31018 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31019 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31020 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31021 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31022 { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
},
31023 { (char *)"ListCtrl_GetMainWindow", (PyCFunction
) _wrap_ListCtrl_GetMainWindow
, METH_VARARGS
| METH_KEYWORDS
},
31024 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31025 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS
},
31026 { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS
| METH_KEYWORDS
},
31027 { (char *)"new_PreListView", (PyCFunction
) _wrap_new_PreListView
, METH_VARARGS
| METH_KEYWORDS
},
31028 { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS
| METH_KEYWORDS
},
31029 { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS
| METH_KEYWORDS
},
31030 { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS
| METH_KEYWORDS
},
31031 { (char *)"ListView_GetFocusedItem", (PyCFunction
) _wrap_ListView_GetFocusedItem
, METH_VARARGS
| METH_KEYWORDS
},
31032 { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
},
31033 { (char *)"ListView_GetFirstSelected", (PyCFunction
) _wrap_ListView_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
},
31034 { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
31035 { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
},
31036 { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
},
31037 { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS
},
31038 { (char *)"new_TreeItemId", (PyCFunction
) _wrap_new_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
31039 { (char *)"delete_TreeItemId", (PyCFunction
) _wrap_delete_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
31040 { (char *)"TreeItemId_IsOk", (PyCFunction
) _wrap_TreeItemId_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
31041 { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS
| METH_KEYWORDS
},
31042 { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS
| METH_KEYWORDS
},
31043 { (char *)"TreeItemId_m_pItem_set", (PyCFunction
) _wrap_TreeItemId_m_pItem_set
, METH_VARARGS
| METH_KEYWORDS
},
31044 { (char *)"TreeItemId_m_pItem_get", (PyCFunction
) _wrap_TreeItemId_m_pItem_get
, METH_VARARGS
| METH_KEYWORDS
},
31045 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS
},
31046 { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
},
31047 { (char *)"TreeItemData_GetData", (PyCFunction
) _wrap_TreeItemData_GetData
, METH_VARARGS
| METH_KEYWORDS
},
31048 { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
},
31049 { (char *)"TreeItemData_GetId", (PyCFunction
) _wrap_TreeItemData_GetId
, METH_VARARGS
| METH_KEYWORDS
},
31050 { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
},
31051 { (char *)"TreeItemData_Destroy", (PyCFunction
) _wrap_TreeItemData_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
31052 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS
},
31053 { (char *)"new_TreeEvent", (PyCFunction
) _wrap_new_TreeEvent
, METH_VARARGS
| METH_KEYWORDS
},
31054 { (char *)"TreeEvent_GetItem", (PyCFunction
) _wrap_TreeEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
31055 { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS
| METH_KEYWORDS
},
31056 { (char *)"TreeEvent_GetOldItem", (PyCFunction
) _wrap_TreeEvent_GetOldItem
, METH_VARARGS
| METH_KEYWORDS
},
31057 { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS
| METH_KEYWORDS
},
31058 { (char *)"TreeEvent_GetPoint", (PyCFunction
) _wrap_TreeEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
31059 { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS
| METH_KEYWORDS
},
31060 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
) _wrap_TreeEvent_GetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
31061 { (char *)"TreeEvent_GetKeyCode", (PyCFunction
) _wrap_TreeEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
31062 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
31063 { (char *)"TreeEvent_GetLabel", (PyCFunction
) _wrap_TreeEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
31064 { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
31065 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
) _wrap_TreeEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
},
31066 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
},
31067 { (char *)"TreeEvent_SetToolTip", (PyCFunction
) _wrap_TreeEvent_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
31068 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS
},
31069 { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31070 { (char *)"new_PreTreeCtrl", (PyCFunction
) _wrap_new_PreTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31071 { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
31072 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
31073 { (char *)"TreeCtrl_GetCount", (PyCFunction
) _wrap_TreeCtrl_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
31074 { (char *)"TreeCtrl_GetIndent", (PyCFunction
) _wrap_TreeCtrl_GetIndent
, METH_VARARGS
| METH_KEYWORDS
},
31075 { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
},
31076 { (char *)"TreeCtrl_GetSpacing", (PyCFunction
) _wrap_TreeCtrl_GetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
31077 { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
31078 { (char *)"TreeCtrl_GetImageList", (PyCFunction
) _wrap_TreeCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
31079 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
) _wrap_TreeCtrl_GetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
31080 { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
31081 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
31082 { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
31083 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
31084 { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
31085 { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
31086 { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
31087 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
},
31088 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31089 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31090 { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
31091 { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
31092 { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
31093 { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
31094 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
},
31095 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
31096 { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
},
31097 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction
) _wrap_TreeCtrl_SetItemDropHighlight
, METH_VARARGS
| METH_KEYWORDS
},
31098 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31099 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31100 { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
31101 { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
31102 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
31103 { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
},
31104 { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
31105 { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
},
31106 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
},
31107 { (char *)"TreeCtrl_GetRootItem", (PyCFunction
) _wrap_TreeCtrl_GetRootItem
, METH_VARARGS
| METH_KEYWORDS
},
31108 { (char *)"TreeCtrl_GetSelection", (PyCFunction
) _wrap_TreeCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31109 { (char *)"TreeCtrl_GetSelections", (PyCFunction
) _wrap_TreeCtrl_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
31110 { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
},
31111 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
},
31112 { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
},
31113 { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
},
31114 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
},
31115 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
},
31116 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
) _wrap_TreeCtrl_GetFirstVisibleItem
, METH_VARARGS
| METH_KEYWORDS
},
31117 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
},
31118 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
},
31119 { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
},
31120 { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
31121 { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
31122 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
},
31123 { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
31124 { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
},
31125 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
},
31126 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
) _wrap_TreeCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
31127 { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
},
31128 { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
},
31129 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
},
31130 { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
31131 { (char *)"TreeCtrl_Unselect", (PyCFunction
) _wrap_TreeCtrl_Unselect
, METH_VARARGS
| METH_KEYWORDS
},
31132 { (char *)"TreeCtrl_UnselectItem", (PyCFunction
) _wrap_TreeCtrl_UnselectItem
, METH_VARARGS
| METH_KEYWORDS
},
31133 { (char *)"TreeCtrl_UnselectAll", (PyCFunction
) _wrap_TreeCtrl_UnselectAll
, METH_VARARGS
| METH_KEYWORDS
},
31134 { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
},
31135 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction
) _wrap_TreeCtrl_ToggleItemSelection
, METH_VARARGS
| METH_KEYWORDS
},
31136 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
31137 { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
},
31138 { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
31139 { (char *)"TreeCtrl_GetEditControl", (PyCFunction
) _wrap_TreeCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
},
31140 { (char *)"TreeCtrl_EndEditLabel", (PyCFunction
) _wrap_TreeCtrl_EndEditLabel
, METH_VARARGS
| METH_KEYWORDS
},
31141 { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
},
31142 { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
31143 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
},
31144 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TreeCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31145 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS
},
31146 { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31147 { (char *)"new_PreGenericDirCtrl", (PyCFunction
) _wrap_new_PreGenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31148 { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
31149 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
},
31150 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_GetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
},
31151 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
},
31152 { (char *)"GenericDirCtrl_GetPath", (PyCFunction
) _wrap_GenericDirCtrl_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
31153 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
) _wrap_GenericDirCtrl_GetFilePath
, METH_VARARGS
| METH_KEYWORDS
},
31154 { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
31155 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
},
31156 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_GetShowHidden
, METH_VARARGS
| METH_KEYWORDS
},
31157 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
) _wrap_GenericDirCtrl_GetFilter
, METH_VARARGS
| METH_KEYWORDS
},
31158 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
},
31159 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
31160 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
31161 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
) _wrap_GenericDirCtrl_GetRootId
, METH_VARARGS
| METH_KEYWORDS
},
31162 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31163 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31164 { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS
| METH_KEYWORDS
},
31165 { (char *)"GenericDirCtrl_DoResize", (PyCFunction
) _wrap_GenericDirCtrl_DoResize
, METH_VARARGS
| METH_KEYWORDS
},
31166 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
) _wrap_GenericDirCtrl_ReCreateTree
, METH_VARARGS
| METH_KEYWORDS
},
31167 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS
},
31168 { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31169 { (char *)"new_PreDirFilterListCtrl", (PyCFunction
) _wrap_new_PreDirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31170 { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
31171 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
},
31172 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS
},
31173 { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS
| METH_KEYWORDS
},
31174 { (char *)"new_PrePyControl", (PyCFunction
) _wrap_new_PrePyControl
, METH_VARARGS
| METH_KEYWORDS
},
31175 { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
31176 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction
) _wrap_PyControl_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
31177 { (char *)"PyControl_base_DoSetSize", (PyCFunction
) _wrap_PyControl_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
31178 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction
) _wrap_PyControl_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
31179 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
31180 { (char *)"PyControl_base_DoGetSize", (PyCFunction
) _wrap_PyControl_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
31181 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction
) _wrap_PyControl_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
31182 { (char *)"PyControl_base_DoGetPosition", (PyCFunction
) _wrap_PyControl_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
31183 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
31184 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction
) _wrap_PyControl_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
31185 { (char *)"PyControl_base_InitDialog", (PyCFunction
) _wrap_PyControl_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
31186 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
31187 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
31188 { (char *)"PyControl_base_Validate", (PyCFunction
) _wrap_PyControl_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
31189 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction
) _wrap_PyControl_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
31190 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyControl_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
31191 { (char *)"PyControl_base_GetMaxSize", (PyCFunction
) _wrap_PyControl_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
31192 { (char *)"PyControl_base_AddChild", (PyCFunction
) _wrap_PyControl_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
31193 { (char *)"PyControl_base_RemoveChild", (PyCFunction
) _wrap_PyControl_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
31194 { (char *)"PyControl_base_ShouldInheritColours", (PyCFunction
) _wrap_PyControl_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
},
31195 { (char *)"PyControl_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyControl_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
},
31196 { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS
},
31197 { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS
| METH_KEYWORDS
},
31198 { (char *)"HelpEvent_GetPosition", (PyCFunction
) _wrap_HelpEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
31199 { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
31200 { (char *)"HelpEvent_GetLink", (PyCFunction
) _wrap_HelpEvent_GetLink
, METH_VARARGS
| METH_KEYWORDS
},
31201 { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
},
31202 { (char *)"HelpEvent_GetTarget", (PyCFunction
) _wrap_HelpEvent_GetTarget
, METH_VARARGS
| METH_KEYWORDS
},
31203 { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
},
31204 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS
},
31205 { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
31206 { (char *)"delete_ContextHelp", (PyCFunction
) _wrap_delete_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
31207 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
31208 { (char *)"ContextHelp_EndContextHelp", (PyCFunction
) _wrap_ContextHelp_EndContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
31209 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS
},
31210 { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
},
31211 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS
},
31212 { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
},
31213 { (char *)"HelpProvider_Get", (PyCFunction
) _wrap_HelpProvider_Get
, METH_VARARGS
| METH_KEYWORDS
},
31214 { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
},
31215 { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
31216 { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
},
31217 { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
},
31218 { (char *)"HelpProvider_RemoveHelp", (PyCFunction
) _wrap_HelpProvider_RemoveHelp
, METH_VARARGS
| METH_KEYWORDS
},
31219 { (char *)"HelpProvider_Destroy", (PyCFunction
) _wrap_HelpProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
31220 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS
},
31221 { (char *)"new_SimpleHelpProvider", (PyCFunction
) _wrap_new_SimpleHelpProvider
, METH_VARARGS
| METH_KEYWORDS
},
31222 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS
},
31223 { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS
| METH_KEYWORDS
},
31224 { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS
| METH_KEYWORDS
},
31225 { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS
| METH_KEYWORDS
},
31226 { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS
| METH_KEYWORDS
},
31227 { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS
| METH_KEYWORDS
},
31228 { (char *)"delete_DragImage", (PyCFunction
) _wrap_delete_DragImage
, METH_VARARGS
| METH_KEYWORDS
},
31229 { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31230 { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
},
31231 { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
},
31232 { (char *)"DragImage_EndDrag", (PyCFunction
) _wrap_DragImage_EndDrag
, METH_VARARGS
| METH_KEYWORDS
},
31233 { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS
| METH_KEYWORDS
},
31234 { (char *)"DragImage_Show", (PyCFunction
) _wrap_DragImage_Show
, METH_VARARGS
| METH_KEYWORDS
},
31235 { (char *)"DragImage_Hide", (PyCFunction
) _wrap_DragImage_Hide
, METH_VARARGS
| METH_KEYWORDS
},
31236 { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
},
31237 { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS
| METH_KEYWORDS
},
31238 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
31239 { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
},
31240 { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS
},
31245 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
31247 static void *_p_wxNotebookEventTo_p_wxBookCtrlEvent(void *x
) {
31248 return (void *)((wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
31250 static void *_p_wxListbookEventTo_p_wxBookCtrlEvent(void *x
) {
31251 return (void *)((wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
31253 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
31254 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
31256 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
31257 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
31259 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
31260 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
31262 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
31263 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
31265 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
31266 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
31268 static void *_p_wxNotebookSizerTo_p_wxSizer(void *x
) {
31269 return (void *)((wxSizer
*) ((wxNotebookSizer
*) x
));
31271 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
31272 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
31274 static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x
) {
31275 return (void *)((wxSizer
*) ((wxBookCtrlSizer
*) x
));
31277 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
31278 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
31280 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
31281 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
31283 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
31284 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
31286 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
31287 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
31289 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
31290 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
31292 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
31293 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
31295 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
31296 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
31298 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
31299 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
31301 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
31302 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
31304 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
31305 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
31307 static void *_p_wxBookCtrlEventTo_p_wxEvent(void *x
) {
31308 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
31310 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
31311 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
31313 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
31314 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
31316 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
31317 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
31319 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
31320 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
31322 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
31323 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
31325 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
31326 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
31328 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
31329 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
31331 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
31332 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
31334 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
31335 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
31337 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
31338 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
31340 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
31341 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
31343 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
31344 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
31346 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
31347 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
31349 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
31350 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
31352 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
31353 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
31355 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
31356 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
31358 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
31359 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
31361 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
31362 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
31364 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
31365 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
31367 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
31368 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
31370 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
31371 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
31373 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
31374 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
31376 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
31377 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
31379 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
31380 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
31382 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
31383 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
31385 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
31386 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
31388 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
31389 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
31391 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
31392 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
31394 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
31395 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
31397 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
31398 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
31400 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
31401 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
31403 static void *_p_wxSpinEventTo_p_wxEvent(void *x
) {
31404 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
31406 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) {
31407 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
31409 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) {
31410 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
31412 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) {
31413 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxChoice
*) x
));
31415 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
31416 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
31418 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) {
31419 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxListBox
*) x
));
31421 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) {
31422 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
31424 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
31425 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
31427 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
31428 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
31430 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
31431 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
31433 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
31434 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
31436 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
31437 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
31439 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
31440 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
31442 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
31443 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
31445 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
31446 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
31448 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
31449 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
31451 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
31452 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
31454 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
31455 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
31457 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
31458 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
31460 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
31461 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
31463 static void *_p_wxBookCtrlTo_p_wxControl(void *x
) {
31464 return (void *)((wxControl
*) ((wxBookCtrl
*) x
));
31466 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
31467 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
31469 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
31470 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
31472 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
31473 return (void *)((wxControl
*) ((wxGauge
*) x
));
31475 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
31476 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
31478 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
31479 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
31481 static void *_p_wxButtonTo_p_wxControl(void *x
) {
31482 return (void *)((wxControl
*) ((wxButton
*) x
));
31484 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
31485 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
31487 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
31488 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
31490 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
31491 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
31493 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
31494 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
31496 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
31497 return (void *)((wxControl
*) (wxBookCtrl
*) ((wxNotebook
*) x
));
31499 static void *_p_wxListbookTo_p_wxControl(void *x
) {
31500 return (void *)((wxControl
*) (wxBookCtrl
*) ((wxListbook
*) x
));
31502 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
31503 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
31505 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
31506 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
31508 static void *_p_wxListViewTo_p_wxControl(void *x
) {
31509 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
31511 static void *_p_wxSliderTo_p_wxControl(void *x
) {
31512 return (void *)((wxControl
*) ((wxSlider
*) x
));
31514 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
31515 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
31517 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
31518 return (void *)((wxControl
*) ((wxPyControl
*) x
));
31520 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
31521 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
31523 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
31524 return (void *)((wxControl
*) ((wxStaticText
*) x
));
31526 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) {
31527 return (void *)((wxToolBarBase
*) ((wxToolBar
*) x
));
31529 static void *_p_wxComboBoxTo_p_wxChoice(void *x
) {
31530 return (void *)((wxChoice
*) ((wxComboBox
*) x
));
31532 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) {
31533 return (void *)((wxChoice
*) ((wxDirFilterListCtrl
*) x
));
31535 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) {
31536 return (void *)((wxNotifyEvent
*) ((wxTreeEvent
*) x
));
31538 static void *_p_wxBookCtrlEventTo_p_wxNotifyEvent(void *x
) {
31539 return (void *)((wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
31541 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) {
31542 return (void *)((wxNotifyEvent
*) ((wxListEvent
*) x
));
31544 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x
) {
31545 return (void *)((wxNotifyEvent
*) ((wxSpinEvent
*) x
));
31547 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) {
31548 return (void *)((wxNotifyEvent
*) (wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
31550 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) {
31551 return (void *)((wxNotifyEvent
*) (wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
31553 static void *_p_wxBookCtrlTo_p_wxEvtHandler(void *x
) {
31554 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrl
*) x
));
31556 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
31557 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
31559 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
31560 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
31562 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
31563 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
31565 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
31566 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
31568 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
31569 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
31571 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
31572 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
31574 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
31575 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
31577 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
31578 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
31580 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
31581 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
31583 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
31584 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
31586 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
31587 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
31589 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
31590 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
31592 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
31593 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
31595 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
31596 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
31598 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
31599 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
31601 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
31602 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
31604 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
31605 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
31607 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
31608 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
31610 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
31611 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
31613 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
31614 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
31616 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
31617 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
31619 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
31620 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
31622 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
31623 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
31625 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
31626 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
31628 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
31629 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
31631 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
31632 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
31634 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
31635 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
31637 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
31638 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
31640 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
31641 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
31643 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
31644 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
31646 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
31647 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
31649 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
31650 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
31652 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
31653 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
31655 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
31656 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
31658 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
31659 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
31661 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
31662 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
31664 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
31665 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
31667 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
31668 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
31670 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
31671 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
31673 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) {
31674 return (void *)((wxListBox
*) ((wxCheckListBox
*) x
));
31676 static void *_p_wxListbookTo_p_wxBookCtrl(void *x
) {
31677 return (void *)((wxBookCtrl
*) ((wxListbook
*) x
));
31679 static void *_p_wxNotebookTo_p_wxBookCtrl(void *x
) {
31680 return (void *)((wxBookCtrl
*) ((wxNotebook
*) x
));
31682 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) {
31683 return (void *)((wxButton
*) ((wxBitmapButton
*) x
));
31685 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) {
31686 return (void *)((wxButton
*) (wxBitmapButton
*) ((wxContextHelpButton
*) x
));
31688 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) {
31689 return (void *)((wxBitmapButton
*) ((wxContextHelpButton
*) x
));
31691 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) {
31692 return (void *)((wxHelpProvider
*) ((wxSimpleHelpProvider
*) x
));
31694 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
31695 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
31697 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
31698 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
31700 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
31701 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
31703 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
31704 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
31706 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
31707 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
31709 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
31710 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
31712 static void *_p_wxBookCtrlEventTo_p_wxObject(void *x
) {
31713 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
31715 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
31716 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
31718 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
31719 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
31721 static void *_p_wxSizerTo_p_wxObject(void *x
) {
31722 return (void *)((wxObject
*) ((wxSizer
*) x
));
31724 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
31725 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
31727 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
31728 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
31730 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
31731 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
31733 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
31734 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
31736 static void *_p_wxEventTo_p_wxObject(void *x
) {
31737 return (void *)((wxObject
*) ((wxEvent
*) x
));
31739 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
31740 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
31742 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
31743 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
31745 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
31746 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
31748 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
31749 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
31751 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
31752 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
31754 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
31755 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
31757 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
31758 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
31760 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
31761 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
31763 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
31764 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
31766 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
31767 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
31769 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
31770 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
31772 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
31773 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
31775 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
31776 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
31778 static void *_p_wxControlTo_p_wxObject(void *x
) {
31779 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
31781 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
31782 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
31784 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
31785 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
31787 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
31788 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
31790 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
31791 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
31793 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
31794 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
31796 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
31797 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
31799 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
31800 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
31802 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
31803 return (void *)((wxObject
*) ((wxFSFile
*) x
));
31805 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
31806 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
31808 static void *_p_wxListViewTo_p_wxObject(void *x
) {
31809 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
31811 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
31812 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
31814 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
31815 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
31817 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
31818 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
31820 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
31821 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
31823 static void *_p_wxListbookTo_p_wxObject(void *x
) {
31824 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
31826 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
31827 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
31829 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
31830 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
31832 static void *_p_wxSliderTo_p_wxObject(void *x
) {
31833 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
31835 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
31836 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
31838 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
31839 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
31841 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
31842 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
31844 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
31845 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
31847 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
31848 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
31850 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
31851 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
31853 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
31854 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
31856 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
31857 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
31859 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
31860 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
31862 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
31863 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
31865 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
31866 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
31868 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
31869 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
31871 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
31872 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
31874 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
31875 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
31877 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
31878 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
31880 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
31881 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
31883 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
31884 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
31886 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
31887 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
31889 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
31890 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
31892 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
31893 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
31895 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
31896 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
31898 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
31899 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
31901 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
31902 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
31904 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
31905 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
31907 static void *_p_wxListEventTo_p_wxObject(void *x
) {
31908 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
31910 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
31911 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
31913 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
31914 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
31916 static void *_p_wxBookCtrlTo_p_wxObject(void *x
) {
31917 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrl
*) x
));
31919 static void *_p_wxButtonTo_p_wxObject(void *x
) {
31920 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
31922 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
31923 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
31925 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
31926 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
31928 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
31929 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
31931 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
31932 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
31934 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
31935 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
31937 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
31938 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
31940 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
31941 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
31943 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
31944 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
31946 static void *_p_wxListItemTo_p_wxObject(void *x
) {
31947 return (void *)((wxObject
*) ((wxListItem
*) x
));
31949 static void *_p_wxImageTo_p_wxObject(void *x
) {
31950 return (void *)((wxObject
*) ((wxImage
*) x
));
31952 static void *_p_wxNotebookSizerTo_p_wxObject(void *x
) {
31953 return (void *)((wxObject
*) (wxSizer
*) ((wxNotebookSizer
*) x
));
31955 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
31956 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
31958 static void *_p_wxSpinEventTo_p_wxObject(void *x
) {
31959 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
31961 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
31962 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
31964 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
31965 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
31967 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
31968 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
31970 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
31971 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
31973 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
31974 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
31976 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
31977 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
31979 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
31980 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
31982 static void *_p_wxWindowTo_p_wxObject(void *x
) {
31983 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
31985 static void *_p_wxMenuTo_p_wxObject(void *x
) {
31986 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
31988 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
31989 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
31991 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
31992 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
31994 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
31995 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
31997 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
31998 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
32000 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
32001 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
32003 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
32004 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
32006 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
32007 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
32009 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
32010 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
32012 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
32013 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
32015 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
32016 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32018 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
32019 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
32021 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
32022 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
32024 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
32025 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
32027 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
32028 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
32030 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
32031 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32033 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
32034 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
32036 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
32037 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
32039 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
32040 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
32042 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
32043 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
32045 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
32046 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
32048 static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x
) {
32049 return (void *)((wxObject
*) (wxSizer
*) ((wxBookCtrlSizer
*) x
));
32051 static void *_p_wxBookCtrlTo_p_wxWindow(void *x
) {
32052 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrl
*) x
));
32054 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
32055 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
32057 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
32058 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
32060 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
32061 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
32063 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
32064 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
32066 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
32067 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
32069 static void *_p_wxControlTo_p_wxWindow(void *x
) {
32070 return (void *)((wxWindow
*) ((wxControl
*) x
));
32072 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
32073 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
32075 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
32076 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32078 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
32079 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
32081 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
32082 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
32084 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
32085 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
32087 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
32088 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
32090 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
32091 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
32093 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
32094 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
32096 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
32097 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
32099 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
32100 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
32102 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
32103 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
32105 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
32106 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
32108 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
32109 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
32111 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
32112 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
32114 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
32115 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
32117 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
32118 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
32120 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
32121 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
32123 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
32124 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
32126 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
32127 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
32129 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
32130 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
32132 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
32133 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
32135 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
32136 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
32138 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
32139 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
32141 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
32142 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
32144 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
32145 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
32147 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
32148 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
32150 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
32151 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
32153 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
32154 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
32156 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
32157 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32159 static void *_p_wxBookCtrlEventTo_p_wxCommandEvent(void *x
) {
32160 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
32162 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
32163 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
32165 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
32166 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
32168 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
32169 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32171 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
32172 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32174 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
32175 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32177 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
32178 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
32180 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
32181 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
32183 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
32184 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
32186 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
32187 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32189 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
32190 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
32192 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x
) {
32193 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSpinEvent
*) x
));
32195 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
32196 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
32198 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
32199 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32201 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
32202 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32204 static void *_p_wxComboBoxTo_p_wxControlWithItems(void *x
) {
32205 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxComboBox
*) x
));
32207 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) {
32208 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32210 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) {
32211 return (void *)((wxControlWithItems
*) ((wxChoice
*) x
));
32213 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) {
32214 return (void *)((wxControlWithItems
*) ((wxListBox
*) x
));
32216 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) {
32217 return (void *)((wxControlWithItems
*) (wxListBox
*) ((wxCheckListBox
*) x
));
32219 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
32220 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
32222 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}};
32223 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}};
32224 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}};
32225 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}};
32226 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}};
32227 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}};
32228 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}};
32229 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}};
32230 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}};
32231 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}};
32232 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}};
32233 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}};
32234 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}};
32235 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}};
32236 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}};
32237 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}};
32238 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}};
32239 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}};
32240 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}};
32241 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}};
32242 static swig_type_info _swigt__p_wxChoice
[] = {{"_p_wxChoice", 0, "wxChoice *", 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxChoice
, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxChoice
, 0, 0, 0, 0, 0},{"_p_wxChoice", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32243 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}};
32244 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}};
32245 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}};
32246 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}};
32247 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}};
32248 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}};
32249 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}};
32250 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}};
32251 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}};
32252 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}};
32253 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}};
32254 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}};
32255 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}};
32256 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}};
32257 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}};
32258 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}};
32259 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}};
32260 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}};
32261 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}};
32262 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}};
32263 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}};
32264 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}};
32265 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}};
32266 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}};
32267 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}};
32268 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}};
32269 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}};
32270 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}};
32271 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}};
32272 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}};
32273 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}};
32274 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}};
32275 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}};
32276 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}};
32277 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}};
32278 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}};
32279 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}};
32280 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}};
32281 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}};
32282 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}};
32283 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}};
32284 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}};
32285 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}};
32286 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}};
32287 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}};
32288 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}};
32289 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}};
32290 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}};
32291 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}};
32292 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}};
32293 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}};
32294 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}};
32295 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}};
32296 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}};
32297 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}};
32298 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}};
32299 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}};
32300 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}};
32301 static swig_type_info _swigt__p_wxControlWithItems
[] = {{"_p_wxControlWithItems", 0, "wxControlWithItems *", 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxControlWithItems
, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxControlWithItems
, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxControlWithItems
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", 0, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxControlWithItems
, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxControlWithItems
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32302 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}};
32303 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}};
32304 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}};
32305 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}};
32306 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}};
32308 static swig_type_info
*swig_types_initial
[] = {
32309 _swigt__p_wxTextUrlEvent
,
32310 _swigt__p_wxBookCtrlEvent
,
32312 _swigt__p_wxCheckBox
,
32313 _swigt__p_wxPyTreeCtrl
,
32315 _swigt__p_wxGenericDirCtrl
,
32317 _swigt__p_wxPyTreeItemData
,
32318 _swigt__p_wxItemContainer
,
32319 _swigt__p_wxPyListCtrl
,
32320 _swigt__p_wxDirFilterListCtrl
,
32321 _swigt__p_wxStaticLine
,
32322 _swigt__p_wxControl
,
32323 _swigt__p_wxPyControl
,
32325 _swigt__p_wxToolBarBase
,
32327 _swigt__p_wxToggleButton
,
32328 _swigt__p_wxRadioButton
,
32329 _swigt__p_wxChoice
,
32330 _swigt__p_wxMemoryDC
,
32331 _swigt__p_wxListItemAttr
,
32336 _swigt__p_wxListView
,
32338 _swigt__p_wxVisualAttributes
,
32339 _swigt__p_wxTextCtrl
,
32340 _swigt__p_wxNotebook
,
32341 _swigt__p_wxNotifyEvent
,
32342 _swigt__p_wxArrayString
,
32343 _swigt__p_wxListbook
,
32344 _swigt__p_wxStaticBitmap
,
32345 _swigt__p_wxSlider
,
32346 _swigt__p_wxStaticBox
,
32347 _swigt__p_wxArrayInt
,
32348 _swigt__p_wxContextHelp
,
32350 _swigt__p_wxEvtHandler
,
32351 _swigt__p_wxListEvent
,
32352 _swigt__p_wxCheckListBox
,
32353 _swigt__p_wxListBox
,
32354 _swigt__p_wxBookCtrl
,
32355 _swigt__p_wxSpinButton
,
32356 _swigt__p_wxButton
,
32357 _swigt__p_wxBitmapButton
,
32359 _swigt__p_wxContextHelpButton
,
32360 _swigt__p_wxRadioBox
,
32361 _swigt__p_wxScrollBar
,
32363 _swigt__p_wxTreeItemId
,
32364 _swigt__p_wxComboBox
,
32365 _swigt__p_wxHelpEvent
,
32366 _swigt__p_wxListItem
,
32367 _swigt__p_wxNotebookSizer
,
32368 _swigt__p_wxSpinEvent
,
32369 _swigt__p_wxGenericDragImage
,
32370 _swigt__p_wxSpinCtrl
,
32371 _swigt__p_wxImageList
,
32372 _swigt__p_wxHelpProvider
,
32373 _swigt__p_wxTextAttr
,
32374 _swigt__p_wxSimpleHelpProvider
,
32376 _swigt__p_wxListbookEvent
,
32377 _swigt__p_wxNotebookEvent
,
32378 _swigt__p_wxObject
,
32379 _swigt__p_wxCursor
,
32380 _swigt__p_wxKeyEvent
,
32381 _swigt__p_wxWindow
,
32382 _swigt__p_wxString
,
32383 _swigt__p_wxBitmap
,
32384 _swigt__p_wxTreeEvent
,
32385 _swigt__p_wxMouseEvent
,
32386 _swigt__p_wxCommandEvent
,
32387 _swigt__p_wxStaticText
,
32388 _swigt__p_wxControlWithItems
,
32389 _swigt__p_wxToolBarToolBase
,
32390 _swigt__p_wxColour
,
32391 _swigt__p_wxToolBar
,
32392 _swigt__p_wxBookCtrlSizer
,
32393 _swigt__p_wxValidator
,
32398 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
32400 static swig_const_info swig_const_table
[] = {
32410 SWIGEXPORT(void) SWIG_init(void) {
32411 static PyObject
*SWIG_globals
= 0;
32412 static int typeinit
= 0;
32415 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
32416 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
32417 d
= PyModule_GetDict(m
);
32420 for (i
= 0; swig_types_initial
[i
]; i
++) {
32421 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
32425 SWIG_InstallConstants(d
,swig_const_table
);
32427 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
32428 SWIG_addvarlink(SWIG_globals
,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get
, _wrap_ButtonNameStr_set
);
32429 PyDict_SetItemString(d
,"BU_LEFT", SWIG_FromInt((int)wxBU_LEFT
));
32430 PyDict_SetItemString(d
,"BU_TOP", SWIG_FromInt((int)wxBU_TOP
));
32431 PyDict_SetItemString(d
,"BU_RIGHT", SWIG_FromInt((int)wxBU_RIGHT
));
32432 PyDict_SetItemString(d
,"BU_BOTTOM", SWIG_FromInt((int)wxBU_BOTTOM
));
32433 PyDict_SetItemString(d
,"BU_EXACTFIT", SWIG_FromInt((int)wxBU_EXACTFIT
));
32434 PyDict_SetItemString(d
,"BU_AUTODRAW", SWIG_FromInt((int)wxBU_AUTODRAW
));
32435 SWIG_addvarlink(SWIG_globals
,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get
, _wrap_CheckBoxNameStr_set
);
32436 PyDict_SetItemString(d
,"CHK_2STATE", SWIG_FromInt((int)wxCHK_2STATE
));
32437 PyDict_SetItemString(d
,"CHK_3STATE", SWIG_FromInt((int)wxCHK_3STATE
));
32438 PyDict_SetItemString(d
,"CHK_ALLOW_3RD_STATE_FOR_USER", SWIG_FromInt((int)wxCHK_ALLOW_3RD_STATE_FOR_USER
));
32439 PyDict_SetItemString(d
,"CHK_UNCHECKED", SWIG_FromInt((int)wxCHK_UNCHECKED
));
32440 PyDict_SetItemString(d
,"CHK_CHECKED", SWIG_FromInt((int)wxCHK_CHECKED
));
32441 PyDict_SetItemString(d
,"CHK_UNDETERMINED", SWIG_FromInt((int)wxCHK_UNDETERMINED
));
32442 SWIG_addvarlink(SWIG_globals
,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get
, _wrap_ChoiceNameStr_set
);
32443 SWIG_addvarlink(SWIG_globals
,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get
, _wrap_ComboBoxNameStr_set
);
32444 SWIG_addvarlink(SWIG_globals
,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get
, _wrap_GaugeNameStr_set
);
32445 PyDict_SetItemString(d
,"GA_HORIZONTAL", SWIG_FromInt((int)wxGA_HORIZONTAL
));
32446 PyDict_SetItemString(d
,"GA_VERTICAL", SWIG_FromInt((int)wxGA_VERTICAL
));
32447 PyDict_SetItemString(d
,"GA_SMOOTH", SWIG_FromInt((int)wxGA_SMOOTH
));
32448 PyDict_SetItemString(d
,"GA_PROGRESSBAR", SWIG_FromInt((int)wxGA_PROGRESSBAR
));
32449 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get
, _wrap_StaticBitmapNameStr_set
);
32450 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get
, _wrap_StaticBoxNameStr_set
);
32451 SWIG_addvarlink(SWIG_globals
,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get
, _wrap_StaticTextNameStr_set
);
32452 SWIG_addvarlink(SWIG_globals
,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get
, _wrap_ListBoxNameStr_set
);
32453 SWIG_addvarlink(SWIG_globals
,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get
, _wrap_TextCtrlNameStr_set
);
32454 PyDict_SetItemString(d
,"TE_NO_VSCROLL", SWIG_FromInt((int)wxTE_NO_VSCROLL
));
32455 PyDict_SetItemString(d
,"TE_AUTO_SCROLL", SWIG_FromInt((int)wxTE_AUTO_SCROLL
));
32456 PyDict_SetItemString(d
,"TE_READONLY", SWIG_FromInt((int)wxTE_READONLY
));
32457 PyDict_SetItemString(d
,"TE_MULTILINE", SWIG_FromInt((int)wxTE_MULTILINE
));
32458 PyDict_SetItemString(d
,"TE_PROCESS_TAB", SWIG_FromInt((int)wxTE_PROCESS_TAB
));
32459 PyDict_SetItemString(d
,"TE_LEFT", SWIG_FromInt((int)wxTE_LEFT
));
32460 PyDict_SetItemString(d
,"TE_CENTER", SWIG_FromInt((int)wxTE_CENTER
));
32461 PyDict_SetItemString(d
,"TE_RIGHT", SWIG_FromInt((int)wxTE_RIGHT
));
32462 PyDict_SetItemString(d
,"TE_CENTRE", SWIG_FromInt((int)wxTE_CENTRE
));
32463 PyDict_SetItemString(d
,"TE_RICH", SWIG_FromInt((int)wxTE_RICH
));
32464 PyDict_SetItemString(d
,"TE_PROCESS_ENTER", SWIG_FromInt((int)wxTE_PROCESS_ENTER
));
32465 PyDict_SetItemString(d
,"TE_PASSWORD", SWIG_FromInt((int)wxTE_PASSWORD
));
32466 PyDict_SetItemString(d
,"TE_AUTO_URL", SWIG_FromInt((int)wxTE_AUTO_URL
));
32467 PyDict_SetItemString(d
,"TE_NOHIDESEL", SWIG_FromInt((int)wxTE_NOHIDESEL
));
32468 PyDict_SetItemString(d
,"TE_DONTWRAP", SWIG_FromInt((int)wxTE_DONTWRAP
));
32469 PyDict_SetItemString(d
,"TE_LINEWRAP", SWIG_FromInt((int)wxTE_LINEWRAP
));
32470 PyDict_SetItemString(d
,"TE_WORDWRAP", SWIG_FromInt((int)wxTE_WORDWRAP
));
32471 PyDict_SetItemString(d
,"TE_RICH2", SWIG_FromInt((int)wxTE_RICH2
));
32472 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_DEFAULT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_DEFAULT
));
32473 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_LEFT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_LEFT
));
32474 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTRE", SWIG_FromInt((int)wxTEXT_ALIGNMENT_CENTRE
));
32475 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTER", SWIG_FromInt((int)wxTEXT_ALIGNMENT_CENTER
));
32476 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_RIGHT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_RIGHT
));
32477 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_JUSTIFIED", SWIG_FromInt((int)wxTEXT_ALIGNMENT_JUSTIFIED
));
32478 PyDict_SetItemString(d
,"TEXT_ATTR_TEXT_COLOUR", SWIG_FromInt((int)wxTEXT_ATTR_TEXT_COLOUR
));
32479 PyDict_SetItemString(d
,"TEXT_ATTR_BACKGROUND_COLOUR", SWIG_FromInt((int)wxTEXT_ATTR_BACKGROUND_COLOUR
));
32480 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_FACE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_FACE
));
32481 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_SIZE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_SIZE
));
32482 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_WEIGHT", SWIG_FromInt((int)wxTEXT_ATTR_FONT_WEIGHT
));
32483 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_ITALIC", SWIG_FromInt((int)wxTEXT_ATTR_FONT_ITALIC
));
32484 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_UNDERLINE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_UNDERLINE
));
32485 PyDict_SetItemString(d
,"TEXT_ATTR_FONT", SWIG_FromInt((int)wxTEXT_ATTR_FONT
));
32486 PyDict_SetItemString(d
,"TEXT_ATTR_ALIGNMENT", SWIG_FromInt((int)wxTEXT_ATTR_ALIGNMENT
));
32487 PyDict_SetItemString(d
,"TEXT_ATTR_LEFT_INDENT", SWIG_FromInt((int)wxTEXT_ATTR_LEFT_INDENT
));
32488 PyDict_SetItemString(d
,"TEXT_ATTR_RIGHT_INDENT", SWIG_FromInt((int)wxTEXT_ATTR_RIGHT_INDENT
));
32489 PyDict_SetItemString(d
,"TEXT_ATTR_TABS", SWIG_FromInt((int)wxTEXT_ATTR_TABS
));
32490 PyDict_SetItemString(d
,"TE_HT_UNKNOWN", SWIG_FromInt((int)wxTE_HT_UNKNOWN
));
32491 PyDict_SetItemString(d
,"TE_HT_BEFORE", SWIG_FromInt((int)wxTE_HT_BEFORE
));
32492 PyDict_SetItemString(d
,"TE_HT_ON_TEXT", SWIG_FromInt((int)wxTE_HT_ON_TEXT
));
32493 PyDict_SetItemString(d
,"TE_HT_BELOW", SWIG_FromInt((int)wxTE_HT_BELOW
));
32494 PyDict_SetItemString(d
,"TE_HT_BEYOND", SWIG_FromInt((int)wxTE_HT_BEYOND
));
32495 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED
));
32496 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER
));
32497 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL
));
32498 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN
));
32499 SWIG_addvarlink(SWIG_globals
,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get
, _wrap_ScrollBarNameStr_set
);
32500 SWIG_addvarlink(SWIG_globals
,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get
, _wrap_SPIN_BUTTON_NAME_set
);
32501 SWIG_addvarlink(SWIG_globals
,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get
, _wrap_SpinCtrlNameStr_set
);
32502 PyDict_SetItemString(d
,"SP_HORIZONTAL", SWIG_FromInt((int)wxSP_HORIZONTAL
));
32503 PyDict_SetItemString(d
,"SP_VERTICAL", SWIG_FromInt((int)wxSP_VERTICAL
));
32504 PyDict_SetItemString(d
,"SP_ARROW_KEYS", SWIG_FromInt((int)wxSP_ARROW_KEYS
));
32505 PyDict_SetItemString(d
,"SP_WRAP", SWIG_FromInt((int)wxSP_WRAP
));
32506 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED
));
32507 SWIG_addvarlink(SWIG_globals
,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get
, _wrap_RadioBoxNameStr_set
);
32508 SWIG_addvarlink(SWIG_globals
,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get
, _wrap_RadioButtonNameStr_set
);
32509 SWIG_addvarlink(SWIG_globals
,(char*)"SliderNameStr",_wrap_SliderNameStr_get
, _wrap_SliderNameStr_set
);
32510 SWIG_addvarlink(SWIG_globals
,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get
, _wrap_ToggleButtonNameStr_set
);
32511 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
32512 SWIG_addvarlink(SWIG_globals
,(char*)"NOTEBOOK_NAME",_wrap_NOTEBOOK_NAME_get
, _wrap_NOTEBOOK_NAME_set
);
32513 PyDict_SetItemString(d
,"NB_FIXEDWIDTH", SWIG_FromInt((int)wxNB_FIXEDWIDTH
));
32514 PyDict_SetItemString(d
,"NB_TOP", SWIG_FromInt((int)wxNB_TOP
));
32515 PyDict_SetItemString(d
,"NB_LEFT", SWIG_FromInt((int)wxNB_LEFT
));
32516 PyDict_SetItemString(d
,"NB_RIGHT", SWIG_FromInt((int)wxNB_RIGHT
));
32517 PyDict_SetItemString(d
,"NB_BOTTOM", SWIG_FromInt((int)wxNB_BOTTOM
));
32518 PyDict_SetItemString(d
,"NB_MULTILINE", SWIG_FromInt((int)wxNB_MULTILINE
));
32519 PyDict_SetItemString(d
,"NB_HITTEST_NOWHERE", SWIG_FromInt((int)wxNB_HITTEST_NOWHERE
));
32520 PyDict_SetItemString(d
,"NB_HITTEST_ONICON", SWIG_FromInt((int)wxNB_HITTEST_ONICON
));
32521 PyDict_SetItemString(d
,"NB_HITTEST_ONLABEL", SWIG_FromInt((int)wxNB_HITTEST_ONLABEL
));
32522 PyDict_SetItemString(d
,"NB_HITTEST_ONITEM", SWIG_FromInt((int)wxNB_HITTEST_ONITEM
));
32523 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
32524 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
32525 PyDict_SetItemString(d
,"LB_DEFAULT", SWIG_FromInt((int)wxLB_DEFAULT
));
32526 PyDict_SetItemString(d
,"LB_TOP", SWIG_FromInt((int)wxLB_TOP
));
32527 PyDict_SetItemString(d
,"LB_BOTTOM", SWIG_FromInt((int)wxLB_BOTTOM
));
32528 PyDict_SetItemString(d
,"LB_LEFT", SWIG_FromInt((int)wxLB_LEFT
));
32529 PyDict_SetItemString(d
,"LB_RIGHT", SWIG_FromInt((int)wxLB_RIGHT
));
32530 PyDict_SetItemString(d
,"LB_ALIGN_MASK", SWIG_FromInt((int)wxLB_ALIGN_MASK
));
32531 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
));
32532 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
));
32533 PyDict_SetItemString(d
,"TOOL_STYLE_BUTTON", SWIG_FromInt((int)wxTOOL_STYLE_BUTTON
));
32534 PyDict_SetItemString(d
,"TOOL_STYLE_SEPARATOR", SWIG_FromInt((int)wxTOOL_STYLE_SEPARATOR
));
32535 PyDict_SetItemString(d
,"TOOL_STYLE_CONTROL", SWIG_FromInt((int)wxTOOL_STYLE_CONTROL
));
32536 PyDict_SetItemString(d
,"TB_HORIZONTAL", SWIG_FromInt((int)wxTB_HORIZONTAL
));
32537 PyDict_SetItemString(d
,"TB_VERTICAL", SWIG_FromInt((int)wxTB_VERTICAL
));
32538 PyDict_SetItemString(d
,"TB_3DBUTTONS", SWIG_FromInt((int)wxTB_3DBUTTONS
));
32539 PyDict_SetItemString(d
,"TB_FLAT", SWIG_FromInt((int)wxTB_FLAT
));
32540 PyDict_SetItemString(d
,"TB_DOCKABLE", SWIG_FromInt((int)wxTB_DOCKABLE
));
32541 PyDict_SetItemString(d
,"TB_NOICONS", SWIG_FromInt((int)wxTB_NOICONS
));
32542 PyDict_SetItemString(d
,"TB_TEXT", SWIG_FromInt((int)wxTB_TEXT
));
32543 PyDict_SetItemString(d
,"TB_NODIVIDER", SWIG_FromInt((int)wxTB_NODIVIDER
));
32544 PyDict_SetItemString(d
,"TB_NOALIGN", SWIG_FromInt((int)wxTB_NOALIGN
));
32545 PyDict_SetItemString(d
,"TB_HORZ_LAYOUT", SWIG_FromInt((int)wxTB_HORZ_LAYOUT
));
32546 PyDict_SetItemString(d
,"TB_HORZ_TEXT", SWIG_FromInt((int)wxTB_HORZ_TEXT
));
32547 SWIG_addvarlink(SWIG_globals
,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get
, _wrap_ListCtrlNameStr_set
);
32548 PyDict_SetItemString(d
,"LC_VRULES", SWIG_FromInt((int)wxLC_VRULES
));
32549 PyDict_SetItemString(d
,"LC_HRULES", SWIG_FromInt((int)wxLC_HRULES
));
32550 PyDict_SetItemString(d
,"LC_ICON", SWIG_FromInt((int)wxLC_ICON
));
32551 PyDict_SetItemString(d
,"LC_SMALL_ICON", SWIG_FromInt((int)wxLC_SMALL_ICON
));
32552 PyDict_SetItemString(d
,"LC_LIST", SWIG_FromInt((int)wxLC_LIST
));
32553 PyDict_SetItemString(d
,"LC_REPORT", SWIG_FromInt((int)wxLC_REPORT
));
32554 PyDict_SetItemString(d
,"LC_ALIGN_TOP", SWIG_FromInt((int)wxLC_ALIGN_TOP
));
32555 PyDict_SetItemString(d
,"LC_ALIGN_LEFT", SWIG_FromInt((int)wxLC_ALIGN_LEFT
));
32556 PyDict_SetItemString(d
,"LC_AUTOARRANGE", SWIG_FromInt((int)wxLC_AUTOARRANGE
));
32557 PyDict_SetItemString(d
,"LC_VIRTUAL", SWIG_FromInt((int)wxLC_VIRTUAL
));
32558 PyDict_SetItemString(d
,"LC_EDIT_LABELS", SWIG_FromInt((int)wxLC_EDIT_LABELS
));
32559 PyDict_SetItemString(d
,"LC_NO_HEADER", SWIG_FromInt((int)wxLC_NO_HEADER
));
32560 PyDict_SetItemString(d
,"LC_NO_SORT_HEADER", SWIG_FromInt((int)wxLC_NO_SORT_HEADER
));
32561 PyDict_SetItemString(d
,"LC_SINGLE_SEL", SWIG_FromInt((int)wxLC_SINGLE_SEL
));
32562 PyDict_SetItemString(d
,"LC_SORT_ASCENDING", SWIG_FromInt((int)wxLC_SORT_ASCENDING
));
32563 PyDict_SetItemString(d
,"LC_SORT_DESCENDING", SWIG_FromInt((int)wxLC_SORT_DESCENDING
));
32564 PyDict_SetItemString(d
,"LC_MASK_TYPE", SWIG_FromInt((int)wxLC_MASK_TYPE
));
32565 PyDict_SetItemString(d
,"LC_MASK_ALIGN", SWIG_FromInt((int)wxLC_MASK_ALIGN
));
32566 PyDict_SetItemString(d
,"LC_MASK_SORT", SWIG_FromInt((int)wxLC_MASK_SORT
));
32567 PyDict_SetItemString(d
,"LIST_MASK_STATE", SWIG_FromInt((int)wxLIST_MASK_STATE
));
32568 PyDict_SetItemString(d
,"LIST_MASK_TEXT", SWIG_FromInt((int)wxLIST_MASK_TEXT
));
32569 PyDict_SetItemString(d
,"LIST_MASK_IMAGE", SWIG_FromInt((int)wxLIST_MASK_IMAGE
));
32570 PyDict_SetItemString(d
,"LIST_MASK_DATA", SWIG_FromInt((int)wxLIST_MASK_DATA
));
32571 PyDict_SetItemString(d
,"LIST_SET_ITEM", SWIG_FromInt((int)wxLIST_SET_ITEM
));
32572 PyDict_SetItemString(d
,"LIST_MASK_WIDTH", SWIG_FromInt((int)wxLIST_MASK_WIDTH
));
32573 PyDict_SetItemString(d
,"LIST_MASK_FORMAT", SWIG_FromInt((int)wxLIST_MASK_FORMAT
));
32574 PyDict_SetItemString(d
,"LIST_STATE_DONTCARE", SWIG_FromInt((int)wxLIST_STATE_DONTCARE
));
32575 PyDict_SetItemString(d
,"LIST_STATE_DROPHILITED", SWIG_FromInt((int)wxLIST_STATE_DROPHILITED
));
32576 PyDict_SetItemString(d
,"LIST_STATE_FOCUSED", SWIG_FromInt((int)wxLIST_STATE_FOCUSED
));
32577 PyDict_SetItemString(d
,"LIST_STATE_SELECTED", SWIG_FromInt((int)wxLIST_STATE_SELECTED
));
32578 PyDict_SetItemString(d
,"LIST_STATE_CUT", SWIG_FromInt((int)wxLIST_STATE_CUT
));
32579 PyDict_SetItemString(d
,"LIST_STATE_DISABLED", SWIG_FromInt((int)wxLIST_STATE_DISABLED
));
32580 PyDict_SetItemString(d
,"LIST_STATE_FILTERED", SWIG_FromInt((int)wxLIST_STATE_FILTERED
));
32581 PyDict_SetItemString(d
,"LIST_STATE_INUSE", SWIG_FromInt((int)wxLIST_STATE_INUSE
));
32582 PyDict_SetItemString(d
,"LIST_STATE_PICKED", SWIG_FromInt((int)wxLIST_STATE_PICKED
));
32583 PyDict_SetItemString(d
,"LIST_STATE_SOURCE", SWIG_FromInt((int)wxLIST_STATE_SOURCE
));
32584 PyDict_SetItemString(d
,"LIST_HITTEST_ABOVE", SWIG_FromInt((int)wxLIST_HITTEST_ABOVE
));
32585 PyDict_SetItemString(d
,"LIST_HITTEST_BELOW", SWIG_FromInt((int)wxLIST_HITTEST_BELOW
));
32586 PyDict_SetItemString(d
,"LIST_HITTEST_NOWHERE", SWIG_FromInt((int)wxLIST_HITTEST_NOWHERE
));
32587 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMICON", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMICON
));
32588 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMLABEL", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMLABEL
));
32589 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMRIGHT", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMRIGHT
));
32590 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMSTATEICON", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMSTATEICON
));
32591 PyDict_SetItemString(d
,"LIST_HITTEST_TOLEFT", SWIG_FromInt((int)wxLIST_HITTEST_TOLEFT
));
32592 PyDict_SetItemString(d
,"LIST_HITTEST_TORIGHT", SWIG_FromInt((int)wxLIST_HITTEST_TORIGHT
));
32593 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEM", SWIG_FromInt((int)wxLIST_HITTEST_ONITEM
));
32594 PyDict_SetItemString(d
,"LIST_NEXT_ABOVE", SWIG_FromInt((int)wxLIST_NEXT_ABOVE
));
32595 PyDict_SetItemString(d
,"LIST_NEXT_ALL", SWIG_FromInt((int)wxLIST_NEXT_ALL
));
32596 PyDict_SetItemString(d
,"LIST_NEXT_BELOW", SWIG_FromInt((int)wxLIST_NEXT_BELOW
));
32597 PyDict_SetItemString(d
,"LIST_NEXT_LEFT", SWIG_FromInt((int)wxLIST_NEXT_LEFT
));
32598 PyDict_SetItemString(d
,"LIST_NEXT_RIGHT", SWIG_FromInt((int)wxLIST_NEXT_RIGHT
));
32599 PyDict_SetItemString(d
,"LIST_ALIGN_DEFAULT", SWIG_FromInt((int)wxLIST_ALIGN_DEFAULT
));
32600 PyDict_SetItemString(d
,"LIST_ALIGN_LEFT", SWIG_FromInt((int)wxLIST_ALIGN_LEFT
));
32601 PyDict_SetItemString(d
,"LIST_ALIGN_TOP", SWIG_FromInt((int)wxLIST_ALIGN_TOP
));
32602 PyDict_SetItemString(d
,"LIST_ALIGN_SNAP_TO_GRID", SWIG_FromInt((int)wxLIST_ALIGN_SNAP_TO_GRID
));
32603 PyDict_SetItemString(d
,"LIST_FORMAT_LEFT", SWIG_FromInt((int)wxLIST_FORMAT_LEFT
));
32604 PyDict_SetItemString(d
,"LIST_FORMAT_RIGHT", SWIG_FromInt((int)wxLIST_FORMAT_RIGHT
));
32605 PyDict_SetItemString(d
,"LIST_FORMAT_CENTRE", SWIG_FromInt((int)wxLIST_FORMAT_CENTRE
));
32606 PyDict_SetItemString(d
,"LIST_FORMAT_CENTER", SWIG_FromInt((int)wxLIST_FORMAT_CENTER
));
32607 PyDict_SetItemString(d
,"LIST_AUTOSIZE", SWIG_FromInt((int)wxLIST_AUTOSIZE
));
32608 PyDict_SetItemString(d
,"LIST_AUTOSIZE_USEHEADER", SWIG_FromInt((int)wxLIST_AUTOSIZE_USEHEADER
));
32609 PyDict_SetItemString(d
,"LIST_RECT_BOUNDS", SWIG_FromInt((int)wxLIST_RECT_BOUNDS
));
32610 PyDict_SetItemString(d
,"LIST_RECT_ICON", SWIG_FromInt((int)wxLIST_RECT_ICON
));
32611 PyDict_SetItemString(d
,"LIST_RECT_LABEL", SWIG_FromInt((int)wxLIST_RECT_LABEL
));
32612 PyDict_SetItemString(d
,"LIST_FIND_UP", SWIG_FromInt((int)wxLIST_FIND_UP
));
32613 PyDict_SetItemString(d
,"LIST_FIND_DOWN", SWIG_FromInt((int)wxLIST_FIND_DOWN
));
32614 PyDict_SetItemString(d
,"LIST_FIND_LEFT", SWIG_FromInt((int)wxLIST_FIND_LEFT
));
32615 PyDict_SetItemString(d
,"LIST_FIND_RIGHT", SWIG_FromInt((int)wxLIST_FIND_RIGHT
));
32616 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG
));
32617 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
32618 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
32619 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
32620 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM
));
32621 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
32622 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO
));
32623 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO
));
32624 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED
));
32625 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
32626 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN
));
32627 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM
));
32628 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK
));
32629 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
32630 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
32631 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
32632 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT
));
32633 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
32634 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
32635 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING
));
32636 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG
));
32637 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
32639 // Map renamed classes back to their common name for OOR
32640 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
32642 SWIG_addvarlink(SWIG_globals
,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get
, _wrap_TreeCtrlNameStr_set
);
32643 PyDict_SetItemString(d
,"TR_NO_BUTTONS", SWIG_FromInt((int)wxTR_NO_BUTTONS
));
32644 PyDict_SetItemString(d
,"TR_HAS_BUTTONS", SWIG_FromInt((int)wxTR_HAS_BUTTONS
));
32645 PyDict_SetItemString(d
,"TR_NO_LINES", SWIG_FromInt((int)wxTR_NO_LINES
));
32646 PyDict_SetItemString(d
,"TR_LINES_AT_ROOT", SWIG_FromInt((int)wxTR_LINES_AT_ROOT
));
32647 PyDict_SetItemString(d
,"TR_SINGLE", SWIG_FromInt((int)wxTR_SINGLE
));
32648 PyDict_SetItemString(d
,"TR_MULTIPLE", SWIG_FromInt((int)wxTR_MULTIPLE
));
32649 PyDict_SetItemString(d
,"TR_EXTENDED", SWIG_FromInt((int)wxTR_EXTENDED
));
32650 PyDict_SetItemString(d
,"TR_HAS_VARIABLE_ROW_HEIGHT", SWIG_FromInt((int)wxTR_HAS_VARIABLE_ROW_HEIGHT
));
32651 PyDict_SetItemString(d
,"TR_EDIT_LABELS", SWIG_FromInt((int)wxTR_EDIT_LABELS
));
32652 PyDict_SetItemString(d
,"TR_HIDE_ROOT", SWIG_FromInt((int)wxTR_HIDE_ROOT
));
32653 PyDict_SetItemString(d
,"TR_ROW_LINES", SWIG_FromInt((int)wxTR_ROW_LINES
));
32654 PyDict_SetItemString(d
,"TR_FULL_ROW_HIGHLIGHT", SWIG_FromInt((int)wxTR_FULL_ROW_HIGHLIGHT
));
32655 PyDict_SetItemString(d
,"TR_DEFAULT_STYLE", SWIG_FromInt((int)wxTR_DEFAULT_STYLE
));
32656 PyDict_SetItemString(d
,"TR_TWIST_BUTTONS", SWIG_FromInt((int)wxTR_TWIST_BUTTONS
));
32657 PyDict_SetItemString(d
,"TR_MAC_BUTTONS", SWIG_FromInt((int)wxTR_MAC_BUTTONS
));
32658 PyDict_SetItemString(d
,"TR_AQUA_BUTTONS", SWIG_FromInt((int)wxTR_AQUA_BUTTONS
));
32659 PyDict_SetItemString(d
,"TreeItemIcon_Normal", SWIG_FromInt((int)wxTreeItemIcon_Normal
));
32660 PyDict_SetItemString(d
,"TreeItemIcon_Selected", SWIG_FromInt((int)wxTreeItemIcon_Selected
));
32661 PyDict_SetItemString(d
,"TreeItemIcon_Expanded", SWIG_FromInt((int)wxTreeItemIcon_Expanded
));
32662 PyDict_SetItemString(d
,"TreeItemIcon_SelectedExpanded", SWIG_FromInt((int)wxTreeItemIcon_SelectedExpanded
));
32663 PyDict_SetItemString(d
,"TreeItemIcon_Max", SWIG_FromInt((int)wxTreeItemIcon_Max
));
32664 PyDict_SetItemString(d
,"TREE_HITTEST_ABOVE", SWIG_FromInt((int)wxTREE_HITTEST_ABOVE
));
32665 PyDict_SetItemString(d
,"TREE_HITTEST_BELOW", SWIG_FromInt((int)wxTREE_HITTEST_BELOW
));
32666 PyDict_SetItemString(d
,"TREE_HITTEST_NOWHERE", SWIG_FromInt((int)wxTREE_HITTEST_NOWHERE
));
32667 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMBUTTON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMBUTTON
));
32668 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMICON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMICON
));
32669 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMINDENT", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMINDENT
));
32670 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLABEL", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMLABEL
));
32671 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMRIGHT", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMRIGHT
));
32672 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMSTATEICON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMSTATEICON
));
32673 PyDict_SetItemString(d
,"TREE_HITTEST_TOLEFT", SWIG_FromInt((int)wxTREE_HITTEST_TOLEFT
));
32674 PyDict_SetItemString(d
,"TREE_HITTEST_TORIGHT", SWIG_FromInt((int)wxTREE_HITTEST_TORIGHT
));
32675 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMUPPERPART", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMUPPERPART
));
32676 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLOWERPART", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMLOWERPART
));
32677 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEM", SWIG_FromInt((int)wxTREE_HITTEST_ONITEM
));
32678 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG
));
32679 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
32680 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
32681 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
32682 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM
));
32683 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO
));
32684 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO
));
32685 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
32686 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
32687 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
32688 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
32689 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED
));
32690 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING
));
32691 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN
));
32692 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
32693 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
32694 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
32695 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG
));
32696 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
));
32697 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
));
32699 // Map renamed classes back to their common name for OOR
32700 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
32701 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
32703 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get
, _wrap_DirDialogDefaultFolderStr_set
);
32704 PyDict_SetItemString(d
,"DIRCTRL_DIR_ONLY", SWIG_FromInt((int)wxDIRCTRL_DIR_ONLY
));
32705 PyDict_SetItemString(d
,"DIRCTRL_SELECT_FIRST", SWIG_FromInt((int)wxDIRCTRL_SELECT_FIRST
));
32706 PyDict_SetItemString(d
,"DIRCTRL_SHOW_FILTERS", SWIG_FromInt((int)wxDIRCTRL_SHOW_FILTERS
));
32707 PyDict_SetItemString(d
,"DIRCTRL_3D_INTERNAL", SWIG_FromInt((int)wxDIRCTRL_3D_INTERNAL
));
32708 PyDict_SetItemString(d
,"DIRCTRL_EDIT_LABELS", SWIG_FromInt((int)wxDIRCTRL_EDIT_LABELS
));
32709 PyDict_SetItemString(d
,"FRAME_EX_CONTEXTHELP", SWIG_FromInt((int)wxFRAME_EX_CONTEXTHELP
));
32710 PyDict_SetItemString(d
,"DIALOG_EX_CONTEXTHELP", SWIG_FromInt((int)wxDIALOG_EX_CONTEXTHELP
));
32711 PyDict_SetItemString(d
, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP
));
32712 PyDict_SetItemString(d
, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP
));
32714 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");