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 ;
2385 int arg2
= (int) -1 ;
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 *)"O|OOOOOOO: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
;
2418 arg2
= (int) SWIG_AsInt(obj1
);
2419 if (PyErr_Occurred()) SWIG_fail
;
2424 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
2430 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
2435 if (! PySequence_Check(obj4
)) {
2436 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
2439 arg5
= new wxArrayString
;
2441 int i
, len
=PySequence_Length(obj4
);
2442 for (i
=0; i
<len
; i
++) {
2443 PyObject
* item
= PySequence_GetItem(obj4
, i
);
2445 PyObject
* str
= PyObject_Unicode(item
);
2447 PyObject
* str
= PyObject_Str(item
);
2449 if (PyErr_Occurred()) SWIG_fail
;
2450 arg5
->Add(Py2wxString(str
));
2457 arg6
= (long) SWIG_AsLong(obj5
);
2458 if (PyErr_Occurred()) SWIG_fail
;
2461 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
2462 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2465 PyErr_SetString(PyExc_TypeError
,"null reference");
2471 arg8
= wxString_in_helper(obj7
);
2472 if (arg8
== NULL
) SWIG_fail
;
2477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2478 result
= (wxChoice
*)new wxChoice(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
2480 wxPyEndAllowThreads(__tstate
);
2481 if (PyErr_Occurred()) SWIG_fail
;
2483 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoice
, 1);
2485 if (temp5
) delete arg5
;
2494 if (temp5
) delete arg5
;
2504 static PyObject
*_wrap_new_PreChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2505 PyObject
*resultobj
;
2511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreChoice",kwnames
)) goto fail
;
2513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2514 result
= (wxChoice
*)new wxChoice();
2516 wxPyEndAllowThreads(__tstate
);
2517 if (PyErr_Occurred()) SWIG_fail
;
2519 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoice
, 1);
2526 static PyObject
*_wrap_Choice_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2527 PyObject
*resultobj
;
2528 wxChoice
*arg1
= (wxChoice
*) 0 ;
2529 wxWindow
*arg2
= (wxWindow
*) 0 ;
2530 int arg3
= (int) -1 ;
2531 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2532 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2533 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2534 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2535 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
2536 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
2537 long arg7
= (long) 0 ;
2538 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2539 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2540 wxString
const &arg9_defvalue
= wxPyChoiceNameStr
;
2541 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2545 bool temp6
= False
;
2546 bool temp9
= False
;
2547 PyObject
* obj0
= 0 ;
2548 PyObject
* obj1
= 0 ;
2549 PyObject
* obj2
= 0 ;
2550 PyObject
* obj3
= 0 ;
2551 PyObject
* obj4
= 0 ;
2552 PyObject
* obj5
= 0 ;
2553 PyObject
* obj6
= 0 ;
2554 PyObject
* obj7
= 0 ;
2555 PyObject
* obj8
= 0 ;
2557 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Choice_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2561 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2563 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
2564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2566 arg3
= (int) SWIG_AsInt(obj2
);
2567 if (PyErr_Occurred()) SWIG_fail
;
2572 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2578 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2583 if (! PySequence_Check(obj5
)) {
2584 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
2587 arg6
= new wxArrayString
;
2589 int i
, len
=PySequence_Length(obj5
);
2590 for (i
=0; i
<len
; i
++) {
2591 PyObject
* item
= PySequence_GetItem(obj5
, i
);
2593 PyObject
* str
= PyObject_Unicode(item
);
2595 PyObject
* str
= PyObject_Str(item
);
2597 if (PyErr_Occurred()) SWIG_fail
;
2598 arg6
->Add(Py2wxString(str
));
2605 arg7
= (long) SWIG_AsLong(obj6
);
2606 if (PyErr_Occurred()) SWIG_fail
;
2609 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
2610 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2613 PyErr_SetString(PyExc_TypeError
,"null reference");
2619 arg9
= wxString_in_helper(obj8
);
2620 if (arg9
== NULL
) SWIG_fail
;
2625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2626 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
2628 wxPyEndAllowThreads(__tstate
);
2629 if (PyErr_Occurred()) SWIG_fail
;
2632 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2635 if (temp6
) delete arg6
;
2644 if (temp6
) delete arg6
;
2654 static PyObject
*_wrap_Choice_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2655 PyObject
*resultobj
;
2656 wxChoice
*arg1
= (wxChoice
*) 0 ;
2658 PyObject
* obj0
= 0 ;
2659 PyObject
* obj1
= 0 ;
2661 (char *) "self",(char *) "n", NULL
2664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Choice_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
2665 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2667 arg2
= (int const) SWIG_AsInt(obj1
);
2668 if (PyErr_Occurred()) SWIG_fail
;
2670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2671 (arg1
)->SetSelection(arg2
);
2673 wxPyEndAllowThreads(__tstate
);
2674 if (PyErr_Occurred()) SWIG_fail
;
2676 Py_INCREF(Py_None
); resultobj
= Py_None
;
2683 static PyObject
*_wrap_Choice_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2684 PyObject
*resultobj
;
2685 wxChoice
*arg1
= (wxChoice
*) 0 ;
2686 wxString
*arg2
= 0 ;
2688 bool temp2
= False
;
2689 PyObject
* obj0
= 0 ;
2690 PyObject
* obj1
= 0 ;
2692 (char *) "self",(char *) "string", NULL
2695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Choice_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
2696 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2699 arg2
= wxString_in_helper(obj1
);
2700 if (arg2
== NULL
) SWIG_fail
;
2704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2705 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
2707 wxPyEndAllowThreads(__tstate
);
2708 if (PyErr_Occurred()) SWIG_fail
;
2711 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2727 static PyObject
*_wrap_Choice_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2728 PyObject
*resultobj
;
2729 wxChoice
*arg1
= (wxChoice
*) 0 ;
2731 wxString
*arg3
= 0 ;
2732 bool temp3
= False
;
2733 PyObject
* obj0
= 0 ;
2734 PyObject
* obj1
= 0 ;
2735 PyObject
* obj2
= 0 ;
2737 (char *) "self",(char *) "n",(char *) "string", NULL
2740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Choice_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2741 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2743 arg2
= (int) SWIG_AsInt(obj1
);
2744 if (PyErr_Occurred()) SWIG_fail
;
2746 arg3
= wxString_in_helper(obj2
);
2747 if (arg3
== NULL
) SWIG_fail
;
2751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2752 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
2754 wxPyEndAllowThreads(__tstate
);
2755 if (PyErr_Occurred()) SWIG_fail
;
2757 Py_INCREF(Py_None
); resultobj
= Py_None
;
2772 static PyObject
* Choice_swigregister(PyObject
*self
, PyObject
*args
) {
2774 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2775 SWIG_TypeClientData(SWIGTYPE_p_wxChoice
, obj
);
2777 return Py_BuildValue((char *)"");
2779 static int _wrap_ComboBoxNameStr_set(PyObject
*_val
) {
2780 PyErr_SetString(PyExc_TypeError
,"Variable ComboBoxNameStr is read-only.");
2785 static PyObject
*_wrap_ComboBoxNameStr_get() {
2790 pyobj
= PyUnicode_FromWideChar((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
2792 pyobj
= PyString_FromStringAndSize((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
2799 static PyObject
*_wrap_new_ComboBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2800 PyObject
*resultobj
;
2801 wxWindow
*arg1
= (wxWindow
*) 0 ;
2802 int arg2
= (int) -1 ;
2803 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2804 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2805 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2806 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2807 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2808 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2809 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
2810 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
2811 long arg7
= (long) 0 ;
2812 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2813 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2814 wxString
const &arg9_defvalue
= wxPyComboBoxNameStr
;
2815 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2817 bool temp3
= False
;
2820 bool temp6
= False
;
2821 bool temp9
= False
;
2822 PyObject
* obj0
= 0 ;
2823 PyObject
* obj1
= 0 ;
2824 PyObject
* obj2
= 0 ;
2825 PyObject
* obj3
= 0 ;
2826 PyObject
* obj4
= 0 ;
2827 PyObject
* obj5
= 0 ;
2828 PyObject
* obj6
= 0 ;
2829 PyObject
* obj7
= 0 ;
2830 PyObject
* obj8
= 0 ;
2832 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_ComboBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2836 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
2837 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2839 arg2
= (int) SWIG_AsInt(obj1
);
2840 if (PyErr_Occurred()) SWIG_fail
;
2844 arg3
= wxString_in_helper(obj2
);
2845 if (arg3
== NULL
) SWIG_fail
;
2852 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2858 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2863 if (! PySequence_Check(obj5
)) {
2864 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
2867 arg6
= new wxArrayString
;
2869 int i
, len
=PySequence_Length(obj5
);
2870 for (i
=0; i
<len
; i
++) {
2871 PyObject
* item
= PySequence_GetItem(obj5
, i
);
2873 PyObject
* str
= PyObject_Unicode(item
);
2875 PyObject
* str
= PyObject_Str(item
);
2877 if (PyErr_Occurred()) SWIG_fail
;
2878 arg6
->Add(Py2wxString(str
));
2885 arg7
= (long) SWIG_AsLong(obj6
);
2886 if (PyErr_Occurred()) SWIG_fail
;
2889 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
2890 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2893 PyErr_SetString(PyExc_TypeError
,"null reference");
2899 arg9
= wxString_in_helper(obj8
);
2900 if (arg9
== NULL
) SWIG_fail
;
2905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2906 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
);
2908 wxPyEndAllowThreads(__tstate
);
2909 if (PyErr_Occurred()) SWIG_fail
;
2911 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxComboBox
, 1);
2917 if (temp6
) delete arg6
;
2930 if (temp6
) delete arg6
;
2940 static PyObject
*_wrap_new_PreComboBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2941 PyObject
*resultobj
;
2947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreComboBox",kwnames
)) goto fail
;
2949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2950 result
= (wxComboBox
*)new wxComboBox();
2952 wxPyEndAllowThreads(__tstate
);
2953 if (PyErr_Occurred()) SWIG_fail
;
2955 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxComboBox
, 1);
2962 static PyObject
*_wrap_ComboBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2963 PyObject
*resultobj
;
2964 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2965 wxWindow
*arg2
= (wxWindow
*) 0 ;
2966 int arg3
= (int) -1 ;
2967 wxString
const &arg4_defvalue
= wxPyEmptyString
;
2968 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
2969 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
2970 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
2971 wxSize
const &arg6_defvalue
= wxDefaultSize
;
2972 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
2973 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
2974 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
2975 long arg8
= (long) 0 ;
2976 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
2977 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
2978 wxString
const &arg10_defvalue
= wxPyChoiceNameStr
;
2979 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
2981 bool temp4
= False
;
2984 bool temp7
= False
;
2985 bool temp10
= False
;
2986 PyObject
* obj0
= 0 ;
2987 PyObject
* obj1
= 0 ;
2988 PyObject
* obj2
= 0 ;
2989 PyObject
* obj3
= 0 ;
2990 PyObject
* obj4
= 0 ;
2991 PyObject
* obj5
= 0 ;
2992 PyObject
* obj6
= 0 ;
2993 PyObject
* obj7
= 0 ;
2994 PyObject
* obj8
= 0 ;
2995 PyObject
* obj9
= 0 ;
2997 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
3000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:ComboBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
3001 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3003 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
3004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3006 arg3
= (int) SWIG_AsInt(obj2
);
3007 if (PyErr_Occurred()) SWIG_fail
;
3011 arg4
= wxString_in_helper(obj3
);
3012 if (arg4
== NULL
) SWIG_fail
;
3019 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3025 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3030 if (! PySequence_Check(obj6
)) {
3031 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
3034 arg7
= new wxArrayString
;
3036 int i
, len
=PySequence_Length(obj6
);
3037 for (i
=0; i
<len
; i
++) {
3038 PyObject
* item
= PySequence_GetItem(obj6
, i
);
3040 PyObject
* str
= PyObject_Unicode(item
);
3042 PyObject
* str
= PyObject_Str(item
);
3044 if (PyErr_Occurred()) SWIG_fail
;
3045 arg7
->Add(Py2wxString(str
));
3052 arg8
= (long) SWIG_AsLong(obj7
);
3053 if (PyErr_Occurred()) SWIG_fail
;
3056 if ((SWIG_ConvertPtr(obj8
,(void **)(&arg9
),SWIGTYPE_p_wxValidator
,
3057 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3060 PyErr_SetString(PyExc_TypeError
,"null reference");
3066 arg10
= wxString_in_helper(obj9
);
3067 if (arg10
== NULL
) SWIG_fail
;
3072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3073 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
);
3075 wxPyEndAllowThreads(__tstate
);
3076 if (PyErr_Occurred()) SWIG_fail
;
3079 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3086 if (temp7
) delete arg7
;
3099 if (temp7
) delete arg7
;
3109 static PyObject
*_wrap_ComboBox_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3110 PyObject
*resultobj
;
3111 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3113 PyObject
* obj0
= 0 ;
3115 (char *) "self", NULL
3118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetValue",kwnames
,&obj0
)) goto fail
;
3119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3123 result
= ((wxComboBox
const *)arg1
)->GetValue();
3125 wxPyEndAllowThreads(__tstate
);
3126 if (PyErr_Occurred()) SWIG_fail
;
3130 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3132 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3141 static PyObject
*_wrap_ComboBox_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3142 PyObject
*resultobj
;
3143 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3144 wxString
*arg2
= 0 ;
3145 bool temp2
= False
;
3146 PyObject
* obj0
= 0 ;
3147 PyObject
* obj1
= 0 ;
3149 (char *) "self",(char *) "value", NULL
3152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
3153 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3156 arg2
= wxString_in_helper(obj1
);
3157 if (arg2
== NULL
) SWIG_fail
;
3161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3162 (arg1
)->SetValue((wxString
const &)*arg2
);
3164 wxPyEndAllowThreads(__tstate
);
3165 if (PyErr_Occurred()) SWIG_fail
;
3167 Py_INCREF(Py_None
); resultobj
= Py_None
;
3182 static PyObject
*_wrap_ComboBox_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3183 PyObject
*resultobj
;
3184 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3185 PyObject
* obj0
= 0 ;
3187 (char *) "self", NULL
3190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Copy",kwnames
,&obj0
)) goto fail
;
3191 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3197 wxPyEndAllowThreads(__tstate
);
3198 if (PyErr_Occurred()) SWIG_fail
;
3200 Py_INCREF(Py_None
); resultobj
= Py_None
;
3207 static PyObject
*_wrap_ComboBox_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3208 PyObject
*resultobj
;
3209 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3210 PyObject
* obj0
= 0 ;
3212 (char *) "self", NULL
3215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Cut",kwnames
,&obj0
)) goto fail
;
3216 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3222 wxPyEndAllowThreads(__tstate
);
3223 if (PyErr_Occurred()) SWIG_fail
;
3225 Py_INCREF(Py_None
); resultobj
= Py_None
;
3232 static PyObject
*_wrap_ComboBox_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3233 PyObject
*resultobj
;
3234 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3235 PyObject
* obj0
= 0 ;
3237 (char *) "self", NULL
3240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Paste",kwnames
,&obj0
)) goto fail
;
3241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3247 wxPyEndAllowThreads(__tstate
);
3248 if (PyErr_Occurred()) SWIG_fail
;
3250 Py_INCREF(Py_None
); resultobj
= Py_None
;
3257 static PyObject
*_wrap_ComboBox_SetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3258 PyObject
*resultobj
;
3259 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3261 PyObject
* obj0
= 0 ;
3262 PyObject
* obj1
= 0 ;
3264 (char *) "self",(char *) "pos", NULL
3267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
3268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3270 arg2
= (long) SWIG_AsLong(obj1
);
3271 if (PyErr_Occurred()) SWIG_fail
;
3273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3274 (arg1
)->SetInsertionPoint(arg2
);
3276 wxPyEndAllowThreads(__tstate
);
3277 if (PyErr_Occurred()) SWIG_fail
;
3279 Py_INCREF(Py_None
); resultobj
= Py_None
;
3286 static PyObject
*_wrap_ComboBox_GetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3287 PyObject
*resultobj
;
3288 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3290 PyObject
* obj0
= 0 ;
3292 (char *) "self", NULL
3295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
3296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3300 result
= (long)((wxComboBox
const *)arg1
)->GetInsertionPoint();
3302 wxPyEndAllowThreads(__tstate
);
3303 if (PyErr_Occurred()) SWIG_fail
;
3305 resultobj
= SWIG_FromLong((long)result
);
3312 static PyObject
*_wrap_ComboBox_GetLastPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3313 PyObject
*resultobj
;
3314 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3316 PyObject
* obj0
= 0 ;
3318 (char *) "self", NULL
3321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetLastPosition",kwnames
,&obj0
)) goto fail
;
3322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3326 result
= (long)((wxComboBox
const *)arg1
)->GetLastPosition();
3328 wxPyEndAllowThreads(__tstate
);
3329 if (PyErr_Occurred()) SWIG_fail
;
3331 resultobj
= SWIG_FromLong((long)result
);
3338 static PyObject
*_wrap_ComboBox_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3339 PyObject
*resultobj
;
3340 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3343 wxString
*arg4
= 0 ;
3344 bool temp4
= False
;
3345 PyObject
* obj0
= 0 ;
3346 PyObject
* obj1
= 0 ;
3347 PyObject
* obj2
= 0 ;
3348 PyObject
* obj3
= 0 ;
3350 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
3353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ComboBox_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3356 arg2
= (long) SWIG_AsLong(obj1
);
3357 if (PyErr_Occurred()) SWIG_fail
;
3358 arg3
= (long) SWIG_AsLong(obj2
);
3359 if (PyErr_Occurred()) SWIG_fail
;
3361 arg4
= wxString_in_helper(obj3
);
3362 if (arg4
== NULL
) SWIG_fail
;
3366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3367 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
3369 wxPyEndAllowThreads(__tstate
);
3370 if (PyErr_Occurred()) SWIG_fail
;
3372 Py_INCREF(Py_None
); resultobj
= Py_None
;
3387 static PyObject
*_wrap_ComboBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3388 PyObject
*resultobj
;
3389 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3391 PyObject
* obj0
= 0 ;
3392 PyObject
* obj1
= 0 ;
3394 (char *) "self",(char *) "n", NULL
3397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
3398 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3400 arg2
= (int) SWIG_AsInt(obj1
);
3401 if (PyErr_Occurred()) SWIG_fail
;
3403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3404 (arg1
)->SetSelection(arg2
);
3406 wxPyEndAllowThreads(__tstate
);
3407 if (PyErr_Occurred()) SWIG_fail
;
3409 Py_INCREF(Py_None
); resultobj
= Py_None
;
3416 static PyObject
*_wrap_ComboBox_SetMark(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3417 PyObject
*resultobj
;
3418 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3421 PyObject
* obj0
= 0 ;
3422 PyObject
* obj1
= 0 ;
3423 PyObject
* obj2
= 0 ;
3425 (char *) "self",(char *) "from",(char *) "to", NULL
3428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetMark",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3429 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3431 arg2
= (long) SWIG_AsLong(obj1
);
3432 if (PyErr_Occurred()) SWIG_fail
;
3433 arg3
= (long) SWIG_AsLong(obj2
);
3434 if (PyErr_Occurred()) SWIG_fail
;
3436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3437 (arg1
)->SetSelection(arg2
,arg3
);
3439 wxPyEndAllowThreads(__tstate
);
3440 if (PyErr_Occurred()) SWIG_fail
;
3442 Py_INCREF(Py_None
); resultobj
= Py_None
;
3449 static PyObject
*_wrap_ComboBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3450 PyObject
*resultobj
;
3451 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3452 wxString
*arg2
= 0 ;
3454 bool temp2
= False
;
3455 PyObject
* obj0
= 0 ;
3456 PyObject
* obj1
= 0 ;
3458 (char *) "self",(char *) "string", NULL
3461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
3462 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3465 arg2
= wxString_in_helper(obj1
);
3466 if (arg2
== NULL
) SWIG_fail
;
3470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3471 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
3473 wxPyEndAllowThreads(__tstate
);
3474 if (PyErr_Occurred()) SWIG_fail
;
3477 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3493 static PyObject
*_wrap_ComboBox_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3494 PyObject
*resultobj
;
3495 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3497 wxString
*arg3
= 0 ;
3498 bool temp3
= False
;
3499 PyObject
* obj0
= 0 ;
3500 PyObject
* obj1
= 0 ;
3501 PyObject
* obj2
= 0 ;
3503 (char *) "self",(char *) "n",(char *) "string", NULL
3506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3507 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3509 arg2
= (int) SWIG_AsInt(obj1
);
3510 if (PyErr_Occurred()) SWIG_fail
;
3512 arg3
= wxString_in_helper(obj2
);
3513 if (arg3
== NULL
) SWIG_fail
;
3517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3518 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
3520 wxPyEndAllowThreads(__tstate
);
3521 if (PyErr_Occurred()) SWIG_fail
;
3523 Py_INCREF(Py_None
); resultobj
= Py_None
;
3538 static PyObject
*_wrap_ComboBox_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3539 PyObject
*resultobj
;
3540 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3542 PyObject
* obj0
= 0 ;
3543 PyObject
* obj1
= 0 ;
3545 (char *) "self",(char *) "editable", NULL
3548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
3549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3551 arg2
= (bool) SWIG_AsBool(obj1
);
3552 if (PyErr_Occurred()) SWIG_fail
;
3554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3555 (arg1
)->SetEditable(arg2
);
3557 wxPyEndAllowThreads(__tstate
);
3558 if (PyErr_Occurred()) SWIG_fail
;
3560 Py_INCREF(Py_None
); resultobj
= Py_None
;
3567 static PyObject
*_wrap_ComboBox_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3568 PyObject
*resultobj
;
3569 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3570 PyObject
* obj0
= 0 ;
3572 (char *) "self", NULL
3575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
3576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3580 (arg1
)->SetInsertionPointEnd();
3582 wxPyEndAllowThreads(__tstate
);
3583 if (PyErr_Occurred()) SWIG_fail
;
3585 Py_INCREF(Py_None
); resultobj
= Py_None
;
3592 static PyObject
*_wrap_ComboBox_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3593 PyObject
*resultobj
;
3594 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3597 PyObject
* obj0
= 0 ;
3598 PyObject
* obj1
= 0 ;
3599 PyObject
* obj2
= 0 ;
3601 (char *) "self",(char *) "from",(char *) "to", NULL
3604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3607 arg2
= (long) SWIG_AsLong(obj1
);
3608 if (PyErr_Occurred()) SWIG_fail
;
3609 arg3
= (long) SWIG_AsLong(obj2
);
3610 if (PyErr_Occurred()) SWIG_fail
;
3612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3613 (arg1
)->Remove(arg2
,arg3
);
3615 wxPyEndAllowThreads(__tstate
);
3616 if (PyErr_Occurred()) SWIG_fail
;
3618 Py_INCREF(Py_None
); resultobj
= Py_None
;
3625 static PyObject
* ComboBox_swigregister(PyObject
*self
, PyObject
*args
) {
3627 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3628 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox
, obj
);
3630 return Py_BuildValue((char *)"");
3632 static int _wrap_GaugeNameStr_set(PyObject
*_val
) {
3633 PyErr_SetString(PyExc_TypeError
,"Variable GaugeNameStr is read-only.");
3638 static PyObject
*_wrap_GaugeNameStr_get() {
3643 pyobj
= PyUnicode_FromWideChar((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
3645 pyobj
= PyString_FromStringAndSize((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
3652 static PyObject
*_wrap_new_Gauge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3653 PyObject
*resultobj
;
3654 wxWindow
*arg1
= (wxWindow
*) 0 ;
3657 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3658 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3659 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3660 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3661 long arg6
= (long) wxGA_HORIZONTAL
;
3662 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3663 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3664 wxString
const &arg8_defvalue
= wxPyGaugeNameStr
;
3665 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3669 bool temp8
= False
;
3670 PyObject
* obj0
= 0 ;
3671 PyObject
* obj1
= 0 ;
3672 PyObject
* obj2
= 0 ;
3673 PyObject
* obj3
= 0 ;
3674 PyObject
* obj4
= 0 ;
3675 PyObject
* obj5
= 0 ;
3676 PyObject
* obj6
= 0 ;
3677 PyObject
* obj7
= 0 ;
3679 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_Gauge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3683 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
3684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3685 arg2
= (int) SWIG_AsInt(obj1
);
3686 if (PyErr_Occurred()) SWIG_fail
;
3687 arg3
= (int) SWIG_AsInt(obj2
);
3688 if (PyErr_Occurred()) SWIG_fail
;
3692 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3698 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3702 arg6
= (long) SWIG_AsLong(obj5
);
3703 if (PyErr_Occurred()) SWIG_fail
;
3706 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
3707 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3710 PyErr_SetString(PyExc_TypeError
,"null reference");
3716 arg8
= wxString_in_helper(obj7
);
3717 if (arg8
== NULL
) SWIG_fail
;
3722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3723 result
= (wxGauge
*)new wxGauge(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3725 wxPyEndAllowThreads(__tstate
);
3726 if (PyErr_Occurred()) SWIG_fail
;
3728 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGauge
, 1);
3743 static PyObject
*_wrap_new_PreGauge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3744 PyObject
*resultobj
;
3750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGauge",kwnames
)) goto fail
;
3752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3753 result
= (wxGauge
*)new wxGauge();
3755 wxPyEndAllowThreads(__tstate
);
3756 if (PyErr_Occurred()) SWIG_fail
;
3758 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGauge
, 1);
3765 static PyObject
*_wrap_Gauge_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3766 PyObject
*resultobj
;
3767 wxGauge
*arg1
= (wxGauge
*) 0 ;
3768 wxWindow
*arg2
= (wxWindow
*) 0 ;
3771 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3772 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3773 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3774 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3775 long arg7
= (long) wxGA_HORIZONTAL
;
3776 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3777 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3778 wxString
const &arg9_defvalue
= wxPyGaugeNameStr
;
3779 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3783 bool temp9
= False
;
3784 PyObject
* obj0
= 0 ;
3785 PyObject
* obj1
= 0 ;
3786 PyObject
* obj2
= 0 ;
3787 PyObject
* obj3
= 0 ;
3788 PyObject
* obj4
= 0 ;
3789 PyObject
* obj5
= 0 ;
3790 PyObject
* obj6
= 0 ;
3791 PyObject
* obj7
= 0 ;
3792 PyObject
* obj8
= 0 ;
3794 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:Gauge_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3798 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3800 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
3801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3802 arg3
= (int) SWIG_AsInt(obj2
);
3803 if (PyErr_Occurred()) SWIG_fail
;
3804 arg4
= (int) SWIG_AsInt(obj3
);
3805 if (PyErr_Occurred()) SWIG_fail
;
3809 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3815 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3819 arg7
= (long) SWIG_AsLong(obj6
);
3820 if (PyErr_Occurred()) SWIG_fail
;
3823 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
3824 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3827 PyErr_SetString(PyExc_TypeError
,"null reference");
3833 arg9
= wxString_in_helper(obj8
);
3834 if (arg9
== NULL
) SWIG_fail
;
3839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3840 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
3842 wxPyEndAllowThreads(__tstate
);
3843 if (PyErr_Occurred()) SWIG_fail
;
3846 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3862 static PyObject
*_wrap_Gauge_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3863 PyObject
*resultobj
;
3864 wxGauge
*arg1
= (wxGauge
*) 0 ;
3866 PyObject
* obj0
= 0 ;
3867 PyObject
* obj1
= 0 ;
3869 (char *) "self",(char *) "range", NULL
3872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetRange",kwnames
,&obj0
,&obj1
)) goto fail
;
3873 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3875 arg2
= (int) SWIG_AsInt(obj1
);
3876 if (PyErr_Occurred()) SWIG_fail
;
3878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3879 (arg1
)->SetRange(arg2
);
3881 wxPyEndAllowThreads(__tstate
);
3882 if (PyErr_Occurred()) SWIG_fail
;
3884 Py_INCREF(Py_None
); resultobj
= Py_None
;
3891 static PyObject
*_wrap_Gauge_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3892 PyObject
*resultobj
;
3893 wxGauge
*arg1
= (wxGauge
*) 0 ;
3895 PyObject
* obj0
= 0 ;
3897 (char *) "self", NULL
3900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetRange",kwnames
,&obj0
)) goto fail
;
3901 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3902 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3905 result
= (int)((wxGauge
const *)arg1
)->GetRange();
3907 wxPyEndAllowThreads(__tstate
);
3908 if (PyErr_Occurred()) SWIG_fail
;
3910 resultobj
= SWIG_FromInt((int)result
);
3917 static PyObject
*_wrap_Gauge_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3918 PyObject
*resultobj
;
3919 wxGauge
*arg1
= (wxGauge
*) 0 ;
3921 PyObject
* obj0
= 0 ;
3922 PyObject
* obj1
= 0 ;
3924 (char *) "self",(char *) "pos", NULL
3927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
3928 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3929 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3930 arg2
= (int) SWIG_AsInt(obj1
);
3931 if (PyErr_Occurred()) SWIG_fail
;
3933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3934 (arg1
)->SetValue(arg2
);
3936 wxPyEndAllowThreads(__tstate
);
3937 if (PyErr_Occurred()) SWIG_fail
;
3939 Py_INCREF(Py_None
); resultobj
= Py_None
;
3946 static PyObject
*_wrap_Gauge_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3947 PyObject
*resultobj
;
3948 wxGauge
*arg1
= (wxGauge
*) 0 ;
3950 PyObject
* obj0
= 0 ;
3952 (char *) "self", NULL
3955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetValue",kwnames
,&obj0
)) goto fail
;
3956 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3960 result
= (int)((wxGauge
const *)arg1
)->GetValue();
3962 wxPyEndAllowThreads(__tstate
);
3963 if (PyErr_Occurred()) SWIG_fail
;
3965 resultobj
= SWIG_FromInt((int)result
);
3972 static PyObject
*_wrap_Gauge_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3973 PyObject
*resultobj
;
3974 wxGauge
*arg1
= (wxGauge
*) 0 ;
3976 PyObject
* obj0
= 0 ;
3978 (char *) "self", NULL
3981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_IsVertical",kwnames
,&obj0
)) goto fail
;
3982 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3983 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3986 result
= (bool)((wxGauge
const *)arg1
)->IsVertical();
3988 wxPyEndAllowThreads(__tstate
);
3989 if (PyErr_Occurred()) SWIG_fail
;
3992 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4000 static PyObject
*_wrap_Gauge_SetShadowWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4001 PyObject
*resultobj
;
4002 wxGauge
*arg1
= (wxGauge
*) 0 ;
4004 PyObject
* obj0
= 0 ;
4005 PyObject
* obj1
= 0 ;
4007 (char *) "self",(char *) "w", NULL
4010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetShadowWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
4011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4013 arg2
= (int) SWIG_AsInt(obj1
);
4014 if (PyErr_Occurred()) SWIG_fail
;
4016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4017 (arg1
)->SetShadowWidth(arg2
);
4019 wxPyEndAllowThreads(__tstate
);
4020 if (PyErr_Occurred()) SWIG_fail
;
4022 Py_INCREF(Py_None
); resultobj
= Py_None
;
4029 static PyObject
*_wrap_Gauge_GetShadowWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4030 PyObject
*resultobj
;
4031 wxGauge
*arg1
= (wxGauge
*) 0 ;
4033 PyObject
* obj0
= 0 ;
4035 (char *) "self", NULL
4038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetShadowWidth",kwnames
,&obj0
)) goto fail
;
4039 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4040 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4043 result
= (int)((wxGauge
const *)arg1
)->GetShadowWidth();
4045 wxPyEndAllowThreads(__tstate
);
4046 if (PyErr_Occurred()) SWIG_fail
;
4048 resultobj
= SWIG_FromInt((int)result
);
4055 static PyObject
*_wrap_Gauge_SetBezelFace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4056 PyObject
*resultobj
;
4057 wxGauge
*arg1
= (wxGauge
*) 0 ;
4059 PyObject
* obj0
= 0 ;
4060 PyObject
* obj1
= 0 ;
4062 (char *) "self",(char *) "w", NULL
4065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetBezelFace",kwnames
,&obj0
,&obj1
)) goto fail
;
4066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4068 arg2
= (int) SWIG_AsInt(obj1
);
4069 if (PyErr_Occurred()) SWIG_fail
;
4071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4072 (arg1
)->SetBezelFace(arg2
);
4074 wxPyEndAllowThreads(__tstate
);
4075 if (PyErr_Occurred()) SWIG_fail
;
4077 Py_INCREF(Py_None
); resultobj
= Py_None
;
4084 static PyObject
*_wrap_Gauge_GetBezelFace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4085 PyObject
*resultobj
;
4086 wxGauge
*arg1
= (wxGauge
*) 0 ;
4088 PyObject
* obj0
= 0 ;
4090 (char *) "self", NULL
4093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetBezelFace",kwnames
,&obj0
)) goto fail
;
4094 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4098 result
= (int)((wxGauge
const *)arg1
)->GetBezelFace();
4100 wxPyEndAllowThreads(__tstate
);
4101 if (PyErr_Occurred()) SWIG_fail
;
4103 resultobj
= SWIG_FromInt((int)result
);
4110 static PyObject
* Gauge_swigregister(PyObject
*self
, PyObject
*args
) {
4112 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4113 SWIG_TypeClientData(SWIGTYPE_p_wxGauge
, obj
);
4115 return Py_BuildValue((char *)"");
4117 static int _wrap_StaticBitmapNameStr_set(PyObject
*_val
) {
4118 PyErr_SetString(PyExc_TypeError
,"Variable StaticBitmapNameStr is read-only.");
4123 static PyObject
*_wrap_StaticBitmapNameStr_get() {
4128 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
4130 pyobj
= PyString_FromStringAndSize((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
4137 static int _wrap_StaticBoxNameStr_set(PyObject
*_val
) {
4138 PyErr_SetString(PyExc_TypeError
,"Variable StaticBoxNameStr is read-only.");
4143 static PyObject
*_wrap_StaticBoxNameStr_get() {
4148 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
4150 pyobj
= PyString_FromStringAndSize((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
4157 static int _wrap_StaticTextNameStr_set(PyObject
*_val
) {
4158 PyErr_SetString(PyExc_TypeError
,"Variable StaticTextNameStr is read-only.");
4163 static PyObject
*_wrap_StaticTextNameStr_get() {
4168 pyobj
= PyUnicode_FromWideChar((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
4170 pyobj
= PyString_FromStringAndSize((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
4177 static PyObject
*_wrap_new_StaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4178 PyObject
*resultobj
;
4179 wxWindow
*arg1
= (wxWindow
*) 0 ;
4181 wxString
*arg3
= 0 ;
4182 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4183 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4184 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4185 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4186 long arg6
= (long) 0 ;
4187 wxString
const &arg7_defvalue
= wxPyStaticBoxNameStr
;
4188 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4189 wxStaticBox
*result
;
4190 bool temp3
= False
;
4193 bool temp7
= False
;
4194 PyObject
* obj0
= 0 ;
4195 PyObject
* obj1
= 0 ;
4196 PyObject
* obj2
= 0 ;
4197 PyObject
* obj3
= 0 ;
4198 PyObject
* obj4
= 0 ;
4199 PyObject
* obj5
= 0 ;
4200 PyObject
* obj6
= 0 ;
4202 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_StaticBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4206 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4208 arg2
= (int) SWIG_AsInt(obj1
);
4209 if (PyErr_Occurred()) SWIG_fail
;
4211 arg3
= wxString_in_helper(obj2
);
4212 if (arg3
== NULL
) SWIG_fail
;
4218 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4224 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4228 arg6
= (long) SWIG_AsLong(obj5
);
4229 if (PyErr_Occurred()) SWIG_fail
;
4233 arg7
= wxString_in_helper(obj6
);
4234 if (arg7
== NULL
) SWIG_fail
;
4239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4240 result
= (wxStaticBox
*)new wxStaticBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4242 wxPyEndAllowThreads(__tstate
);
4243 if (PyErr_Occurred()) SWIG_fail
;
4246 resultobj
= wxPyMake_wxObject(result
);
4270 static PyObject
*_wrap_new_PreStaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4271 PyObject
*resultobj
;
4272 wxStaticBox
*result
;
4277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBox",kwnames
)) goto fail
;
4279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4280 result
= (wxStaticBox
*)new wxStaticBox();
4282 wxPyEndAllowThreads(__tstate
);
4283 if (PyErr_Occurred()) SWIG_fail
;
4286 resultobj
= wxPyMake_wxObject(result
);
4294 static PyObject
*_wrap_StaticBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4295 PyObject
*resultobj
;
4296 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
4297 wxWindow
*arg2
= (wxWindow
*) 0 ;
4299 wxString
*arg4
= 0 ;
4300 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4301 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4302 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4303 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4304 long arg7
= (long) 0 ;
4305 wxString
const &arg8_defvalue
= wxPyStaticBoxNameStr
;
4306 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4308 bool temp4
= False
;
4311 bool temp8
= False
;
4312 PyObject
* obj0
= 0 ;
4313 PyObject
* obj1
= 0 ;
4314 PyObject
* obj2
= 0 ;
4315 PyObject
* obj3
= 0 ;
4316 PyObject
* obj4
= 0 ;
4317 PyObject
* obj5
= 0 ;
4318 PyObject
* obj6
= 0 ;
4319 PyObject
* obj7
= 0 ;
4321 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:StaticBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBox
,
4326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4327 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4328 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4329 arg3
= (int) SWIG_AsInt(obj2
);
4330 if (PyErr_Occurred()) SWIG_fail
;
4332 arg4
= wxString_in_helper(obj3
);
4333 if (arg4
== NULL
) SWIG_fail
;
4339 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4345 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4349 arg7
= (long) SWIG_AsLong(obj6
);
4350 if (PyErr_Occurred()) SWIG_fail
;
4354 arg8
= wxString_in_helper(obj7
);
4355 if (arg8
== NULL
) SWIG_fail
;
4360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4361 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4363 wxPyEndAllowThreads(__tstate
);
4364 if (PyErr_Occurred()) SWIG_fail
;
4367 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4391 static PyObject
* StaticBox_swigregister(PyObject
*self
, PyObject
*args
) {
4393 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4394 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox
, obj
);
4396 return Py_BuildValue((char *)"");
4398 static PyObject
*_wrap_new_StaticLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4399 PyObject
*resultobj
;
4400 wxWindow
*arg1
= (wxWindow
*) 0 ;
4402 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
4403 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
4404 wxSize
const &arg4_defvalue
= wxDefaultSize
;
4405 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
4406 long arg5
= (long) wxLI_HORIZONTAL
;
4407 wxString
const &arg6_defvalue
= wxPyStaticTextNameStr
;
4408 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
4409 wxStaticLine
*result
;
4412 bool temp6
= False
;
4413 PyObject
* obj0
= 0 ;
4414 PyObject
* obj1
= 0 ;
4415 PyObject
* obj2
= 0 ;
4416 PyObject
* obj3
= 0 ;
4417 PyObject
* obj4
= 0 ;
4418 PyObject
* obj5
= 0 ;
4420 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_StaticLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
4424 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4426 arg2
= (int) SWIG_AsInt(obj1
);
4427 if (PyErr_Occurred()) SWIG_fail
;
4431 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
4437 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
4441 arg5
= (long) SWIG_AsLong(obj4
);
4442 if (PyErr_Occurred()) SWIG_fail
;
4446 arg6
= wxString_in_helper(obj5
);
4447 if (arg6
== NULL
) SWIG_fail
;
4452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4453 result
= (wxStaticLine
*)new wxStaticLine(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
4455 wxPyEndAllowThreads(__tstate
);
4456 if (PyErr_Occurred()) SWIG_fail
;
4458 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticLine
, 1);
4473 static PyObject
*_wrap_new_PreStaticLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4474 PyObject
*resultobj
;
4475 wxStaticLine
*result
;
4480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticLine",kwnames
)) goto fail
;
4482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4483 result
= (wxStaticLine
*)new wxStaticLine();
4485 wxPyEndAllowThreads(__tstate
);
4486 if (PyErr_Occurred()) SWIG_fail
;
4488 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticLine
, 1);
4495 static PyObject
*_wrap_StaticLine_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4496 PyObject
*resultobj
;
4497 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
4498 wxWindow
*arg2
= (wxWindow
*) 0 ;
4500 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4501 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4502 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4503 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4504 long arg6
= (long) wxLI_HORIZONTAL
;
4505 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
4506 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4510 bool temp7
= False
;
4511 PyObject
* obj0
= 0 ;
4512 PyObject
* obj1
= 0 ;
4513 PyObject
* obj2
= 0 ;
4514 PyObject
* obj3
= 0 ;
4515 PyObject
* obj4
= 0 ;
4516 PyObject
* obj5
= 0 ;
4517 PyObject
* obj6
= 0 ;
4519 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:StaticLine_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticLine
,
4524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4525 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4526 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4527 arg3
= (int) SWIG_AsInt(obj2
);
4528 if (PyErr_Occurred()) SWIG_fail
;
4532 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4538 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4542 arg6
= (long) SWIG_AsLong(obj5
);
4543 if (PyErr_Occurred()) SWIG_fail
;
4547 arg7
= wxString_in_helper(obj6
);
4548 if (arg7
== NULL
) SWIG_fail
;
4553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4554 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4556 wxPyEndAllowThreads(__tstate
);
4557 if (PyErr_Occurred()) SWIG_fail
;
4560 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4576 static PyObject
*_wrap_StaticLine_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4577 PyObject
*resultobj
;
4578 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
4580 PyObject
* obj0
= 0 ;
4582 (char *) "self", NULL
4585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticLine_IsVertical",kwnames
,&obj0
)) goto fail
;
4586 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticLine
,
4587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4590 result
= (bool)((wxStaticLine
const *)arg1
)->IsVertical();
4592 wxPyEndAllowThreads(__tstate
);
4593 if (PyErr_Occurred()) SWIG_fail
;
4596 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4604 static PyObject
*_wrap_StaticLine_GetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4605 PyObject
*resultobj
;
4611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StaticLine_GetDefaultSize",kwnames
)) goto fail
;
4613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4614 result
= (int)wxStaticLine::GetDefaultSize();
4616 wxPyEndAllowThreads(__tstate
);
4617 if (PyErr_Occurred()) SWIG_fail
;
4619 resultobj
= SWIG_FromInt((int)result
);
4626 static PyObject
* StaticLine_swigregister(PyObject
*self
, PyObject
*args
) {
4628 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4629 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine
, obj
);
4631 return Py_BuildValue((char *)"");
4633 static PyObject
*_wrap_new_StaticText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4634 PyObject
*resultobj
;
4635 wxWindow
*arg1
= (wxWindow
*) 0 ;
4637 wxString
*arg3
= 0 ;
4638 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4639 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4640 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4641 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4642 long arg6
= (long) 0 ;
4643 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
4644 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4645 wxStaticText
*result
;
4646 bool temp3
= False
;
4649 bool temp7
= False
;
4650 PyObject
* obj0
= 0 ;
4651 PyObject
* obj1
= 0 ;
4652 PyObject
* obj2
= 0 ;
4653 PyObject
* obj3
= 0 ;
4654 PyObject
* obj4
= 0 ;
4655 PyObject
* obj5
= 0 ;
4656 PyObject
* obj6
= 0 ;
4658 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_StaticText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4662 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4663 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4664 arg2
= (int) SWIG_AsInt(obj1
);
4665 if (PyErr_Occurred()) SWIG_fail
;
4667 arg3
= wxString_in_helper(obj2
);
4668 if (arg3
== NULL
) SWIG_fail
;
4674 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4680 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4684 arg6
= (long) SWIG_AsLong(obj5
);
4685 if (PyErr_Occurred()) SWIG_fail
;
4689 arg7
= wxString_in_helper(obj6
);
4690 if (arg7
== NULL
) SWIG_fail
;
4695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4696 result
= (wxStaticText
*)new wxStaticText(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4698 wxPyEndAllowThreads(__tstate
);
4699 if (PyErr_Occurred()) SWIG_fail
;
4701 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticText
, 1);
4724 static PyObject
*_wrap_new_PreStaticText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4725 PyObject
*resultobj
;
4726 wxStaticText
*result
;
4731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticText",kwnames
)) goto fail
;
4733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4734 result
= (wxStaticText
*)new wxStaticText();
4736 wxPyEndAllowThreads(__tstate
);
4737 if (PyErr_Occurred()) SWIG_fail
;
4739 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticText
, 1);
4746 static PyObject
*_wrap_StaticText_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4747 PyObject
*resultobj
;
4748 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
4749 wxWindow
*arg2
= (wxWindow
*) 0 ;
4751 wxString
*arg4
= 0 ;
4752 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4753 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4754 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4755 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4756 long arg7
= (long) 0 ;
4757 wxString
const &arg8_defvalue
= wxPyStaticTextNameStr
;
4758 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4760 bool temp4
= False
;
4763 bool temp8
= False
;
4764 PyObject
* obj0
= 0 ;
4765 PyObject
* obj1
= 0 ;
4766 PyObject
* obj2
= 0 ;
4767 PyObject
* obj3
= 0 ;
4768 PyObject
* obj4
= 0 ;
4769 PyObject
* obj5
= 0 ;
4770 PyObject
* obj6
= 0 ;
4771 PyObject
* obj7
= 0 ;
4773 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:StaticText_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4777 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticText
,
4778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4779 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4781 arg3
= (int) SWIG_AsInt(obj2
);
4782 if (PyErr_Occurred()) SWIG_fail
;
4784 arg4
= wxString_in_helper(obj3
);
4785 if (arg4
== NULL
) SWIG_fail
;
4791 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4797 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4801 arg7
= (long) SWIG_AsLong(obj6
);
4802 if (PyErr_Occurred()) SWIG_fail
;
4806 arg8
= wxString_in_helper(obj7
);
4807 if (arg8
== NULL
) SWIG_fail
;
4812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4813 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4815 wxPyEndAllowThreads(__tstate
);
4816 if (PyErr_Occurred()) SWIG_fail
;
4819 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4843 static PyObject
* StaticText_swigregister(PyObject
*self
, PyObject
*args
) {
4845 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4846 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText
, obj
);
4848 return Py_BuildValue((char *)"");
4850 static PyObject
*_wrap_new_StaticBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4851 PyObject
*resultobj
;
4852 wxWindow
*arg1
= (wxWindow
*) 0 ;
4854 wxBitmap
*arg3
= 0 ;
4855 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4856 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4857 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4858 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4859 long arg6
= (long) 0 ;
4860 wxString
const &arg7_defvalue
= wxPyStaticBitmapNameStr
;
4861 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4862 wxStaticBitmap
*result
;
4865 bool temp7
= False
;
4866 PyObject
* obj0
= 0 ;
4867 PyObject
* obj1
= 0 ;
4868 PyObject
* obj2
= 0 ;
4869 PyObject
* obj3
= 0 ;
4870 PyObject
* obj4
= 0 ;
4871 PyObject
* obj5
= 0 ;
4872 PyObject
* obj6
= 0 ;
4874 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_StaticBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4878 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4880 arg2
= (int) SWIG_AsInt(obj1
);
4881 if (PyErr_Occurred()) SWIG_fail
;
4882 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
4883 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4886 PyErr_SetString(PyExc_TypeError
,"null reference");
4892 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4898 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4902 arg6
= (long) SWIG_AsLong(obj5
);
4903 if (PyErr_Occurred()) SWIG_fail
;
4907 arg7
= wxString_in_helper(obj6
);
4908 if (arg7
== NULL
) SWIG_fail
;
4913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4914 result
= (wxStaticBitmap
*)new wxStaticBitmap(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4916 wxPyEndAllowThreads(__tstate
);
4917 if (PyErr_Occurred()) SWIG_fail
;
4919 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBitmap
, 1);
4934 static PyObject
*_wrap_new_PreStaticBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4935 PyObject
*resultobj
;
4936 wxStaticBitmap
*result
;
4941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBitmap",kwnames
)) goto fail
;
4943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4944 result
= (wxStaticBitmap
*)new wxStaticBitmap();
4946 wxPyEndAllowThreads(__tstate
);
4947 if (PyErr_Occurred()) SWIG_fail
;
4949 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBitmap
, 1);
4956 static PyObject
*_wrap_StaticBitmap_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4957 PyObject
*resultobj
;
4958 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
4959 wxWindow
*arg2
= (wxWindow
*) 0 ;
4961 wxBitmap
*arg4
= 0 ;
4962 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4963 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4964 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4965 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4966 long arg7
= (long) 0 ;
4967 wxString
const &arg8_defvalue
= wxPyStaticBitmapNameStr
;
4968 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4972 bool temp8
= False
;
4973 PyObject
* obj0
= 0 ;
4974 PyObject
* obj1
= 0 ;
4975 PyObject
* obj2
= 0 ;
4976 PyObject
* obj3
= 0 ;
4977 PyObject
* obj4
= 0 ;
4978 PyObject
* obj5
= 0 ;
4979 PyObject
* obj6
= 0 ;
4980 PyObject
* obj7
= 0 ;
4982 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:StaticBitmap_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4986 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
4987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4988 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4990 arg3
= (int) SWIG_AsInt(obj2
);
4991 if (PyErr_Occurred()) SWIG_fail
;
4992 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
4993 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4996 PyErr_SetString(PyExc_TypeError
,"null reference");
5002 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
5008 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5012 arg7
= (long) SWIG_AsLong(obj6
);
5013 if (PyErr_Occurred()) SWIG_fail
;
5017 arg8
= wxString_in_helper(obj7
);
5018 if (arg8
== NULL
) SWIG_fail
;
5023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5024 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
5026 wxPyEndAllowThreads(__tstate
);
5027 if (PyErr_Occurred()) SWIG_fail
;
5030 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5046 static PyObject
*_wrap_StaticBitmap_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5047 PyObject
*resultobj
;
5048 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
5050 PyObject
* obj0
= 0 ;
5052 (char *) "self", NULL
5055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBitmap_GetBitmap",kwnames
,&obj0
)) goto fail
;
5056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
5057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5060 result
= (arg1
)->GetBitmap();
5062 wxPyEndAllowThreads(__tstate
);
5063 if (PyErr_Occurred()) SWIG_fail
;
5066 wxBitmap
* resultptr
;
5067 resultptr
= new wxBitmap((wxBitmap
&) result
);
5068 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
5076 static PyObject
*_wrap_StaticBitmap_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5077 PyObject
*resultobj
;
5078 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
5079 wxBitmap
*arg2
= 0 ;
5080 PyObject
* obj0
= 0 ;
5081 PyObject
* obj1
= 0 ;
5083 (char *) "self",(char *) "bitmap", NULL
5086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
5087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
5088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5089 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
5090 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5093 PyErr_SetString(PyExc_TypeError
,"null reference");
5097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5098 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
5100 wxPyEndAllowThreads(__tstate
);
5101 if (PyErr_Occurred()) SWIG_fail
;
5103 Py_INCREF(Py_None
); resultobj
= Py_None
;
5110 static PyObject
*_wrap_StaticBitmap_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5111 PyObject
*resultobj
;
5112 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
5114 PyObject
* obj0
= 0 ;
5115 PyObject
* obj1
= 0 ;
5117 (char *) "self",(char *) "icon", NULL
5120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
5121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
5122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5123 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
5124 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5127 PyErr_SetString(PyExc_TypeError
,"null reference");
5131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5132 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
5134 wxPyEndAllowThreads(__tstate
);
5135 if (PyErr_Occurred()) SWIG_fail
;
5137 Py_INCREF(Py_None
); resultobj
= Py_None
;
5144 static PyObject
* StaticBitmap_swigregister(PyObject
*self
, PyObject
*args
) {
5146 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5147 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap
, obj
);
5149 return Py_BuildValue((char *)"");
5151 static int _wrap_ListBoxNameStr_set(PyObject
*_val
) {
5152 PyErr_SetString(PyExc_TypeError
,"Variable ListBoxNameStr is read-only.");
5157 static PyObject
*_wrap_ListBoxNameStr_get() {
5162 pyobj
= PyUnicode_FromWideChar((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
5164 pyobj
= PyString_FromStringAndSize((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
5171 static PyObject
*_wrap_new_ListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5172 PyObject
*resultobj
;
5173 wxWindow
*arg1
= (wxWindow
*) 0 ;
5175 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5176 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5177 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5178 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5179 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
5180 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
5181 long arg6
= (long) 0 ;
5182 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
5183 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
5184 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
5185 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5189 bool temp5
= False
;
5190 bool temp8
= False
;
5191 PyObject
* obj0
= 0 ;
5192 PyObject
* obj1
= 0 ;
5193 PyObject
* obj2
= 0 ;
5194 PyObject
* obj3
= 0 ;
5195 PyObject
* obj4
= 0 ;
5196 PyObject
* obj5
= 0 ;
5197 PyObject
* obj6
= 0 ;
5198 PyObject
* obj7
= 0 ;
5200 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:new_ListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5204 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5206 arg2
= (int) SWIG_AsInt(obj1
);
5207 if (PyErr_Occurred()) SWIG_fail
;
5211 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5217 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5222 if (! PySequence_Check(obj4
)) {
5223 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5226 arg5
= new wxArrayString
;
5228 int i
, len
=PySequence_Length(obj4
);
5229 for (i
=0; i
<len
; i
++) {
5230 PyObject
* item
= PySequence_GetItem(obj4
, i
);
5232 PyObject
* str
= PyObject_Unicode(item
);
5234 PyObject
* str
= PyObject_Str(item
);
5236 if (PyErr_Occurred()) SWIG_fail
;
5237 arg5
->Add(Py2wxString(str
));
5244 arg6
= (long) SWIG_AsLong(obj5
);
5245 if (PyErr_Occurred()) SWIG_fail
;
5248 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
5249 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5252 PyErr_SetString(PyExc_TypeError
,"null reference");
5258 arg8
= wxString_in_helper(obj7
);
5259 if (arg8
== NULL
) SWIG_fail
;
5264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5265 result
= (wxListBox
*)new wxListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
5267 wxPyEndAllowThreads(__tstate
);
5268 if (PyErr_Occurred()) SWIG_fail
;
5270 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListBox
, 1);
5272 if (temp5
) delete arg5
;
5281 if (temp5
) delete arg5
;
5291 static PyObject
*_wrap_new_PreListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5292 PyObject
*resultobj
;
5298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListBox",kwnames
)) goto fail
;
5300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5301 result
= (wxListBox
*)new wxListBox();
5303 wxPyEndAllowThreads(__tstate
);
5304 if (PyErr_Occurred()) SWIG_fail
;
5306 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListBox
, 1);
5313 static PyObject
*_wrap_ListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5314 PyObject
*resultobj
;
5315 wxListBox
*arg1
= (wxListBox
*) 0 ;
5316 wxWindow
*arg2
= (wxWindow
*) 0 ;
5318 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5319 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5320 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5321 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5322 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
5323 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
5324 long arg7
= (long) 0 ;
5325 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5326 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5327 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
5328 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5332 bool temp6
= False
;
5333 bool temp9
= False
;
5334 PyObject
* obj0
= 0 ;
5335 PyObject
* obj1
= 0 ;
5336 PyObject
* obj2
= 0 ;
5337 PyObject
* obj3
= 0 ;
5338 PyObject
* obj4
= 0 ;
5339 PyObject
* obj5
= 0 ;
5340 PyObject
* obj6
= 0 ;
5341 PyObject
* obj7
= 0 ;
5342 PyObject
* obj8
= 0 ;
5344 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:ListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
5348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5350 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5352 arg3
= (int) SWIG_AsInt(obj2
);
5353 if (PyErr_Occurred()) SWIG_fail
;
5357 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5363 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5368 if (! PySequence_Check(obj5
)) {
5369 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5372 arg6
= new wxArrayString
;
5374 int i
, len
=PySequence_Length(obj5
);
5375 for (i
=0; i
<len
; i
++) {
5376 PyObject
* item
= PySequence_GetItem(obj5
, i
);
5378 PyObject
* str
= PyObject_Unicode(item
);
5380 PyObject
* str
= PyObject_Str(item
);
5382 if (PyErr_Occurred()) SWIG_fail
;
5383 arg6
->Add(Py2wxString(str
));
5390 arg7
= (long) SWIG_AsLong(obj6
);
5391 if (PyErr_Occurred()) SWIG_fail
;
5394 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
5395 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5398 PyErr_SetString(PyExc_TypeError
,"null reference");
5404 arg9
= wxString_in_helper(obj8
);
5405 if (arg9
== NULL
) SWIG_fail
;
5410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5411 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
5413 wxPyEndAllowThreads(__tstate
);
5414 if (PyErr_Occurred()) SWIG_fail
;
5417 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5420 if (temp6
) delete arg6
;
5429 if (temp6
) delete arg6
;
5439 static PyObject
*_wrap_ListBox_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5440 PyObject
*resultobj
;
5441 wxListBox
*arg1
= (wxListBox
*) 0 ;
5442 wxString
*arg2
= 0 ;
5444 PyObject
*arg4
= (PyObject
*) NULL
;
5445 bool temp2
= False
;
5446 PyObject
* obj0
= 0 ;
5447 PyObject
* obj1
= 0 ;
5448 PyObject
* obj2
= 0 ;
5449 PyObject
* obj3
= 0 ;
5451 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
5454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListBox_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5455 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5456 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5458 arg2
= wxString_in_helper(obj1
);
5459 if (arg2
== NULL
) SWIG_fail
;
5462 arg3
= (int) SWIG_AsInt(obj2
);
5463 if (PyErr_Occurred()) SWIG_fail
;
5468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5469 wxListBox_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
5471 wxPyEndAllowThreads(__tstate
);
5472 if (PyErr_Occurred()) SWIG_fail
;
5474 Py_INCREF(Py_None
); resultobj
= Py_None
;
5489 static PyObject
*_wrap_ListBox_InsertItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5490 PyObject
*resultobj
;
5491 wxListBox
*arg1
= (wxListBox
*) 0 ;
5492 wxArrayString
*arg2
= 0 ;
5494 bool temp2
= False
;
5495 PyObject
* obj0
= 0 ;
5496 PyObject
* obj1
= 0 ;
5497 PyObject
* obj2
= 0 ;
5499 (char *) "self",(char *) "items",(char *) "pos", NULL
5502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_InsertItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5503 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5506 if (! PySequence_Check(obj1
)) {
5507 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5510 arg2
= new wxArrayString
;
5512 int i
, len
=PySequence_Length(obj1
);
5513 for (i
=0; i
<len
; i
++) {
5514 PyObject
* item
= PySequence_GetItem(obj1
, i
);
5516 PyObject
* str
= PyObject_Unicode(item
);
5518 PyObject
* str
= PyObject_Str(item
);
5520 if (PyErr_Occurred()) SWIG_fail
;
5521 arg2
->Add(Py2wxString(str
));
5526 arg3
= (int) SWIG_AsInt(obj2
);
5527 if (PyErr_Occurred()) SWIG_fail
;
5529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5530 (arg1
)->InsertItems((wxArrayString
const &)*arg2
,arg3
);
5532 wxPyEndAllowThreads(__tstate
);
5533 if (PyErr_Occurred()) SWIG_fail
;
5535 Py_INCREF(Py_None
); resultobj
= Py_None
;
5537 if (temp2
) delete arg2
;
5542 if (temp2
) delete arg2
;
5548 static PyObject
*_wrap_ListBox_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5549 PyObject
*resultobj
;
5550 wxListBox
*arg1
= (wxListBox
*) 0 ;
5551 wxArrayString
*arg2
= 0 ;
5552 bool temp2
= False
;
5553 PyObject
* obj0
= 0 ;
5554 PyObject
* obj1
= 0 ;
5556 (char *) "self",(char *) "items", NULL
5559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Set",kwnames
,&obj0
,&obj1
)) goto fail
;
5560 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5563 if (! PySequence_Check(obj1
)) {
5564 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5567 arg2
= new wxArrayString
;
5569 int i
, len
=PySequence_Length(obj1
);
5570 for (i
=0; i
<len
; i
++) {
5571 PyObject
* item
= PySequence_GetItem(obj1
, i
);
5573 PyObject
* str
= PyObject_Unicode(item
);
5575 PyObject
* str
= PyObject_Str(item
);
5577 if (PyErr_Occurred()) SWIG_fail
;
5578 arg2
->Add(Py2wxString(str
));
5584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5585 (arg1
)->Set((wxArrayString
const &)*arg2
);
5587 wxPyEndAllowThreads(__tstate
);
5588 if (PyErr_Occurred()) SWIG_fail
;
5590 Py_INCREF(Py_None
); resultobj
= Py_None
;
5592 if (temp2
) delete arg2
;
5597 if (temp2
) delete arg2
;
5603 static PyObject
*_wrap_ListBox_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5604 PyObject
*resultobj
;
5605 wxListBox
*arg1
= (wxListBox
*) 0 ;
5608 PyObject
* obj0
= 0 ;
5609 PyObject
* obj1
= 0 ;
5611 (char *) "self",(char *) "n", NULL
5614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
5615 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5617 arg2
= (int) SWIG_AsInt(obj1
);
5618 if (PyErr_Occurred()) SWIG_fail
;
5620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5621 result
= (bool)((wxListBox
const *)arg1
)->IsSelected(arg2
);
5623 wxPyEndAllowThreads(__tstate
);
5624 if (PyErr_Occurred()) SWIG_fail
;
5627 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5635 static PyObject
*_wrap_ListBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5636 PyObject
*resultobj
;
5637 wxListBox
*arg1
= (wxListBox
*) 0 ;
5639 bool arg3
= (bool) True
;
5640 PyObject
* obj0
= 0 ;
5641 PyObject
* obj1
= 0 ;
5642 PyObject
* obj2
= 0 ;
5644 (char *) "self",(char *) "n",(char *) "select", NULL
5647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5650 arg2
= (int) SWIG_AsInt(obj1
);
5651 if (PyErr_Occurred()) SWIG_fail
;
5653 arg3
= (bool) SWIG_AsBool(obj2
);
5654 if (PyErr_Occurred()) SWIG_fail
;
5657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5658 (arg1
)->SetSelection(arg2
,arg3
);
5660 wxPyEndAllowThreads(__tstate
);
5661 if (PyErr_Occurred()) SWIG_fail
;
5663 Py_INCREF(Py_None
); resultobj
= Py_None
;
5670 static PyObject
*_wrap_ListBox_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5671 PyObject
*resultobj
;
5672 wxListBox
*arg1
= (wxListBox
*) 0 ;
5674 PyObject
* obj0
= 0 ;
5675 PyObject
* obj1
= 0 ;
5677 (char *) "self",(char *) "n", NULL
5680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
5681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5683 arg2
= (int) SWIG_AsInt(obj1
);
5684 if (PyErr_Occurred()) SWIG_fail
;
5686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5687 (arg1
)->Select(arg2
);
5689 wxPyEndAllowThreads(__tstate
);
5690 if (PyErr_Occurred()) SWIG_fail
;
5692 Py_INCREF(Py_None
); resultobj
= Py_None
;
5699 static PyObject
*_wrap_ListBox_Deselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5700 PyObject
*resultobj
;
5701 wxListBox
*arg1
= (wxListBox
*) 0 ;
5703 PyObject
* obj0
= 0 ;
5704 PyObject
* obj1
= 0 ;
5706 (char *) "self",(char *) "n", NULL
5709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Deselect",kwnames
,&obj0
,&obj1
)) goto fail
;
5710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5712 arg2
= (int) SWIG_AsInt(obj1
);
5713 if (PyErr_Occurred()) SWIG_fail
;
5715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5716 (arg1
)->Deselect(arg2
);
5718 wxPyEndAllowThreads(__tstate
);
5719 if (PyErr_Occurred()) SWIG_fail
;
5721 Py_INCREF(Py_None
); resultobj
= Py_None
;
5728 static PyObject
*_wrap_ListBox_DeselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5729 PyObject
*resultobj
;
5730 wxListBox
*arg1
= (wxListBox
*) 0 ;
5731 int arg2
= (int) -1 ;
5732 PyObject
* obj0
= 0 ;
5733 PyObject
* obj1
= 0 ;
5735 (char *) "self",(char *) "itemToLeaveSelected", NULL
5738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListBox_DeselectAll",kwnames
,&obj0
,&obj1
)) goto fail
;
5739 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5742 arg2
= (int) SWIG_AsInt(obj1
);
5743 if (PyErr_Occurred()) SWIG_fail
;
5746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5747 (arg1
)->DeselectAll(arg2
);
5749 wxPyEndAllowThreads(__tstate
);
5750 if (PyErr_Occurred()) SWIG_fail
;
5752 Py_INCREF(Py_None
); resultobj
= Py_None
;
5759 static PyObject
*_wrap_ListBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5760 PyObject
*resultobj
;
5761 wxListBox
*arg1
= (wxListBox
*) 0 ;
5762 wxString
*arg2
= 0 ;
5763 bool arg3
= (bool) True
;
5765 bool temp2
= False
;
5766 PyObject
* obj0
= 0 ;
5767 PyObject
* obj1
= 0 ;
5768 PyObject
* obj2
= 0 ;
5770 (char *) "self",(char *) "s",(char *) "select", NULL
5773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetStringSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5774 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5777 arg2
= wxString_in_helper(obj1
);
5778 if (arg2
== NULL
) SWIG_fail
;
5782 arg3
= (bool) SWIG_AsBool(obj2
);
5783 if (PyErr_Occurred()) SWIG_fail
;
5786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5787 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
,arg3
);
5789 wxPyEndAllowThreads(__tstate
);
5790 if (PyErr_Occurred()) SWIG_fail
;
5793 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5809 static PyObject
*_wrap_ListBox_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5810 PyObject
*resultobj
;
5811 wxListBox
*arg1
= (wxListBox
*) 0 ;
5813 PyObject
* obj0
= 0 ;
5815 (char *) "self", NULL
5818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_GetSelections",kwnames
,&obj0
)) goto fail
;
5819 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5820 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5823 result
= (PyObject
*)wxListBox_GetSelections(arg1
);
5825 wxPyEndAllowThreads(__tstate
);
5826 if (PyErr_Occurred()) SWIG_fail
;
5835 static PyObject
*_wrap_ListBox_SetFirstItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5836 PyObject
*resultobj
;
5837 wxListBox
*arg1
= (wxListBox
*) 0 ;
5839 PyObject
* obj0
= 0 ;
5840 PyObject
* obj1
= 0 ;
5842 (char *) "self",(char *) "n", NULL
5845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItem",kwnames
,&obj0
,&obj1
)) goto fail
;
5846 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5848 arg2
= (int) SWIG_AsInt(obj1
);
5849 if (PyErr_Occurred()) SWIG_fail
;
5851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5852 (arg1
)->SetFirstItem(arg2
);
5854 wxPyEndAllowThreads(__tstate
);
5855 if (PyErr_Occurred()) SWIG_fail
;
5857 Py_INCREF(Py_None
); resultobj
= Py_None
;
5864 static PyObject
*_wrap_ListBox_SetFirstItemStr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5865 PyObject
*resultobj
;
5866 wxListBox
*arg1
= (wxListBox
*) 0 ;
5867 wxString
*arg2
= 0 ;
5868 bool temp2
= False
;
5869 PyObject
* obj0
= 0 ;
5870 PyObject
* obj1
= 0 ;
5872 (char *) "self",(char *) "s", NULL
5875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItemStr",kwnames
,&obj0
,&obj1
)) goto fail
;
5876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5879 arg2
= wxString_in_helper(obj1
);
5880 if (arg2
== NULL
) SWIG_fail
;
5884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5885 (arg1
)->SetFirstItem((wxString
const &)*arg2
);
5887 wxPyEndAllowThreads(__tstate
);
5888 if (PyErr_Occurred()) SWIG_fail
;
5890 Py_INCREF(Py_None
); resultobj
= Py_None
;
5905 static PyObject
*_wrap_ListBox_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5906 PyObject
*resultobj
;
5907 wxListBox
*arg1
= (wxListBox
*) 0 ;
5909 PyObject
* obj0
= 0 ;
5910 PyObject
* obj1
= 0 ;
5912 (char *) "self",(char *) "n", NULL
5915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
5916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5918 arg2
= (int) SWIG_AsInt(obj1
);
5919 if (PyErr_Occurred()) SWIG_fail
;
5921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5922 (arg1
)->EnsureVisible(arg2
);
5924 wxPyEndAllowThreads(__tstate
);
5925 if (PyErr_Occurred()) SWIG_fail
;
5927 Py_INCREF(Py_None
); resultobj
= Py_None
;
5934 static PyObject
*_wrap_ListBox_AppendAndEnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5935 PyObject
*resultobj
;
5936 wxListBox
*arg1
= (wxListBox
*) 0 ;
5937 wxString
*arg2
= 0 ;
5938 bool temp2
= False
;
5939 PyObject
* obj0
= 0 ;
5940 PyObject
* obj1
= 0 ;
5942 (char *) "self",(char *) "s", NULL
5945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
5946 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5947 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5949 arg2
= wxString_in_helper(obj1
);
5950 if (arg2
== NULL
) SWIG_fail
;
5954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5955 (arg1
)->AppendAndEnsureVisible((wxString
const &)*arg2
);
5957 wxPyEndAllowThreads(__tstate
);
5958 if (PyErr_Occurred()) SWIG_fail
;
5960 Py_INCREF(Py_None
); resultobj
= Py_None
;
5975 static PyObject
*_wrap_ListBox_IsSorted(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5976 PyObject
*resultobj
;
5977 wxListBox
*arg1
= (wxListBox
*) 0 ;
5979 PyObject
* obj0
= 0 ;
5981 (char *) "self", NULL
5984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_IsSorted",kwnames
,&obj0
)) goto fail
;
5985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5989 result
= (bool)((wxListBox
const *)arg1
)->IsSorted();
5991 wxPyEndAllowThreads(__tstate
);
5992 if (PyErr_Occurred()) SWIG_fail
;
5995 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6003 static PyObject
*_wrap_ListBox_SetItemForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6004 PyObject
*resultobj
;
6005 wxListBox
*arg1
= (wxListBox
*) 0 ;
6007 wxColour
*arg3
= 0 ;
6009 PyObject
* obj0
= 0 ;
6010 PyObject
* obj1
= 0 ;
6011 PyObject
* obj2
= 0 ;
6013 (char *) "self",(char *) "item",(char *) "c", NULL
6016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6019 arg2
= (int) SWIG_AsInt(obj1
);
6020 if (PyErr_Occurred()) SWIG_fail
;
6023 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
6026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6027 wxListBox_SetItemForegroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
6029 wxPyEndAllowThreads(__tstate
);
6030 if (PyErr_Occurred()) SWIG_fail
;
6032 Py_INCREF(Py_None
); resultobj
= Py_None
;
6039 static PyObject
*_wrap_ListBox_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6040 PyObject
*resultobj
;
6041 wxListBox
*arg1
= (wxListBox
*) 0 ;
6043 wxColour
*arg3
= 0 ;
6045 PyObject
* obj0
= 0 ;
6046 PyObject
* obj1
= 0 ;
6047 PyObject
* obj2
= 0 ;
6049 (char *) "self",(char *) "item",(char *) "c", NULL
6052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6055 arg2
= (int) SWIG_AsInt(obj1
);
6056 if (PyErr_Occurred()) SWIG_fail
;
6059 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
6062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6063 wxListBox_SetItemBackgroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
6065 wxPyEndAllowThreads(__tstate
);
6066 if (PyErr_Occurred()) SWIG_fail
;
6068 Py_INCREF(Py_None
); resultobj
= Py_None
;
6075 static PyObject
*_wrap_ListBox_SetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6076 PyObject
*resultobj
;
6077 wxListBox
*arg1
= (wxListBox
*) 0 ;
6080 PyObject
* obj0
= 0 ;
6081 PyObject
* obj1
= 0 ;
6082 PyObject
* obj2
= 0 ;
6084 (char *) "self",(char *) "item",(char *) "f", NULL
6087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6090 arg2
= (int) SWIG_AsInt(obj1
);
6091 if (PyErr_Occurred()) SWIG_fail
;
6092 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
6093 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6096 PyErr_SetString(PyExc_TypeError
,"null reference");
6100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6101 wxListBox_SetItemFont(arg1
,arg2
,(wxFont
const &)*arg3
);
6103 wxPyEndAllowThreads(__tstate
);
6104 if (PyErr_Occurred()) SWIG_fail
;
6106 Py_INCREF(Py_None
); resultobj
= Py_None
;
6113 static PyObject
*_wrap_ListBox_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6114 PyObject
*resultobj
;
6115 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
6116 wxVisualAttributes result
;
6117 PyObject
* obj0
= 0 ;
6119 (char *) "variant", NULL
6122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6124 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
6125 if (PyErr_Occurred()) SWIG_fail
;
6128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6129 result
= wxListBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
6131 wxPyEndAllowThreads(__tstate
);
6132 if (PyErr_Occurred()) SWIG_fail
;
6135 wxVisualAttributes
* resultptr
;
6136 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
6137 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6145 static PyObject
* ListBox_swigregister(PyObject
*self
, PyObject
*args
) {
6147 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6148 SWIG_TypeClientData(SWIGTYPE_p_wxListBox
, obj
);
6150 return Py_BuildValue((char *)"");
6152 static PyObject
*_wrap_new_CheckListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6153 PyObject
*resultobj
;
6154 wxWindow
*arg1
= (wxWindow
*) 0 ;
6156 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
6157 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
6158 wxSize
const &arg4_defvalue
= wxDefaultSize
;
6159 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
6160 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
6161 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
6162 long arg6
= (long) 0 ;
6163 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
6164 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
6165 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
6166 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6167 wxCheckListBox
*result
;
6170 bool temp5
= False
;
6171 bool temp8
= False
;
6172 PyObject
* obj0
= 0 ;
6173 PyObject
* obj1
= 0 ;
6174 PyObject
* obj2
= 0 ;
6175 PyObject
* obj3
= 0 ;
6176 PyObject
* obj4
= 0 ;
6177 PyObject
* obj5
= 0 ;
6178 PyObject
* obj6
= 0 ;
6179 PyObject
* obj7
= 0 ;
6181 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
6184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:new_CheckListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6185 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
6186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6187 arg2
= (int) SWIG_AsInt(obj1
);
6188 if (PyErr_Occurred()) SWIG_fail
;
6192 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
6198 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
6203 if (! PySequence_Check(obj4
)) {
6204 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
6207 arg5
= new wxArrayString
;
6209 int i
, len
=PySequence_Length(obj4
);
6210 for (i
=0; i
<len
; i
++) {
6211 PyObject
* item
= PySequence_GetItem(obj4
, i
);
6213 PyObject
* str
= PyObject_Unicode(item
);
6215 PyObject
* str
= PyObject_Str(item
);
6217 if (PyErr_Occurred()) SWIG_fail
;
6218 arg5
->Add(Py2wxString(str
));
6225 arg6
= (long) SWIG_AsLong(obj5
);
6226 if (PyErr_Occurred()) SWIG_fail
;
6229 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
6230 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6233 PyErr_SetString(PyExc_TypeError
,"null reference");
6239 arg8
= wxString_in_helper(obj7
);
6240 if (arg8
== NULL
) SWIG_fail
;
6245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6246 result
= (wxCheckListBox
*)new wxCheckListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
6248 wxPyEndAllowThreads(__tstate
);
6249 if (PyErr_Occurred()) SWIG_fail
;
6251 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckListBox
, 1);
6253 if (temp5
) delete arg5
;
6262 if (temp5
) delete arg5
;
6272 static PyObject
*_wrap_new_PreCheckListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6273 PyObject
*resultobj
;
6274 wxCheckListBox
*result
;
6279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckListBox",kwnames
)) goto fail
;
6281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6282 result
= (wxCheckListBox
*)new wxCheckListBox();
6284 wxPyEndAllowThreads(__tstate
);
6285 if (PyErr_Occurred()) SWIG_fail
;
6287 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckListBox
, 1);
6294 static PyObject
*_wrap_CheckListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6295 PyObject
*resultobj
;
6296 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6297 wxWindow
*arg2
= (wxWindow
*) 0 ;
6299 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6300 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6301 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6302 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6303 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
6304 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
6305 long arg7
= (long) 0 ;
6306 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
6307 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
6308 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
6309 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
6313 bool temp6
= False
;
6314 bool temp9
= False
;
6315 PyObject
* obj0
= 0 ;
6316 PyObject
* obj1
= 0 ;
6317 PyObject
* obj2
= 0 ;
6318 PyObject
* obj3
= 0 ;
6319 PyObject
* obj4
= 0 ;
6320 PyObject
* obj5
= 0 ;
6321 PyObject
* obj6
= 0 ;
6322 PyObject
* obj7
= 0 ;
6323 PyObject
* obj8
= 0 ;
6325 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
6328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:CheckListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
6329 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6331 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6333 arg3
= (int) SWIG_AsInt(obj2
);
6334 if (PyErr_Occurred()) SWIG_fail
;
6338 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6344 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6349 if (! PySequence_Check(obj5
)) {
6350 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
6353 arg6
= new wxArrayString
;
6355 int i
, len
=PySequence_Length(obj5
);
6356 for (i
=0; i
<len
; i
++) {
6357 PyObject
* item
= PySequence_GetItem(obj5
, i
);
6359 PyObject
* str
= PyObject_Unicode(item
);
6361 PyObject
* str
= PyObject_Str(item
);
6363 if (PyErr_Occurred()) SWIG_fail
;
6364 arg6
->Add(Py2wxString(str
));
6371 arg7
= (long) SWIG_AsLong(obj6
);
6372 if (PyErr_Occurred()) SWIG_fail
;
6375 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
6376 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6379 PyErr_SetString(PyExc_TypeError
,"null reference");
6385 arg9
= wxString_in_helper(obj8
);
6386 if (arg9
== NULL
) SWIG_fail
;
6391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6392 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
6394 wxPyEndAllowThreads(__tstate
);
6395 if (PyErr_Occurred()) SWIG_fail
;
6398 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6401 if (temp6
) delete arg6
;
6410 if (temp6
) delete arg6
;
6420 static PyObject
*_wrap_CheckListBox_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6421 PyObject
*resultobj
;
6422 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6425 PyObject
* obj0
= 0 ;
6426 PyObject
* obj1
= 0 ;
6428 (char *) "self",(char *) "index", NULL
6431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
6432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6434 arg2
= (int) SWIG_AsInt(obj1
);
6435 if (PyErr_Occurred()) SWIG_fail
;
6437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6438 result
= (bool)(arg1
)->IsChecked(arg2
);
6440 wxPyEndAllowThreads(__tstate
);
6441 if (PyErr_Occurred()) SWIG_fail
;
6444 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6452 static PyObject
*_wrap_CheckListBox_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6453 PyObject
*resultobj
;
6454 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6456 int arg3
= (int) True
;
6457 PyObject
* obj0
= 0 ;
6458 PyObject
* obj1
= 0 ;
6459 PyObject
* obj2
= 0 ;
6461 (char *) "self",(char *) "index",(char *) "check", NULL
6464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:CheckListBox_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6465 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6467 arg2
= (int) SWIG_AsInt(obj1
);
6468 if (PyErr_Occurred()) SWIG_fail
;
6470 arg3
= (int) SWIG_AsInt(obj2
);
6471 if (PyErr_Occurred()) SWIG_fail
;
6474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6475 (arg1
)->Check(arg2
,arg3
);
6477 wxPyEndAllowThreads(__tstate
);
6478 if (PyErr_Occurred()) SWIG_fail
;
6480 Py_INCREF(Py_None
); resultobj
= Py_None
;
6487 static PyObject
*_wrap_CheckListBox_GetItemHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6488 PyObject
*resultobj
;
6489 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6491 PyObject
* obj0
= 0 ;
6493 (char *) "self", NULL
6496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckListBox_GetItemHeight",kwnames
,&obj0
)) goto fail
;
6497 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6501 result
= (int)(arg1
)->GetItemHeight();
6503 wxPyEndAllowThreads(__tstate
);
6504 if (PyErr_Occurred()) SWIG_fail
;
6506 resultobj
= SWIG_FromInt((int)result
);
6513 static PyObject
*_wrap_CheckListBox_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6514 PyObject
*resultobj
;
6515 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6519 PyObject
* obj0
= 0 ;
6520 PyObject
* obj1
= 0 ;
6522 (char *) "self",(char *) "pt", NULL
6525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
6526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6530 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6534 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
6536 wxPyEndAllowThreads(__tstate
);
6537 if (PyErr_Occurred()) SWIG_fail
;
6539 resultobj
= SWIG_FromInt((int)result
);
6546 static PyObject
*_wrap_CheckListBox_HitTestXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6547 PyObject
*resultobj
;
6548 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6552 PyObject
* obj0
= 0 ;
6553 PyObject
* obj1
= 0 ;
6554 PyObject
* obj2
= 0 ;
6556 (char *) "self",(char *) "x",(char *) "y", NULL
6559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:CheckListBox_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6560 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6562 arg2
= (int) SWIG_AsInt(obj1
);
6563 if (PyErr_Occurred()) SWIG_fail
;
6564 arg3
= (int) SWIG_AsInt(obj2
);
6565 if (PyErr_Occurred()) SWIG_fail
;
6567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6568 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest(arg2
,arg3
);
6570 wxPyEndAllowThreads(__tstate
);
6571 if (PyErr_Occurred()) SWIG_fail
;
6573 resultobj
= SWIG_FromInt((int)result
);
6580 static PyObject
* CheckListBox_swigregister(PyObject
*self
, PyObject
*args
) {
6582 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6583 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox
, obj
);
6585 return Py_BuildValue((char *)"");
6587 static int _wrap_TextCtrlNameStr_set(PyObject
*_val
) {
6588 PyErr_SetString(PyExc_TypeError
,"Variable TextCtrlNameStr is read-only.");
6593 static PyObject
*_wrap_TextCtrlNameStr_get() {
6598 pyobj
= PyUnicode_FromWideChar((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
6600 pyobj
= PyString_FromStringAndSize((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
6607 static PyObject
*_wrap_new_TextAttr__SWIG_0(PyObject
*self
, PyObject
*args
) {
6608 PyObject
*resultobj
;
6611 if(!PyArg_ParseTuple(args
,(char *)":new_TextAttr")) goto fail
;
6613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6614 result
= (wxTextAttr
*)new wxTextAttr();
6616 wxPyEndAllowThreads(__tstate
);
6617 if (PyErr_Occurred()) SWIG_fail
;
6619 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 1);
6626 static PyObject
*_wrap_new_TextAttr__SWIG_1(PyObject
*self
, PyObject
*args
) {
6627 PyObject
*resultobj
;
6628 wxColour
*arg1
= 0 ;
6629 wxColour
const &arg2_defvalue
= wxNullColour
;
6630 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
6631 wxFont
const &arg3_defvalue
= wxNullFont
;
6632 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
6633 int arg4
= (int) wxTEXT_ALIGNMENT_DEFAULT
;
6637 PyObject
* obj0
= 0 ;
6638 PyObject
* obj1
= 0 ;
6639 PyObject
* obj2
= 0 ;
6640 PyObject
* obj3
= 0 ;
6642 if(!PyArg_ParseTuple(args
,(char *)"O|OOO:new_TextAttr",&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6645 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
6650 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6654 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
6655 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6658 PyErr_SetString(PyExc_TypeError
,"null reference");
6663 arg4
= (wxTextAttrAlignment
) SWIG_AsInt(obj3
);
6664 if (PyErr_Occurred()) SWIG_fail
;
6667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6668 result
= (wxTextAttr
*)new wxTextAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
,(wxTextAttrAlignment
)arg4
);
6670 wxPyEndAllowThreads(__tstate
);
6671 if (PyErr_Occurred()) SWIG_fail
;
6673 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 1);
6680 static PyObject
*_wrap_new_TextAttr(PyObject
*self
, PyObject
*args
) {
6685 argc
= PyObject_Length(args
);
6686 for (ii
= 0; (ii
< argc
) && (ii
< 4); ii
++) {
6687 argv
[ii
] = PyTuple_GetItem(args
,ii
);
6690 return _wrap_new_TextAttr__SWIG_0(self
,args
);
6692 if ((argc
>= 1) && (argc
<= 4)) {
6695 _v
= wxColour_typecheck(argv
[0]);
6699 return _wrap_new_TextAttr__SWIG_1(self
,args
);
6702 _v
= wxColour_typecheck(argv
[1]);
6706 return _wrap_new_TextAttr__SWIG_1(self
,args
);
6710 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxFont
, 0) == -1) {
6719 return _wrap_new_TextAttr__SWIG_1(self
,args
);
6721 _v
= SWIG_CheckInt(argv
[3]);
6723 return _wrap_new_TextAttr__SWIG_1(self
,args
);
6730 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_TextAttr'");
6735 static PyObject
*_wrap_delete_TextAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6736 PyObject
*resultobj
;
6737 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6738 PyObject
* obj0
= 0 ;
6740 (char *) "self", NULL
6743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TextAttr",kwnames
,&obj0
)) goto fail
;
6744 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6750 wxPyEndAllowThreads(__tstate
);
6751 if (PyErr_Occurred()) SWIG_fail
;
6753 Py_INCREF(Py_None
); resultobj
= Py_None
;
6760 static PyObject
*_wrap_TextAttr_Init(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6761 PyObject
*resultobj
;
6762 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6763 PyObject
* obj0
= 0 ;
6765 (char *) "self", NULL
6768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_Init",kwnames
,&obj0
)) goto fail
;
6769 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6775 wxPyEndAllowThreads(__tstate
);
6776 if (PyErr_Occurred()) SWIG_fail
;
6778 Py_INCREF(Py_None
); resultobj
= Py_None
;
6785 static PyObject
*_wrap_TextAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6786 PyObject
*resultobj
;
6787 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6788 wxColour
*arg2
= 0 ;
6790 PyObject
* obj0
= 0 ;
6791 PyObject
* obj1
= 0 ;
6793 (char *) "self",(char *) "colText", NULL
6796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
6797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6801 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6805 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
6807 wxPyEndAllowThreads(__tstate
);
6808 if (PyErr_Occurred()) SWIG_fail
;
6810 Py_INCREF(Py_None
); resultobj
= Py_None
;
6817 static PyObject
*_wrap_TextAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6818 PyObject
*resultobj
;
6819 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6820 wxColour
*arg2
= 0 ;
6822 PyObject
* obj0
= 0 ;
6823 PyObject
* obj1
= 0 ;
6825 (char *) "self",(char *) "colBack", NULL
6828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
6829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6833 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6837 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
6839 wxPyEndAllowThreads(__tstate
);
6840 if (PyErr_Occurred()) SWIG_fail
;
6842 Py_INCREF(Py_None
); resultobj
= Py_None
;
6849 static PyObject
*_wrap_TextAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6850 PyObject
*resultobj
;
6851 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6853 long arg3
= (long) wxTEXT_ATTR_FONT
;
6854 PyObject
* obj0
= 0 ;
6855 PyObject
* obj1
= 0 ;
6856 PyObject
* obj2
= 0 ;
6858 (char *) "self",(char *) "font",(char *) "flags", NULL
6861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6862 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6863 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6864 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
6865 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6868 PyErr_SetString(PyExc_TypeError
,"null reference");
6872 arg3
= (long) SWIG_AsLong(obj2
);
6873 if (PyErr_Occurred()) SWIG_fail
;
6876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6877 (arg1
)->SetFont((wxFont
const &)*arg2
,arg3
);
6879 wxPyEndAllowThreads(__tstate
);
6880 if (PyErr_Occurred()) SWIG_fail
;
6882 Py_INCREF(Py_None
); resultobj
= Py_None
;
6889 static PyObject
*_wrap_TextAttr_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6890 PyObject
*resultobj
;
6891 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6893 PyObject
* obj0
= 0 ;
6894 PyObject
* obj1
= 0 ;
6896 (char *) "self",(char *) "alignment", NULL
6899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
6900 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6902 arg2
= (wxTextAttrAlignment
) SWIG_AsInt(obj1
);
6903 if (PyErr_Occurred()) SWIG_fail
;
6905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6906 (arg1
)->SetAlignment((wxTextAttrAlignment
)arg2
);
6908 wxPyEndAllowThreads(__tstate
);
6909 if (PyErr_Occurred()) SWIG_fail
;
6911 Py_INCREF(Py_None
); resultobj
= Py_None
;
6918 static PyObject
*_wrap_TextAttr_SetTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6919 PyObject
*resultobj
;
6920 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6921 wxArrayInt
*arg2
= 0 ;
6922 bool temp2
= False
;
6923 PyObject
* obj0
= 0 ;
6924 PyObject
* obj1
= 0 ;
6926 (char *) "self",(char *) "tabs", NULL
6929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) goto fail
;
6930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6933 if (! PySequence_Check(obj1
)) {
6934 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
6937 arg2
= new wxArrayInt
;
6939 int i
, len
=PySequence_Length(obj1
);
6940 for (i
=0; i
<len
; i
++) {
6941 PyObject
* item
= PySequence_GetItem(obj1
, i
);
6942 PyObject
* number
= PyNumber_Int(item
);
6943 arg2
->Add(PyInt_AS_LONG(number
));
6949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6950 (arg1
)->SetTabs((wxArrayInt
const &)*arg2
);
6952 wxPyEndAllowThreads(__tstate
);
6953 if (PyErr_Occurred()) SWIG_fail
;
6955 Py_INCREF(Py_None
); resultobj
= Py_None
;
6957 if (temp2
) delete arg2
;
6962 if (temp2
) delete arg2
;
6968 static PyObject
*_wrap_TextAttr_SetLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6969 PyObject
*resultobj
;
6970 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6972 PyObject
* obj0
= 0 ;
6973 PyObject
* obj1
= 0 ;
6975 (char *) "self",(char *) "indent", NULL
6978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetLeftIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
6979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6981 arg2
= (int) SWIG_AsInt(obj1
);
6982 if (PyErr_Occurred()) SWIG_fail
;
6984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6985 (arg1
)->SetLeftIndent(arg2
);
6987 wxPyEndAllowThreads(__tstate
);
6988 if (PyErr_Occurred()) SWIG_fail
;
6990 Py_INCREF(Py_None
); resultobj
= Py_None
;
6997 static PyObject
*_wrap_TextAttr_SetRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6998 PyObject
*resultobj
;
6999 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7001 PyObject
* obj0
= 0 ;
7002 PyObject
* obj1
= 0 ;
7004 (char *) "self",(char *) "indent", NULL
7007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetRightIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
7008 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7010 arg2
= (int) SWIG_AsInt(obj1
);
7011 if (PyErr_Occurred()) SWIG_fail
;
7013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7014 (arg1
)->SetRightIndent(arg2
);
7016 wxPyEndAllowThreads(__tstate
);
7017 if (PyErr_Occurred()) SWIG_fail
;
7019 Py_INCREF(Py_None
); resultobj
= Py_None
;
7026 static PyObject
*_wrap_TextAttr_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7027 PyObject
*resultobj
;
7028 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7030 PyObject
* obj0
= 0 ;
7031 PyObject
* obj1
= 0 ;
7033 (char *) "self",(char *) "flags", NULL
7036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
7037 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7039 arg2
= (long) SWIG_AsLong(obj1
);
7040 if (PyErr_Occurred()) SWIG_fail
;
7042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7043 (arg1
)->SetFlags(arg2
);
7045 wxPyEndAllowThreads(__tstate
);
7046 if (PyErr_Occurred()) SWIG_fail
;
7048 Py_INCREF(Py_None
); resultobj
= Py_None
;
7055 static PyObject
*_wrap_TextAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7056 PyObject
*resultobj
;
7057 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7059 PyObject
* obj0
= 0 ;
7061 (char *) "self", NULL
7064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
7065 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7069 result
= (bool)((wxTextAttr
const *)arg1
)->HasTextColour();
7071 wxPyEndAllowThreads(__tstate
);
7072 if (PyErr_Occurred()) SWIG_fail
;
7075 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7083 static PyObject
*_wrap_TextAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7084 PyObject
*resultobj
;
7085 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7087 PyObject
* obj0
= 0 ;
7089 (char *) "self", NULL
7092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
7093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7097 result
= (bool)((wxTextAttr
const *)arg1
)->HasBackgroundColour();
7099 wxPyEndAllowThreads(__tstate
);
7100 if (PyErr_Occurred()) SWIG_fail
;
7103 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7111 static PyObject
*_wrap_TextAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7112 PyObject
*resultobj
;
7113 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7115 PyObject
* obj0
= 0 ;
7117 (char *) "self", NULL
7120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasFont",kwnames
,&obj0
)) goto fail
;
7121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7125 result
= (bool)((wxTextAttr
const *)arg1
)->HasFont();
7127 wxPyEndAllowThreads(__tstate
);
7128 if (PyErr_Occurred()) SWIG_fail
;
7131 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7139 static PyObject
*_wrap_TextAttr_HasAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7140 PyObject
*resultobj
;
7141 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7143 PyObject
* obj0
= 0 ;
7145 (char *) "self", NULL
7148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasAlignment",kwnames
,&obj0
)) goto fail
;
7149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7153 result
= (bool)((wxTextAttr
const *)arg1
)->HasAlignment();
7155 wxPyEndAllowThreads(__tstate
);
7156 if (PyErr_Occurred()) SWIG_fail
;
7159 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7167 static PyObject
*_wrap_TextAttr_HasTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7168 PyObject
*resultobj
;
7169 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7171 PyObject
* obj0
= 0 ;
7173 (char *) "self", NULL
7176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTabs",kwnames
,&obj0
)) goto fail
;
7177 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7181 result
= (bool)((wxTextAttr
const *)arg1
)->HasTabs();
7183 wxPyEndAllowThreads(__tstate
);
7184 if (PyErr_Occurred()) SWIG_fail
;
7187 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7195 static PyObject
*_wrap_TextAttr_HasLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7196 PyObject
*resultobj
;
7197 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7199 PyObject
* obj0
= 0 ;
7201 (char *) "self", NULL
7204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasLeftIndent",kwnames
,&obj0
)) goto fail
;
7205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7209 result
= (bool)((wxTextAttr
const *)arg1
)->HasLeftIndent();
7211 wxPyEndAllowThreads(__tstate
);
7212 if (PyErr_Occurred()) SWIG_fail
;
7215 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7223 static PyObject
*_wrap_TextAttr_HasRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7224 PyObject
*resultobj
;
7225 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7227 PyObject
* obj0
= 0 ;
7229 (char *) "self", NULL
7232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasRightIndent",kwnames
,&obj0
)) goto fail
;
7233 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7237 result
= (bool)((wxTextAttr
const *)arg1
)->HasRightIndent();
7239 wxPyEndAllowThreads(__tstate
);
7240 if (PyErr_Occurred()) SWIG_fail
;
7243 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7251 static PyObject
*_wrap_TextAttr_HasFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7252 PyObject
*resultobj
;
7253 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7256 PyObject
* obj0
= 0 ;
7257 PyObject
* obj1
= 0 ;
7259 (char *) "self",(char *) "flag", NULL
7262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
7263 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7265 arg2
= (long) SWIG_AsLong(obj1
);
7266 if (PyErr_Occurred()) SWIG_fail
;
7268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7269 result
= (bool)((wxTextAttr
const *)arg1
)->HasFlag(arg2
);
7271 wxPyEndAllowThreads(__tstate
);
7272 if (PyErr_Occurred()) SWIG_fail
;
7275 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7283 static PyObject
*_wrap_TextAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7284 PyObject
*resultobj
;
7285 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7287 PyObject
* obj0
= 0 ;
7289 (char *) "self", NULL
7292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
7293 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7294 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7298 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTextColour();
7299 result
= (wxColour
*) &_result_ref
;
7302 wxPyEndAllowThreads(__tstate
);
7303 if (PyErr_Occurred()) SWIG_fail
;
7305 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
7312 static PyObject
*_wrap_TextAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7313 PyObject
*resultobj
;
7314 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7316 PyObject
* obj0
= 0 ;
7318 (char *) "self", NULL
7321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
7322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7327 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetBackgroundColour();
7328 result
= (wxColour
*) &_result_ref
;
7331 wxPyEndAllowThreads(__tstate
);
7332 if (PyErr_Occurred()) SWIG_fail
;
7334 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
7341 static PyObject
*_wrap_TextAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7342 PyObject
*resultobj
;
7343 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7345 PyObject
* obj0
= 0 ;
7347 (char *) "self", NULL
7350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFont",kwnames
,&obj0
)) goto fail
;
7351 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7356 wxFont
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetFont();
7357 result
= (wxFont
*) &_result_ref
;
7360 wxPyEndAllowThreads(__tstate
);
7361 if (PyErr_Occurred()) SWIG_fail
;
7364 wxFont
* resultptr
= new wxFont(*result
);
7365 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
7373 static PyObject
*_wrap_TextAttr_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7374 PyObject
*resultobj
;
7375 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7377 PyObject
* obj0
= 0 ;
7379 (char *) "self", NULL
7382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetAlignment",kwnames
,&obj0
)) goto fail
;
7383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7387 result
= (int)((wxTextAttr
const *)arg1
)->GetAlignment();
7389 wxPyEndAllowThreads(__tstate
);
7390 if (PyErr_Occurred()) SWIG_fail
;
7392 resultobj
= SWIG_FromInt((int)result
);
7399 static PyObject
*_wrap_TextAttr_GetTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7400 PyObject
*resultobj
;
7401 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7403 PyObject
* obj0
= 0 ;
7405 (char *) "self", NULL
7408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTabs",kwnames
,&obj0
)) goto fail
;
7409 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7414 wxArrayInt
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTabs();
7415 result
= (wxArrayInt
*) &_result_ref
;
7418 wxPyEndAllowThreads(__tstate
);
7419 if (PyErr_Occurred()) SWIG_fail
;
7422 resultobj
= PyList_New(0);
7424 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
7425 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
7426 PyList_Append(resultobj
, val
);
7436 static PyObject
*_wrap_TextAttr_GetLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7437 PyObject
*resultobj
;
7438 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7440 PyObject
* obj0
= 0 ;
7442 (char *) "self", NULL
7445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetLeftIndent",kwnames
,&obj0
)) goto fail
;
7446 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7450 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftIndent();
7452 wxPyEndAllowThreads(__tstate
);
7453 if (PyErr_Occurred()) SWIG_fail
;
7455 resultobj
= SWIG_FromLong((long)result
);
7462 static PyObject
*_wrap_TextAttr_GetRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7463 PyObject
*resultobj
;
7464 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7466 PyObject
* obj0
= 0 ;
7468 (char *) "self", NULL
7471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetRightIndent",kwnames
,&obj0
)) goto fail
;
7472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7476 result
= (long)((wxTextAttr
const *)arg1
)->GetRightIndent();
7478 wxPyEndAllowThreads(__tstate
);
7479 if (PyErr_Occurred()) SWIG_fail
;
7481 resultobj
= SWIG_FromLong((long)result
);
7488 static PyObject
*_wrap_TextAttr_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7489 PyObject
*resultobj
;
7490 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7492 PyObject
* obj0
= 0 ;
7494 (char *) "self", NULL
7497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFlags",kwnames
,&obj0
)) goto fail
;
7498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7502 result
= (long)((wxTextAttr
const *)arg1
)->GetFlags();
7504 wxPyEndAllowThreads(__tstate
);
7505 if (PyErr_Occurred()) SWIG_fail
;
7507 resultobj
= SWIG_FromLong((long)result
);
7514 static PyObject
*_wrap_TextAttr_IsDefault(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7515 PyObject
*resultobj
;
7516 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7518 PyObject
* obj0
= 0 ;
7520 (char *) "self", NULL
7523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_IsDefault",kwnames
,&obj0
)) goto fail
;
7524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7528 result
= (bool)((wxTextAttr
const *)arg1
)->IsDefault();
7530 wxPyEndAllowThreads(__tstate
);
7531 if (PyErr_Occurred()) SWIG_fail
;
7534 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7542 static PyObject
*_wrap_TextAttr_Combine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7543 PyObject
*resultobj
;
7544 wxTextAttr
*arg1
= 0 ;
7545 wxTextAttr
*arg2
= 0 ;
7546 wxTextCtrl
*arg3
= (wxTextCtrl
*) 0 ;
7548 PyObject
* obj0
= 0 ;
7549 PyObject
* obj1
= 0 ;
7550 PyObject
* obj2
= 0 ;
7552 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
7555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextAttr_Combine",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7557 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7560 PyErr_SetString(PyExc_TypeError
,"null reference");
7563 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTextAttr
,
7564 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7567 PyErr_SetString(PyExc_TypeError
,"null reference");
7570 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTextCtrl
,
7571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7574 result
= wxTextAttr::Combine((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
,(wxTextCtrl
const *)arg3
);
7576 wxPyEndAllowThreads(__tstate
);
7577 if (PyErr_Occurred()) SWIG_fail
;
7580 wxTextAttr
* resultptr
;
7581 resultptr
= new wxTextAttr((wxTextAttr
&) result
);
7582 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTextAttr
, 1);
7590 static PyObject
* TextAttr_swigregister(PyObject
*self
, PyObject
*args
) {
7592 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7593 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr
, obj
);
7595 return Py_BuildValue((char *)"");
7597 static PyObject
*_wrap_new_TextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7598 PyObject
*resultobj
;
7599 wxWindow
*arg1
= (wxWindow
*) 0 ;
7601 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7602 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7603 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7604 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7605 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7606 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7607 long arg6
= (long) 0 ;
7608 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
7609 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
7610 wxString
const &arg8_defvalue
= wxPyTextCtrlNameStr
;
7611 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7613 bool temp3
= False
;
7616 bool temp8
= False
;
7617 PyObject
* obj0
= 0 ;
7618 PyObject
* obj1
= 0 ;
7619 PyObject
* obj2
= 0 ;
7620 PyObject
* obj3
= 0 ;
7621 PyObject
* obj4
= 0 ;
7622 PyObject
* obj5
= 0 ;
7623 PyObject
* obj6
= 0 ;
7624 PyObject
* obj7
= 0 ;
7626 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
7629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:new_TextCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
7630 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
7631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7632 arg2
= (int) SWIG_AsInt(obj1
);
7633 if (PyErr_Occurred()) SWIG_fail
;
7636 arg3
= wxString_in_helper(obj2
);
7637 if (arg3
== NULL
) SWIG_fail
;
7644 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7650 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7654 arg6
= (long) SWIG_AsLong(obj5
);
7655 if (PyErr_Occurred()) SWIG_fail
;
7658 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
7659 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7662 PyErr_SetString(PyExc_TypeError
,"null reference");
7668 arg8
= wxString_in_helper(obj7
);
7669 if (arg8
== NULL
) SWIG_fail
;
7674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7675 result
= (wxTextCtrl
*)new wxTextCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
7677 wxPyEndAllowThreads(__tstate
);
7678 if (PyErr_Occurred()) SWIG_fail
;
7681 resultobj
= wxPyMake_wxObject(result
);
7705 static PyObject
*_wrap_new_PreTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7706 PyObject
*resultobj
;
7712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTextCtrl",kwnames
)) goto fail
;
7714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7715 result
= (wxTextCtrl
*)new wxTextCtrl();
7717 wxPyEndAllowThreads(__tstate
);
7718 if (PyErr_Occurred()) SWIG_fail
;
7721 resultobj
= wxPyMake_wxObject(result
);
7729 static PyObject
*_wrap_TextCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7730 PyObject
*resultobj
;
7731 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7732 wxWindow
*arg2
= (wxWindow
*) 0 ;
7734 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7735 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7736 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
7737 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
7738 wxSize
const &arg6_defvalue
= wxDefaultSize
;
7739 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
7740 long arg7
= (long) 0 ;
7741 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
7742 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
7743 wxString
const &arg9_defvalue
= wxPyTextCtrlNameStr
;
7744 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
7746 bool temp4
= False
;
7749 bool temp9
= False
;
7750 PyObject
* obj0
= 0 ;
7751 PyObject
* obj1
= 0 ;
7752 PyObject
* obj2
= 0 ;
7753 PyObject
* obj3
= 0 ;
7754 PyObject
* obj4
= 0 ;
7755 PyObject
* obj5
= 0 ;
7756 PyObject
* obj6
= 0 ;
7757 PyObject
* obj7
= 0 ;
7758 PyObject
* obj8
= 0 ;
7760 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
7763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:TextCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
7764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7766 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
7767 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7768 arg3
= (int) SWIG_AsInt(obj2
);
7769 if (PyErr_Occurred()) SWIG_fail
;
7772 arg4
= wxString_in_helper(obj3
);
7773 if (arg4
== NULL
) SWIG_fail
;
7780 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7786 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
7790 arg7
= (long) SWIG_AsLong(obj6
);
7791 if (PyErr_Occurred()) SWIG_fail
;
7794 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
7795 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7798 PyErr_SetString(PyExc_TypeError
,"null reference");
7804 arg9
= wxString_in_helper(obj8
);
7805 if (arg9
== NULL
) SWIG_fail
;
7810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7811 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
7813 wxPyEndAllowThreads(__tstate
);
7814 if (PyErr_Occurred()) SWIG_fail
;
7817 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7841 static PyObject
*_wrap_TextCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7842 PyObject
*resultobj
;
7843 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7845 PyObject
* obj0
= 0 ;
7847 (char *) "self", NULL
7850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
7851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7855 result
= ((wxTextCtrl
const *)arg1
)->GetValue();
7857 wxPyEndAllowThreads(__tstate
);
7858 if (PyErr_Occurred()) SWIG_fail
;
7862 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7864 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7873 static PyObject
*_wrap_TextCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7874 PyObject
*resultobj
;
7875 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7876 wxString
*arg2
= 0 ;
7877 bool temp2
= False
;
7878 PyObject
* obj0
= 0 ;
7879 PyObject
* obj1
= 0 ;
7881 (char *) "self",(char *) "value", NULL
7884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
7885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7888 arg2
= wxString_in_helper(obj1
);
7889 if (arg2
== NULL
) SWIG_fail
;
7893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7894 (arg1
)->SetValue((wxString
const &)*arg2
);
7896 wxPyEndAllowThreads(__tstate
);
7897 if (PyErr_Occurred()) SWIG_fail
;
7899 Py_INCREF(Py_None
); resultobj
= Py_None
;
7914 static PyObject
*_wrap_TextCtrl_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7915 PyObject
*resultobj
;
7916 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7920 PyObject
* obj0
= 0 ;
7921 PyObject
* obj1
= 0 ;
7922 PyObject
* obj2
= 0 ;
7924 (char *) "self",(char *) "from",(char *) "to", NULL
7927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7928 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7929 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7930 arg2
= (long) SWIG_AsLong(obj1
);
7931 if (PyErr_Occurred()) SWIG_fail
;
7932 arg3
= (long) SWIG_AsLong(obj2
);
7933 if (PyErr_Occurred()) SWIG_fail
;
7935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7936 result
= ((wxTextCtrl
const *)arg1
)->GetRange(arg2
,arg3
);
7938 wxPyEndAllowThreads(__tstate
);
7939 if (PyErr_Occurred()) SWIG_fail
;
7943 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7945 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7954 static PyObject
*_wrap_TextCtrl_GetLineLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7955 PyObject
*resultobj
;
7956 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7959 PyObject
* obj0
= 0 ;
7960 PyObject
* obj1
= 0 ;
7962 (char *) "self",(char *) "lineNo", NULL
7965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineLength",kwnames
,&obj0
,&obj1
)) goto fail
;
7966 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7968 arg2
= (long) SWIG_AsLong(obj1
);
7969 if (PyErr_Occurred()) SWIG_fail
;
7971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7972 result
= (int)((wxTextCtrl
const *)arg1
)->GetLineLength(arg2
);
7974 wxPyEndAllowThreads(__tstate
);
7975 if (PyErr_Occurred()) SWIG_fail
;
7977 resultobj
= SWIG_FromInt((int)result
);
7984 static PyObject
*_wrap_TextCtrl_GetLineText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7985 PyObject
*resultobj
;
7986 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7989 PyObject
* obj0
= 0 ;
7990 PyObject
* obj1
= 0 ;
7992 (char *) "self",(char *) "lineNo", NULL
7995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineText",kwnames
,&obj0
,&obj1
)) goto fail
;
7996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7998 arg2
= (long) SWIG_AsLong(obj1
);
7999 if (PyErr_Occurred()) SWIG_fail
;
8001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8002 result
= ((wxTextCtrl
const *)arg1
)->GetLineText(arg2
);
8004 wxPyEndAllowThreads(__tstate
);
8005 if (PyErr_Occurred()) SWIG_fail
;
8009 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8011 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8020 static PyObject
*_wrap_TextCtrl_GetNumberOfLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8021 PyObject
*resultobj
;
8022 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8024 PyObject
* obj0
= 0 ;
8026 (char *) "self", NULL
8029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetNumberOfLines",kwnames
,&obj0
)) goto fail
;
8030 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8034 result
= (int)((wxTextCtrl
const *)arg1
)->GetNumberOfLines();
8036 wxPyEndAllowThreads(__tstate
);
8037 if (PyErr_Occurred()) SWIG_fail
;
8039 resultobj
= SWIG_FromInt((int)result
);
8046 static PyObject
*_wrap_TextCtrl_IsModified(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8047 PyObject
*resultobj
;
8048 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8050 PyObject
* obj0
= 0 ;
8052 (char *) "self", NULL
8055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsModified",kwnames
,&obj0
)) goto fail
;
8056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8060 result
= (bool)((wxTextCtrl
const *)arg1
)->IsModified();
8062 wxPyEndAllowThreads(__tstate
);
8063 if (PyErr_Occurred()) SWIG_fail
;
8066 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8074 static PyObject
*_wrap_TextCtrl_IsEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8075 PyObject
*resultobj
;
8076 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8078 PyObject
* obj0
= 0 ;
8080 (char *) "self", NULL
8083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsEditable",kwnames
,&obj0
)) goto fail
;
8084 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8085 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8088 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEditable();
8090 wxPyEndAllowThreads(__tstate
);
8091 if (PyErr_Occurred()) SWIG_fail
;
8094 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8102 static PyObject
*_wrap_TextCtrl_IsSingleLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8103 PyObject
*resultobj
;
8104 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8106 PyObject
* obj0
= 0 ;
8108 (char *) "self", NULL
8111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsSingleLine",kwnames
,&obj0
)) goto fail
;
8112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8116 result
= (bool)((wxTextCtrl
const *)arg1
)->IsSingleLine();
8118 wxPyEndAllowThreads(__tstate
);
8119 if (PyErr_Occurred()) SWIG_fail
;
8122 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8130 static PyObject
*_wrap_TextCtrl_IsMultiLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8131 PyObject
*resultobj
;
8132 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8134 PyObject
* obj0
= 0 ;
8136 (char *) "self", NULL
8139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsMultiLine",kwnames
,&obj0
)) goto fail
;
8140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8144 result
= (bool)((wxTextCtrl
const *)arg1
)->IsMultiLine();
8146 wxPyEndAllowThreads(__tstate
);
8147 if (PyErr_Occurred()) SWIG_fail
;
8150 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8158 static PyObject
*_wrap_TextCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8159 PyObject
*resultobj
;
8160 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8161 long *arg2
= (long *) 0 ;
8162 long *arg3
= (long *) 0 ;
8165 PyObject
* obj0
= 0 ;
8167 (char *) "self", NULL
8172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
8173 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8174 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8177 ((wxTextCtrl
const *)arg1
)->GetSelection(arg2
,arg3
);
8179 wxPyEndAllowThreads(__tstate
);
8180 if (PyErr_Occurred()) SWIG_fail
;
8182 Py_INCREF(Py_None
); resultobj
= Py_None
;
8184 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
8185 resultobj
= t_output_helper(resultobj
,o
);
8188 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
8189 resultobj
= t_output_helper(resultobj
,o
);
8197 static PyObject
*_wrap_TextCtrl_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8198 PyObject
*resultobj
;
8199 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8201 PyObject
* obj0
= 0 ;
8203 (char *) "self", NULL
8206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetStringSelection",kwnames
,&obj0
)) goto fail
;
8207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8211 result
= ((wxTextCtrl
const *)arg1
)->GetStringSelection();
8213 wxPyEndAllowThreads(__tstate
);
8214 if (PyErr_Occurred()) SWIG_fail
;
8218 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8220 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8229 static PyObject
*_wrap_TextCtrl_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8230 PyObject
*resultobj
;
8231 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8232 PyObject
* obj0
= 0 ;
8234 (char *) "self", NULL
8237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Clear",kwnames
,&obj0
)) goto fail
;
8238 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8244 wxPyEndAllowThreads(__tstate
);
8245 if (PyErr_Occurred()) SWIG_fail
;
8247 Py_INCREF(Py_None
); resultobj
= Py_None
;
8254 static PyObject
*_wrap_TextCtrl_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8255 PyObject
*resultobj
;
8256 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8259 wxString
*arg4
= 0 ;
8260 bool temp4
= False
;
8261 PyObject
* obj0
= 0 ;
8262 PyObject
* obj1
= 0 ;
8263 PyObject
* obj2
= 0 ;
8264 PyObject
* obj3
= 0 ;
8266 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
8269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8270 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8272 arg2
= (long) SWIG_AsLong(obj1
);
8273 if (PyErr_Occurred()) SWIG_fail
;
8274 arg3
= (long) SWIG_AsLong(obj2
);
8275 if (PyErr_Occurred()) SWIG_fail
;
8277 arg4
= wxString_in_helper(obj3
);
8278 if (arg4
== NULL
) SWIG_fail
;
8282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8283 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
8285 wxPyEndAllowThreads(__tstate
);
8286 if (PyErr_Occurred()) SWIG_fail
;
8288 Py_INCREF(Py_None
); resultobj
= Py_None
;
8303 static PyObject
*_wrap_TextCtrl_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8304 PyObject
*resultobj
;
8305 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8308 PyObject
* obj0
= 0 ;
8309 PyObject
* obj1
= 0 ;
8310 PyObject
* obj2
= 0 ;
8312 (char *) "self",(char *) "from",(char *) "to", NULL
8315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8316 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8318 arg2
= (long) SWIG_AsLong(obj1
);
8319 if (PyErr_Occurred()) SWIG_fail
;
8320 arg3
= (long) SWIG_AsLong(obj2
);
8321 if (PyErr_Occurred()) SWIG_fail
;
8323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8324 (arg1
)->Remove(arg2
,arg3
);
8326 wxPyEndAllowThreads(__tstate
);
8327 if (PyErr_Occurred()) SWIG_fail
;
8329 Py_INCREF(Py_None
); resultobj
= Py_None
;
8336 static PyObject
*_wrap_TextCtrl_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8337 PyObject
*resultobj
;
8338 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8339 wxString
*arg2
= 0 ;
8341 bool temp2
= False
;
8342 PyObject
* obj0
= 0 ;
8343 PyObject
* obj1
= 0 ;
8345 (char *) "self",(char *) "file", NULL
8348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_LoadFile",kwnames
,&obj0
,&obj1
)) goto fail
;
8349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8352 arg2
= wxString_in_helper(obj1
);
8353 if (arg2
== NULL
) SWIG_fail
;
8357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8358 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
);
8360 wxPyEndAllowThreads(__tstate
);
8361 if (PyErr_Occurred()) SWIG_fail
;
8364 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8380 static PyObject
*_wrap_TextCtrl_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8381 PyObject
*resultobj
;
8382 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8383 wxString
const &arg2_defvalue
= wxPyEmptyString
;
8384 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
8386 bool temp2
= False
;
8387 PyObject
* obj0
= 0 ;
8388 PyObject
* obj1
= 0 ;
8390 (char *) "self",(char *) "file", NULL
8393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_SaveFile",kwnames
,&obj0
,&obj1
)) goto fail
;
8394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8398 arg2
= wxString_in_helper(obj1
);
8399 if (arg2
== NULL
) SWIG_fail
;
8404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8405 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
);
8407 wxPyEndAllowThreads(__tstate
);
8408 if (PyErr_Occurred()) SWIG_fail
;
8411 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8427 static PyObject
*_wrap_TextCtrl_MarkDirty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8428 PyObject
*resultobj
;
8429 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8430 PyObject
* obj0
= 0 ;
8432 (char *) "self", NULL
8435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_MarkDirty",kwnames
,&obj0
)) goto fail
;
8436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8440 (arg1
)->MarkDirty();
8442 wxPyEndAllowThreads(__tstate
);
8443 if (PyErr_Occurred()) SWIG_fail
;
8445 Py_INCREF(Py_None
); resultobj
= Py_None
;
8452 static PyObject
*_wrap_TextCtrl_DiscardEdits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8453 PyObject
*resultobj
;
8454 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8455 PyObject
* obj0
= 0 ;
8457 (char *) "self", NULL
8460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_DiscardEdits",kwnames
,&obj0
)) goto fail
;
8461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8465 (arg1
)->DiscardEdits();
8467 wxPyEndAllowThreads(__tstate
);
8468 if (PyErr_Occurred()) SWIG_fail
;
8470 Py_INCREF(Py_None
); resultobj
= Py_None
;
8477 static PyObject
*_wrap_TextCtrl_SetMaxLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8478 PyObject
*resultobj
;
8479 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8480 unsigned long arg2
;
8481 PyObject
* obj0
= 0 ;
8482 PyObject
* obj1
= 0 ;
8484 (char *) "self",(char *) "len", NULL
8487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) goto fail
;
8488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8490 arg2
= (unsigned long) SWIG_AsUnsignedLong(obj1
);
8491 if (PyErr_Occurred()) SWIG_fail
;
8493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8494 (arg1
)->SetMaxLength(arg2
);
8496 wxPyEndAllowThreads(__tstate
);
8497 if (PyErr_Occurred()) SWIG_fail
;
8499 Py_INCREF(Py_None
); resultobj
= Py_None
;
8506 static PyObject
*_wrap_TextCtrl_WriteText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8507 PyObject
*resultobj
;
8508 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8509 wxString
*arg2
= 0 ;
8510 bool temp2
= False
;
8511 PyObject
* obj0
= 0 ;
8512 PyObject
* obj1
= 0 ;
8514 (char *) "self",(char *) "text", NULL
8517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) goto fail
;
8518 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8519 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8521 arg2
= wxString_in_helper(obj1
);
8522 if (arg2
== NULL
) SWIG_fail
;
8526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8527 (arg1
)->WriteText((wxString
const &)*arg2
);
8529 wxPyEndAllowThreads(__tstate
);
8530 if (PyErr_Occurred()) SWIG_fail
;
8532 Py_INCREF(Py_None
); resultobj
= Py_None
;
8547 static PyObject
*_wrap_TextCtrl_AppendText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8548 PyObject
*resultobj
;
8549 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8550 wxString
*arg2
= 0 ;
8551 bool temp2
= False
;
8552 PyObject
* obj0
= 0 ;
8553 PyObject
* obj1
= 0 ;
8555 (char *) "self",(char *) "text", NULL
8558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) goto fail
;
8559 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8560 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8562 arg2
= wxString_in_helper(obj1
);
8563 if (arg2
== NULL
) SWIG_fail
;
8567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8568 (arg1
)->AppendText((wxString
const &)*arg2
);
8570 wxPyEndAllowThreads(__tstate
);
8571 if (PyErr_Occurred()) SWIG_fail
;
8573 Py_INCREF(Py_None
); resultobj
= Py_None
;
8588 static PyObject
*_wrap_TextCtrl_EmulateKeyPress(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8589 PyObject
*resultobj
;
8590 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8591 wxKeyEvent
*arg2
= 0 ;
8593 PyObject
* obj0
= 0 ;
8594 PyObject
* obj1
= 0 ;
8596 (char *) "self",(char *) "event", NULL
8599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames
,&obj0
,&obj1
)) goto fail
;
8600 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8601 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8602 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxKeyEvent
,
8603 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8606 PyErr_SetString(PyExc_TypeError
,"null reference");
8610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8611 result
= (bool)(arg1
)->EmulateKeyPress((wxKeyEvent
const &)*arg2
);
8613 wxPyEndAllowThreads(__tstate
);
8614 if (PyErr_Occurred()) SWIG_fail
;
8617 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8625 static PyObject
*_wrap_TextCtrl_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8626 PyObject
*resultobj
;
8627 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8630 wxTextAttr
*arg4
= 0 ;
8632 PyObject
* obj0
= 0 ;
8633 PyObject
* obj1
= 0 ;
8634 PyObject
* obj2
= 0 ;
8635 PyObject
* obj3
= 0 ;
8637 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
8640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_SetStyle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8641 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8643 arg2
= (long) SWIG_AsLong(obj1
);
8644 if (PyErr_Occurred()) SWIG_fail
;
8645 arg3
= (long) SWIG_AsLong(obj2
);
8646 if (PyErr_Occurred()) SWIG_fail
;
8647 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxTextAttr
,
8648 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8651 PyErr_SetString(PyExc_TypeError
,"null reference");
8655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8656 result
= (bool)(arg1
)->SetStyle(arg2
,arg3
,(wxTextAttr
const &)*arg4
);
8658 wxPyEndAllowThreads(__tstate
);
8659 if (PyErr_Occurred()) SWIG_fail
;
8662 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8670 static PyObject
*_wrap_TextCtrl_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8671 PyObject
*resultobj
;
8672 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8674 wxTextAttr
*arg3
= 0 ;
8676 PyObject
* obj0
= 0 ;
8677 PyObject
* obj1
= 0 ;
8678 PyObject
* obj2
= 0 ;
8680 (char *) "self",(char *) "position",(char *) "style", NULL
8683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8684 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8686 arg2
= (long) SWIG_AsLong(obj1
);
8687 if (PyErr_Occurred()) SWIG_fail
;
8688 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTextAttr
,
8689 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8692 PyErr_SetString(PyExc_TypeError
,"null reference");
8696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8697 result
= (bool)(arg1
)->GetStyle(arg2
,*arg3
);
8699 wxPyEndAllowThreads(__tstate
);
8700 if (PyErr_Occurred()) SWIG_fail
;
8703 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8711 static PyObject
*_wrap_TextCtrl_SetDefaultStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8712 PyObject
*resultobj
;
8713 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8714 wxTextAttr
*arg2
= 0 ;
8716 PyObject
* obj0
= 0 ;
8717 PyObject
* obj1
= 0 ;
8719 (char *) "self",(char *) "style", NULL
8722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
8723 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8724 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8725 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTextAttr
,
8726 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8729 PyErr_SetString(PyExc_TypeError
,"null reference");
8733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8734 result
= (bool)(arg1
)->SetDefaultStyle((wxTextAttr
const &)*arg2
);
8736 wxPyEndAllowThreads(__tstate
);
8737 if (PyErr_Occurred()) SWIG_fail
;
8740 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8748 static PyObject
*_wrap_TextCtrl_GetDefaultStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8749 PyObject
*resultobj
;
8750 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8752 PyObject
* obj0
= 0 ;
8754 (char *) "self", NULL
8757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetDefaultStyle",kwnames
,&obj0
)) goto fail
;
8758 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8763 wxTextAttr
const &_result_ref
= ((wxTextCtrl
const *)arg1
)->GetDefaultStyle();
8764 result
= (wxTextAttr
*) &_result_ref
;
8767 wxPyEndAllowThreads(__tstate
);
8768 if (PyErr_Occurred()) SWIG_fail
;
8770 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 0);
8777 static PyObject
*_wrap_TextCtrl_XYToPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8778 PyObject
*resultobj
;
8779 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8783 PyObject
* obj0
= 0 ;
8784 PyObject
* obj1
= 0 ;
8785 PyObject
* obj2
= 0 ;
8787 (char *) "self",(char *) "x",(char *) "y", NULL
8790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_XYToPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8793 arg2
= (long) SWIG_AsLong(obj1
);
8794 if (PyErr_Occurred()) SWIG_fail
;
8795 arg3
= (long) SWIG_AsLong(obj2
);
8796 if (PyErr_Occurred()) SWIG_fail
;
8798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8799 result
= (long)((wxTextCtrl
const *)arg1
)->XYToPosition(arg2
,arg3
);
8801 wxPyEndAllowThreads(__tstate
);
8802 if (PyErr_Occurred()) SWIG_fail
;
8804 resultobj
= SWIG_FromLong((long)result
);
8811 static PyObject
*_wrap_TextCtrl_PositionToXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8812 PyObject
*resultobj
;
8813 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8815 long *arg3
= (long *) 0 ;
8816 long *arg4
= (long *) 0 ;
8819 PyObject
* obj0
= 0 ;
8820 PyObject
* obj1
= 0 ;
8822 (char *) "self",(char *) "pos", NULL
8827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_PositionToXY",kwnames
,&obj0
,&obj1
)) goto fail
;
8828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8830 arg2
= (long) SWIG_AsLong(obj1
);
8831 if (PyErr_Occurred()) SWIG_fail
;
8833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8834 ((wxTextCtrl
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
);
8836 wxPyEndAllowThreads(__tstate
);
8837 if (PyErr_Occurred()) SWIG_fail
;
8839 Py_INCREF(Py_None
); resultobj
= Py_None
;
8841 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
8842 resultobj
= t_output_helper(resultobj
,o
);
8845 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
8846 resultobj
= t_output_helper(resultobj
,o
);
8854 static PyObject
*_wrap_TextCtrl_ShowPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8855 PyObject
*resultobj
;
8856 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8858 PyObject
* obj0
= 0 ;
8859 PyObject
* obj1
= 0 ;
8861 (char *) "self",(char *) "pos", NULL
8864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ShowPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
8865 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8867 arg2
= (long) SWIG_AsLong(obj1
);
8868 if (PyErr_Occurred()) SWIG_fail
;
8870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8871 (arg1
)->ShowPosition(arg2
);
8873 wxPyEndAllowThreads(__tstate
);
8874 if (PyErr_Occurred()) SWIG_fail
;
8876 Py_INCREF(Py_None
); resultobj
= Py_None
;
8883 static PyObject
*_wrap_TextCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8884 PyObject
*resultobj
;
8885 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8887 long *arg3
= (long *) 0 ;
8888 long *arg4
= (long *) 0 ;
8893 PyObject
* obj0
= 0 ;
8894 PyObject
* obj1
= 0 ;
8896 (char *) "self",(char *) "pt", NULL
8901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
8902 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8906 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
8909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8910 result
= (int)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
,arg4
);
8912 wxPyEndAllowThreads(__tstate
);
8913 if (PyErr_Occurred()) SWIG_fail
;
8915 resultobj
= SWIG_FromInt((int)result
);
8917 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
8918 resultobj
= t_output_helper(resultobj
,o
);
8921 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
8922 resultobj
= t_output_helper(resultobj
,o
);
8930 static PyObject
*_wrap_TextCtrl_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8931 PyObject
*resultobj
;
8932 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8933 PyObject
* obj0
= 0 ;
8935 (char *) "self", NULL
8938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Copy",kwnames
,&obj0
)) goto fail
;
8939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8945 wxPyEndAllowThreads(__tstate
);
8946 if (PyErr_Occurred()) SWIG_fail
;
8948 Py_INCREF(Py_None
); resultobj
= Py_None
;
8955 static PyObject
*_wrap_TextCtrl_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8956 PyObject
*resultobj
;
8957 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8958 PyObject
* obj0
= 0 ;
8960 (char *) "self", NULL
8963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Cut",kwnames
,&obj0
)) goto fail
;
8964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8970 wxPyEndAllowThreads(__tstate
);
8971 if (PyErr_Occurred()) SWIG_fail
;
8973 Py_INCREF(Py_None
); resultobj
= Py_None
;
8980 static PyObject
*_wrap_TextCtrl_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8981 PyObject
*resultobj
;
8982 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8983 PyObject
* obj0
= 0 ;
8985 (char *) "self", NULL
8988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Paste",kwnames
,&obj0
)) goto fail
;
8989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8995 wxPyEndAllowThreads(__tstate
);
8996 if (PyErr_Occurred()) SWIG_fail
;
8998 Py_INCREF(Py_None
); resultobj
= Py_None
;
9005 static PyObject
*_wrap_TextCtrl_CanCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9006 PyObject
*resultobj
;
9007 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9009 PyObject
* obj0
= 0 ;
9011 (char *) "self", NULL
9014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCopy",kwnames
,&obj0
)) goto fail
;
9015 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9016 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9019 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCopy();
9021 wxPyEndAllowThreads(__tstate
);
9022 if (PyErr_Occurred()) SWIG_fail
;
9025 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9033 static PyObject
*_wrap_TextCtrl_CanCut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9034 PyObject
*resultobj
;
9035 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9037 PyObject
* obj0
= 0 ;
9039 (char *) "self", NULL
9042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCut",kwnames
,&obj0
)) goto fail
;
9043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9047 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCut();
9049 wxPyEndAllowThreads(__tstate
);
9050 if (PyErr_Occurred()) SWIG_fail
;
9053 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9061 static PyObject
*_wrap_TextCtrl_CanPaste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9062 PyObject
*resultobj
;
9063 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9065 PyObject
* obj0
= 0 ;
9067 (char *) "self", NULL
9070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanPaste",kwnames
,&obj0
)) goto fail
;
9071 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9075 result
= (bool)((wxTextCtrl
const *)arg1
)->CanPaste();
9077 wxPyEndAllowThreads(__tstate
);
9078 if (PyErr_Occurred()) SWIG_fail
;
9081 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9089 static PyObject
*_wrap_TextCtrl_Undo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9090 PyObject
*resultobj
;
9091 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9092 PyObject
* obj0
= 0 ;
9094 (char *) "self", NULL
9097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Undo",kwnames
,&obj0
)) goto fail
;
9098 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9104 wxPyEndAllowThreads(__tstate
);
9105 if (PyErr_Occurred()) SWIG_fail
;
9107 Py_INCREF(Py_None
); resultobj
= Py_None
;
9114 static PyObject
*_wrap_TextCtrl_Redo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9115 PyObject
*resultobj
;
9116 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9117 PyObject
* obj0
= 0 ;
9119 (char *) "self", NULL
9122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Redo",kwnames
,&obj0
)) goto fail
;
9123 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9129 wxPyEndAllowThreads(__tstate
);
9130 if (PyErr_Occurred()) SWIG_fail
;
9132 Py_INCREF(Py_None
); resultobj
= Py_None
;
9139 static PyObject
*_wrap_TextCtrl_CanUndo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9140 PyObject
*resultobj
;
9141 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9143 PyObject
* obj0
= 0 ;
9145 (char *) "self", NULL
9148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanUndo",kwnames
,&obj0
)) goto fail
;
9149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9153 result
= (bool)((wxTextCtrl
const *)arg1
)->CanUndo();
9155 wxPyEndAllowThreads(__tstate
);
9156 if (PyErr_Occurred()) SWIG_fail
;
9159 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9167 static PyObject
*_wrap_TextCtrl_CanRedo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9168 PyObject
*resultobj
;
9169 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9171 PyObject
* obj0
= 0 ;
9173 (char *) "self", NULL
9176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanRedo",kwnames
,&obj0
)) goto fail
;
9177 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9181 result
= (bool)((wxTextCtrl
const *)arg1
)->CanRedo();
9183 wxPyEndAllowThreads(__tstate
);
9184 if (PyErr_Occurred()) SWIG_fail
;
9187 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9195 static PyObject
*_wrap_TextCtrl_SetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9196 PyObject
*resultobj
;
9197 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9199 PyObject
* obj0
= 0 ;
9200 PyObject
* obj1
= 0 ;
9202 (char *) "self",(char *) "pos", NULL
9205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
9206 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9208 arg2
= (long) SWIG_AsLong(obj1
);
9209 if (PyErr_Occurred()) SWIG_fail
;
9211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9212 (arg1
)->SetInsertionPoint(arg2
);
9214 wxPyEndAllowThreads(__tstate
);
9215 if (PyErr_Occurred()) SWIG_fail
;
9217 Py_INCREF(Py_None
); resultobj
= Py_None
;
9224 static PyObject
*_wrap_TextCtrl_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9225 PyObject
*resultobj
;
9226 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9227 PyObject
* obj0
= 0 ;
9229 (char *) "self", NULL
9232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
9233 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9237 (arg1
)->SetInsertionPointEnd();
9239 wxPyEndAllowThreads(__tstate
);
9240 if (PyErr_Occurred()) SWIG_fail
;
9242 Py_INCREF(Py_None
); resultobj
= Py_None
;
9249 static PyObject
*_wrap_TextCtrl_GetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9250 PyObject
*resultobj
;
9251 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9253 PyObject
* obj0
= 0 ;
9255 (char *) "self", NULL
9258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
9259 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9260 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9263 result
= (long)((wxTextCtrl
const *)arg1
)->GetInsertionPoint();
9265 wxPyEndAllowThreads(__tstate
);
9266 if (PyErr_Occurred()) SWIG_fail
;
9268 resultobj
= SWIG_FromLong((long)result
);
9275 static PyObject
*_wrap_TextCtrl_GetLastPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9276 PyObject
*resultobj
;
9277 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9279 PyObject
* obj0
= 0 ;
9281 (char *) "self", NULL
9284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetLastPosition",kwnames
,&obj0
)) goto fail
;
9285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9289 result
= (long)((wxTextCtrl
const *)arg1
)->GetLastPosition();
9291 wxPyEndAllowThreads(__tstate
);
9292 if (PyErr_Occurred()) SWIG_fail
;
9294 resultobj
= SWIG_FromLong((long)result
);
9301 static PyObject
*_wrap_TextCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9302 PyObject
*resultobj
;
9303 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9306 PyObject
* obj0
= 0 ;
9307 PyObject
* obj1
= 0 ;
9308 PyObject
* obj2
= 0 ;
9310 (char *) "self",(char *) "from",(char *) "to", NULL
9313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9314 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9316 arg2
= (long) SWIG_AsLong(obj1
);
9317 if (PyErr_Occurred()) SWIG_fail
;
9318 arg3
= (long) SWIG_AsLong(obj2
);
9319 if (PyErr_Occurred()) SWIG_fail
;
9321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9322 (arg1
)->SetSelection(arg2
,arg3
);
9324 wxPyEndAllowThreads(__tstate
);
9325 if (PyErr_Occurred()) SWIG_fail
;
9327 Py_INCREF(Py_None
); resultobj
= Py_None
;
9334 static PyObject
*_wrap_TextCtrl_SelectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9335 PyObject
*resultobj
;
9336 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9337 PyObject
* obj0
= 0 ;
9339 (char *) "self", NULL
9342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SelectAll",kwnames
,&obj0
)) goto fail
;
9343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9347 (arg1
)->SelectAll();
9349 wxPyEndAllowThreads(__tstate
);
9350 if (PyErr_Occurred()) SWIG_fail
;
9352 Py_INCREF(Py_None
); resultobj
= Py_None
;
9359 static PyObject
*_wrap_TextCtrl_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9360 PyObject
*resultobj
;
9361 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9363 PyObject
* obj0
= 0 ;
9364 PyObject
* obj1
= 0 ;
9366 (char *) "self",(char *) "editable", NULL
9369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
9370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9372 arg2
= (bool) SWIG_AsBool(obj1
);
9373 if (PyErr_Occurred()) SWIG_fail
;
9375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9376 (arg1
)->SetEditable(arg2
);
9378 wxPyEndAllowThreads(__tstate
);
9379 if (PyErr_Occurred()) SWIG_fail
;
9381 Py_INCREF(Py_None
); resultobj
= Py_None
;
9388 static PyObject
*_wrap_TextCtrl_ShowNativeCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9389 PyObject
*resultobj
;
9390 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9391 bool arg2
= (bool) True
;
9393 PyObject
* obj0
= 0 ;
9394 PyObject
* obj1
= 0 ;
9396 (char *) "self",(char *) "show", NULL
9399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_ShowNativeCaret",kwnames
,&obj0
,&obj1
)) goto fail
;
9400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9403 arg2
= (bool) SWIG_AsBool(obj1
);
9404 if (PyErr_Occurred()) SWIG_fail
;
9407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9408 result
= (bool)(arg1
)->ShowNativeCaret(arg2
);
9410 wxPyEndAllowThreads(__tstate
);
9411 if (PyErr_Occurred()) SWIG_fail
;
9414 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9422 static PyObject
*_wrap_TextCtrl_HideNativeCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9423 PyObject
*resultobj
;
9424 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9426 PyObject
* obj0
= 0 ;
9428 (char *) "self", NULL
9431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_HideNativeCaret",kwnames
,&obj0
)) goto fail
;
9432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9436 result
= (bool)(arg1
)->HideNativeCaret();
9438 wxPyEndAllowThreads(__tstate
);
9439 if (PyErr_Occurred()) SWIG_fail
;
9442 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9450 static PyObject
*_wrap_TextCtrl_write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9451 PyObject
*resultobj
;
9452 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9453 wxString
*arg2
= 0 ;
9454 bool temp2
= False
;
9455 PyObject
* obj0
= 0 ;
9456 PyObject
* obj1
= 0 ;
9458 (char *) "self",(char *) "text", NULL
9461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_write",kwnames
,&obj0
,&obj1
)) goto fail
;
9462 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9465 arg2
= wxString_in_helper(obj1
);
9466 if (arg2
== NULL
) SWIG_fail
;
9470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9471 wxTextCtrl_write(arg1
,(wxString
const &)*arg2
);
9473 wxPyEndAllowThreads(__tstate
);
9474 if (PyErr_Occurred()) SWIG_fail
;
9476 Py_INCREF(Py_None
); resultobj
= Py_None
;
9491 static PyObject
*_wrap_TextCtrl_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9492 PyObject
*resultobj
;
9493 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9497 PyObject
* obj0
= 0 ;
9498 PyObject
* obj1
= 0 ;
9499 PyObject
* obj2
= 0 ;
9501 (char *) "self",(char *) "from",(char *) "to", NULL
9504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9507 arg2
= (long) SWIG_AsLong(obj1
);
9508 if (PyErr_Occurred()) SWIG_fail
;
9509 arg3
= (long) SWIG_AsLong(obj2
);
9510 if (PyErr_Occurred()) SWIG_fail
;
9512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9513 result
= wxTextCtrl_GetString(arg1
,arg2
,arg3
);
9515 wxPyEndAllowThreads(__tstate
);
9516 if (PyErr_Occurred()) SWIG_fail
;
9520 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9522 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9531 static PyObject
* TextCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
9533 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9534 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl
, obj
);
9536 return Py_BuildValue((char *)"");
9538 static PyObject
*_wrap_new_TextUrlEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9539 PyObject
*resultobj
;
9541 wxMouseEvent
*arg2
= 0 ;
9544 wxTextUrlEvent
*result
;
9545 PyObject
* obj0
= 0 ;
9546 PyObject
* obj1
= 0 ;
9547 PyObject
* obj2
= 0 ;
9548 PyObject
* obj3
= 0 ;
9550 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
9553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_TextUrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9554 arg1
= (int) SWIG_AsInt(obj0
);
9555 if (PyErr_Occurred()) SWIG_fail
;
9556 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMouseEvent
,
9557 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9560 PyErr_SetString(PyExc_TypeError
,"null reference");
9563 arg3
= (long) SWIG_AsLong(obj2
);
9564 if (PyErr_Occurred()) SWIG_fail
;
9565 arg4
= (long) SWIG_AsLong(obj3
);
9566 if (PyErr_Occurred()) SWIG_fail
;
9568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9569 result
= (wxTextUrlEvent
*)new wxTextUrlEvent(arg1
,(wxMouseEvent
const &)*arg2
,arg3
,arg4
);
9571 wxPyEndAllowThreads(__tstate
);
9572 if (PyErr_Occurred()) SWIG_fail
;
9574 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextUrlEvent
, 1);
9581 static PyObject
*_wrap_TextUrlEvent_GetMouseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9582 PyObject
*resultobj
;
9583 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
9584 wxMouseEvent
*result
;
9585 PyObject
* obj0
= 0 ;
9587 (char *) "self", NULL
9590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames
,&obj0
)) goto fail
;
9591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextUrlEvent
,
9592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9596 wxMouseEvent
const &_result_ref
= (arg1
)->GetMouseEvent();
9597 result
= (wxMouseEvent
*) &_result_ref
;
9600 wxPyEndAllowThreads(__tstate
);
9601 if (PyErr_Occurred()) SWIG_fail
;
9603 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseEvent
, 0);
9610 static PyObject
*_wrap_TextUrlEvent_GetURLStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9611 PyObject
*resultobj
;
9612 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
9614 PyObject
* obj0
= 0 ;
9616 (char *) "self", NULL
9619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLStart",kwnames
,&obj0
)) goto fail
;
9620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextUrlEvent
,
9621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9624 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLStart();
9626 wxPyEndAllowThreads(__tstate
);
9627 if (PyErr_Occurred()) SWIG_fail
;
9629 resultobj
= SWIG_FromLong((long)result
);
9636 static PyObject
*_wrap_TextUrlEvent_GetURLEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9637 PyObject
*resultobj
;
9638 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
9640 PyObject
* obj0
= 0 ;
9642 (char *) "self", NULL
9645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLEnd",kwnames
,&obj0
)) goto fail
;
9646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextUrlEvent
,
9647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9650 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLEnd();
9652 wxPyEndAllowThreads(__tstate
);
9653 if (PyErr_Occurred()) SWIG_fail
;
9655 resultobj
= SWIG_FromLong((long)result
);
9662 static PyObject
* TextUrlEvent_swigregister(PyObject
*self
, PyObject
*args
) {
9664 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9665 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent
, obj
);
9667 return Py_BuildValue((char *)"");
9669 static int _wrap_ScrollBarNameStr_set(PyObject
*_val
) {
9670 PyErr_SetString(PyExc_TypeError
,"Variable ScrollBarNameStr is read-only.");
9675 static PyObject
*_wrap_ScrollBarNameStr_get() {
9680 pyobj
= PyUnicode_FromWideChar((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
9682 pyobj
= PyString_FromStringAndSize((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
9689 static PyObject
*_wrap_new_ScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9690 PyObject
*resultobj
;
9691 wxWindow
*arg1
= (wxWindow
*) 0 ;
9692 int arg2
= (int) -1 ;
9693 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9694 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9695 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9696 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9697 long arg5
= (long) wxSB_HORIZONTAL
;
9698 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
9699 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
9700 wxString
const &arg7_defvalue
= wxPyScrollBarNameStr
;
9701 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9702 wxScrollBar
*result
;
9705 bool temp7
= False
;
9706 PyObject
* obj0
= 0 ;
9707 PyObject
* obj1
= 0 ;
9708 PyObject
* obj2
= 0 ;
9709 PyObject
* obj3
= 0 ;
9710 PyObject
* obj4
= 0 ;
9711 PyObject
* obj5
= 0 ;
9712 PyObject
* obj6
= 0 ;
9714 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ScrollBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
9718 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
9719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9721 arg2
= (int) SWIG_AsInt(obj1
);
9722 if (PyErr_Occurred()) SWIG_fail
;
9727 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9733 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9737 arg5
= (long) SWIG_AsLong(obj4
);
9738 if (PyErr_Occurred()) SWIG_fail
;
9741 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
9742 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9745 PyErr_SetString(PyExc_TypeError
,"null reference");
9751 arg7
= wxString_in_helper(obj6
);
9752 if (arg7
== NULL
) SWIG_fail
;
9757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9758 result
= (wxScrollBar
*)new wxScrollBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
9760 wxPyEndAllowThreads(__tstate
);
9761 if (PyErr_Occurred()) SWIG_fail
;
9763 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollBar
, 1);
9778 static PyObject
*_wrap_new_PreScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9779 PyObject
*resultobj
;
9780 wxScrollBar
*result
;
9785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrollBar",kwnames
)) goto fail
;
9787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9788 result
= (wxScrollBar
*)new wxScrollBar();
9790 wxPyEndAllowThreads(__tstate
);
9791 if (PyErr_Occurred()) SWIG_fail
;
9793 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollBar
, 1);
9800 static PyObject
*_wrap_ScrollBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9801 PyObject
*resultobj
;
9802 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9803 wxWindow
*arg2
= (wxWindow
*) 0 ;
9804 int arg3
= (int) -1 ;
9805 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9806 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9807 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9808 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9809 long arg6
= (long) wxSB_HORIZONTAL
;
9810 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
9811 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
9812 wxString
const &arg8_defvalue
= wxPyScrollBarNameStr
;
9813 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
9817 bool temp8
= False
;
9818 PyObject
* obj0
= 0 ;
9819 PyObject
* obj1
= 0 ;
9820 PyObject
* obj2
= 0 ;
9821 PyObject
* obj3
= 0 ;
9822 PyObject
* obj4
= 0 ;
9823 PyObject
* obj5
= 0 ;
9824 PyObject
* obj6
= 0 ;
9825 PyObject
* obj7
= 0 ;
9827 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
9831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
9832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9833 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
9834 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9836 arg3
= (int) SWIG_AsInt(obj2
);
9837 if (PyErr_Occurred()) SWIG_fail
;
9842 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9848 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9852 arg6
= (long) SWIG_AsLong(obj5
);
9853 if (PyErr_Occurred()) SWIG_fail
;
9856 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
9857 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9860 PyErr_SetString(PyExc_TypeError
,"null reference");
9866 arg8
= wxString_in_helper(obj7
);
9867 if (arg8
== NULL
) SWIG_fail
;
9872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9873 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
9875 wxPyEndAllowThreads(__tstate
);
9876 if (PyErr_Occurred()) SWIG_fail
;
9879 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9895 static PyObject
*_wrap_ScrollBar_GetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9896 PyObject
*resultobj
;
9897 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9899 PyObject
* obj0
= 0 ;
9901 (char *) "self", NULL
9904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbPosition",kwnames
,&obj0
)) goto fail
;
9905 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
9906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9909 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbPosition();
9911 wxPyEndAllowThreads(__tstate
);
9912 if (PyErr_Occurred()) SWIG_fail
;
9914 resultobj
= SWIG_FromInt((int)result
);
9921 static PyObject
*_wrap_ScrollBar_GetThumbSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9922 PyObject
*resultobj
;
9923 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9925 PyObject
* obj0
= 0 ;
9927 (char *) "self", NULL
9930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbSize",kwnames
,&obj0
)) goto fail
;
9931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
9932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9935 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbSize();
9937 wxPyEndAllowThreads(__tstate
);
9938 if (PyErr_Occurred()) SWIG_fail
;
9940 resultobj
= SWIG_FromInt((int)result
);
9947 static PyObject
*_wrap_ScrollBar_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9948 PyObject
*resultobj
;
9949 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9951 PyObject
* obj0
= 0 ;
9953 (char *) "self", NULL
9956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetPageSize",kwnames
,&obj0
)) goto fail
;
9957 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
9958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9961 result
= (int)((wxScrollBar
const *)arg1
)->GetPageSize();
9963 wxPyEndAllowThreads(__tstate
);
9964 if (PyErr_Occurred()) SWIG_fail
;
9966 resultobj
= SWIG_FromInt((int)result
);
9973 static PyObject
*_wrap_ScrollBar_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9974 PyObject
*resultobj
;
9975 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9977 PyObject
* obj0
= 0 ;
9979 (char *) "self", NULL
9982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetRange",kwnames
,&obj0
)) goto fail
;
9983 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
9984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9987 result
= (int)((wxScrollBar
const *)arg1
)->GetRange();
9989 wxPyEndAllowThreads(__tstate
);
9990 if (PyErr_Occurred()) SWIG_fail
;
9992 resultobj
= SWIG_FromInt((int)result
);
9999 static PyObject
*_wrap_ScrollBar_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10000 PyObject
*resultobj
;
10001 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10003 PyObject
* obj0
= 0 ;
10004 char *kwnames
[] = {
10005 (char *) "self", NULL
10008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_IsVertical",kwnames
,&obj0
)) goto fail
;
10009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10013 result
= (bool)((wxScrollBar
const *)arg1
)->IsVertical();
10015 wxPyEndAllowThreads(__tstate
);
10016 if (PyErr_Occurred()) SWIG_fail
;
10019 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10027 static PyObject
*_wrap_ScrollBar_SetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10028 PyObject
*resultobj
;
10029 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10031 PyObject
* obj0
= 0 ;
10032 PyObject
* obj1
= 0 ;
10033 char *kwnames
[] = {
10034 (char *) "self",(char *) "viewStart", NULL
10037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollBar_SetThumbPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
10038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10040 arg2
= (int) SWIG_AsInt(obj1
);
10041 if (PyErr_Occurred()) SWIG_fail
;
10043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10044 (arg1
)->SetThumbPosition(arg2
);
10046 wxPyEndAllowThreads(__tstate
);
10047 if (PyErr_Occurred()) SWIG_fail
;
10049 Py_INCREF(Py_None
); resultobj
= Py_None
;
10056 static PyObject
*_wrap_ScrollBar_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10057 PyObject
*resultobj
;
10058 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10063 bool arg6
= (bool) True
;
10064 PyObject
* obj0
= 0 ;
10065 PyObject
* obj1
= 0 ;
10066 PyObject
* obj2
= 0 ;
10067 PyObject
* obj3
= 0 ;
10068 PyObject
* obj4
= 0 ;
10069 PyObject
* obj5
= 0 ;
10070 char *kwnames
[] = {
10071 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
10074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:ScrollBar_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10075 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10077 arg2
= (int) SWIG_AsInt(obj1
);
10078 if (PyErr_Occurred()) SWIG_fail
;
10079 arg3
= (int) SWIG_AsInt(obj2
);
10080 if (PyErr_Occurred()) SWIG_fail
;
10081 arg4
= (int) SWIG_AsInt(obj3
);
10082 if (PyErr_Occurred()) SWIG_fail
;
10083 arg5
= (int) SWIG_AsInt(obj4
);
10084 if (PyErr_Occurred()) SWIG_fail
;
10086 arg6
= (bool) SWIG_AsBool(obj5
);
10087 if (PyErr_Occurred()) SWIG_fail
;
10090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10091 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
10093 wxPyEndAllowThreads(__tstate
);
10094 if (PyErr_Occurred()) SWIG_fail
;
10096 Py_INCREF(Py_None
); resultobj
= Py_None
;
10103 static PyObject
* ScrollBar_swigregister(PyObject
*self
, PyObject
*args
) {
10105 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10106 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar
, obj
);
10108 return Py_BuildValue((char *)"");
10110 static int _wrap_SPIN_BUTTON_NAME_set(PyObject
*_val
) {
10111 PyErr_SetString(PyExc_TypeError
,"Variable SPIN_BUTTON_NAME is read-only.");
10116 static PyObject
*_wrap_SPIN_BUTTON_NAME_get() {
10121 pyobj
= PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
10123 pyobj
= PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
10130 static int _wrap_SpinCtrlNameStr_set(PyObject
*_val
) {
10131 PyErr_SetString(PyExc_TypeError
,"Variable SpinCtrlNameStr is read-only.");
10136 static PyObject
*_wrap_SpinCtrlNameStr_get() {
10141 pyobj
= PyUnicode_FromWideChar((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
10143 pyobj
= PyString_FromStringAndSize((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
10150 static PyObject
*_wrap_new_SpinButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10151 PyObject
*resultobj
;
10152 wxWindow
*arg1
= (wxWindow
*) 0 ;
10153 int arg2
= (int) -1 ;
10154 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10155 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10156 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10157 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10158 long arg5
= (long) wxSP_HORIZONTAL
;
10159 wxString
const &arg6_defvalue
= wxPySPIN_BUTTON_NAME
;
10160 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10161 wxSpinButton
*result
;
10164 bool temp6
= 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 char *kwnames
[] = {
10172 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SpinButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10179 arg2
= (int) SWIG_AsInt(obj1
);
10180 if (PyErr_Occurred()) SWIG_fail
;
10185 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10191 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10195 arg5
= (long) SWIG_AsLong(obj4
);
10196 if (PyErr_Occurred()) SWIG_fail
;
10200 arg6
= wxString_in_helper(obj5
);
10201 if (arg6
== NULL
) SWIG_fail
;
10206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10207 result
= (wxSpinButton
*)new wxSpinButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10209 wxPyEndAllowThreads(__tstate
);
10210 if (PyErr_Occurred()) SWIG_fail
;
10212 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinButton
, 1);
10227 static PyObject
*_wrap_new_PreSpinButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10228 PyObject
*resultobj
;
10229 wxSpinButton
*result
;
10230 char *kwnames
[] = {
10234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinButton",kwnames
)) goto fail
;
10236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10237 result
= (wxSpinButton
*)new wxSpinButton();
10239 wxPyEndAllowThreads(__tstate
);
10240 if (PyErr_Occurred()) SWIG_fail
;
10242 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinButton
, 1);
10249 static PyObject
*_wrap_SpinButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10250 PyObject
*resultobj
;
10251 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10252 wxWindow
*arg2
= (wxWindow
*) 0 ;
10253 int arg3
= (int) -1 ;
10254 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10255 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10256 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10257 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10258 long arg6
= (long) wxSP_HORIZONTAL
;
10259 wxString
const &arg7_defvalue
= wxPySPIN_BUTTON_NAME
;
10260 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10264 bool temp7
= False
;
10265 PyObject
* obj0
= 0 ;
10266 PyObject
* obj1
= 0 ;
10267 PyObject
* obj2
= 0 ;
10268 PyObject
* obj3
= 0 ;
10269 PyObject
* obj4
= 0 ;
10270 PyObject
* obj5
= 0 ;
10271 PyObject
* obj6
= 0 ;
10272 char *kwnames
[] = {
10273 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SpinButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10279 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10282 arg3
= (int) SWIG_AsInt(obj2
);
10283 if (PyErr_Occurred()) SWIG_fail
;
10288 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10294 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10298 arg6
= (long) SWIG_AsLong(obj5
);
10299 if (PyErr_Occurred()) SWIG_fail
;
10303 arg7
= wxString_in_helper(obj6
);
10304 if (arg7
== NULL
) SWIG_fail
;
10309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10310 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
10312 wxPyEndAllowThreads(__tstate
);
10313 if (PyErr_Occurred()) SWIG_fail
;
10316 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10332 static PyObject
*_wrap_SpinButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10333 PyObject
*resultobj
;
10334 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10336 PyObject
* obj0
= 0 ;
10337 char *kwnames
[] = {
10338 (char *) "self", NULL
10341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetValue",kwnames
,&obj0
)) goto fail
;
10342 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10346 result
= (int)((wxSpinButton
const *)arg1
)->GetValue();
10348 wxPyEndAllowThreads(__tstate
);
10349 if (PyErr_Occurred()) SWIG_fail
;
10351 resultobj
= SWIG_FromInt((int)result
);
10358 static PyObject
*_wrap_SpinButton_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10359 PyObject
*resultobj
;
10360 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10362 PyObject
* obj0
= 0 ;
10363 char *kwnames
[] = {
10364 (char *) "self", NULL
10367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMin",kwnames
,&obj0
)) goto fail
;
10368 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10369 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10372 result
= (int)((wxSpinButton
const *)arg1
)->GetMin();
10374 wxPyEndAllowThreads(__tstate
);
10375 if (PyErr_Occurred()) SWIG_fail
;
10377 resultobj
= SWIG_FromInt((int)result
);
10384 static PyObject
*_wrap_SpinButton_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10385 PyObject
*resultobj
;
10386 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10388 PyObject
* obj0
= 0 ;
10389 char *kwnames
[] = {
10390 (char *) "self", NULL
10393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMax",kwnames
,&obj0
)) goto fail
;
10394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10398 result
= (int)((wxSpinButton
const *)arg1
)->GetMax();
10400 wxPyEndAllowThreads(__tstate
);
10401 if (PyErr_Occurred()) SWIG_fail
;
10403 resultobj
= SWIG_FromInt((int)result
);
10410 static PyObject
*_wrap_SpinButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10411 PyObject
*resultobj
;
10412 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10414 PyObject
* obj0
= 0 ;
10415 PyObject
* obj1
= 0 ;
10416 char *kwnames
[] = {
10417 (char *) "self",(char *) "val", NULL
10420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
10421 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10423 arg2
= (int) SWIG_AsInt(obj1
);
10424 if (PyErr_Occurred()) SWIG_fail
;
10426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10427 (arg1
)->SetValue(arg2
);
10429 wxPyEndAllowThreads(__tstate
);
10430 if (PyErr_Occurred()) SWIG_fail
;
10432 Py_INCREF(Py_None
); resultobj
= Py_None
;
10439 static PyObject
*_wrap_SpinButton_SetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10440 PyObject
*resultobj
;
10441 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10443 PyObject
* obj0
= 0 ;
10444 PyObject
* obj1
= 0 ;
10445 char *kwnames
[] = {
10446 (char *) "self",(char *) "minVal", NULL
10449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
10450 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10452 arg2
= (int) SWIG_AsInt(obj1
);
10453 if (PyErr_Occurred()) SWIG_fail
;
10455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10456 (arg1
)->SetMin(arg2
);
10458 wxPyEndAllowThreads(__tstate
);
10459 if (PyErr_Occurred()) SWIG_fail
;
10461 Py_INCREF(Py_None
); resultobj
= Py_None
;
10468 static PyObject
*_wrap_SpinButton_SetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10469 PyObject
*resultobj
;
10470 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10472 PyObject
* obj0
= 0 ;
10473 PyObject
* obj1
= 0 ;
10474 char *kwnames
[] = {
10475 (char *) "self",(char *) "maxVal", NULL
10478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
10479 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10480 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10481 arg2
= (int) SWIG_AsInt(obj1
);
10482 if (PyErr_Occurred()) SWIG_fail
;
10484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10485 (arg1
)->SetMax(arg2
);
10487 wxPyEndAllowThreads(__tstate
);
10488 if (PyErr_Occurred()) SWIG_fail
;
10490 Py_INCREF(Py_None
); resultobj
= Py_None
;
10497 static PyObject
*_wrap_SpinButton_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10498 PyObject
*resultobj
;
10499 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10502 PyObject
* obj0
= 0 ;
10503 PyObject
* obj1
= 0 ;
10504 PyObject
* obj2
= 0 ;
10505 char *kwnames
[] = {
10506 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
10509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinButton_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10510 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10512 arg2
= (int) SWIG_AsInt(obj1
);
10513 if (PyErr_Occurred()) SWIG_fail
;
10514 arg3
= (int) SWIG_AsInt(obj2
);
10515 if (PyErr_Occurred()) SWIG_fail
;
10517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10518 (arg1
)->SetRange(arg2
,arg3
);
10520 wxPyEndAllowThreads(__tstate
);
10521 if (PyErr_Occurred()) SWIG_fail
;
10523 Py_INCREF(Py_None
); resultobj
= Py_None
;
10530 static PyObject
*_wrap_SpinButton_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10531 PyObject
*resultobj
;
10532 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10534 PyObject
* obj0
= 0 ;
10535 char *kwnames
[] = {
10536 (char *) "self", NULL
10539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_IsVertical",kwnames
,&obj0
)) goto fail
;
10540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10544 result
= (bool)((wxSpinButton
const *)arg1
)->IsVertical();
10546 wxPyEndAllowThreads(__tstate
);
10547 if (PyErr_Occurred()) SWIG_fail
;
10550 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10558 static PyObject
* SpinButton_swigregister(PyObject
*self
, PyObject
*args
) {
10560 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10561 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton
, obj
);
10563 return Py_BuildValue((char *)"");
10565 static PyObject
*_wrap_new_SpinCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10566 PyObject
*resultobj
;
10567 wxWindow
*arg1
= (wxWindow
*) 0 ;
10568 int arg2
= (int) -1 ;
10569 wxString
const &arg3_defvalue
= wxPyEmptyString
;
10570 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
10571 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10572 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10573 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10574 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10575 long arg6
= (long) wxSP_ARROW_KEYS
;
10576 int arg7
= (int) 0 ;
10577 int arg8
= (int) 100 ;
10578 int arg9
= (int) 0 ;
10579 wxString
const &arg10_defvalue
= wxPySpinCtrlNameStr
;
10580 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
10581 wxSpinCtrl
*result
;
10582 bool temp3
= False
;
10585 bool temp10
= False
;
10586 PyObject
* obj0
= 0 ;
10587 PyObject
* obj1
= 0 ;
10588 PyObject
* obj2
= 0 ;
10589 PyObject
* obj3
= 0 ;
10590 PyObject
* obj4
= 0 ;
10591 PyObject
* obj5
= 0 ;
10592 PyObject
* obj6
= 0 ;
10593 PyObject
* obj7
= 0 ;
10594 PyObject
* obj8
= 0 ;
10595 PyObject
* obj9
= 0 ;
10596 char *kwnames
[] = {
10597 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
10600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
10601 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10602 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10604 arg2
= (int) SWIG_AsInt(obj1
);
10605 if (PyErr_Occurred()) SWIG_fail
;
10609 arg3
= wxString_in_helper(obj2
);
10610 if (arg3
== NULL
) SWIG_fail
;
10617 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10623 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10627 arg6
= (long) SWIG_AsLong(obj5
);
10628 if (PyErr_Occurred()) SWIG_fail
;
10631 arg7
= (int) SWIG_AsInt(obj6
);
10632 if (PyErr_Occurred()) SWIG_fail
;
10635 arg8
= (int) SWIG_AsInt(obj7
);
10636 if (PyErr_Occurred()) SWIG_fail
;
10639 arg9
= (int) SWIG_AsInt(obj8
);
10640 if (PyErr_Occurred()) SWIG_fail
;
10644 arg10
= wxString_in_helper(obj9
);
10645 if (arg10
== NULL
) SWIG_fail
;
10650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10651 result
= (wxSpinCtrl
*)new wxSpinCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,(wxString
const &)*arg10
);
10653 wxPyEndAllowThreads(__tstate
);
10654 if (PyErr_Occurred()) SWIG_fail
;
10656 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinCtrl
, 1);
10679 static PyObject
*_wrap_new_PreSpinCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10680 PyObject
*resultobj
;
10681 wxSpinCtrl
*result
;
10682 char *kwnames
[] = {
10686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinCtrl",kwnames
)) goto fail
;
10688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10689 result
= (wxSpinCtrl
*)new wxSpinCtrl();
10691 wxPyEndAllowThreads(__tstate
);
10692 if (PyErr_Occurred()) SWIG_fail
;
10694 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinCtrl
, 1);
10701 static PyObject
*_wrap_SpinCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10702 PyObject
*resultobj
;
10703 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10704 wxWindow
*arg2
= (wxWindow
*) 0 ;
10705 int arg3
= (int) -1 ;
10706 wxString
const &arg4_defvalue
= wxPyEmptyString
;
10707 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
10708 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
10709 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
10710 wxSize
const &arg6_defvalue
= wxDefaultSize
;
10711 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
10712 long arg7
= (long) wxSP_ARROW_KEYS
;
10713 int arg8
= (int) 0 ;
10714 int arg9
= (int) 100 ;
10715 int arg10
= (int) 0 ;
10716 wxString
const &arg11_defvalue
= wxPySpinCtrlNameStr
;
10717 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
10719 bool temp4
= False
;
10722 bool temp11
= False
;
10723 PyObject
* obj0
= 0 ;
10724 PyObject
* obj1
= 0 ;
10725 PyObject
* obj2
= 0 ;
10726 PyObject
* obj3
= 0 ;
10727 PyObject
* obj4
= 0 ;
10728 PyObject
* obj5
= 0 ;
10729 PyObject
* obj6
= 0 ;
10730 PyObject
* obj7
= 0 ;
10731 PyObject
* obj8
= 0 ;
10732 PyObject
* obj9
= 0 ;
10733 PyObject
* obj10
= 0 ;
10734 char *kwnames
[] = {
10735 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
10738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
10739 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
10740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10741 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10744 arg3
= (int) SWIG_AsInt(obj2
);
10745 if (PyErr_Occurred()) SWIG_fail
;
10749 arg4
= wxString_in_helper(obj3
);
10750 if (arg4
== NULL
) SWIG_fail
;
10757 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
10763 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
10767 arg7
= (long) SWIG_AsLong(obj6
);
10768 if (PyErr_Occurred()) SWIG_fail
;
10771 arg8
= (int) SWIG_AsInt(obj7
);
10772 if (PyErr_Occurred()) SWIG_fail
;
10775 arg9
= (int) SWIG_AsInt(obj8
);
10776 if (PyErr_Occurred()) SWIG_fail
;
10779 arg10
= (int) SWIG_AsInt(obj9
);
10780 if (PyErr_Occurred()) SWIG_fail
;
10784 arg11
= wxString_in_helper(obj10
);
10785 if (arg11
== NULL
) SWIG_fail
;
10790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10791 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,arg10
,(wxString
const &)*arg11
);
10793 wxPyEndAllowThreads(__tstate
);
10794 if (PyErr_Occurred()) SWIG_fail
;
10797 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10821 static PyObject
*_wrap_SpinCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10822 PyObject
*resultobj
;
10823 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10825 PyObject
* obj0
= 0 ;
10826 char *kwnames
[] = {
10827 (char *) "self", NULL
10830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
10831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
10832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10835 result
= (int)((wxSpinCtrl
const *)arg1
)->GetValue();
10837 wxPyEndAllowThreads(__tstate
);
10838 if (PyErr_Occurred()) SWIG_fail
;
10840 resultobj
= SWIG_FromInt((int)result
);
10847 static PyObject
*_wrap_SpinCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10848 PyObject
*resultobj
;
10849 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10851 PyObject
* obj0
= 0 ;
10852 PyObject
* obj1
= 0 ;
10853 char *kwnames
[] = {
10854 (char *) "self",(char *) "value", NULL
10857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
10858 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
10859 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10860 arg2
= (int) SWIG_AsInt(obj1
);
10861 if (PyErr_Occurred()) SWIG_fail
;
10863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10864 (arg1
)->SetValue(arg2
);
10866 wxPyEndAllowThreads(__tstate
);
10867 if (PyErr_Occurred()) SWIG_fail
;
10869 Py_INCREF(Py_None
); resultobj
= Py_None
;
10876 static PyObject
*_wrap_SpinCtrl_SetValueString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10877 PyObject
*resultobj
;
10878 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10879 wxString
*arg2
= 0 ;
10880 bool temp2
= False
;
10881 PyObject
* obj0
= 0 ;
10882 PyObject
* obj1
= 0 ;
10883 char *kwnames
[] = {
10884 (char *) "self",(char *) "text", NULL
10887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValueString",kwnames
,&obj0
,&obj1
)) goto fail
;
10888 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
10889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10891 arg2
= wxString_in_helper(obj1
);
10892 if (arg2
== NULL
) SWIG_fail
;
10896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10897 (arg1
)->SetValue((wxString
const &)*arg2
);
10899 wxPyEndAllowThreads(__tstate
);
10900 if (PyErr_Occurred()) SWIG_fail
;
10902 Py_INCREF(Py_None
); resultobj
= Py_None
;
10917 static PyObject
*_wrap_SpinCtrl_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10918 PyObject
*resultobj
;
10919 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10922 PyObject
* obj0
= 0 ;
10923 PyObject
* obj1
= 0 ;
10924 PyObject
* obj2
= 0 ;
10925 char *kwnames
[] = {
10926 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
10929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
10931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10932 arg2
= (int) SWIG_AsInt(obj1
);
10933 if (PyErr_Occurred()) SWIG_fail
;
10934 arg3
= (int) SWIG_AsInt(obj2
);
10935 if (PyErr_Occurred()) SWIG_fail
;
10937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10938 (arg1
)->SetRange(arg2
,arg3
);
10940 wxPyEndAllowThreads(__tstate
);
10941 if (PyErr_Occurred()) SWIG_fail
;
10943 Py_INCREF(Py_None
); resultobj
= Py_None
;
10950 static PyObject
*_wrap_SpinCtrl_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10951 PyObject
*resultobj
;
10952 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10954 PyObject
* obj0
= 0 ;
10955 char *kwnames
[] = {
10956 (char *) "self", NULL
10959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMin",kwnames
,&obj0
)) goto fail
;
10960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
10961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10964 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMin();
10966 wxPyEndAllowThreads(__tstate
);
10967 if (PyErr_Occurred()) SWIG_fail
;
10969 resultobj
= SWIG_FromInt((int)result
);
10976 static PyObject
*_wrap_SpinCtrl_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10977 PyObject
*resultobj
;
10978 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10980 PyObject
* obj0
= 0 ;
10981 char *kwnames
[] = {
10982 (char *) "self", NULL
10985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMax",kwnames
,&obj0
)) goto fail
;
10986 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
10987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10990 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMax();
10992 wxPyEndAllowThreads(__tstate
);
10993 if (PyErr_Occurred()) SWIG_fail
;
10995 resultobj
= SWIG_FromInt((int)result
);
11002 static PyObject
*_wrap_SpinCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11003 PyObject
*resultobj
;
11004 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11007 PyObject
* obj0
= 0 ;
11008 PyObject
* obj1
= 0 ;
11009 PyObject
* obj2
= 0 ;
11010 char *kwnames
[] = {
11011 (char *) "self",(char *) "from",(char *) "to", NULL
11014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11015 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11016 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11017 arg2
= (long) SWIG_AsLong(obj1
);
11018 if (PyErr_Occurred()) SWIG_fail
;
11019 arg3
= (long) SWIG_AsLong(obj2
);
11020 if (PyErr_Occurred()) SWIG_fail
;
11022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11023 (arg1
)->SetSelection(arg2
,arg3
);
11025 wxPyEndAllowThreads(__tstate
);
11026 if (PyErr_Occurred()) SWIG_fail
;
11028 Py_INCREF(Py_None
); resultobj
= Py_None
;
11035 static PyObject
* SpinCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
11037 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11038 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl
, obj
);
11040 return Py_BuildValue((char *)"");
11042 static PyObject
*_wrap_new_SpinEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11043 PyObject
*resultobj
;
11044 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
11045 int arg2
= (int) 0 ;
11046 wxSpinEvent
*result
;
11047 PyObject
* obj0
= 0 ;
11048 PyObject
* obj1
= 0 ;
11049 char *kwnames
[] = {
11050 (char *) "commandType",(char *) "winid", NULL
11053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SpinEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
11055 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
11056 if (PyErr_Occurred()) SWIG_fail
;
11059 arg2
= (int) SWIG_AsInt(obj1
);
11060 if (PyErr_Occurred()) SWIG_fail
;
11063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11064 result
= (wxSpinEvent
*)new wxSpinEvent(arg1
,arg2
);
11066 wxPyEndAllowThreads(__tstate
);
11067 if (PyErr_Occurred()) SWIG_fail
;
11069 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinEvent
, 1);
11076 static PyObject
*_wrap_SpinEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11077 PyObject
*resultobj
;
11078 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
11080 PyObject
* obj0
= 0 ;
11081 char *kwnames
[] = {
11082 (char *) "self", NULL
11085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
11086 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinEvent
,
11087 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11090 result
= (int)((wxSpinEvent
const *)arg1
)->GetPosition();
11092 wxPyEndAllowThreads(__tstate
);
11093 if (PyErr_Occurred()) SWIG_fail
;
11095 resultobj
= SWIG_FromInt((int)result
);
11102 static PyObject
*_wrap_SpinEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11103 PyObject
*resultobj
;
11104 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
11106 PyObject
* obj0
= 0 ;
11107 PyObject
* obj1
= 0 ;
11108 char *kwnames
[] = {
11109 (char *) "self",(char *) "pos", NULL
11112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
11113 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinEvent
,
11114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11115 arg2
= (int) SWIG_AsInt(obj1
);
11116 if (PyErr_Occurred()) SWIG_fail
;
11118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11119 (arg1
)->SetPosition(arg2
);
11121 wxPyEndAllowThreads(__tstate
);
11122 if (PyErr_Occurred()) SWIG_fail
;
11124 Py_INCREF(Py_None
); resultobj
= Py_None
;
11131 static PyObject
* SpinEvent_swigregister(PyObject
*self
, PyObject
*args
) {
11133 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11134 SWIG_TypeClientData(SWIGTYPE_p_wxSpinEvent
, obj
);
11136 return Py_BuildValue((char *)"");
11138 static int _wrap_RadioBoxNameStr_set(PyObject
*_val
) {
11139 PyErr_SetString(PyExc_TypeError
,"Variable RadioBoxNameStr is read-only.");
11144 static PyObject
*_wrap_RadioBoxNameStr_get() {
11149 pyobj
= PyUnicode_FromWideChar((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
11151 pyobj
= PyString_FromStringAndSize((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
11158 static int _wrap_RadioButtonNameStr_set(PyObject
*_val
) {
11159 PyErr_SetString(PyExc_TypeError
,"Variable RadioButtonNameStr is read-only.");
11164 static PyObject
*_wrap_RadioButtonNameStr_get() {
11169 pyobj
= PyUnicode_FromWideChar((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
11171 pyobj
= PyString_FromStringAndSize((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
11178 static PyObject
*_wrap_new_RadioBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11179 PyObject
*resultobj
;
11180 wxWindow
*arg1
= (wxWindow
*) 0 ;
11182 wxString
*arg3
= 0 ;
11183 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11184 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11185 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11186 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11187 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
11188 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
11189 int arg7
= (int) 0 ;
11190 long arg8
= (long) wxRA_HORIZONTAL
;
11191 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
11192 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
11193 wxString
const &arg10_defvalue
= wxPyRadioBoxNameStr
;
11194 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
11195 wxRadioBox
*result
;
11196 bool temp3
= False
;
11199 bool temp6
= False
;
11200 bool temp10
= False
;
11201 PyObject
* obj0
= 0 ;
11202 PyObject
* obj1
= 0 ;
11203 PyObject
* obj2
= 0 ;
11204 PyObject
* obj3
= 0 ;
11205 PyObject
* obj4
= 0 ;
11206 PyObject
* obj5
= 0 ;
11207 PyObject
* obj6
= 0 ;
11208 PyObject
* obj7
= 0 ;
11209 PyObject
* obj8
= 0 ;
11210 PyObject
* obj9
= 0 ;
11211 char *kwnames
[] = {
11212 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
11215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOOO:new_RadioBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
11216 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11218 arg2
= (int) SWIG_AsInt(obj1
);
11219 if (PyErr_Occurred()) SWIG_fail
;
11221 arg3
= wxString_in_helper(obj2
);
11222 if (arg3
== NULL
) SWIG_fail
;
11228 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11234 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11239 if (! PySequence_Check(obj5
)) {
11240 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
11243 arg6
= new wxArrayString
;
11245 int i
, len
=PySequence_Length(obj5
);
11246 for (i
=0; i
<len
; i
++) {
11247 PyObject
* item
= PySequence_GetItem(obj5
, i
);
11249 PyObject
* str
= PyObject_Unicode(item
);
11251 PyObject
* str
= PyObject_Str(item
);
11253 if (PyErr_Occurred()) SWIG_fail
;
11254 arg6
->Add(Py2wxString(str
));
11261 arg7
= (int) SWIG_AsInt(obj6
);
11262 if (PyErr_Occurred()) SWIG_fail
;
11265 arg8
= (long) SWIG_AsLong(obj7
);
11266 if (PyErr_Occurred()) SWIG_fail
;
11269 if ((SWIG_ConvertPtr(obj8
,(void **)(&arg9
),SWIGTYPE_p_wxValidator
,
11270 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11272 if (arg9
== NULL
) {
11273 PyErr_SetString(PyExc_TypeError
,"null reference");
11279 arg10
= wxString_in_helper(obj9
);
11280 if (arg10
== NULL
) SWIG_fail
;
11285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11286 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
);
11288 wxPyEndAllowThreads(__tstate
);
11289 if (PyErr_Occurred()) SWIG_fail
;
11291 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioBox
, 1);
11297 if (temp6
) delete arg6
;
11310 if (temp6
) delete arg6
;
11320 static PyObject
*_wrap_new_PreRadioBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11321 PyObject
*resultobj
;
11322 wxRadioBox
*result
;
11323 char *kwnames
[] = {
11327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioBox",kwnames
)) goto fail
;
11329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11330 result
= (wxRadioBox
*)new wxRadioBox();
11332 wxPyEndAllowThreads(__tstate
);
11333 if (PyErr_Occurred()) SWIG_fail
;
11335 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioBox
, 1);
11342 static PyObject
*_wrap_RadioBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11343 PyObject
*resultobj
;
11344 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11345 wxWindow
*arg2
= (wxWindow
*) 0 ;
11347 wxString
*arg4
= 0 ;
11348 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11349 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11350 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11351 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11352 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
11353 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
11354 int arg8
= (int) 0 ;
11355 long arg9
= (long) wxRA_HORIZONTAL
;
11356 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
11357 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
11358 wxString
const &arg11_defvalue
= wxPyRadioBoxNameStr
;
11359 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
11361 bool temp4
= False
;
11364 bool temp7
= False
;
11365 bool temp11
= False
;
11366 PyObject
* obj0
= 0 ;
11367 PyObject
* obj1
= 0 ;
11368 PyObject
* obj2
= 0 ;
11369 PyObject
* obj3
= 0 ;
11370 PyObject
* obj4
= 0 ;
11371 PyObject
* obj5
= 0 ;
11372 PyObject
* obj6
= 0 ;
11373 PyObject
* obj7
= 0 ;
11374 PyObject
* obj8
= 0 ;
11375 PyObject
* obj9
= 0 ;
11376 PyObject
* obj10
= 0 ;
11377 char *kwnames
[] = {
11378 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
11381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOOOO:RadioBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
11382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11384 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
11385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11386 arg3
= (int) SWIG_AsInt(obj2
);
11387 if (PyErr_Occurred()) SWIG_fail
;
11389 arg4
= wxString_in_helper(obj3
);
11390 if (arg4
== NULL
) SWIG_fail
;
11396 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11402 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11407 if (! PySequence_Check(obj6
)) {
11408 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
11411 arg7
= new wxArrayString
;
11413 int i
, len
=PySequence_Length(obj6
);
11414 for (i
=0; i
<len
; i
++) {
11415 PyObject
* item
= PySequence_GetItem(obj6
, i
);
11417 PyObject
* str
= PyObject_Unicode(item
);
11419 PyObject
* str
= PyObject_Str(item
);
11421 if (PyErr_Occurred()) SWIG_fail
;
11422 arg7
->Add(Py2wxString(str
));
11429 arg8
= (int) SWIG_AsInt(obj7
);
11430 if (PyErr_Occurred()) SWIG_fail
;
11433 arg9
= (long) SWIG_AsLong(obj8
);
11434 if (PyErr_Occurred()) SWIG_fail
;
11437 if ((SWIG_ConvertPtr(obj9
,(void **)(&arg10
),SWIGTYPE_p_wxValidator
,
11438 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11440 if (arg10
== NULL
) {
11441 PyErr_SetString(PyExc_TypeError
,"null reference");
11447 arg11
= wxString_in_helper(obj10
);
11448 if (arg11
== NULL
) SWIG_fail
;
11453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11454 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
);
11456 wxPyEndAllowThreads(__tstate
);
11457 if (PyErr_Occurred()) SWIG_fail
;
11460 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11467 if (temp7
) delete arg7
;
11480 if (temp7
) delete arg7
;
11490 static PyObject
*_wrap_RadioBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11491 PyObject
*resultobj
;
11492 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11494 PyObject
* obj0
= 0 ;
11495 PyObject
* obj1
= 0 ;
11496 char *kwnames
[] = {
11497 (char *) "self",(char *) "n", NULL
11500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
11501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11503 arg2
= (int) SWIG_AsInt(obj1
);
11504 if (PyErr_Occurred()) SWIG_fail
;
11506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11507 (arg1
)->SetSelection(arg2
);
11509 wxPyEndAllowThreads(__tstate
);
11510 if (PyErr_Occurred()) SWIG_fail
;
11512 Py_INCREF(Py_None
); resultobj
= Py_None
;
11519 static PyObject
*_wrap_RadioBox_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11520 PyObject
*resultobj
;
11521 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11523 PyObject
* obj0
= 0 ;
11524 char *kwnames
[] = {
11525 (char *) "self", NULL
11528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetSelection",kwnames
,&obj0
)) goto fail
;
11529 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11533 result
= (int)((wxRadioBox
const *)arg1
)->GetSelection();
11535 wxPyEndAllowThreads(__tstate
);
11536 if (PyErr_Occurred()) SWIG_fail
;
11538 resultobj
= SWIG_FromInt((int)result
);
11545 static PyObject
*_wrap_RadioBox_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11546 PyObject
*resultobj
;
11547 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11549 PyObject
* obj0
= 0 ;
11550 char *kwnames
[] = {
11551 (char *) "self", NULL
11554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetStringSelection",kwnames
,&obj0
)) goto fail
;
11555 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11559 result
= ((wxRadioBox
const *)arg1
)->GetStringSelection();
11561 wxPyEndAllowThreads(__tstate
);
11562 if (PyErr_Occurred()) SWIG_fail
;
11566 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11568 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11577 static PyObject
*_wrap_RadioBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11578 PyObject
*resultobj
;
11579 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11580 wxString
*arg2
= 0 ;
11582 bool temp2
= False
;
11583 PyObject
* obj0
= 0 ;
11584 PyObject
* obj1
= 0 ;
11585 char *kwnames
[] = {
11586 (char *) "self",(char *) "s", NULL
11589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
11590 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11593 arg2
= wxString_in_helper(obj1
);
11594 if (arg2
== NULL
) SWIG_fail
;
11598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11599 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
11601 wxPyEndAllowThreads(__tstate
);
11602 if (PyErr_Occurred()) SWIG_fail
;
11605 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11621 static PyObject
*_wrap_RadioBox_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11622 PyObject
*resultobj
;
11623 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11625 PyObject
* obj0
= 0 ;
11626 char *kwnames
[] = {
11627 (char *) "self", NULL
11630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetCount",kwnames
,&obj0
)) goto fail
;
11631 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11632 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11635 result
= (int)((wxRadioBox
const *)arg1
)->GetCount();
11637 wxPyEndAllowThreads(__tstate
);
11638 if (PyErr_Occurred()) SWIG_fail
;
11640 resultobj
= SWIG_FromInt((int)result
);
11647 static PyObject
*_wrap_RadioBox_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11648 PyObject
*resultobj
;
11649 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11650 wxString
*arg2
= 0 ;
11652 bool temp2
= False
;
11653 PyObject
* obj0
= 0 ;
11654 PyObject
* obj1
= 0 ;
11655 char *kwnames
[] = {
11656 (char *) "self",(char *) "s", NULL
11659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
11660 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11663 arg2
= wxString_in_helper(obj1
);
11664 if (arg2
== NULL
) SWIG_fail
;
11668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11669 result
= (int)((wxRadioBox
const *)arg1
)->FindString((wxString
const &)*arg2
);
11671 wxPyEndAllowThreads(__tstate
);
11672 if (PyErr_Occurred()) SWIG_fail
;
11674 resultobj
= SWIG_FromInt((int)result
);
11689 static PyObject
*_wrap_RadioBox_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11690 PyObject
*resultobj
;
11691 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11694 PyObject
* obj0
= 0 ;
11695 PyObject
* obj1
= 0 ;
11696 char *kwnames
[] = {
11697 (char *) "self",(char *) "n", NULL
11700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
11701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11703 arg2
= (int) SWIG_AsInt(obj1
);
11704 if (PyErr_Occurred()) SWIG_fail
;
11706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11707 result
= ((wxRadioBox
const *)arg1
)->GetString(arg2
);
11709 wxPyEndAllowThreads(__tstate
);
11710 if (PyErr_Occurred()) SWIG_fail
;
11714 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11716 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11725 static PyObject
*_wrap_RadioBox_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11726 PyObject
*resultobj
;
11727 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11729 wxString
*arg3
= 0 ;
11730 bool temp3
= False
;
11731 PyObject
* obj0
= 0 ;
11732 PyObject
* obj1
= 0 ;
11733 PyObject
* obj2
= 0 ;
11734 char *kwnames
[] = {
11735 (char *) "self",(char *) "n",(char *) "label", NULL
11738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11739 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11741 arg2
= (int) SWIG_AsInt(obj1
);
11742 if (PyErr_Occurred()) SWIG_fail
;
11744 arg3
= wxString_in_helper(obj2
);
11745 if (arg3
== NULL
) SWIG_fail
;
11749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11750 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
11752 wxPyEndAllowThreads(__tstate
);
11753 if (PyErr_Occurred()) SWIG_fail
;
11755 Py_INCREF(Py_None
); resultobj
= Py_None
;
11770 static PyObject
*_wrap_RadioBox_EnableItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11771 PyObject
*resultobj
;
11772 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11774 bool arg3
= (bool) True
;
11775 PyObject
* obj0
= 0 ;
11776 PyObject
* obj1
= 0 ;
11777 PyObject
* obj2
= 0 ;
11778 char *kwnames
[] = {
11779 (char *) "self",(char *) "n",(char *) "enable", NULL
11782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_EnableItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11783 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11784 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11785 arg2
= (int) SWIG_AsInt(obj1
);
11786 if (PyErr_Occurred()) SWIG_fail
;
11788 arg3
= (bool) SWIG_AsBool(obj2
);
11789 if (PyErr_Occurred()) SWIG_fail
;
11792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11793 (arg1
)->Enable(arg2
,arg3
);
11795 wxPyEndAllowThreads(__tstate
);
11796 if (PyErr_Occurred()) SWIG_fail
;
11798 Py_INCREF(Py_None
); resultobj
= Py_None
;
11805 static PyObject
*_wrap_RadioBox_ShowItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11806 PyObject
*resultobj
;
11807 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11809 bool arg3
= (bool) True
;
11810 PyObject
* obj0
= 0 ;
11811 PyObject
* obj1
= 0 ;
11812 PyObject
* obj2
= 0 ;
11813 char *kwnames
[] = {
11814 (char *) "self",(char *) "n",(char *) "show", NULL
11817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_ShowItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11820 arg2
= (int) SWIG_AsInt(obj1
);
11821 if (PyErr_Occurred()) SWIG_fail
;
11823 arg3
= (bool) SWIG_AsBool(obj2
);
11824 if (PyErr_Occurred()) SWIG_fail
;
11827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11828 (arg1
)->Show(arg2
,arg3
);
11830 wxPyEndAllowThreads(__tstate
);
11831 if (PyErr_Occurred()) SWIG_fail
;
11833 Py_INCREF(Py_None
); resultobj
= Py_None
;
11840 static PyObject
*_wrap_RadioBox_GetColumnCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11841 PyObject
*resultobj
;
11842 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11844 PyObject
* obj0
= 0 ;
11845 char *kwnames
[] = {
11846 (char *) "self", NULL
11849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetColumnCount",kwnames
,&obj0
)) goto fail
;
11850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11854 result
= (int)((wxRadioBox
const *)arg1
)->GetColumnCount();
11856 wxPyEndAllowThreads(__tstate
);
11857 if (PyErr_Occurred()) SWIG_fail
;
11859 resultobj
= SWIG_FromInt((int)result
);
11866 static PyObject
*_wrap_RadioBox_GetRowCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11867 PyObject
*resultobj
;
11868 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11870 PyObject
* obj0
= 0 ;
11871 char *kwnames
[] = {
11872 (char *) "self", NULL
11875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetRowCount",kwnames
,&obj0
)) goto fail
;
11876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11880 result
= (int)((wxRadioBox
const *)arg1
)->GetRowCount();
11882 wxPyEndAllowThreads(__tstate
);
11883 if (PyErr_Occurred()) SWIG_fail
;
11885 resultobj
= SWIG_FromInt((int)result
);
11892 static PyObject
*_wrap_RadioBox_GetNextItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11893 PyObject
*resultobj
;
11894 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11899 PyObject
* obj0
= 0 ;
11900 PyObject
* obj1
= 0 ;
11901 PyObject
* obj2
= 0 ;
11902 PyObject
* obj3
= 0 ;
11903 char *kwnames
[] = {
11904 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
11907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RadioBox_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11910 arg2
= (int) SWIG_AsInt(obj1
);
11911 if (PyErr_Occurred()) SWIG_fail
;
11912 arg3
= (wxDirection
) SWIG_AsInt(obj2
);
11913 if (PyErr_Occurred()) SWIG_fail
;
11914 arg4
= (long) SWIG_AsLong(obj3
);
11915 if (PyErr_Occurred()) SWIG_fail
;
11917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11918 result
= (int)((wxRadioBox
const *)arg1
)->GetNextItem(arg2
,(wxDirection
)arg3
,arg4
);
11920 wxPyEndAllowThreads(__tstate
);
11921 if (PyErr_Occurred()) SWIG_fail
;
11923 resultobj
= SWIG_FromInt((int)result
);
11930 static PyObject
* RadioBox_swigregister(PyObject
*self
, PyObject
*args
) {
11932 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11933 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox
, obj
);
11935 return Py_BuildValue((char *)"");
11937 static PyObject
*_wrap_new_RadioButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11938 PyObject
*resultobj
;
11939 wxWindow
*arg1
= (wxWindow
*) 0 ;
11941 wxString
*arg3
= 0 ;
11942 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11943 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11944 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11945 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11946 long arg6
= (long) 0 ;
11947 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
11948 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
11949 wxString
const &arg8_defvalue
= wxPyRadioButtonNameStr
;
11950 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
11951 wxRadioButton
*result
;
11952 bool temp3
= False
;
11955 bool temp8
= False
;
11956 PyObject
* obj0
= 0 ;
11957 PyObject
* obj1
= 0 ;
11958 PyObject
* obj2
= 0 ;
11959 PyObject
* obj3
= 0 ;
11960 PyObject
* obj4
= 0 ;
11961 PyObject
* obj5
= 0 ;
11962 PyObject
* obj6
= 0 ;
11963 PyObject
* obj7
= 0 ;
11964 char *kwnames
[] = {
11965 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_RadioButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
11969 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11971 arg2
= (int) SWIG_AsInt(obj1
);
11972 if (PyErr_Occurred()) SWIG_fail
;
11974 arg3
= wxString_in_helper(obj2
);
11975 if (arg3
== NULL
) SWIG_fail
;
11981 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11987 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11991 arg6
= (long) SWIG_AsLong(obj5
);
11992 if (PyErr_Occurred()) SWIG_fail
;
11995 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
11996 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11998 if (arg7
== NULL
) {
11999 PyErr_SetString(PyExc_TypeError
,"null reference");
12005 arg8
= wxString_in_helper(obj7
);
12006 if (arg8
== NULL
) SWIG_fail
;
12011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12012 result
= (wxRadioButton
*)new wxRadioButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
12014 wxPyEndAllowThreads(__tstate
);
12015 if (PyErr_Occurred()) SWIG_fail
;
12017 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioButton
, 1);
12040 static PyObject
*_wrap_new_PreRadioButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12041 PyObject
*resultobj
;
12042 wxRadioButton
*result
;
12043 char *kwnames
[] = {
12047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioButton",kwnames
)) goto fail
;
12049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12050 result
= (wxRadioButton
*)new wxRadioButton();
12052 wxPyEndAllowThreads(__tstate
);
12053 if (PyErr_Occurred()) SWIG_fail
;
12055 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioButton
, 1);
12062 static PyObject
*_wrap_RadioButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12063 PyObject
*resultobj
;
12064 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
12065 wxWindow
*arg2
= (wxWindow
*) 0 ;
12067 wxString
*arg4
= 0 ;
12068 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
12069 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
12070 wxSize
const &arg6_defvalue
= wxDefaultSize
;
12071 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
12072 long arg7
= (long) 0 ;
12073 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
12074 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
12075 wxString
const &arg9_defvalue
= wxPyRadioButtonNameStr
;
12076 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
12078 bool temp4
= False
;
12081 bool temp9
= False
;
12082 PyObject
* obj0
= 0 ;
12083 PyObject
* obj1
= 0 ;
12084 PyObject
* obj2
= 0 ;
12085 PyObject
* obj3
= 0 ;
12086 PyObject
* obj4
= 0 ;
12087 PyObject
* obj5
= 0 ;
12088 PyObject
* obj6
= 0 ;
12089 PyObject
* obj7
= 0 ;
12090 PyObject
* obj8
= 0 ;
12091 char *kwnames
[] = {
12092 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:RadioButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
12096 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioButton
,
12097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12098 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
12099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12100 arg3
= (int) SWIG_AsInt(obj2
);
12101 if (PyErr_Occurred()) SWIG_fail
;
12103 arg4
= wxString_in_helper(obj3
);
12104 if (arg4
== NULL
) SWIG_fail
;
12110 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
12116 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
12120 arg7
= (long) SWIG_AsLong(obj6
);
12121 if (PyErr_Occurred()) SWIG_fail
;
12124 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
12125 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12127 if (arg8
== NULL
) {
12128 PyErr_SetString(PyExc_TypeError
,"null reference");
12134 arg9
= wxString_in_helper(obj8
);
12135 if (arg9
== NULL
) SWIG_fail
;
12140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12141 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
12143 wxPyEndAllowThreads(__tstate
);
12144 if (PyErr_Occurred()) SWIG_fail
;
12147 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12171 static PyObject
*_wrap_RadioButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12172 PyObject
*resultobj
;
12173 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
12175 PyObject
* obj0
= 0 ;
12176 char *kwnames
[] = {
12177 (char *) "self", NULL
12180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioButton_GetValue",kwnames
,&obj0
)) goto fail
;
12181 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioButton
,
12182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12185 result
= (bool)(arg1
)->GetValue();
12187 wxPyEndAllowThreads(__tstate
);
12188 if (PyErr_Occurred()) SWIG_fail
;
12191 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12199 static PyObject
*_wrap_RadioButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12200 PyObject
*resultobj
;
12201 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
12203 PyObject
* obj0
= 0 ;
12204 PyObject
* obj1
= 0 ;
12205 char *kwnames
[] = {
12206 (char *) "self",(char *) "value", NULL
12209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
12210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioButton
,
12211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12212 arg2
= (bool) SWIG_AsBool(obj1
);
12213 if (PyErr_Occurred()) SWIG_fail
;
12215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12216 (arg1
)->SetValue(arg2
);
12218 wxPyEndAllowThreads(__tstate
);
12219 if (PyErr_Occurred()) SWIG_fail
;
12221 Py_INCREF(Py_None
); resultobj
= Py_None
;
12228 static PyObject
* RadioButton_swigregister(PyObject
*self
, PyObject
*args
) {
12230 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12231 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton
, obj
);
12233 return Py_BuildValue((char *)"");
12235 static int _wrap_SliderNameStr_set(PyObject
*_val
) {
12236 PyErr_SetString(PyExc_TypeError
,"Variable SliderNameStr is read-only.");
12241 static PyObject
*_wrap_SliderNameStr_get() {
12246 pyobj
= PyUnicode_FromWideChar((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
12248 pyobj
= PyString_FromStringAndSize((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
12255 static PyObject
*_wrap_new_Slider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12256 PyObject
*resultobj
;
12257 wxWindow
*arg1
= (wxWindow
*) 0 ;
12262 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
12263 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
12264 wxSize
const &arg7_defvalue
= wxDefaultSize
;
12265 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
12266 long arg8
= (long) wxSL_HORIZONTAL
;
12267 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
12268 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
12269 wxString
const &arg10_defvalue
= wxPySliderNameStr
;
12270 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
12274 bool temp10
= False
;
12275 PyObject
* obj0
= 0 ;
12276 PyObject
* obj1
= 0 ;
12277 PyObject
* obj2
= 0 ;
12278 PyObject
* obj3
= 0 ;
12279 PyObject
* obj4
= 0 ;
12280 PyObject
* obj5
= 0 ;
12281 PyObject
* obj6
= 0 ;
12282 PyObject
* obj7
= 0 ;
12283 PyObject
* obj8
= 0 ;
12284 PyObject
* obj9
= 0 ;
12285 char *kwnames
[] = {
12286 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:new_Slider",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
12290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12292 arg2
= (int) SWIG_AsInt(obj1
);
12293 if (PyErr_Occurred()) SWIG_fail
;
12294 arg3
= (int) SWIG_AsInt(obj2
);
12295 if (PyErr_Occurred()) SWIG_fail
;
12296 arg4
= (int) SWIG_AsInt(obj3
);
12297 if (PyErr_Occurred()) SWIG_fail
;
12298 arg5
= (int) SWIG_AsInt(obj4
);
12299 if (PyErr_Occurred()) SWIG_fail
;
12303 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
12309 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
12313 arg8
= (long) SWIG_AsLong(obj7
);
12314 if (PyErr_Occurred()) SWIG_fail
;
12317 if ((SWIG_ConvertPtr(obj8
,(void **)(&arg9
),SWIGTYPE_p_wxValidator
,
12318 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12320 if (arg9
== NULL
) {
12321 PyErr_SetString(PyExc_TypeError
,"null reference");
12327 arg10
= wxString_in_helper(obj9
);
12328 if (arg10
== NULL
) SWIG_fail
;
12333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12334 result
= (wxSlider
*)new wxSlider(arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
12336 wxPyEndAllowThreads(__tstate
);
12337 if (PyErr_Occurred()) SWIG_fail
;
12339 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSlider
, 1);
12354 static PyObject
*_wrap_new_PreSlider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12355 PyObject
*resultobj
;
12357 char *kwnames
[] = {
12361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSlider",kwnames
)) goto fail
;
12363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12364 result
= (wxSlider
*)new wxSlider();
12366 wxPyEndAllowThreads(__tstate
);
12367 if (PyErr_Occurred()) SWIG_fail
;
12369 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSlider
, 1);
12376 static PyObject
*_wrap_Slider_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12377 PyObject
*resultobj
;
12378 wxSlider
*arg1
= (wxSlider
*) 0 ;
12379 wxWindow
*arg2
= (wxWindow
*) 0 ;
12384 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
12385 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
12386 wxSize
const &arg8_defvalue
= wxDefaultSize
;
12387 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
12388 long arg9
= (long) wxSL_HORIZONTAL
;
12389 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
12390 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
12391 wxString
const &arg11_defvalue
= wxPySliderNameStr
;
12392 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
12396 bool temp11
= False
;
12397 PyObject
* obj0
= 0 ;
12398 PyObject
* obj1
= 0 ;
12399 PyObject
* obj2
= 0 ;
12400 PyObject
* obj3
= 0 ;
12401 PyObject
* obj4
= 0 ;
12402 PyObject
* obj5
= 0 ;
12403 PyObject
* obj6
= 0 ;
12404 PyObject
* obj7
= 0 ;
12405 PyObject
* obj8
= 0 ;
12406 PyObject
* obj9
= 0 ;
12407 PyObject
* obj10
= 0 ;
12408 char *kwnames
[] = {
12409 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|OOOOO:Slider_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
12413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12415 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
12416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12417 arg3
= (int) SWIG_AsInt(obj2
);
12418 if (PyErr_Occurred()) SWIG_fail
;
12419 arg4
= (int) SWIG_AsInt(obj3
);
12420 if (PyErr_Occurred()) SWIG_fail
;
12421 arg5
= (int) SWIG_AsInt(obj4
);
12422 if (PyErr_Occurred()) SWIG_fail
;
12423 arg6
= (int) SWIG_AsInt(obj5
);
12424 if (PyErr_Occurred()) SWIG_fail
;
12428 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
12434 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
12438 arg9
= (long) SWIG_AsLong(obj8
);
12439 if (PyErr_Occurred()) SWIG_fail
;
12442 if ((SWIG_ConvertPtr(obj9
,(void **)(&arg10
),SWIGTYPE_p_wxValidator
,
12443 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12445 if (arg10
== NULL
) {
12446 PyErr_SetString(PyExc_TypeError
,"null reference");
12452 arg11
= wxString_in_helper(obj10
);
12453 if (arg11
== NULL
) SWIG_fail
;
12458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12459 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
,(wxSize
const &)*arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
12461 wxPyEndAllowThreads(__tstate
);
12462 if (PyErr_Occurred()) SWIG_fail
;
12465 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12481 static PyObject
*_wrap_Slider_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12482 PyObject
*resultobj
;
12483 wxSlider
*arg1
= (wxSlider
*) 0 ;
12485 PyObject
* obj0
= 0 ;
12486 char *kwnames
[] = {
12487 (char *) "self", NULL
12490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetValue",kwnames
,&obj0
)) goto fail
;
12491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12495 result
= (int)((wxSlider
const *)arg1
)->GetValue();
12497 wxPyEndAllowThreads(__tstate
);
12498 if (PyErr_Occurred()) SWIG_fail
;
12500 resultobj
= SWIG_FromInt((int)result
);
12507 static PyObject
*_wrap_Slider_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12508 PyObject
*resultobj
;
12509 wxSlider
*arg1
= (wxSlider
*) 0 ;
12511 PyObject
* obj0
= 0 ;
12512 PyObject
* obj1
= 0 ;
12513 char *kwnames
[] = {
12514 (char *) "self",(char *) "value", NULL
12517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
12518 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12519 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12520 arg2
= (int) SWIG_AsInt(obj1
);
12521 if (PyErr_Occurred()) SWIG_fail
;
12523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12524 (arg1
)->SetValue(arg2
);
12526 wxPyEndAllowThreads(__tstate
);
12527 if (PyErr_Occurred()) SWIG_fail
;
12529 Py_INCREF(Py_None
); resultobj
= Py_None
;
12536 static PyObject
*_wrap_Slider_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12537 PyObject
*resultobj
;
12538 wxSlider
*arg1
= (wxSlider
*) 0 ;
12541 PyObject
* obj0
= 0 ;
12542 PyObject
* obj1
= 0 ;
12543 PyObject
* obj2
= 0 ;
12544 char *kwnames
[] = {
12545 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
12548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12551 arg2
= (int) SWIG_AsInt(obj1
);
12552 if (PyErr_Occurred()) SWIG_fail
;
12553 arg3
= (int) SWIG_AsInt(obj2
);
12554 if (PyErr_Occurred()) SWIG_fail
;
12556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12557 (arg1
)->SetRange(arg2
,arg3
);
12559 wxPyEndAllowThreads(__tstate
);
12560 if (PyErr_Occurred()) SWIG_fail
;
12562 Py_INCREF(Py_None
); resultobj
= Py_None
;
12569 static PyObject
*_wrap_Slider_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12570 PyObject
*resultobj
;
12571 wxSlider
*arg1
= (wxSlider
*) 0 ;
12573 PyObject
* obj0
= 0 ;
12574 char *kwnames
[] = {
12575 (char *) "self", NULL
12578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMin",kwnames
,&obj0
)) goto fail
;
12579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12583 result
= (int)((wxSlider
const *)arg1
)->GetMin();
12585 wxPyEndAllowThreads(__tstate
);
12586 if (PyErr_Occurred()) SWIG_fail
;
12588 resultobj
= SWIG_FromInt((int)result
);
12595 static PyObject
*_wrap_Slider_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12596 PyObject
*resultobj
;
12597 wxSlider
*arg1
= (wxSlider
*) 0 ;
12599 PyObject
* obj0
= 0 ;
12600 char *kwnames
[] = {
12601 (char *) "self", NULL
12604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMax",kwnames
,&obj0
)) goto fail
;
12605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12609 result
= (int)((wxSlider
const *)arg1
)->GetMax();
12611 wxPyEndAllowThreads(__tstate
);
12612 if (PyErr_Occurred()) SWIG_fail
;
12614 resultobj
= SWIG_FromInt((int)result
);
12621 static PyObject
*_wrap_Slider_SetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12622 PyObject
*resultobj
;
12623 wxSlider
*arg1
= (wxSlider
*) 0 ;
12625 PyObject
* obj0
= 0 ;
12626 PyObject
* obj1
= 0 ;
12627 char *kwnames
[] = {
12628 (char *) "self",(char *) "minValue", NULL
12631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
12632 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12633 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12634 arg2
= (int) SWIG_AsInt(obj1
);
12635 if (PyErr_Occurred()) SWIG_fail
;
12637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12638 (arg1
)->SetMin(arg2
);
12640 wxPyEndAllowThreads(__tstate
);
12641 if (PyErr_Occurred()) SWIG_fail
;
12643 Py_INCREF(Py_None
); resultobj
= Py_None
;
12650 static PyObject
*_wrap_Slider_SetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12651 PyObject
*resultobj
;
12652 wxSlider
*arg1
= (wxSlider
*) 0 ;
12654 PyObject
* obj0
= 0 ;
12655 PyObject
* obj1
= 0 ;
12656 char *kwnames
[] = {
12657 (char *) "self",(char *) "maxValue", NULL
12660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
12661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12663 arg2
= (int) SWIG_AsInt(obj1
);
12664 if (PyErr_Occurred()) SWIG_fail
;
12666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12667 (arg1
)->SetMax(arg2
);
12669 wxPyEndAllowThreads(__tstate
);
12670 if (PyErr_Occurred()) SWIG_fail
;
12672 Py_INCREF(Py_None
); resultobj
= Py_None
;
12679 static PyObject
*_wrap_Slider_SetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12680 PyObject
*resultobj
;
12681 wxSlider
*arg1
= (wxSlider
*) 0 ;
12683 PyObject
* obj0
= 0 ;
12684 PyObject
* obj1
= 0 ;
12685 char *kwnames
[] = {
12686 (char *) "self",(char *) "lineSize", NULL
12689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetLineSize",kwnames
,&obj0
,&obj1
)) goto fail
;
12690 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12692 arg2
= (int) SWIG_AsInt(obj1
);
12693 if (PyErr_Occurred()) SWIG_fail
;
12695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12696 (arg1
)->SetLineSize(arg2
);
12698 wxPyEndAllowThreads(__tstate
);
12699 if (PyErr_Occurred()) SWIG_fail
;
12701 Py_INCREF(Py_None
); resultobj
= Py_None
;
12708 static PyObject
*_wrap_Slider_SetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12709 PyObject
*resultobj
;
12710 wxSlider
*arg1
= (wxSlider
*) 0 ;
12712 PyObject
* obj0
= 0 ;
12713 PyObject
* obj1
= 0 ;
12714 char *kwnames
[] = {
12715 (char *) "self",(char *) "pageSize", NULL
12718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
12719 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12721 arg2
= (int) SWIG_AsInt(obj1
);
12722 if (PyErr_Occurred()) SWIG_fail
;
12724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12725 (arg1
)->SetPageSize(arg2
);
12727 wxPyEndAllowThreads(__tstate
);
12728 if (PyErr_Occurred()) SWIG_fail
;
12730 Py_INCREF(Py_None
); resultobj
= Py_None
;
12737 static PyObject
*_wrap_Slider_GetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12738 PyObject
*resultobj
;
12739 wxSlider
*arg1
= (wxSlider
*) 0 ;
12741 PyObject
* obj0
= 0 ;
12742 char *kwnames
[] = {
12743 (char *) "self", NULL
12746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetLineSize",kwnames
,&obj0
)) goto fail
;
12747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12751 result
= (int)((wxSlider
const *)arg1
)->GetLineSize();
12753 wxPyEndAllowThreads(__tstate
);
12754 if (PyErr_Occurred()) SWIG_fail
;
12756 resultobj
= SWIG_FromInt((int)result
);
12763 static PyObject
*_wrap_Slider_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12764 PyObject
*resultobj
;
12765 wxSlider
*arg1
= (wxSlider
*) 0 ;
12767 PyObject
* obj0
= 0 ;
12768 char *kwnames
[] = {
12769 (char *) "self", NULL
12772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetPageSize",kwnames
,&obj0
)) goto fail
;
12773 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12774 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12777 result
= (int)((wxSlider
const *)arg1
)->GetPageSize();
12779 wxPyEndAllowThreads(__tstate
);
12780 if (PyErr_Occurred()) SWIG_fail
;
12782 resultobj
= SWIG_FromInt((int)result
);
12789 static PyObject
*_wrap_Slider_SetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12790 PyObject
*resultobj
;
12791 wxSlider
*arg1
= (wxSlider
*) 0 ;
12793 PyObject
* obj0
= 0 ;
12794 PyObject
* obj1
= 0 ;
12795 char *kwnames
[] = {
12796 (char *) "self",(char *) "lenPixels", NULL
12799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetThumbLength",kwnames
,&obj0
,&obj1
)) goto fail
;
12800 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12802 arg2
= (int) SWIG_AsInt(obj1
);
12803 if (PyErr_Occurred()) SWIG_fail
;
12805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12806 (arg1
)->SetThumbLength(arg2
);
12808 wxPyEndAllowThreads(__tstate
);
12809 if (PyErr_Occurred()) SWIG_fail
;
12811 Py_INCREF(Py_None
); resultobj
= Py_None
;
12818 static PyObject
*_wrap_Slider_GetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12819 PyObject
*resultobj
;
12820 wxSlider
*arg1
= (wxSlider
*) 0 ;
12822 PyObject
* obj0
= 0 ;
12823 char *kwnames
[] = {
12824 (char *) "self", NULL
12827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetThumbLength",kwnames
,&obj0
)) goto fail
;
12828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12832 result
= (int)((wxSlider
const *)arg1
)->GetThumbLength();
12834 wxPyEndAllowThreads(__tstate
);
12835 if (PyErr_Occurred()) SWIG_fail
;
12837 resultobj
= SWIG_FromInt((int)result
);
12844 static PyObject
*_wrap_Slider_SetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12845 PyObject
*resultobj
;
12846 wxSlider
*arg1
= (wxSlider
*) 0 ;
12848 int arg3
= (int) 1 ;
12849 PyObject
* obj0
= 0 ;
12850 PyObject
* obj1
= 0 ;
12851 PyObject
* obj2
= 0 ;
12852 char *kwnames
[] = {
12853 (char *) "self",(char *) "n",(char *) "pos", NULL
12856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Slider_SetTickFreq",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12859 arg2
= (int) SWIG_AsInt(obj1
);
12860 if (PyErr_Occurred()) SWIG_fail
;
12862 arg3
= (int) SWIG_AsInt(obj2
);
12863 if (PyErr_Occurred()) SWIG_fail
;
12866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12867 (arg1
)->SetTickFreq(arg2
,arg3
);
12869 wxPyEndAllowThreads(__tstate
);
12870 if (PyErr_Occurred()) SWIG_fail
;
12872 Py_INCREF(Py_None
); resultobj
= Py_None
;
12879 static PyObject
*_wrap_Slider_GetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12880 PyObject
*resultobj
;
12881 wxSlider
*arg1
= (wxSlider
*) 0 ;
12883 PyObject
* obj0
= 0 ;
12884 char *kwnames
[] = {
12885 (char *) "self", NULL
12888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetTickFreq",kwnames
,&obj0
)) goto fail
;
12889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12893 result
= (int)((wxSlider
const *)arg1
)->GetTickFreq();
12895 wxPyEndAllowThreads(__tstate
);
12896 if (PyErr_Occurred()) SWIG_fail
;
12898 resultobj
= SWIG_FromInt((int)result
);
12905 static PyObject
*_wrap_Slider_ClearTicks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12906 PyObject
*resultobj
;
12907 wxSlider
*arg1
= (wxSlider
*) 0 ;
12908 PyObject
* obj0
= 0 ;
12909 char *kwnames
[] = {
12910 (char *) "self", NULL
12913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearTicks",kwnames
,&obj0
)) goto fail
;
12914 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12915 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12918 (arg1
)->ClearTicks();
12920 wxPyEndAllowThreads(__tstate
);
12921 if (PyErr_Occurred()) SWIG_fail
;
12923 Py_INCREF(Py_None
); resultobj
= Py_None
;
12930 static PyObject
*_wrap_Slider_SetTick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12931 PyObject
*resultobj
;
12932 wxSlider
*arg1
= (wxSlider
*) 0 ;
12934 PyObject
* obj0
= 0 ;
12935 PyObject
* obj1
= 0 ;
12936 char *kwnames
[] = {
12937 (char *) "self",(char *) "tickPos", NULL
12940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetTick",kwnames
,&obj0
,&obj1
)) goto fail
;
12941 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12943 arg2
= (int) SWIG_AsInt(obj1
);
12944 if (PyErr_Occurred()) SWIG_fail
;
12946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12947 (arg1
)->SetTick(arg2
);
12949 wxPyEndAllowThreads(__tstate
);
12950 if (PyErr_Occurred()) SWIG_fail
;
12952 Py_INCREF(Py_None
); resultobj
= Py_None
;
12959 static PyObject
*_wrap_Slider_ClearSel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12960 PyObject
*resultobj
;
12961 wxSlider
*arg1
= (wxSlider
*) 0 ;
12962 PyObject
* obj0
= 0 ;
12963 char *kwnames
[] = {
12964 (char *) "self", NULL
12967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearSel",kwnames
,&obj0
)) goto fail
;
12968 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12969 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12972 (arg1
)->ClearSel();
12974 wxPyEndAllowThreads(__tstate
);
12975 if (PyErr_Occurred()) SWIG_fail
;
12977 Py_INCREF(Py_None
); resultobj
= Py_None
;
12984 static PyObject
*_wrap_Slider_GetSelEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12985 PyObject
*resultobj
;
12986 wxSlider
*arg1
= (wxSlider
*) 0 ;
12988 PyObject
* obj0
= 0 ;
12989 char *kwnames
[] = {
12990 (char *) "self", NULL
12993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelEnd",kwnames
,&obj0
)) goto fail
;
12994 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12998 result
= (int)((wxSlider
const *)arg1
)->GetSelEnd();
13000 wxPyEndAllowThreads(__tstate
);
13001 if (PyErr_Occurred()) SWIG_fail
;
13003 resultobj
= SWIG_FromInt((int)result
);
13010 static PyObject
*_wrap_Slider_GetSelStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13011 PyObject
*resultobj
;
13012 wxSlider
*arg1
= (wxSlider
*) 0 ;
13014 PyObject
* obj0
= 0 ;
13015 char *kwnames
[] = {
13016 (char *) "self", NULL
13019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelStart",kwnames
,&obj0
)) goto fail
;
13020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13024 result
= (int)((wxSlider
const *)arg1
)->GetSelStart();
13026 wxPyEndAllowThreads(__tstate
);
13027 if (PyErr_Occurred()) SWIG_fail
;
13029 resultobj
= SWIG_FromInt((int)result
);
13036 static PyObject
*_wrap_Slider_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13037 PyObject
*resultobj
;
13038 wxSlider
*arg1
= (wxSlider
*) 0 ;
13041 PyObject
* obj0
= 0 ;
13042 PyObject
* obj1
= 0 ;
13043 PyObject
* obj2
= 0 ;
13044 char *kwnames
[] = {
13045 (char *) "self",(char *) "min",(char *) "max", NULL
13048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13051 arg2
= (int) SWIG_AsInt(obj1
);
13052 if (PyErr_Occurred()) SWIG_fail
;
13053 arg3
= (int) SWIG_AsInt(obj2
);
13054 if (PyErr_Occurred()) SWIG_fail
;
13056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13057 (arg1
)->SetSelection(arg2
,arg3
);
13059 wxPyEndAllowThreads(__tstate
);
13060 if (PyErr_Occurred()) SWIG_fail
;
13062 Py_INCREF(Py_None
); resultobj
= Py_None
;
13069 static PyObject
* Slider_swigregister(PyObject
*self
, PyObject
*args
) {
13071 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13072 SWIG_TypeClientData(SWIGTYPE_p_wxSlider
, obj
);
13074 return Py_BuildValue((char *)"");
13076 static int _wrap_ToggleButtonNameStr_set(PyObject
*_val
) {
13077 PyErr_SetString(PyExc_TypeError
,"Variable ToggleButtonNameStr is read-only.");
13082 static PyObject
*_wrap_ToggleButtonNameStr_get() {
13087 pyobj
= PyUnicode_FromWideChar((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
13089 pyobj
= PyString_FromStringAndSize((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
13096 static PyObject
*_wrap_new_ToggleButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13097 PyObject
*resultobj
;
13098 wxWindow
*arg1
= (wxWindow
*) 0 ;
13100 wxString
*arg3
= 0 ;
13101 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
13102 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
13103 wxSize
const &arg5_defvalue
= wxDefaultSize
;
13104 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
13105 long arg6
= (long) 0 ;
13106 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
13107 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
13108 wxString
const &arg8_defvalue
= wxPyToggleButtonNameStr
;
13109 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
13110 wxToggleButton
*result
;
13111 bool temp3
= False
;
13114 bool temp8
= False
;
13115 PyObject
* obj0
= 0 ;
13116 PyObject
* obj1
= 0 ;
13117 PyObject
* obj2
= 0 ;
13118 PyObject
* obj3
= 0 ;
13119 PyObject
* obj4
= 0 ;
13120 PyObject
* obj5
= 0 ;
13121 PyObject
* obj6
= 0 ;
13122 PyObject
* obj7
= 0 ;
13123 char *kwnames
[] = {
13124 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
13127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_ToggleButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
13128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
13129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13130 arg2
= (int) SWIG_AsInt(obj1
);
13131 if (PyErr_Occurred()) SWIG_fail
;
13133 arg3
= wxString_in_helper(obj2
);
13134 if (arg3
== NULL
) SWIG_fail
;
13140 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
13146 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
13150 arg6
= (long) SWIG_AsLong(obj5
);
13151 if (PyErr_Occurred()) SWIG_fail
;
13154 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
13155 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13157 if (arg7
== NULL
) {
13158 PyErr_SetString(PyExc_TypeError
,"null reference");
13164 arg8
= wxString_in_helper(obj7
);
13165 if (arg8
== NULL
) SWIG_fail
;
13170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13171 result
= (wxToggleButton
*)new wxToggleButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
13173 wxPyEndAllowThreads(__tstate
);
13174 if (PyErr_Occurred()) SWIG_fail
;
13176 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToggleButton
, 1);
13199 static PyObject
*_wrap_new_PreToggleButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13200 PyObject
*resultobj
;
13201 wxToggleButton
*result
;
13202 char *kwnames
[] = {
13206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToggleButton",kwnames
)) goto fail
;
13208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13209 result
= (wxToggleButton
*)new wxToggleButton();
13211 wxPyEndAllowThreads(__tstate
);
13212 if (PyErr_Occurred()) SWIG_fail
;
13214 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToggleButton
, 1);
13221 static PyObject
*_wrap_ToggleButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13222 PyObject
*resultobj
;
13223 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
13224 wxWindow
*arg2
= (wxWindow
*) 0 ;
13226 wxString
*arg4
= 0 ;
13227 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
13228 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
13229 wxSize
const &arg6_defvalue
= wxDefaultSize
;
13230 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
13231 long arg7
= (long) 0 ;
13232 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
13233 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
13234 wxString
const &arg9_defvalue
= wxPyToggleButtonNameStr
;
13235 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
13237 bool temp4
= False
;
13240 bool temp9
= False
;
13241 PyObject
* obj0
= 0 ;
13242 PyObject
* obj1
= 0 ;
13243 PyObject
* obj2
= 0 ;
13244 PyObject
* obj3
= 0 ;
13245 PyObject
* obj4
= 0 ;
13246 PyObject
* obj5
= 0 ;
13247 PyObject
* obj6
= 0 ;
13248 PyObject
* obj7
= 0 ;
13249 PyObject
* obj8
= 0 ;
13250 char *kwnames
[] = {
13251 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
13254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToggleButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
13255 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
13256 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13257 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
13258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13259 arg3
= (int) SWIG_AsInt(obj2
);
13260 if (PyErr_Occurred()) SWIG_fail
;
13262 arg4
= wxString_in_helper(obj3
);
13263 if (arg4
== NULL
) SWIG_fail
;
13269 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
13275 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
13279 arg7
= (long) SWIG_AsLong(obj6
);
13280 if (PyErr_Occurred()) SWIG_fail
;
13283 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
13284 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13286 if (arg8
== NULL
) {
13287 PyErr_SetString(PyExc_TypeError
,"null reference");
13293 arg9
= wxString_in_helper(obj8
);
13294 if (arg9
== NULL
) SWIG_fail
;
13299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13300 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
13302 wxPyEndAllowThreads(__tstate
);
13303 if (PyErr_Occurred()) SWIG_fail
;
13306 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13330 static PyObject
*_wrap_ToggleButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13331 PyObject
*resultobj
;
13332 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
13334 PyObject
* obj0
= 0 ;
13335 PyObject
* obj1
= 0 ;
13336 char *kwnames
[] = {
13337 (char *) "self",(char *) "value", NULL
13340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
13341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
13342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13343 arg2
= (bool) SWIG_AsBool(obj1
);
13344 if (PyErr_Occurred()) SWIG_fail
;
13346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13347 (arg1
)->SetValue(arg2
);
13349 wxPyEndAllowThreads(__tstate
);
13350 if (PyErr_Occurred()) SWIG_fail
;
13352 Py_INCREF(Py_None
); resultobj
= Py_None
;
13359 static PyObject
*_wrap_ToggleButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13360 PyObject
*resultobj
;
13361 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
13363 PyObject
* obj0
= 0 ;
13364 char *kwnames
[] = {
13365 (char *) "self", NULL
13368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToggleButton_GetValue",kwnames
,&obj0
)) goto fail
;
13369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
13370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13373 result
= (bool)((wxToggleButton
const *)arg1
)->GetValue();
13375 wxPyEndAllowThreads(__tstate
);
13376 if (PyErr_Occurred()) SWIG_fail
;
13379 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13387 static PyObject
*_wrap_ToggleButton_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13388 PyObject
*resultobj
;
13389 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
13390 wxString
*arg2
= 0 ;
13391 bool temp2
= False
;
13392 PyObject
* obj0
= 0 ;
13393 PyObject
* obj1
= 0 ;
13394 char *kwnames
[] = {
13395 (char *) "self",(char *) "label", NULL
13398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
13399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
13400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13402 arg2
= wxString_in_helper(obj1
);
13403 if (arg2
== NULL
) SWIG_fail
;
13407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13408 (arg1
)->SetLabel((wxString
const &)*arg2
);
13410 wxPyEndAllowThreads(__tstate
);
13411 if (PyErr_Occurred()) SWIG_fail
;
13413 Py_INCREF(Py_None
); resultobj
= Py_None
;
13428 static PyObject
* ToggleButton_swigregister(PyObject
*self
, PyObject
*args
) {
13430 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13431 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton
, obj
);
13433 return Py_BuildValue((char *)"");
13435 static int _wrap_NOTEBOOK_NAME_set(PyObject
*_val
) {
13436 PyErr_SetString(PyExc_TypeError
,"Variable NOTEBOOK_NAME is read-only.");
13441 static PyObject
*_wrap_NOTEBOOK_NAME_get() {
13446 pyobj
= PyUnicode_FromWideChar((&wxPyNOTEBOOK_NAME
)->c_str(), (&wxPyNOTEBOOK_NAME
)->Len());
13448 pyobj
= PyString_FromStringAndSize((&wxPyNOTEBOOK_NAME
)->c_str(), (&wxPyNOTEBOOK_NAME
)->Len());
13455 static PyObject
*_wrap_BookCtrl_GetPageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13456 PyObject
*resultobj
;
13457 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13459 PyObject
* obj0
= 0 ;
13460 char *kwnames
[] = {
13461 (char *) "self", NULL
13464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetPageCount",kwnames
,&obj0
)) goto fail
;
13465 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13469 result
= (size_t)((wxBookCtrl
const *)arg1
)->GetPageCount();
13471 wxPyEndAllowThreads(__tstate
);
13472 if (PyErr_Occurred()) SWIG_fail
;
13474 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
13481 static PyObject
*_wrap_BookCtrl_GetPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13482 PyObject
*resultobj
;
13483 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13486 PyObject
* obj0
= 0 ;
13487 PyObject
* obj1
= 0 ;
13488 char *kwnames
[] = {
13489 (char *) "self",(char *) "n", NULL
13492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPage",kwnames
,&obj0
,&obj1
)) goto fail
;
13493 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13495 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13496 if (PyErr_Occurred()) SWIG_fail
;
13498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13499 result
= (wxWindow
*)(arg1
)->GetPage(arg2
);
13501 wxPyEndAllowThreads(__tstate
);
13502 if (PyErr_Occurred()) SWIG_fail
;
13505 resultobj
= wxPyMake_wxObject(result
);
13513 static PyObject
*_wrap_BookCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13514 PyObject
*resultobj
;
13515 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13517 PyObject
* obj0
= 0 ;
13518 char *kwnames
[] = {
13519 (char *) "self", NULL
13522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
13523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13527 result
= (int)((wxBookCtrl
const *)arg1
)->GetSelection();
13529 wxPyEndAllowThreads(__tstate
);
13530 if (PyErr_Occurred()) SWIG_fail
;
13532 resultobj
= SWIG_FromInt((int)result
);
13539 static PyObject
*_wrap_BookCtrl_SetPageText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13540 PyObject
*resultobj
;
13541 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13543 wxString
*arg3
= 0 ;
13545 bool temp3
= False
;
13546 PyObject
* obj0
= 0 ;
13547 PyObject
* obj1
= 0 ;
13548 PyObject
* obj2
= 0 ;
13549 char *kwnames
[] = {
13550 (char *) "self",(char *) "n",(char *) "strText", NULL
13553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrl_SetPageText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13554 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13556 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13557 if (PyErr_Occurred()) SWIG_fail
;
13559 arg3
= wxString_in_helper(obj2
);
13560 if (arg3
== NULL
) SWIG_fail
;
13564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13565 result
= (bool)(arg1
)->SetPageText(arg2
,(wxString
const &)*arg3
);
13567 wxPyEndAllowThreads(__tstate
);
13568 if (PyErr_Occurred()) SWIG_fail
;
13571 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13587 static PyObject
*_wrap_BookCtrl_GetPageText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13588 PyObject
*resultobj
;
13589 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13592 PyObject
* obj0
= 0 ;
13593 PyObject
* obj1
= 0 ;
13594 char *kwnames
[] = {
13595 (char *) "self",(char *) "n", NULL
13598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPageText",kwnames
,&obj0
,&obj1
)) goto fail
;
13599 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13601 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13602 if (PyErr_Occurred()) SWIG_fail
;
13604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13605 result
= ((wxBookCtrl
const *)arg1
)->GetPageText(arg2
);
13607 wxPyEndAllowThreads(__tstate
);
13608 if (PyErr_Occurred()) SWIG_fail
;
13612 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13614 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13623 static PyObject
*_wrap_BookCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13624 PyObject
*resultobj
;
13625 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13626 wxImageList
*arg2
= (wxImageList
*) 0 ;
13627 PyObject
* obj0
= 0 ;
13628 PyObject
* obj1
= 0 ;
13629 char *kwnames
[] = {
13630 (char *) "self",(char *) "imageList", NULL
13633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
13634 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13636 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
13637 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13640 (arg1
)->SetImageList(arg2
);
13642 wxPyEndAllowThreads(__tstate
);
13643 if (PyErr_Occurred()) SWIG_fail
;
13645 Py_INCREF(Py_None
); resultobj
= Py_None
;
13652 static PyObject
*_wrap_BookCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13653 PyObject
*resultobj
;
13654 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13655 wxImageList
*arg2
= (wxImageList
*) 0 ;
13656 PyObject
* obj0
= 0 ;
13657 PyObject
* obj1
= 0 ;
13658 char *kwnames
[] = {
13659 (char *) "self",(char *) "imageList", NULL
13662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
13663 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13665 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
13666 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
13668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13669 (arg1
)->AssignImageList(arg2
);
13671 wxPyEndAllowThreads(__tstate
);
13672 if (PyErr_Occurred()) SWIG_fail
;
13674 Py_INCREF(Py_None
); resultobj
= Py_None
;
13681 static PyObject
*_wrap_BookCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13682 PyObject
*resultobj
;
13683 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13684 wxImageList
*result
;
13685 PyObject
* obj0
= 0 ;
13686 char *kwnames
[] = {
13687 (char *) "self", NULL
13690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
13691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13695 result
= (wxImageList
*)((wxBookCtrl
const *)arg1
)->GetImageList();
13697 wxPyEndAllowThreads(__tstate
);
13698 if (PyErr_Occurred()) SWIG_fail
;
13701 resultobj
= wxPyMake_wxObject(result
);
13709 static PyObject
*_wrap_BookCtrl_GetPageImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13710 PyObject
*resultobj
;
13711 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13714 PyObject
* obj0
= 0 ;
13715 PyObject
* obj1
= 0 ;
13716 char *kwnames
[] = {
13717 (char *) "self",(char *) "n", NULL
13720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPageImage",kwnames
,&obj0
,&obj1
)) goto fail
;
13721 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13723 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13724 if (PyErr_Occurred()) SWIG_fail
;
13726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13727 result
= (int)((wxBookCtrl
const *)arg1
)->GetPageImage(arg2
);
13729 wxPyEndAllowThreads(__tstate
);
13730 if (PyErr_Occurred()) SWIG_fail
;
13732 resultobj
= SWIG_FromInt((int)result
);
13739 static PyObject
*_wrap_BookCtrl_SetPageImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13740 PyObject
*resultobj
;
13741 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13745 PyObject
* obj0
= 0 ;
13746 PyObject
* obj1
= 0 ;
13747 PyObject
* obj2
= 0 ;
13748 char *kwnames
[] = {
13749 (char *) "self",(char *) "n",(char *) "imageId", NULL
13752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrl_SetPageImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13753 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13755 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13756 if (PyErr_Occurred()) SWIG_fail
;
13757 arg3
= (int) SWIG_AsInt(obj2
);
13758 if (PyErr_Occurred()) SWIG_fail
;
13760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13761 result
= (bool)(arg1
)->SetPageImage(arg2
,arg3
);
13763 wxPyEndAllowThreads(__tstate
);
13764 if (PyErr_Occurred()) SWIG_fail
;
13767 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13775 static PyObject
*_wrap_BookCtrl_SetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13776 PyObject
*resultobj
;
13777 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13780 PyObject
* obj0
= 0 ;
13781 PyObject
* obj1
= 0 ;
13782 char *kwnames
[] = {
13783 (char *) "self",(char *) "size", NULL
13786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
13787 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13788 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13791 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
13794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13795 (arg1
)->SetPageSize((wxSize
const &)*arg2
);
13797 wxPyEndAllowThreads(__tstate
);
13798 if (PyErr_Occurred()) SWIG_fail
;
13800 Py_INCREF(Py_None
); resultobj
= Py_None
;
13807 static PyObject
*_wrap_BookCtrl_CalcSizeFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13808 PyObject
*resultobj
;
13809 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13813 PyObject
* obj0
= 0 ;
13814 PyObject
* obj1
= 0 ;
13815 char *kwnames
[] = {
13816 (char *) "self",(char *) "sizePage", NULL
13819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
13820 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13824 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
13827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13828 result
= ((wxBookCtrl
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
13830 wxPyEndAllowThreads(__tstate
);
13831 if (PyErr_Occurred()) SWIG_fail
;
13834 wxSize
* resultptr
;
13835 resultptr
= new wxSize((wxSize
&) result
);
13836 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
13844 static PyObject
*_wrap_BookCtrl_DeletePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13845 PyObject
*resultobj
;
13846 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13849 PyObject
* obj0
= 0 ;
13850 PyObject
* obj1
= 0 ;
13851 char *kwnames
[] = {
13852 (char *) "self",(char *) "n", NULL
13855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_DeletePage",kwnames
,&obj0
,&obj1
)) goto fail
;
13856 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13858 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13859 if (PyErr_Occurred()) SWIG_fail
;
13861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13862 result
= (bool)(arg1
)->DeletePage(arg2
);
13864 wxPyEndAllowThreads(__tstate
);
13865 if (PyErr_Occurred()) SWIG_fail
;
13868 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13876 static PyObject
*_wrap_BookCtrl_RemovePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13877 PyObject
*resultobj
;
13878 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13881 PyObject
* obj0
= 0 ;
13882 PyObject
* obj1
= 0 ;
13883 char *kwnames
[] = {
13884 (char *) "self",(char *) "n", NULL
13887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_RemovePage",kwnames
,&obj0
,&obj1
)) goto fail
;
13888 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13890 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13891 if (PyErr_Occurred()) SWIG_fail
;
13893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13894 result
= (bool)(arg1
)->RemovePage(arg2
);
13896 wxPyEndAllowThreads(__tstate
);
13897 if (PyErr_Occurred()) SWIG_fail
;
13900 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13908 static PyObject
*_wrap_BookCtrl_DeleteAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13909 PyObject
*resultobj
;
13910 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13912 PyObject
* obj0
= 0 ;
13913 char *kwnames
[] = {
13914 (char *) "self", NULL
13917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_DeleteAllPages",kwnames
,&obj0
)) goto fail
;
13918 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13922 result
= (bool)(arg1
)->DeleteAllPages();
13924 wxPyEndAllowThreads(__tstate
);
13925 if (PyErr_Occurred()) SWIG_fail
;
13928 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13936 static PyObject
*_wrap_BookCtrl_AddPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13937 PyObject
*resultobj
;
13938 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13939 wxWindow
*arg2
= (wxWindow
*) 0 ;
13940 wxString
*arg3
= 0 ;
13941 bool arg4
= (bool) False
;
13942 int arg5
= (int) -1 ;
13944 bool temp3
= False
;
13945 PyObject
* obj0
= 0 ;
13946 PyObject
* obj1
= 0 ;
13947 PyObject
* obj2
= 0 ;
13948 PyObject
* obj3
= 0 ;
13949 PyObject
* obj4
= 0 ;
13950 char *kwnames
[] = {
13951 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
13954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:BookCtrl_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13955 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13957 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
13958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13960 arg3
= wxString_in_helper(obj2
);
13961 if (arg3
== NULL
) SWIG_fail
;
13965 arg4
= (bool) SWIG_AsBool(obj3
);
13966 if (PyErr_Occurred()) SWIG_fail
;
13969 arg5
= (int) SWIG_AsInt(obj4
);
13970 if (PyErr_Occurred()) SWIG_fail
;
13973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13974 result
= (bool)(arg1
)->AddPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
13976 wxPyEndAllowThreads(__tstate
);
13977 if (PyErr_Occurred()) SWIG_fail
;
13980 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13996 static PyObject
*_wrap_BookCtrl_InsertPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13997 PyObject
*resultobj
;
13998 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14000 wxWindow
*arg3
= (wxWindow
*) 0 ;
14001 wxString
*arg4
= 0 ;
14002 bool arg5
= (bool) False
;
14003 int arg6
= (int) -1 ;
14005 bool temp4
= False
;
14006 PyObject
* obj0
= 0 ;
14007 PyObject
* obj1
= 0 ;
14008 PyObject
* obj2
= 0 ;
14009 PyObject
* obj3
= 0 ;
14010 PyObject
* obj4
= 0 ;
14011 PyObject
* obj5
= 0 ;
14012 char *kwnames
[] = {
14013 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
14016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:BookCtrl_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14019 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14020 if (PyErr_Occurred()) SWIG_fail
;
14021 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
14022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14024 arg4
= wxString_in_helper(obj3
);
14025 if (arg4
== NULL
) SWIG_fail
;
14029 arg5
= (bool) SWIG_AsBool(obj4
);
14030 if (PyErr_Occurred()) SWIG_fail
;
14033 arg6
= (int) SWIG_AsInt(obj5
);
14034 if (PyErr_Occurred()) SWIG_fail
;
14037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14038 result
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
14040 wxPyEndAllowThreads(__tstate
);
14041 if (PyErr_Occurred()) SWIG_fail
;
14044 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14060 static PyObject
*_wrap_BookCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14061 PyObject
*resultobj
;
14062 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14065 PyObject
* obj0
= 0 ;
14066 PyObject
* obj1
= 0 ;
14067 char *kwnames
[] = {
14068 (char *) "self",(char *) "n", NULL
14071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
14072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14074 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14075 if (PyErr_Occurred()) SWIG_fail
;
14077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14078 result
= (int)(arg1
)->SetSelection(arg2
);
14080 wxPyEndAllowThreads(__tstate
);
14081 if (PyErr_Occurred()) SWIG_fail
;
14083 resultobj
= SWIG_FromInt((int)result
);
14090 static PyObject
*_wrap_BookCtrl_AdvanceSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14091 PyObject
*resultobj
;
14092 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14093 bool arg2
= (bool) True
;
14094 PyObject
* obj0
= 0 ;
14095 PyObject
* obj1
= 0 ;
14096 char *kwnames
[] = {
14097 (char *) "self",(char *) "forward", NULL
14100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:BookCtrl_AdvanceSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
14101 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14104 arg2
= (bool) SWIG_AsBool(obj1
);
14105 if (PyErr_Occurred()) SWIG_fail
;
14108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14109 (arg1
)->AdvanceSelection(arg2
);
14111 wxPyEndAllowThreads(__tstate
);
14112 if (PyErr_Occurred()) SWIG_fail
;
14114 Py_INCREF(Py_None
); resultobj
= Py_None
;
14121 static PyObject
* BookCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
14123 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14124 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrl
, obj
);
14126 return Py_BuildValue((char *)"");
14128 static PyObject
*_wrap_new_BookCtrlEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14129 PyObject
*resultobj
;
14130 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
14131 int arg2
= (int) 0 ;
14132 int arg3
= (int) -1 ;
14133 int arg4
= (int) -1 ;
14134 wxBookCtrlEvent
*result
;
14135 PyObject
* obj0
= 0 ;
14136 PyObject
* obj1
= 0 ;
14137 PyObject
* obj2
= 0 ;
14138 PyObject
* obj3
= 0 ;
14139 char *kwnames
[] = {
14140 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
14143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_BookCtrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14145 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
14146 if (PyErr_Occurred()) SWIG_fail
;
14149 arg2
= (int) SWIG_AsInt(obj1
);
14150 if (PyErr_Occurred()) SWIG_fail
;
14153 arg3
= (int) SWIG_AsInt(obj2
);
14154 if (PyErr_Occurred()) SWIG_fail
;
14157 arg4
= (int) SWIG_AsInt(obj3
);
14158 if (PyErr_Occurred()) SWIG_fail
;
14161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14162 result
= (wxBookCtrlEvent
*)new wxBookCtrlEvent(arg1
,arg2
,arg3
,arg4
);
14164 wxPyEndAllowThreads(__tstate
);
14165 if (PyErr_Occurred()) SWIG_fail
;
14167 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlEvent
, 1);
14174 static PyObject
*_wrap_BookCtrlEvent_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14175 PyObject
*resultobj
;
14176 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
14178 PyObject
* obj0
= 0 ;
14179 char *kwnames
[] = {
14180 (char *) "self", NULL
14183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
14184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
14185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14188 result
= (int)((wxBookCtrlEvent
const *)arg1
)->GetSelection();
14190 wxPyEndAllowThreads(__tstate
);
14191 if (PyErr_Occurred()) SWIG_fail
;
14193 resultobj
= SWIG_FromInt((int)result
);
14200 static PyObject
*_wrap_BookCtrlEvent_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14201 PyObject
*resultobj
;
14202 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
14204 PyObject
* obj0
= 0 ;
14205 PyObject
* obj1
= 0 ;
14206 char *kwnames
[] = {
14207 (char *) "self",(char *) "nSel", NULL
14210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlEvent_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
14211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
14212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14213 arg2
= (int) SWIG_AsInt(obj1
);
14214 if (PyErr_Occurred()) SWIG_fail
;
14216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14217 (arg1
)->SetSelection(arg2
);
14219 wxPyEndAllowThreads(__tstate
);
14220 if (PyErr_Occurred()) SWIG_fail
;
14222 Py_INCREF(Py_None
); resultobj
= Py_None
;
14229 static PyObject
*_wrap_BookCtrlEvent_GetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14230 PyObject
*resultobj
;
14231 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
14233 PyObject
* obj0
= 0 ;
14234 char *kwnames
[] = {
14235 (char *) "self", NULL
14238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlEvent_GetOldSelection",kwnames
,&obj0
)) goto fail
;
14239 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
14240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14243 result
= (int)((wxBookCtrlEvent
const *)arg1
)->GetOldSelection();
14245 wxPyEndAllowThreads(__tstate
);
14246 if (PyErr_Occurred()) SWIG_fail
;
14248 resultobj
= SWIG_FromInt((int)result
);
14255 static PyObject
*_wrap_BookCtrlEvent_SetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14256 PyObject
*resultobj
;
14257 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
14259 PyObject
* obj0
= 0 ;
14260 PyObject
* obj1
= 0 ;
14261 char *kwnames
[] = {
14262 (char *) "self",(char *) "nOldSel", NULL
14265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlEvent_SetOldSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
14266 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
14267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14268 arg2
= (int) SWIG_AsInt(obj1
);
14269 if (PyErr_Occurred()) SWIG_fail
;
14271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14272 (arg1
)->SetOldSelection(arg2
);
14274 wxPyEndAllowThreads(__tstate
);
14275 if (PyErr_Occurred()) SWIG_fail
;
14277 Py_INCREF(Py_None
); resultobj
= Py_None
;
14284 static PyObject
* BookCtrlEvent_swigregister(PyObject
*self
, PyObject
*args
) {
14286 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14287 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlEvent
, obj
);
14289 return Py_BuildValue((char *)"");
14291 static PyObject
*_wrap_new_Notebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14292 PyObject
*resultobj
;
14293 wxWindow
*arg1
= (wxWindow
*) 0 ;
14294 int arg2
= (int) -1 ;
14295 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14296 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14297 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14298 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14299 long arg5
= (long) 0 ;
14300 wxString
const &arg6_defvalue
= wxPyNOTEBOOK_NAME
;
14301 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14302 wxNotebook
*result
;
14305 bool temp6
= False
;
14306 PyObject
* obj0
= 0 ;
14307 PyObject
* obj1
= 0 ;
14308 PyObject
* obj2
= 0 ;
14309 PyObject
* obj3
= 0 ;
14310 PyObject
* obj4
= 0 ;
14311 PyObject
* obj5
= 0 ;
14312 char *kwnames
[] = {
14313 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Notebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
14318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14320 arg2
= (int) SWIG_AsInt(obj1
);
14321 if (PyErr_Occurred()) SWIG_fail
;
14326 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14332 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14336 arg5
= (long) SWIG_AsLong(obj4
);
14337 if (PyErr_Occurred()) SWIG_fail
;
14341 arg6
= wxString_in_helper(obj5
);
14342 if (arg6
== NULL
) SWIG_fail
;
14347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14348 result
= (wxNotebook
*)new wxNotebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14350 wxPyEndAllowThreads(__tstate
);
14351 if (PyErr_Occurred()) SWIG_fail
;
14354 resultobj
= wxPyMake_wxObject(result
);
14370 static PyObject
*_wrap_new_PreNotebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14371 PyObject
*resultobj
;
14372 wxNotebook
*result
;
14373 char *kwnames
[] = {
14377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreNotebook",kwnames
)) goto fail
;
14379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14380 result
= (wxNotebook
*)new wxNotebook();
14382 wxPyEndAllowThreads(__tstate
);
14383 if (PyErr_Occurred()) SWIG_fail
;
14386 resultobj
= wxPyMake_wxObject(result
);
14394 static PyObject
*_wrap_Notebook_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14395 PyObject
*resultobj
;
14396 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14397 wxWindow
*arg2
= (wxWindow
*) 0 ;
14399 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14400 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14401 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14402 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14403 long arg6
= (long) 0 ;
14404 wxString
const &arg7_defvalue
= wxPyNOTEBOOK_NAME
;
14405 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14409 bool temp7
= False
;
14410 PyObject
* obj0
= 0 ;
14411 PyObject
* obj1
= 0 ;
14412 PyObject
* obj2
= 0 ;
14413 PyObject
* obj3
= 0 ;
14414 PyObject
* obj4
= 0 ;
14415 PyObject
* obj5
= 0 ;
14416 PyObject
* obj6
= 0 ;
14417 char *kwnames
[] = {
14418 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Notebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
14423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14424 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
14425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14426 arg3
= (int) SWIG_AsInt(obj2
);
14427 if (PyErr_Occurred()) SWIG_fail
;
14431 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14437 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14441 arg6
= (long) SWIG_AsLong(obj5
);
14442 if (PyErr_Occurred()) SWIG_fail
;
14446 arg7
= wxString_in_helper(obj6
);
14447 if (arg7
== NULL
) SWIG_fail
;
14452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14453 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14455 wxPyEndAllowThreads(__tstate
);
14456 if (PyErr_Occurred()) SWIG_fail
;
14459 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14475 static PyObject
*_wrap_Notebook_GetRowCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14476 PyObject
*resultobj
;
14477 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14479 PyObject
* obj0
= 0 ;
14480 char *kwnames
[] = {
14481 (char *) "self", NULL
14484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Notebook_GetRowCount",kwnames
,&obj0
)) goto fail
;
14485 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
14486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14489 result
= (int)((wxNotebook
const *)arg1
)->GetRowCount();
14491 wxPyEndAllowThreads(__tstate
);
14492 if (PyErr_Occurred()) SWIG_fail
;
14494 resultobj
= SWIG_FromInt((int)result
);
14501 static PyObject
*_wrap_Notebook_SetPadding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14502 PyObject
*resultobj
;
14503 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14506 PyObject
* obj0
= 0 ;
14507 PyObject
* obj1
= 0 ;
14508 char *kwnames
[] = {
14509 (char *) "self",(char *) "padding", NULL
14512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetPadding",kwnames
,&obj0
,&obj1
)) goto fail
;
14513 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
14514 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14517 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14521 (arg1
)->SetPadding((wxSize
const &)*arg2
);
14523 wxPyEndAllowThreads(__tstate
);
14524 if (PyErr_Occurred()) SWIG_fail
;
14526 Py_INCREF(Py_None
); resultobj
= Py_None
;
14533 static PyObject
*_wrap_Notebook_SetTabSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14534 PyObject
*resultobj
;
14535 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14538 PyObject
* obj0
= 0 ;
14539 PyObject
* obj1
= 0 ;
14540 char *kwnames
[] = {
14541 (char *) "self",(char *) "sz", NULL
14544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetTabSize",kwnames
,&obj0
,&obj1
)) goto fail
;
14545 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
14546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14549 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14553 (arg1
)->SetTabSize((wxSize
const &)*arg2
);
14555 wxPyEndAllowThreads(__tstate
);
14556 if (PyErr_Occurred()) SWIG_fail
;
14558 Py_INCREF(Py_None
); resultobj
= Py_None
;
14565 static PyObject
*_wrap_Notebook_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14566 PyObject
*resultobj
;
14567 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14568 wxPoint
*arg2
= 0 ;
14569 long *arg3
= (long *) 0 ;
14573 PyObject
* obj0
= 0 ;
14574 PyObject
* obj1
= 0 ;
14575 char *kwnames
[] = {
14576 (char *) "self",(char *) "pt", NULL
14580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
14581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
14582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14585 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14589 result
= (int)((wxNotebook
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
14591 wxPyEndAllowThreads(__tstate
);
14592 if (PyErr_Occurred()) SWIG_fail
;
14594 resultobj
= SWIG_FromInt((int)result
);
14596 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14597 resultobj
= t_output_helper(resultobj
,o
);
14605 static PyObject
*_wrap_Notebook_CalcSizeFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14606 PyObject
*resultobj
;
14607 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14611 PyObject
* obj0
= 0 ;
14612 PyObject
* obj1
= 0 ;
14613 char *kwnames
[] = {
14614 (char *) "self",(char *) "sizePage", NULL
14617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
14618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
14619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14622 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14626 result
= ((wxNotebook
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
14628 wxPyEndAllowThreads(__tstate
);
14629 if (PyErr_Occurred()) SWIG_fail
;
14632 wxSize
* resultptr
;
14633 resultptr
= new wxSize((wxSize
&) result
);
14634 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
14642 static PyObject
*_wrap_Notebook_ApplyThemeBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14643 PyObject
*resultobj
;
14644 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14645 wxWindow
*arg2
= (wxWindow
*) 0 ;
14646 wxColour
*arg3
= 0 ;
14648 PyObject
* obj0
= 0 ;
14649 PyObject
* obj1
= 0 ;
14650 PyObject
* obj2
= 0 ;
14651 char *kwnames
[] = {
14652 (char *) "self",(char *) "window",(char *) "colour", NULL
14655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Notebook_ApplyThemeBackground",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14656 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
14657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14658 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
14659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14662 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
14665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14666 (arg1
)->ApplyThemeBackground(arg2
,(wxColour
const &)*arg3
);
14668 wxPyEndAllowThreads(__tstate
);
14669 if (PyErr_Occurred()) SWIG_fail
;
14671 Py_INCREF(Py_None
); resultobj
= Py_None
;
14678 static PyObject
* Notebook_swigregister(PyObject
*self
, PyObject
*args
) {
14680 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14681 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook
, obj
);
14683 return Py_BuildValue((char *)"");
14685 static PyObject
*_wrap_new_NotebookEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14686 PyObject
*resultobj
;
14687 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
14688 int arg2
= (int) 0 ;
14689 int arg3
= (int) -1 ;
14690 int arg4
= (int) -1 ;
14691 wxNotebookEvent
*result
;
14692 PyObject
* obj0
= 0 ;
14693 PyObject
* obj1
= 0 ;
14694 PyObject
* obj2
= 0 ;
14695 PyObject
* obj3
= 0 ;
14696 char *kwnames
[] = {
14697 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
14700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_NotebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14702 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
14703 if (PyErr_Occurred()) SWIG_fail
;
14706 arg2
= (int) SWIG_AsInt(obj1
);
14707 if (PyErr_Occurred()) SWIG_fail
;
14710 arg3
= (int) SWIG_AsInt(obj2
);
14711 if (PyErr_Occurred()) SWIG_fail
;
14714 arg4
= (int) SWIG_AsInt(obj3
);
14715 if (PyErr_Occurred()) SWIG_fail
;
14718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14719 result
= (wxNotebookEvent
*)new wxNotebookEvent(arg1
,arg2
,arg3
,arg4
);
14721 wxPyEndAllowThreads(__tstate
);
14722 if (PyErr_Occurred()) SWIG_fail
;
14724 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebookEvent
, 1);
14731 static PyObject
* NotebookEvent_swigregister(PyObject
*self
, PyObject
*args
) {
14733 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14734 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent
, obj
);
14736 return Py_BuildValue((char *)"");
14738 static PyObject
*_wrap_new_Listbook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14739 PyObject
*resultobj
;
14740 wxWindow
*arg1
= (wxWindow
*) 0 ;
14741 int arg2
= (int) -1 ;
14742 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14743 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14744 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14745 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14746 long arg5
= (long) 0 ;
14747 wxString
const &arg6_defvalue
= wxPyEmptyString
;
14748 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14749 wxListbook
*result
;
14752 bool temp6
= 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 char *kwnames
[] = {
14760 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Listbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
14765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14767 arg2
= (int) SWIG_AsInt(obj1
);
14768 if (PyErr_Occurred()) SWIG_fail
;
14773 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14779 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14783 arg5
= (long) SWIG_AsLong(obj4
);
14784 if (PyErr_Occurred()) SWIG_fail
;
14788 arg6
= wxString_in_helper(obj5
);
14789 if (arg6
== NULL
) SWIG_fail
;
14794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14795 result
= (wxListbook
*)new wxListbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14797 wxPyEndAllowThreads(__tstate
);
14798 if (PyErr_Occurred()) SWIG_fail
;
14800 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1);
14815 static PyObject
*_wrap_new_PreListbook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14816 PyObject
*resultobj
;
14817 wxListbook
*result
;
14818 char *kwnames
[] = {
14822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListbook",kwnames
)) goto fail
;
14824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14825 result
= (wxListbook
*)new wxListbook();
14827 wxPyEndAllowThreads(__tstate
);
14828 if (PyErr_Occurred()) SWIG_fail
;
14830 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1);
14837 static PyObject
*_wrap_Listbook_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14838 PyObject
*resultobj
;
14839 wxListbook
*arg1
= (wxListbook
*) 0 ;
14840 wxWindow
*arg2
= (wxWindow
*) 0 ;
14842 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14843 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14844 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14845 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14846 long arg6
= (long) 0 ;
14847 wxString
const &arg7_defvalue
= wxPyEmptyString
;
14848 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14852 bool temp7
= False
;
14853 PyObject
* obj0
= 0 ;
14854 PyObject
* obj1
= 0 ;
14855 PyObject
* obj2
= 0 ;
14856 PyObject
* obj3
= 0 ;
14857 PyObject
* obj4
= 0 ;
14858 PyObject
* obj5
= 0 ;
14859 PyObject
* obj6
= 0 ;
14860 char *kwnames
[] = {
14861 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Listbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14865 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListbook
,
14866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14867 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
14868 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14869 arg3
= (int) SWIG_AsInt(obj2
);
14870 if (PyErr_Occurred()) SWIG_fail
;
14874 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14880 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14884 arg6
= (long) SWIG_AsLong(obj5
);
14885 if (PyErr_Occurred()) SWIG_fail
;
14889 arg7
= wxString_in_helper(obj6
);
14890 if (arg7
== NULL
) SWIG_fail
;
14895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14896 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14898 wxPyEndAllowThreads(__tstate
);
14899 if (PyErr_Occurred()) SWIG_fail
;
14902 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14918 static PyObject
*_wrap_Listbook_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14919 PyObject
*resultobj
;
14920 wxListbook
*arg1
= (wxListbook
*) 0 ;
14922 PyObject
* obj0
= 0 ;
14923 char *kwnames
[] = {
14924 (char *) "self", NULL
14927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Listbook_IsVertical",kwnames
,&obj0
)) goto fail
;
14928 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListbook
,
14929 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14932 result
= (bool)((wxListbook
const *)arg1
)->IsVertical();
14934 wxPyEndAllowThreads(__tstate
);
14935 if (PyErr_Occurred()) SWIG_fail
;
14938 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14946 static PyObject
* Listbook_swigregister(PyObject
*self
, PyObject
*args
) {
14948 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14949 SWIG_TypeClientData(SWIGTYPE_p_wxListbook
, obj
);
14951 return Py_BuildValue((char *)"");
14953 static PyObject
*_wrap_new_ListbookEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14954 PyObject
*resultobj
;
14955 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
14956 int arg2
= (int) 0 ;
14957 int arg3
= (int) -1 ;
14958 int arg4
= (int) -1 ;
14959 wxListbookEvent
*result
;
14960 PyObject
* obj0
= 0 ;
14961 PyObject
* obj1
= 0 ;
14962 PyObject
* obj2
= 0 ;
14963 PyObject
* obj3
= 0 ;
14964 char *kwnames
[] = {
14965 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
14968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ListbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14970 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
14971 if (PyErr_Occurred()) SWIG_fail
;
14974 arg2
= (int) SWIG_AsInt(obj1
);
14975 if (PyErr_Occurred()) SWIG_fail
;
14978 arg3
= (int) SWIG_AsInt(obj2
);
14979 if (PyErr_Occurred()) SWIG_fail
;
14982 arg4
= (int) SWIG_AsInt(obj3
);
14983 if (PyErr_Occurred()) SWIG_fail
;
14986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14987 result
= (wxListbookEvent
*)new wxListbookEvent(arg1
,arg2
,arg3
,arg4
);
14989 wxPyEndAllowThreads(__tstate
);
14990 if (PyErr_Occurred()) SWIG_fail
;
14992 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbookEvent
, 1);
14999 static PyObject
* ListbookEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15001 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15002 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent
, obj
);
15004 return Py_BuildValue((char *)"");
15006 static PyObject
*_wrap_new_BookCtrlSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15007 PyObject
*resultobj
;
15008 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
15009 wxBookCtrlSizer
*result
;
15010 PyObject
* obj0
= 0 ;
15011 char *kwnames
[] = {
15012 (char *) "nb", NULL
15015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BookCtrlSizer",kwnames
,&obj0
)) goto fail
;
15016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
15017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15020 result
= (wxBookCtrlSizer
*)new wxBookCtrlSizer(arg1
);
15022 wxPyEndAllowThreads(__tstate
);
15023 if (PyErr_Occurred()) SWIG_fail
;
15025 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlSizer
, 1);
15032 static PyObject
*_wrap_BookCtrlSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15033 PyObject
*resultobj
;
15034 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
15035 PyObject
* obj0
= 0 ;
15036 char *kwnames
[] = {
15037 (char *) "self", NULL
15040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
15041 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlSizer
,
15042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15045 (arg1
)->RecalcSizes();
15047 wxPyEndAllowThreads(__tstate
);
15048 if (PyErr_Occurred()) SWIG_fail
;
15050 Py_INCREF(Py_None
); resultobj
= Py_None
;
15057 static PyObject
*_wrap_BookCtrlSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15058 PyObject
*resultobj
;
15059 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
15061 PyObject
* obj0
= 0 ;
15062 char *kwnames
[] = {
15063 (char *) "self", NULL
15066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
15067 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlSizer
,
15068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15071 result
= (arg1
)->CalcMin();
15073 wxPyEndAllowThreads(__tstate
);
15074 if (PyErr_Occurred()) SWIG_fail
;
15077 wxSize
* resultptr
;
15078 resultptr
= new wxSize((wxSize
&) result
);
15079 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15087 static PyObject
*_wrap_BookCtrlSizer_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15088 PyObject
*resultobj
;
15089 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
15090 wxBookCtrl
*result
;
15091 PyObject
* obj0
= 0 ;
15092 char *kwnames
[] = {
15093 (char *) "self", NULL
15096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_GetControl",kwnames
,&obj0
)) goto fail
;
15097 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlSizer
,
15098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15101 result
= (wxBookCtrl
*)(arg1
)->GetControl();
15103 wxPyEndAllowThreads(__tstate
);
15104 if (PyErr_Occurred()) SWIG_fail
;
15106 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrl
, 0);
15113 static PyObject
* BookCtrlSizer_swigregister(PyObject
*self
, PyObject
*args
) {
15115 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15116 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer
, obj
);
15118 return Py_BuildValue((char *)"");
15120 static PyObject
*_wrap_new_NotebookSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15121 PyObject
*resultobj
;
15122 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15123 wxNotebookSizer
*result
;
15124 PyObject
* obj0
= 0 ;
15125 char *kwnames
[] = {
15126 (char *) "nb", NULL
15129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NotebookSizer",kwnames
,&obj0
)) goto fail
;
15130 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15131 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15134 result
= (wxNotebookSizer
*)new wxNotebookSizer(arg1
);
15136 wxPyEndAllowThreads(__tstate
);
15137 if (PyErr_Occurred()) SWIG_fail
;
15139 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebookSizer
, 1);
15146 static PyObject
*_wrap_NotebookSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15147 PyObject
*resultobj
;
15148 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
15149 PyObject
* obj0
= 0 ;
15150 char *kwnames
[] = {
15151 (char *) "self", NULL
15154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
15155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebookSizer
,
15156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15159 (arg1
)->RecalcSizes();
15161 wxPyEndAllowThreads(__tstate
);
15162 if (PyErr_Occurred()) SWIG_fail
;
15164 Py_INCREF(Py_None
); resultobj
= Py_None
;
15171 static PyObject
*_wrap_NotebookSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15172 PyObject
*resultobj
;
15173 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
15175 PyObject
* obj0
= 0 ;
15176 char *kwnames
[] = {
15177 (char *) "self", NULL
15180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
15181 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebookSizer
,
15182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15185 result
= (arg1
)->CalcMin();
15187 wxPyEndAllowThreads(__tstate
);
15188 if (PyErr_Occurred()) SWIG_fail
;
15191 wxSize
* resultptr
;
15192 resultptr
= new wxSize((wxSize
&) result
);
15193 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15201 static PyObject
*_wrap_NotebookSizer_GetNotebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15202 PyObject
*resultobj
;
15203 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
15204 wxNotebook
*result
;
15205 PyObject
* obj0
= 0 ;
15206 char *kwnames
[] = {
15207 (char *) "self", NULL
15210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_GetNotebook",kwnames
,&obj0
)) goto fail
;
15211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebookSizer
,
15212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15215 result
= (wxNotebook
*)(arg1
)->GetNotebook();
15217 wxPyEndAllowThreads(__tstate
);
15218 if (PyErr_Occurred()) SWIG_fail
;
15221 resultobj
= wxPyMake_wxObject(result
);
15229 static PyObject
* NotebookSizer_swigregister(PyObject
*self
, PyObject
*args
) {
15231 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15232 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer
, obj
);
15234 return Py_BuildValue((char *)"");
15236 static PyObject
*_wrap_ToolBarToolBase_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15237 PyObject
*resultobj
;
15238 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15240 PyObject
* obj0
= 0 ;
15241 char *kwnames
[] = {
15242 (char *) "self", NULL
15245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetId",kwnames
,&obj0
)) goto fail
;
15246 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15247 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15250 result
= (int)(arg1
)->GetId();
15252 wxPyEndAllowThreads(__tstate
);
15253 if (PyErr_Occurred()) SWIG_fail
;
15255 resultobj
= SWIG_FromInt((int)result
);
15262 static PyObject
*_wrap_ToolBarToolBase_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15263 PyObject
*resultobj
;
15264 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15266 PyObject
* obj0
= 0 ;
15267 char *kwnames
[] = {
15268 (char *) "self", NULL
15271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetControl",kwnames
,&obj0
)) goto fail
;
15272 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15276 result
= (wxControl
*)(arg1
)->GetControl();
15278 wxPyEndAllowThreads(__tstate
);
15279 if (PyErr_Occurred()) SWIG_fail
;
15282 resultobj
= wxPyMake_wxObject(result
);
15290 static PyObject
*_wrap_ToolBarToolBase_GetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15291 PyObject
*resultobj
;
15292 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15293 wxToolBarBase
*result
;
15294 PyObject
* obj0
= 0 ;
15295 char *kwnames
[] = {
15296 (char *) "self", NULL
15299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetToolBar",kwnames
,&obj0
)) goto fail
;
15300 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15304 result
= (wxToolBarBase
*)(arg1
)->GetToolBar();
15306 wxPyEndAllowThreads(__tstate
);
15307 if (PyErr_Occurred()) SWIG_fail
;
15310 resultobj
= wxPyMake_wxObject(result
);
15318 static PyObject
*_wrap_ToolBarToolBase_IsButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15319 PyObject
*resultobj
;
15320 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15322 PyObject
* obj0
= 0 ;
15323 char *kwnames
[] = {
15324 (char *) "self", NULL
15327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsButton",kwnames
,&obj0
)) goto fail
;
15328 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15329 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15332 result
= (int)(arg1
)->IsButton();
15334 wxPyEndAllowThreads(__tstate
);
15335 if (PyErr_Occurred()) SWIG_fail
;
15337 resultobj
= SWIG_FromInt((int)result
);
15344 static PyObject
*_wrap_ToolBarToolBase_IsControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15345 PyObject
*resultobj
;
15346 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15348 PyObject
* obj0
= 0 ;
15349 char *kwnames
[] = {
15350 (char *) "self", NULL
15353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsControl",kwnames
,&obj0
)) goto fail
;
15354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15358 result
= (int)(arg1
)->IsControl();
15360 wxPyEndAllowThreads(__tstate
);
15361 if (PyErr_Occurred()) SWIG_fail
;
15363 resultobj
= SWIG_FromInt((int)result
);
15370 static PyObject
*_wrap_ToolBarToolBase_IsSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15371 PyObject
*resultobj
;
15372 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15374 PyObject
* obj0
= 0 ;
15375 char *kwnames
[] = {
15376 (char *) "self", NULL
15379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsSeparator",kwnames
,&obj0
)) goto fail
;
15380 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15384 result
= (int)(arg1
)->IsSeparator();
15386 wxPyEndAllowThreads(__tstate
);
15387 if (PyErr_Occurred()) SWIG_fail
;
15389 resultobj
= SWIG_FromInt((int)result
);
15396 static PyObject
*_wrap_ToolBarToolBase_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15397 PyObject
*resultobj
;
15398 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15400 PyObject
* obj0
= 0 ;
15401 char *kwnames
[] = {
15402 (char *) "self", NULL
15405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetStyle",kwnames
,&obj0
)) goto fail
;
15406 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15410 result
= (int)(arg1
)->GetStyle();
15412 wxPyEndAllowThreads(__tstate
);
15413 if (PyErr_Occurred()) SWIG_fail
;
15415 resultobj
= SWIG_FromInt((int)result
);
15422 static PyObject
*_wrap_ToolBarToolBase_GetKind(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15423 PyObject
*resultobj
;
15424 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15426 PyObject
* obj0
= 0 ;
15427 char *kwnames
[] = {
15428 (char *) "self", NULL
15431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetKind",kwnames
,&obj0
)) goto fail
;
15432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15436 result
= (int)(arg1
)->GetKind();
15438 wxPyEndAllowThreads(__tstate
);
15439 if (PyErr_Occurred()) SWIG_fail
;
15441 resultobj
= SWIG_FromInt((int)result
);
15448 static PyObject
*_wrap_ToolBarToolBase_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15449 PyObject
*resultobj
;
15450 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15452 PyObject
* obj0
= 0 ;
15453 char *kwnames
[] = {
15454 (char *) "self", NULL
15457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsEnabled",kwnames
,&obj0
)) goto fail
;
15458 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15459 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15462 result
= (bool)(arg1
)->IsEnabled();
15464 wxPyEndAllowThreads(__tstate
);
15465 if (PyErr_Occurred()) SWIG_fail
;
15468 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15476 static PyObject
*_wrap_ToolBarToolBase_IsToggled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15477 PyObject
*resultobj
;
15478 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15480 PyObject
* obj0
= 0 ;
15481 char *kwnames
[] = {
15482 (char *) "self", NULL
15485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsToggled",kwnames
,&obj0
)) goto fail
;
15486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15490 result
= (bool)(arg1
)->IsToggled();
15492 wxPyEndAllowThreads(__tstate
);
15493 if (PyErr_Occurred()) SWIG_fail
;
15496 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15504 static PyObject
*_wrap_ToolBarToolBase_CanBeToggled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15505 PyObject
*resultobj
;
15506 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15508 PyObject
* obj0
= 0 ;
15509 char *kwnames
[] = {
15510 (char *) "self", NULL
15513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames
,&obj0
)) goto fail
;
15514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15518 result
= (bool)(arg1
)->CanBeToggled();
15520 wxPyEndAllowThreads(__tstate
);
15521 if (PyErr_Occurred()) SWIG_fail
;
15524 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15532 static PyObject
*_wrap_ToolBarToolBase_GetNormalBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15533 PyObject
*resultobj
;
15534 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15536 PyObject
* obj0
= 0 ;
15537 char *kwnames
[] = {
15538 (char *) "self", NULL
15541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames
,&obj0
)) goto fail
;
15542 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15543 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15547 wxBitmap
const &_result_ref
= (arg1
)->GetNormalBitmap();
15548 result
= (wxBitmap
*) &_result_ref
;
15551 wxPyEndAllowThreads(__tstate
);
15552 if (PyErr_Occurred()) SWIG_fail
;
15555 wxBitmap
* resultptr
= new wxBitmap(*result
);
15556 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
15564 static PyObject
*_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15565 PyObject
*resultobj
;
15566 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15568 PyObject
* obj0
= 0 ;
15569 char *kwnames
[] = {
15570 (char *) "self", NULL
15573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
;
15574 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15579 wxBitmap
const &_result_ref
= (arg1
)->GetDisabledBitmap();
15580 result
= (wxBitmap
*) &_result_ref
;
15583 wxPyEndAllowThreads(__tstate
);
15584 if (PyErr_Occurred()) SWIG_fail
;
15587 wxBitmap
* resultptr
= new wxBitmap(*result
);
15588 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
15596 static PyObject
*_wrap_ToolBarToolBase_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15597 PyObject
*resultobj
;
15598 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15600 PyObject
* obj0
= 0 ;
15601 char *kwnames
[] = {
15602 (char *) "self", NULL
15605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetBitmap",kwnames
,&obj0
)) goto fail
;
15606 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15610 result
= (arg1
)->GetBitmap();
15612 wxPyEndAllowThreads(__tstate
);
15613 if (PyErr_Occurred()) SWIG_fail
;
15616 wxBitmap
* resultptr
;
15617 resultptr
= new wxBitmap((wxBitmap
&) result
);
15618 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
15626 static PyObject
*_wrap_ToolBarToolBase_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15627 PyObject
*resultobj
;
15628 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15630 PyObject
* obj0
= 0 ;
15631 char *kwnames
[] = {
15632 (char *) "self", NULL
15635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLabel",kwnames
,&obj0
)) goto fail
;
15636 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15637 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15640 result
= (arg1
)->GetLabel();
15642 wxPyEndAllowThreads(__tstate
);
15643 if (PyErr_Occurred()) SWIG_fail
;
15647 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15649 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15658 static PyObject
*_wrap_ToolBarToolBase_GetShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15659 PyObject
*resultobj
;
15660 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15662 PyObject
* obj0
= 0 ;
15663 char *kwnames
[] = {
15664 (char *) "self", NULL
15667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames
,&obj0
)) goto fail
;
15668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15672 result
= (arg1
)->GetShortHelp();
15674 wxPyEndAllowThreads(__tstate
);
15675 if (PyErr_Occurred()) SWIG_fail
;
15679 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15681 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15690 static PyObject
*_wrap_ToolBarToolBase_GetLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15691 PyObject
*resultobj
;
15692 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15694 PyObject
* obj0
= 0 ;
15695 char *kwnames
[] = {
15696 (char *) "self", NULL
15699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames
,&obj0
)) goto fail
;
15700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15704 result
= (arg1
)->GetLongHelp();
15706 wxPyEndAllowThreads(__tstate
);
15707 if (PyErr_Occurred()) SWIG_fail
;
15711 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15713 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15722 static PyObject
*_wrap_ToolBarToolBase_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15723 PyObject
*resultobj
;
15724 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15727 PyObject
* obj0
= 0 ;
15728 PyObject
* obj1
= 0 ;
15729 char *kwnames
[] = {
15730 (char *) "self",(char *) "enable", NULL
15733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
15734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15736 arg2
= (bool) SWIG_AsBool(obj1
);
15737 if (PyErr_Occurred()) SWIG_fail
;
15739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15740 result
= (bool)(arg1
)->Enable(arg2
);
15742 wxPyEndAllowThreads(__tstate
);
15743 if (PyErr_Occurred()) SWIG_fail
;
15746 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15754 static PyObject
*_wrap_ToolBarToolBase_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15755 PyObject
*resultobj
;
15756 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15757 PyObject
* obj0
= 0 ;
15758 char *kwnames
[] = {
15759 (char *) "self", NULL
15762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Toggle",kwnames
,&obj0
)) goto fail
;
15763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15769 wxPyEndAllowThreads(__tstate
);
15770 if (PyErr_Occurred()) SWIG_fail
;
15772 Py_INCREF(Py_None
); resultobj
= Py_None
;
15779 static PyObject
*_wrap_ToolBarToolBase_SetToggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15780 PyObject
*resultobj
;
15781 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15784 PyObject
* obj0
= 0 ;
15785 PyObject
* obj1
= 0 ;
15786 char *kwnames
[] = {
15787 (char *) "self",(char *) "toggle", NULL
15790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetToggle",kwnames
,&obj0
,&obj1
)) goto fail
;
15791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15793 arg2
= (bool) SWIG_AsBool(obj1
);
15794 if (PyErr_Occurred()) SWIG_fail
;
15796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15797 result
= (bool)(arg1
)->SetToggle(arg2
);
15799 wxPyEndAllowThreads(__tstate
);
15800 if (PyErr_Occurred()) SWIG_fail
;
15803 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15811 static PyObject
*_wrap_ToolBarToolBase_SetShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15812 PyObject
*resultobj
;
15813 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15814 wxString
*arg2
= 0 ;
15816 bool temp2
= False
;
15817 PyObject
* obj0
= 0 ;
15818 PyObject
* obj1
= 0 ;
15819 char *kwnames
[] = {
15820 (char *) "self",(char *) "help", NULL
15823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
15824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15827 arg2
= wxString_in_helper(obj1
);
15828 if (arg2
== NULL
) SWIG_fail
;
15832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15833 result
= (bool)(arg1
)->SetShortHelp((wxString
const &)*arg2
);
15835 wxPyEndAllowThreads(__tstate
);
15836 if (PyErr_Occurred()) SWIG_fail
;
15839 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15855 static PyObject
*_wrap_ToolBarToolBase_SetLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15856 PyObject
*resultobj
;
15857 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15858 wxString
*arg2
= 0 ;
15860 bool temp2
= False
;
15861 PyObject
* obj0
= 0 ;
15862 PyObject
* obj1
= 0 ;
15863 char *kwnames
[] = {
15864 (char *) "self",(char *) "help", NULL
15867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
15868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15871 arg2
= wxString_in_helper(obj1
);
15872 if (arg2
== NULL
) SWIG_fail
;
15876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15877 result
= (bool)(arg1
)->SetLongHelp((wxString
const &)*arg2
);
15879 wxPyEndAllowThreads(__tstate
);
15880 if (PyErr_Occurred()) SWIG_fail
;
15883 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15899 static PyObject
*_wrap_ToolBarToolBase_SetNormalBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15900 PyObject
*resultobj
;
15901 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15902 wxBitmap
*arg2
= 0 ;
15903 PyObject
* obj0
= 0 ;
15904 PyObject
* obj1
= 0 ;
15905 char *kwnames
[] = {
15906 (char *) "self",(char *) "bmp", NULL
15909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
15910 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15911 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15912 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
15913 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15915 if (arg2
== NULL
) {
15916 PyErr_SetString(PyExc_TypeError
,"null reference");
15920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15921 (arg1
)->SetNormalBitmap((wxBitmap
const &)*arg2
);
15923 wxPyEndAllowThreads(__tstate
);
15924 if (PyErr_Occurred()) SWIG_fail
;
15926 Py_INCREF(Py_None
); resultobj
= Py_None
;
15933 static PyObject
*_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15934 PyObject
*resultobj
;
15935 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15936 wxBitmap
*arg2
= 0 ;
15937 PyObject
* obj0
= 0 ;
15938 PyObject
* obj1
= 0 ;
15939 char *kwnames
[] = {
15940 (char *) "self",(char *) "bmp", NULL
15943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",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_wxBitmap
,
15947 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15949 if (arg2
== NULL
) {
15950 PyErr_SetString(PyExc_TypeError
,"null reference");
15954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15955 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
15957 wxPyEndAllowThreads(__tstate
);
15958 if (PyErr_Occurred()) SWIG_fail
;
15960 Py_INCREF(Py_None
); resultobj
= Py_None
;
15967 static PyObject
*_wrap_ToolBarToolBase_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15968 PyObject
*resultobj
;
15969 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15970 wxString
*arg2
= 0 ;
15971 bool temp2
= False
;
15972 PyObject
* obj0
= 0 ;
15973 PyObject
* obj1
= 0 ;
15974 char *kwnames
[] = {
15975 (char *) "self",(char *) "label", NULL
15978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
15979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15982 arg2
= wxString_in_helper(obj1
);
15983 if (arg2
== NULL
) SWIG_fail
;
15987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15988 (arg1
)->SetLabel((wxString
const &)*arg2
);
15990 wxPyEndAllowThreads(__tstate
);
15991 if (PyErr_Occurred()) SWIG_fail
;
15993 Py_INCREF(Py_None
); resultobj
= Py_None
;
16008 static PyObject
*_wrap_ToolBarToolBase_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16009 PyObject
*resultobj
;
16010 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16011 PyObject
* obj0
= 0 ;
16012 char *kwnames
[] = {
16013 (char *) "self", NULL
16016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Detach",kwnames
,&obj0
)) goto fail
;
16017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16023 wxPyEndAllowThreads(__tstate
);
16024 if (PyErr_Occurred()) SWIG_fail
;
16026 Py_INCREF(Py_None
); resultobj
= Py_None
;
16033 static PyObject
*_wrap_ToolBarToolBase_Attach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16034 PyObject
*resultobj
;
16035 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16036 wxToolBarBase
*arg2
= (wxToolBarBase
*) 0 ;
16037 PyObject
* obj0
= 0 ;
16038 PyObject
* obj1
= 0 ;
16039 char *kwnames
[] = {
16040 (char *) "self",(char *) "tbar", NULL
16043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
16044 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16046 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBarBase
,
16047 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16050 (arg1
)->Attach(arg2
);
16052 wxPyEndAllowThreads(__tstate
);
16053 if (PyErr_Occurred()) SWIG_fail
;
16055 Py_INCREF(Py_None
); resultobj
= Py_None
;
16062 static PyObject
*_wrap_ToolBarToolBase_GetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16063 PyObject
*resultobj
;
16064 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16066 PyObject
* obj0
= 0 ;
16067 char *kwnames
[] = {
16068 (char *) "self", NULL
16071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetClientData",kwnames
,&obj0
)) goto fail
;
16072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16076 result
= (PyObject
*)wxToolBarToolBase_GetClientData(arg1
);
16078 wxPyEndAllowThreads(__tstate
);
16079 if (PyErr_Occurred()) SWIG_fail
;
16081 resultobj
= result
;
16088 static PyObject
*_wrap_ToolBarToolBase_SetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16089 PyObject
*resultobj
;
16090 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16091 PyObject
*arg2
= (PyObject
*) 0 ;
16092 PyObject
* obj0
= 0 ;
16093 PyObject
* obj1
= 0 ;
16094 char *kwnames
[] = {
16095 (char *) "self",(char *) "clientData", NULL
16098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
16099 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16100 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16104 wxToolBarToolBase_SetClientData(arg1
,arg2
);
16106 wxPyEndAllowThreads(__tstate
);
16107 if (PyErr_Occurred()) SWIG_fail
;
16109 Py_INCREF(Py_None
); resultobj
= Py_None
;
16116 static PyObject
* ToolBarToolBase_swigregister(PyObject
*self
, PyObject
*args
) {
16118 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16119 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase
, obj
);
16121 return Py_BuildValue((char *)"");
16123 static PyObject
*_wrap_ToolBarBase_DoAddTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16124 PyObject
*resultobj
;
16125 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16127 wxString
*arg3
= 0 ;
16128 wxBitmap
*arg4
= 0 ;
16129 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
16130 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
16131 int arg6
= (int) wxITEM_NORMAL
;
16132 wxString
const &arg7_defvalue
= wxPyEmptyString
;
16133 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
16134 wxString
const &arg8_defvalue
= wxPyEmptyString
;
16135 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
16136 PyObject
*arg9
= (PyObject
*) NULL
;
16137 wxToolBarToolBase
*result
;
16138 bool temp3
= False
;
16139 bool temp7
= False
;
16140 bool temp8
= False
;
16141 PyObject
* obj0
= 0 ;
16142 PyObject
* obj1
= 0 ;
16143 PyObject
* obj2
= 0 ;
16144 PyObject
* obj3
= 0 ;
16145 PyObject
* obj4
= 0 ;
16146 PyObject
* obj5
= 0 ;
16147 PyObject
* obj6
= 0 ;
16148 PyObject
* obj7
= 0 ;
16149 PyObject
* obj8
= 0 ;
16150 char *kwnames
[] = {
16151 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
16154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
16155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16157 arg2
= (int) SWIG_AsInt(obj1
);
16158 if (PyErr_Occurred()) SWIG_fail
;
16160 arg3
= wxString_in_helper(obj2
);
16161 if (arg3
== NULL
) SWIG_fail
;
16164 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
16165 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16167 if (arg4
== NULL
) {
16168 PyErr_SetString(PyExc_TypeError
,"null reference");
16172 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxBitmap
,
16173 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16175 if (arg5
== NULL
) {
16176 PyErr_SetString(PyExc_TypeError
,"null reference");
16181 arg6
= (wxItemKind
) SWIG_AsInt(obj5
);
16182 if (PyErr_Occurred()) SWIG_fail
;
16186 arg7
= wxString_in_helper(obj6
);
16187 if (arg7
== NULL
) SWIG_fail
;
16193 arg8
= wxString_in_helper(obj7
);
16194 if (arg8
== NULL
) SWIG_fail
;
16202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16203 result
= (wxToolBarToolBase
*)wxToolBarBase_DoAddTool(arg1
,arg2
,(wxString
const &)*arg3
,(wxBitmap
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxItemKind
)arg6
,(wxString
const &)*arg7
,(wxString
const &)*arg8
,arg9
);
16205 wxPyEndAllowThreads(__tstate
);
16206 if (PyErr_Occurred()) SWIG_fail
;
16209 resultobj
= wxPyMake_wxObject(result
);
16241 static PyObject
*_wrap_ToolBarBase_DoInsertTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16242 PyObject
*resultobj
;
16243 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16246 wxString
*arg4
= 0 ;
16247 wxBitmap
*arg5
= 0 ;
16248 wxBitmap
const &arg6_defvalue
= wxNullBitmap
;
16249 wxBitmap
*arg6
= (wxBitmap
*) &arg6_defvalue
;
16250 int arg7
= (int) wxITEM_NORMAL
;
16251 wxString
const &arg8_defvalue
= wxPyEmptyString
;
16252 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
16253 wxString
const &arg9_defvalue
= wxPyEmptyString
;
16254 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
16255 PyObject
*arg10
= (PyObject
*) NULL
;
16256 wxToolBarToolBase
*result
;
16257 bool temp4
= False
;
16258 bool temp8
= False
;
16259 bool temp9
= False
;
16260 PyObject
* obj0
= 0 ;
16261 PyObject
* obj1
= 0 ;
16262 PyObject
* obj2
= 0 ;
16263 PyObject
* obj3
= 0 ;
16264 PyObject
* obj4
= 0 ;
16265 PyObject
* obj5
= 0 ;
16266 PyObject
* obj6
= 0 ;
16267 PyObject
* obj7
= 0 ;
16268 PyObject
* obj8
= 0 ;
16269 PyObject
* obj9
= 0 ;
16270 char *kwnames
[] = {
16271 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
16274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
16275 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16277 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
16278 if (PyErr_Occurred()) SWIG_fail
;
16279 arg3
= (int) SWIG_AsInt(obj2
);
16280 if (PyErr_Occurred()) SWIG_fail
;
16282 arg4
= wxString_in_helper(obj3
);
16283 if (arg4
== NULL
) SWIG_fail
;
16286 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxBitmap
,
16287 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16289 if (arg5
== NULL
) {
16290 PyErr_SetString(PyExc_TypeError
,"null reference");
16294 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxBitmap
,
16295 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16297 if (arg6
== NULL
) {
16298 PyErr_SetString(PyExc_TypeError
,"null reference");
16303 arg7
= (wxItemKind
) SWIG_AsInt(obj6
);
16304 if (PyErr_Occurred()) SWIG_fail
;
16308 arg8
= wxString_in_helper(obj7
);
16309 if (arg8
== NULL
) SWIG_fail
;
16315 arg9
= wxString_in_helper(obj8
);
16316 if (arg9
== NULL
) SWIG_fail
;
16324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16325 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
);
16327 wxPyEndAllowThreads(__tstate
);
16328 if (PyErr_Occurred()) SWIG_fail
;
16331 resultobj
= wxPyMake_wxObject(result
);
16363 static PyObject
*_wrap_ToolBarBase_AddToolItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16364 PyObject
*resultobj
;
16365 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16366 wxToolBarToolBase
*arg2
= (wxToolBarToolBase
*) 0 ;
16367 wxToolBarToolBase
*result
;
16368 PyObject
* obj0
= 0 ;
16369 PyObject
* obj1
= 0 ;
16370 char *kwnames
[] = {
16371 (char *) "self",(char *) "tool", NULL
16374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddToolItem",kwnames
,&obj0
,&obj1
)) goto fail
;
16375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16377 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBarToolBase
,
16378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16381 result
= (wxToolBarToolBase
*)(arg1
)->AddTool(arg2
);
16383 wxPyEndAllowThreads(__tstate
);
16384 if (PyErr_Occurred()) SWIG_fail
;
16387 resultobj
= wxPyMake_wxObject(result
);
16395 static PyObject
*_wrap_ToolBarBase_InsertToolItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16396 PyObject
*resultobj
;
16397 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16399 wxToolBarToolBase
*arg3
= (wxToolBarToolBase
*) 0 ;
16400 wxToolBarToolBase
*result
;
16401 PyObject
* obj0
= 0 ;
16402 PyObject
* obj1
= 0 ;
16403 PyObject
* obj2
= 0 ;
16404 char *kwnames
[] = {
16405 (char *) "self",(char *) "pos",(char *) "tool", NULL
16408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16409 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16411 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
16412 if (PyErr_Occurred()) SWIG_fail
;
16413 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxToolBarToolBase
,
16414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16417 result
= (wxToolBarToolBase
*)(arg1
)->InsertTool(arg2
,arg3
);
16419 wxPyEndAllowThreads(__tstate
);
16420 if (PyErr_Occurred()) SWIG_fail
;
16423 resultobj
= wxPyMake_wxObject(result
);
16431 static PyObject
*_wrap_ToolBarBase_AddControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16432 PyObject
*resultobj
;
16433 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16434 wxControl
*arg2
= (wxControl
*) 0 ;
16435 wxToolBarToolBase
*result
;
16436 PyObject
* obj0
= 0 ;
16437 PyObject
* obj1
= 0 ;
16438 char *kwnames
[] = {
16439 (char *) "self",(char *) "control", NULL
16442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddControl",kwnames
,&obj0
,&obj1
)) goto fail
;
16443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16445 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxControl
,
16446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16449 result
= (wxToolBarToolBase
*)(arg1
)->AddControl(arg2
);
16451 wxPyEndAllowThreads(__tstate
);
16452 if (PyErr_Occurred()) SWIG_fail
;
16455 resultobj
= wxPyMake_wxObject(result
);
16463 static PyObject
*_wrap_ToolBarBase_InsertControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16464 PyObject
*resultobj
;
16465 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16467 wxControl
*arg3
= (wxControl
*) 0 ;
16468 wxToolBarToolBase
*result
;
16469 PyObject
* obj0
= 0 ;
16470 PyObject
* obj1
= 0 ;
16471 PyObject
* obj2
= 0 ;
16472 char *kwnames
[] = {
16473 (char *) "self",(char *) "pos",(char *) "control", NULL
16476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertControl",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16477 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16478 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16479 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
16480 if (PyErr_Occurred()) SWIG_fail
;
16481 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxControl
,
16482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16485 result
= (wxToolBarToolBase
*)(arg1
)->InsertControl(arg2
,arg3
);
16487 wxPyEndAllowThreads(__tstate
);
16488 if (PyErr_Occurred()) SWIG_fail
;
16491 resultobj
= wxPyMake_wxObject(result
);
16499 static PyObject
*_wrap_ToolBarBase_FindControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16500 PyObject
*resultobj
;
16501 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16504 PyObject
* obj0
= 0 ;
16505 PyObject
* obj1
= 0 ;
16506 char *kwnames
[] = {
16507 (char *) "self",(char *) "id", NULL
16510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindControl",kwnames
,&obj0
,&obj1
)) goto fail
;
16511 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16513 arg2
= (int) SWIG_AsInt(obj1
);
16514 if (PyErr_Occurred()) SWIG_fail
;
16516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16517 result
= (wxControl
*)(arg1
)->FindControl(arg2
);
16519 wxPyEndAllowThreads(__tstate
);
16520 if (PyErr_Occurred()) SWIG_fail
;
16523 resultobj
= wxPyMake_wxObject(result
);
16531 static PyObject
*_wrap_ToolBarBase_AddSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16532 PyObject
*resultobj
;
16533 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16534 wxToolBarToolBase
*result
;
16535 PyObject
* obj0
= 0 ;
16536 char *kwnames
[] = {
16537 (char *) "self", NULL
16540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_AddSeparator",kwnames
,&obj0
)) goto fail
;
16541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16545 result
= (wxToolBarToolBase
*)(arg1
)->AddSeparator();
16547 wxPyEndAllowThreads(__tstate
);
16548 if (PyErr_Occurred()) SWIG_fail
;
16551 resultobj
= wxPyMake_wxObject(result
);
16559 static PyObject
*_wrap_ToolBarBase_InsertSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16560 PyObject
*resultobj
;
16561 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16563 wxToolBarToolBase
*result
;
16564 PyObject
* obj0
= 0 ;
16565 PyObject
* obj1
= 0 ;
16566 char *kwnames
[] = {
16567 (char *) "self",(char *) "pos", NULL
16570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
16571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16573 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
16574 if (PyErr_Occurred()) SWIG_fail
;
16576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16577 result
= (wxToolBarToolBase
*)(arg1
)->InsertSeparator(arg2
);
16579 wxPyEndAllowThreads(__tstate
);
16580 if (PyErr_Occurred()) SWIG_fail
;
16583 resultobj
= wxPyMake_wxObject(result
);
16591 static PyObject
*_wrap_ToolBarBase_RemoveTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16592 PyObject
*resultobj
;
16593 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16595 wxToolBarToolBase
*result
;
16596 PyObject
* obj0
= 0 ;
16597 PyObject
* obj1
= 0 ;
16598 char *kwnames
[] = {
16599 (char *) "self",(char *) "id", NULL
16602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_RemoveTool",kwnames
,&obj0
,&obj1
)) goto fail
;
16603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16605 arg2
= (int) SWIG_AsInt(obj1
);
16606 if (PyErr_Occurred()) SWIG_fail
;
16608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16609 result
= (wxToolBarToolBase
*)(arg1
)->RemoveTool(arg2
);
16611 wxPyEndAllowThreads(__tstate
);
16612 if (PyErr_Occurred()) SWIG_fail
;
16615 resultobj
= wxPyMake_wxObject(result
);
16623 static PyObject
*_wrap_ToolBarBase_DeleteToolByPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16624 PyObject
*resultobj
;
16625 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16628 PyObject
* obj0
= 0 ;
16629 PyObject
* obj1
= 0 ;
16630 char *kwnames
[] = {
16631 (char *) "self",(char *) "pos", NULL
16634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames
,&obj0
,&obj1
)) goto fail
;
16635 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16637 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
16638 if (PyErr_Occurred()) SWIG_fail
;
16640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16641 result
= (bool)(arg1
)->DeleteToolByPos(arg2
);
16643 wxPyEndAllowThreads(__tstate
);
16644 if (PyErr_Occurred()) SWIG_fail
;
16647 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16655 static PyObject
*_wrap_ToolBarBase_DeleteTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16656 PyObject
*resultobj
;
16657 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16660 PyObject
* obj0
= 0 ;
16661 PyObject
* obj1
= 0 ;
16662 char *kwnames
[] = {
16663 (char *) "self",(char *) "id", NULL
16666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteTool",kwnames
,&obj0
,&obj1
)) goto fail
;
16667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16669 arg2
= (int) SWIG_AsInt(obj1
);
16670 if (PyErr_Occurred()) SWIG_fail
;
16672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16673 result
= (bool)(arg1
)->DeleteTool(arg2
);
16675 wxPyEndAllowThreads(__tstate
);
16676 if (PyErr_Occurred()) SWIG_fail
;
16679 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16687 static PyObject
*_wrap_ToolBarBase_ClearTools(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16688 PyObject
*resultobj
;
16689 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16690 PyObject
* obj0
= 0 ;
16691 char *kwnames
[] = {
16692 (char *) "self", NULL
16695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_ClearTools",kwnames
,&obj0
)) goto fail
;
16696 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16700 (arg1
)->ClearTools();
16702 wxPyEndAllowThreads(__tstate
);
16703 if (PyErr_Occurred()) SWIG_fail
;
16705 Py_INCREF(Py_None
); resultobj
= Py_None
;
16712 static PyObject
*_wrap_ToolBarBase_Realize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16713 PyObject
*resultobj
;
16714 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16716 PyObject
* obj0
= 0 ;
16717 char *kwnames
[] = {
16718 (char *) "self", NULL
16721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_Realize",kwnames
,&obj0
)) goto fail
;
16722 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16726 result
= (bool)(arg1
)->Realize();
16728 wxPyEndAllowThreads(__tstate
);
16729 if (PyErr_Occurred()) SWIG_fail
;
16732 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16740 static PyObject
*_wrap_ToolBarBase_EnableTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16741 PyObject
*resultobj
;
16742 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16745 PyObject
* obj0
= 0 ;
16746 PyObject
* obj1
= 0 ;
16747 PyObject
* obj2
= 0 ;
16748 char *kwnames
[] = {
16749 (char *) "self",(char *) "id",(char *) "enable", NULL
16752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_EnableTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16753 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16755 arg2
= (int) SWIG_AsInt(obj1
);
16756 if (PyErr_Occurred()) SWIG_fail
;
16757 arg3
= (bool) SWIG_AsBool(obj2
);
16758 if (PyErr_Occurred()) SWIG_fail
;
16760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16761 (arg1
)->EnableTool(arg2
,arg3
);
16763 wxPyEndAllowThreads(__tstate
);
16764 if (PyErr_Occurred()) SWIG_fail
;
16766 Py_INCREF(Py_None
); resultobj
= Py_None
;
16773 static PyObject
*_wrap_ToolBarBase_ToggleTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16774 PyObject
*resultobj
;
16775 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16778 PyObject
* obj0
= 0 ;
16779 PyObject
* obj1
= 0 ;
16780 PyObject
* obj2
= 0 ;
16781 char *kwnames
[] = {
16782 (char *) "self",(char *) "id",(char *) "toggle", NULL
16785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_ToggleTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16788 arg2
= (int) SWIG_AsInt(obj1
);
16789 if (PyErr_Occurred()) SWIG_fail
;
16790 arg3
= (bool) SWIG_AsBool(obj2
);
16791 if (PyErr_Occurred()) SWIG_fail
;
16793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16794 (arg1
)->ToggleTool(arg2
,arg3
);
16796 wxPyEndAllowThreads(__tstate
);
16797 if (PyErr_Occurred()) SWIG_fail
;
16799 Py_INCREF(Py_None
); resultobj
= Py_None
;
16806 static PyObject
*_wrap_ToolBarBase_SetToggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16807 PyObject
*resultobj
;
16808 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16811 PyObject
* obj0
= 0 ;
16812 PyObject
* obj1
= 0 ;
16813 PyObject
* obj2
= 0 ;
16814 char *kwnames
[] = {
16815 (char *) "self",(char *) "id",(char *) "toggle", NULL
16818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToggle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16819 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16820 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16821 arg2
= (int) SWIG_AsInt(obj1
);
16822 if (PyErr_Occurred()) SWIG_fail
;
16823 arg3
= (bool) SWIG_AsBool(obj2
);
16824 if (PyErr_Occurred()) SWIG_fail
;
16826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16827 (arg1
)->SetToggle(arg2
,arg3
);
16829 wxPyEndAllowThreads(__tstate
);
16830 if (PyErr_Occurred()) SWIG_fail
;
16832 Py_INCREF(Py_None
); resultobj
= Py_None
;
16839 static PyObject
*_wrap_ToolBarBase_GetToolClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16840 PyObject
*resultobj
;
16841 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16844 PyObject
* obj0
= 0 ;
16845 PyObject
* obj1
= 0 ;
16846 char *kwnames
[] = {
16847 (char *) "self",(char *) "id", NULL
16850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
16851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16853 arg2
= (int) SWIG_AsInt(obj1
);
16854 if (PyErr_Occurred()) SWIG_fail
;
16856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16857 result
= (PyObject
*)wxToolBarBase_GetToolClientData(arg1
,arg2
);
16859 wxPyEndAllowThreads(__tstate
);
16860 if (PyErr_Occurred()) SWIG_fail
;
16862 resultobj
= result
;
16869 static PyObject
*_wrap_ToolBarBase_SetToolClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16870 PyObject
*resultobj
;
16871 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16873 PyObject
*arg3
= (PyObject
*) 0 ;
16874 PyObject
* obj0
= 0 ;
16875 PyObject
* obj1
= 0 ;
16876 PyObject
* obj2
= 0 ;
16877 char *kwnames
[] = {
16878 (char *) "self",(char *) "id",(char *) "clientData", NULL
16881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16884 arg2
= (int) SWIG_AsInt(obj1
);
16885 if (PyErr_Occurred()) SWIG_fail
;
16888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16889 wxToolBarBase_SetToolClientData(arg1
,arg2
,arg3
);
16891 wxPyEndAllowThreads(__tstate
);
16892 if (PyErr_Occurred()) SWIG_fail
;
16894 Py_INCREF(Py_None
); resultobj
= Py_None
;
16901 static PyObject
*_wrap_ToolBarBase_GetToolPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16902 PyObject
*resultobj
;
16903 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16906 PyObject
* obj0
= 0 ;
16907 PyObject
* obj1
= 0 ;
16908 char *kwnames
[] = {
16909 (char *) "self",(char *) "id", NULL
16912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolPos",kwnames
,&obj0
,&obj1
)) goto fail
;
16913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16915 arg2
= (int) SWIG_AsInt(obj1
);
16916 if (PyErr_Occurred()) SWIG_fail
;
16918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16919 result
= (int)((wxToolBarBase
const *)arg1
)->GetToolPos(arg2
);
16921 wxPyEndAllowThreads(__tstate
);
16922 if (PyErr_Occurred()) SWIG_fail
;
16924 resultobj
= SWIG_FromInt((int)result
);
16931 static PyObject
*_wrap_ToolBarBase_GetToolState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16932 PyObject
*resultobj
;
16933 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16936 PyObject
* obj0
= 0 ;
16937 PyObject
* obj1
= 0 ;
16938 char *kwnames
[] = {
16939 (char *) "self",(char *) "id", NULL
16942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolState",kwnames
,&obj0
,&obj1
)) goto fail
;
16943 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16945 arg2
= (int) SWIG_AsInt(obj1
);
16946 if (PyErr_Occurred()) SWIG_fail
;
16948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16949 result
= (bool)(arg1
)->GetToolState(arg2
);
16951 wxPyEndAllowThreads(__tstate
);
16952 if (PyErr_Occurred()) SWIG_fail
;
16955 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16963 static PyObject
*_wrap_ToolBarBase_GetToolEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16964 PyObject
*resultobj
;
16965 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16968 PyObject
* obj0
= 0 ;
16969 PyObject
* obj1
= 0 ;
16970 char *kwnames
[] = {
16971 (char *) "self",(char *) "id", NULL
16974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
16975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16977 arg2
= (int) SWIG_AsInt(obj1
);
16978 if (PyErr_Occurred()) SWIG_fail
;
16980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16981 result
= (bool)(arg1
)->GetToolEnabled(arg2
);
16983 wxPyEndAllowThreads(__tstate
);
16984 if (PyErr_Occurred()) SWIG_fail
;
16987 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16995 static PyObject
*_wrap_ToolBarBase_SetToolShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16996 PyObject
*resultobj
;
16997 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16999 wxString
*arg3
= 0 ;
17000 bool temp3
= False
;
17001 PyObject
* obj0
= 0 ;
17002 PyObject
* obj1
= 0 ;
17003 PyObject
* obj2
= 0 ;
17004 char *kwnames
[] = {
17005 (char *) "self",(char *) "id",(char *) "helpString", NULL
17008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17011 arg2
= (int) SWIG_AsInt(obj1
);
17012 if (PyErr_Occurred()) SWIG_fail
;
17014 arg3
= wxString_in_helper(obj2
);
17015 if (arg3
== NULL
) SWIG_fail
;
17019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17020 (arg1
)->SetToolShortHelp(arg2
,(wxString
const &)*arg3
);
17022 wxPyEndAllowThreads(__tstate
);
17023 if (PyErr_Occurred()) SWIG_fail
;
17025 Py_INCREF(Py_None
); resultobj
= Py_None
;
17040 static PyObject
*_wrap_ToolBarBase_GetToolShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17041 PyObject
*resultobj
;
17042 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17045 PyObject
* obj0
= 0 ;
17046 PyObject
* obj1
= 0 ;
17047 char *kwnames
[] = {
17048 (char *) "self",(char *) "id", NULL
17051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
17052 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17054 arg2
= (int) SWIG_AsInt(obj1
);
17055 if (PyErr_Occurred()) SWIG_fail
;
17057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17058 result
= (arg1
)->GetToolShortHelp(arg2
);
17060 wxPyEndAllowThreads(__tstate
);
17061 if (PyErr_Occurred()) SWIG_fail
;
17065 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17067 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17076 static PyObject
*_wrap_ToolBarBase_SetToolLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17077 PyObject
*resultobj
;
17078 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17080 wxString
*arg3
= 0 ;
17081 bool temp3
= False
;
17082 PyObject
* obj0
= 0 ;
17083 PyObject
* obj1
= 0 ;
17084 PyObject
* obj2
= 0 ;
17085 char *kwnames
[] = {
17086 (char *) "self",(char *) "id",(char *) "helpString", NULL
17089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17092 arg2
= (int) SWIG_AsInt(obj1
);
17093 if (PyErr_Occurred()) SWIG_fail
;
17095 arg3
= wxString_in_helper(obj2
);
17096 if (arg3
== NULL
) SWIG_fail
;
17100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17101 (arg1
)->SetToolLongHelp(arg2
,(wxString
const &)*arg3
);
17103 wxPyEndAllowThreads(__tstate
);
17104 if (PyErr_Occurred()) SWIG_fail
;
17106 Py_INCREF(Py_None
); resultobj
= Py_None
;
17121 static PyObject
*_wrap_ToolBarBase_GetToolLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17122 PyObject
*resultobj
;
17123 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17126 PyObject
* obj0
= 0 ;
17127 PyObject
* obj1
= 0 ;
17128 char *kwnames
[] = {
17129 (char *) "self",(char *) "id", NULL
17132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolLongHelp",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 result
= (arg1
)->GetToolLongHelp(arg2
);
17141 wxPyEndAllowThreads(__tstate
);
17142 if (PyErr_Occurred()) SWIG_fail
;
17146 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17148 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17157 static PyObject
*_wrap_ToolBarBase_SetMarginsXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17158 PyObject
*resultobj
;
17159 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17162 PyObject
* obj0
= 0 ;
17163 PyObject
* obj1
= 0 ;
17164 PyObject
* obj2
= 0 ;
17165 char *kwnames
[] = {
17166 (char *) "self",(char *) "x",(char *) "y", NULL
17169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17172 arg2
= (int) SWIG_AsInt(obj1
);
17173 if (PyErr_Occurred()) SWIG_fail
;
17174 arg3
= (int) SWIG_AsInt(obj2
);
17175 if (PyErr_Occurred()) SWIG_fail
;
17177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17178 (arg1
)->SetMargins(arg2
,arg3
);
17180 wxPyEndAllowThreads(__tstate
);
17181 if (PyErr_Occurred()) SWIG_fail
;
17183 Py_INCREF(Py_None
); resultobj
= Py_None
;
17190 static PyObject
*_wrap_ToolBarBase_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17191 PyObject
*resultobj
;
17192 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17195 PyObject
* obj0
= 0 ;
17196 PyObject
* obj1
= 0 ;
17197 char *kwnames
[] = {
17198 (char *) "self",(char *) "size", NULL
17201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
17202 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17206 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17210 (arg1
)->SetMargins((wxSize
const &)*arg2
);
17212 wxPyEndAllowThreads(__tstate
);
17213 if (PyErr_Occurred()) SWIG_fail
;
17215 Py_INCREF(Py_None
); resultobj
= Py_None
;
17222 static PyObject
*_wrap_ToolBarBase_SetToolPacking(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17223 PyObject
*resultobj
;
17224 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17226 PyObject
* obj0
= 0 ;
17227 PyObject
* obj1
= 0 ;
17228 char *kwnames
[] = {
17229 (char *) "self",(char *) "packing", NULL
17232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolPacking",kwnames
,&obj0
,&obj1
)) goto fail
;
17233 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17235 arg2
= (int) SWIG_AsInt(obj1
);
17236 if (PyErr_Occurred()) SWIG_fail
;
17238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17239 (arg1
)->SetToolPacking(arg2
);
17241 wxPyEndAllowThreads(__tstate
);
17242 if (PyErr_Occurred()) SWIG_fail
;
17244 Py_INCREF(Py_None
); resultobj
= Py_None
;
17251 static PyObject
*_wrap_ToolBarBase_SetToolSeparation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17252 PyObject
*resultobj
;
17253 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17255 PyObject
* obj0
= 0 ;
17256 PyObject
* obj1
= 0 ;
17257 char *kwnames
[] = {
17258 (char *) "self",(char *) "separation", NULL
17261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames
,&obj0
,&obj1
)) goto fail
;
17262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17264 arg2
= (int) SWIG_AsInt(obj1
);
17265 if (PyErr_Occurred()) SWIG_fail
;
17267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17268 (arg1
)->SetToolSeparation(arg2
);
17270 wxPyEndAllowThreads(__tstate
);
17271 if (PyErr_Occurred()) SWIG_fail
;
17273 Py_INCREF(Py_None
); resultobj
= Py_None
;
17280 static PyObject
*_wrap_ToolBarBase_GetToolMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17281 PyObject
*resultobj
;
17282 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17284 PyObject
* obj0
= 0 ;
17285 char *kwnames
[] = {
17286 (char *) "self", NULL
17289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolMargins",kwnames
,&obj0
)) goto fail
;
17290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17294 result
= (arg1
)->GetToolMargins();
17296 wxPyEndAllowThreads(__tstate
);
17297 if (PyErr_Occurred()) SWIG_fail
;
17300 wxSize
* resultptr
;
17301 resultptr
= new wxSize((wxSize
&) result
);
17302 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17310 static PyObject
*_wrap_ToolBarBase_GetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17311 PyObject
*resultobj
;
17312 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17314 PyObject
* obj0
= 0 ;
17315 char *kwnames
[] = {
17316 (char *) "self", NULL
17319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMargins",kwnames
,&obj0
)) goto fail
;
17320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17324 result
= (arg1
)->GetMargins();
17326 wxPyEndAllowThreads(__tstate
);
17327 if (PyErr_Occurred()) SWIG_fail
;
17330 wxSize
* resultptr
;
17331 resultptr
= new wxSize((wxSize
&) result
);
17332 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17340 static PyObject
*_wrap_ToolBarBase_GetToolPacking(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17341 PyObject
*resultobj
;
17342 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17344 PyObject
* obj0
= 0 ;
17345 char *kwnames
[] = {
17346 (char *) "self", NULL
17349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolPacking",kwnames
,&obj0
)) goto fail
;
17350 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17354 result
= (int)(arg1
)->GetToolPacking();
17356 wxPyEndAllowThreads(__tstate
);
17357 if (PyErr_Occurred()) SWIG_fail
;
17359 resultobj
= SWIG_FromInt((int)result
);
17366 static PyObject
*_wrap_ToolBarBase_GetToolSeparation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17367 PyObject
*resultobj
;
17368 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17370 PyObject
* obj0
= 0 ;
17371 char *kwnames
[] = {
17372 (char *) "self", NULL
17375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSeparation",kwnames
,&obj0
)) goto fail
;
17376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17380 result
= (int)(arg1
)->GetToolSeparation();
17382 wxPyEndAllowThreads(__tstate
);
17383 if (PyErr_Occurred()) SWIG_fail
;
17385 resultobj
= SWIG_FromInt((int)result
);
17392 static PyObject
*_wrap_ToolBarBase_SetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17393 PyObject
*resultobj
;
17394 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17396 PyObject
* obj0
= 0 ;
17397 PyObject
* obj1
= 0 ;
17398 char *kwnames
[] = {
17399 (char *) "self",(char *) "nRows", NULL
17402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
17403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17405 arg2
= (int) SWIG_AsInt(obj1
);
17406 if (PyErr_Occurred()) SWIG_fail
;
17408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17409 (arg1
)->SetRows(arg2
);
17411 wxPyEndAllowThreads(__tstate
);
17412 if (PyErr_Occurred()) SWIG_fail
;
17414 Py_INCREF(Py_None
); resultobj
= Py_None
;
17421 static PyObject
*_wrap_ToolBarBase_SetMaxRowsCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17422 PyObject
*resultobj
;
17423 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17426 PyObject
* obj0
= 0 ;
17427 PyObject
* obj1
= 0 ;
17428 PyObject
* obj2
= 0 ;
17429 char *kwnames
[] = {
17430 (char *) "self",(char *) "rows",(char *) "cols", NULL
17433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17434 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17436 arg2
= (int) SWIG_AsInt(obj1
);
17437 if (PyErr_Occurred()) SWIG_fail
;
17438 arg3
= (int) SWIG_AsInt(obj2
);
17439 if (PyErr_Occurred()) SWIG_fail
;
17441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17442 (arg1
)->SetMaxRowsCols(arg2
,arg3
);
17444 wxPyEndAllowThreads(__tstate
);
17445 if (PyErr_Occurred()) SWIG_fail
;
17447 Py_INCREF(Py_None
); resultobj
= Py_None
;
17454 static PyObject
*_wrap_ToolBarBase_GetMaxRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17455 PyObject
*resultobj
;
17456 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17458 PyObject
* obj0
= 0 ;
17459 char *kwnames
[] = {
17460 (char *) "self", NULL
17463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxRows",kwnames
,&obj0
)) goto fail
;
17464 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17468 result
= (int)(arg1
)->GetMaxRows();
17470 wxPyEndAllowThreads(__tstate
);
17471 if (PyErr_Occurred()) SWIG_fail
;
17473 resultobj
= SWIG_FromInt((int)result
);
17480 static PyObject
*_wrap_ToolBarBase_GetMaxCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17481 PyObject
*resultobj
;
17482 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17484 PyObject
* obj0
= 0 ;
17485 char *kwnames
[] = {
17486 (char *) "self", NULL
17489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxCols",kwnames
,&obj0
)) goto fail
;
17490 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17494 result
= (int)(arg1
)->GetMaxCols();
17496 wxPyEndAllowThreads(__tstate
);
17497 if (PyErr_Occurred()) SWIG_fail
;
17499 resultobj
= SWIG_FromInt((int)result
);
17506 static PyObject
*_wrap_ToolBarBase_SetToolBitmapSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17507 PyObject
*resultobj
;
17508 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17511 PyObject
* obj0
= 0 ;
17512 PyObject
* obj1
= 0 ;
17513 char *kwnames
[] = {
17514 (char *) "self",(char *) "size", NULL
17517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames
,&obj0
,&obj1
)) goto fail
;
17518 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17519 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17522 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17526 (arg1
)->SetToolBitmapSize((wxSize
const &)*arg2
);
17528 wxPyEndAllowThreads(__tstate
);
17529 if (PyErr_Occurred()) SWIG_fail
;
17531 Py_INCREF(Py_None
); resultobj
= Py_None
;
17538 static PyObject
*_wrap_ToolBarBase_GetToolBitmapSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17539 PyObject
*resultobj
;
17540 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17542 PyObject
* obj0
= 0 ;
17543 char *kwnames
[] = {
17544 (char *) "self", NULL
17547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames
,&obj0
)) goto fail
;
17548 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17549 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17552 result
= (arg1
)->GetToolBitmapSize();
17554 wxPyEndAllowThreads(__tstate
);
17555 if (PyErr_Occurred()) SWIG_fail
;
17558 wxSize
* resultptr
;
17559 resultptr
= new wxSize((wxSize
&) result
);
17560 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17568 static PyObject
*_wrap_ToolBarBase_GetToolSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17569 PyObject
*resultobj
;
17570 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17572 PyObject
* obj0
= 0 ;
17573 char *kwnames
[] = {
17574 (char *) "self", NULL
17577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSize",kwnames
,&obj0
)) goto fail
;
17578 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17579 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17582 result
= (arg1
)->GetToolSize();
17584 wxPyEndAllowThreads(__tstate
);
17585 if (PyErr_Occurred()) SWIG_fail
;
17588 wxSize
* resultptr
;
17589 resultptr
= new wxSize((wxSize
&) result
);
17590 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17598 static PyObject
*_wrap_ToolBarBase_FindToolForPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17599 PyObject
*resultobj
;
17600 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17603 wxToolBarToolBase
*result
;
17604 PyObject
* obj0
= 0 ;
17605 PyObject
* obj1
= 0 ;
17606 PyObject
* obj2
= 0 ;
17607 char *kwnames
[] = {
17608 (char *) "self",(char *) "x",(char *) "y", NULL
17611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17612 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17614 arg2
= (int) SWIG_AsInt(obj1
);
17615 if (PyErr_Occurred()) SWIG_fail
;
17616 arg3
= (int) SWIG_AsInt(obj2
);
17617 if (PyErr_Occurred()) SWIG_fail
;
17619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17620 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
17622 wxPyEndAllowThreads(__tstate
);
17623 if (PyErr_Occurred()) SWIG_fail
;
17626 resultobj
= wxPyMake_wxObject(result
);
17634 static PyObject
*_wrap_ToolBarBase_FindById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17635 PyObject
*resultobj
;
17636 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17638 wxToolBarToolBase
*result
;
17639 PyObject
* obj0
= 0 ;
17640 PyObject
* obj1
= 0 ;
17641 char *kwnames
[] = {
17642 (char *) "self",(char *) "toolid", NULL
17645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindById",kwnames
,&obj0
,&obj1
)) goto fail
;
17646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17648 arg2
= (int) SWIG_AsInt(obj1
);
17649 if (PyErr_Occurred()) SWIG_fail
;
17651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17652 result
= (wxToolBarToolBase
*)((wxToolBarBase
const *)arg1
)->FindById(arg2
);
17654 wxPyEndAllowThreads(__tstate
);
17655 if (PyErr_Occurred()) SWIG_fail
;
17658 resultobj
= wxPyMake_wxObject(result
);
17666 static PyObject
*_wrap_ToolBarBase_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17667 PyObject
*resultobj
;
17668 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17670 PyObject
* obj0
= 0 ;
17671 char *kwnames
[] = {
17672 (char *) "self", NULL
17675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_IsVertical",kwnames
,&obj0
)) goto fail
;
17676 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17680 result
= (bool)(arg1
)->IsVertical();
17682 wxPyEndAllowThreads(__tstate
);
17683 if (PyErr_Occurred()) SWIG_fail
;
17686 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17694 static PyObject
* ToolBarBase_swigregister(PyObject
*self
, PyObject
*args
) {
17696 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17697 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase
, obj
);
17699 return Py_BuildValue((char *)"");
17701 static PyObject
*_wrap_new_ToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17702 PyObject
*resultobj
;
17703 wxWindow
*arg1
= (wxWindow
*) 0 ;
17705 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
17706 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
17707 wxSize
const &arg4_defvalue
= wxDefaultSize
;
17708 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
17709 long arg5
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
17710 wxString
const &arg6_defvalue
= wxPyToolBarNameStr
;
17711 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
17715 bool temp6
= False
;
17716 PyObject
* obj0
= 0 ;
17717 PyObject
* obj1
= 0 ;
17718 PyObject
* obj2
= 0 ;
17719 PyObject
* obj3
= 0 ;
17720 PyObject
* obj4
= 0 ;
17721 PyObject
* obj5
= 0 ;
17722 char *kwnames
[] = {
17723 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_ToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
17728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17729 arg2
= (int) SWIG_AsInt(obj1
);
17730 if (PyErr_Occurred()) SWIG_fail
;
17734 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17740 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
17744 arg5
= (long) SWIG_AsLong(obj4
);
17745 if (PyErr_Occurred()) SWIG_fail
;
17749 arg6
= wxString_in_helper(obj5
);
17750 if (arg6
== NULL
) SWIG_fail
;
17755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17756 result
= (wxToolBar
*)new wxToolBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
17758 wxPyEndAllowThreads(__tstate
);
17759 if (PyErr_Occurred()) SWIG_fail
;
17762 resultobj
= wxPyMake_wxObject(result
);
17778 static PyObject
*_wrap_new_PreToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17779 PyObject
*resultobj
;
17781 char *kwnames
[] = {
17785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToolBar",kwnames
)) goto fail
;
17787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17788 result
= (wxToolBar
*)new wxToolBar();
17790 wxPyEndAllowThreads(__tstate
);
17791 if (PyErr_Occurred()) SWIG_fail
;
17794 resultobj
= wxPyMake_wxObject(result
);
17802 static PyObject
*_wrap_ToolBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17803 PyObject
*resultobj
;
17804 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
17805 wxWindow
*arg2
= (wxWindow
*) 0 ;
17807 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17808 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17809 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17810 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17811 long arg6
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
17812 wxString
const &arg7_defvalue
= wxPyToolBarNameStr
;
17813 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17817 bool temp7
= False
;
17818 PyObject
* obj0
= 0 ;
17819 PyObject
* obj1
= 0 ;
17820 PyObject
* obj2
= 0 ;
17821 PyObject
* obj3
= 0 ;
17822 PyObject
* obj4
= 0 ;
17823 PyObject
* obj5
= 0 ;
17824 PyObject
* obj6
= 0 ;
17825 char *kwnames
[] = {
17826 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:ToolBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17830 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBar
,
17831 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17832 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
17833 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17834 arg3
= (int) SWIG_AsInt(obj2
);
17835 if (PyErr_Occurred()) SWIG_fail
;
17839 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17845 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17849 arg6
= (long) SWIG_AsLong(obj5
);
17850 if (PyErr_Occurred()) SWIG_fail
;
17854 arg7
= wxString_in_helper(obj6
);
17855 if (arg7
== NULL
) SWIG_fail
;
17860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17861 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
17863 wxPyEndAllowThreads(__tstate
);
17864 if (PyErr_Occurred()) SWIG_fail
;
17867 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17883 static PyObject
*_wrap_ToolBar_FindToolForPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17884 PyObject
*resultobj
;
17885 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
17888 wxToolBarToolBase
*result
;
17889 PyObject
* obj0
= 0 ;
17890 PyObject
* obj1
= 0 ;
17891 PyObject
* obj2
= 0 ;
17892 char *kwnames
[] = {
17893 (char *) "self",(char *) "x",(char *) "y", NULL
17896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBar_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBar
,
17898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17899 arg2
= (int) SWIG_AsInt(obj1
);
17900 if (PyErr_Occurred()) SWIG_fail
;
17901 arg3
= (int) SWIG_AsInt(obj2
);
17902 if (PyErr_Occurred()) SWIG_fail
;
17904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17905 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
17907 wxPyEndAllowThreads(__tstate
);
17908 if (PyErr_Occurred()) SWIG_fail
;
17911 resultobj
= wxPyMake_wxObject(result
);
17919 static PyObject
* ToolBar_swigregister(PyObject
*self
, PyObject
*args
) {
17921 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17922 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar
, obj
);
17924 return Py_BuildValue((char *)"");
17926 static int _wrap_ListCtrlNameStr_set(PyObject
*_val
) {
17927 PyErr_SetString(PyExc_TypeError
,"Variable ListCtrlNameStr is read-only.");
17932 static PyObject
*_wrap_ListCtrlNameStr_get() {
17937 pyobj
= PyUnicode_FromWideChar((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
17939 pyobj
= PyString_FromStringAndSize((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
17946 static PyObject
*_wrap_new_ListItemAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17947 PyObject
*resultobj
;
17948 wxColour
const &arg1_defvalue
= wxNullColour
;
17949 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
17950 wxColour
const &arg2_defvalue
= wxNullColour
;
17951 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
17952 wxFont
const &arg3_defvalue
= wxNullFont
;
17953 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
17954 wxListItemAttr
*result
;
17957 PyObject
* obj0
= 0 ;
17958 PyObject
* obj1
= 0 ;
17959 PyObject
* obj2
= 0 ;
17960 char *kwnames
[] = {
17961 (char *) "colText",(char *) "colBack",(char *) "font", NULL
17964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ListItemAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17968 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
17974 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17978 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
17979 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17981 if (arg3
== NULL
) {
17982 PyErr_SetString(PyExc_TypeError
,"null reference");
17987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17988 result
= (wxListItemAttr
*)new wxListItemAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
);
17990 wxPyEndAllowThreads(__tstate
);
17991 if (PyErr_Occurred()) SWIG_fail
;
17993 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 1);
18000 static PyObject
*_wrap_ListItemAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18001 PyObject
*resultobj
;
18002 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18003 wxColour
*arg2
= 0 ;
18005 PyObject
* obj0
= 0 ;
18006 PyObject
* obj1
= 0 ;
18007 char *kwnames
[] = {
18008 (char *) "self",(char *) "colText", NULL
18011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18016 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18020 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
18022 wxPyEndAllowThreads(__tstate
);
18023 if (PyErr_Occurred()) SWIG_fail
;
18025 Py_INCREF(Py_None
); resultobj
= Py_None
;
18032 static PyObject
*_wrap_ListItemAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18033 PyObject
*resultobj
;
18034 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18035 wxColour
*arg2
= 0 ;
18037 PyObject
* obj0
= 0 ;
18038 PyObject
* obj1
= 0 ;
18039 char *kwnames
[] = {
18040 (char *) "self",(char *) "colBack", NULL
18043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18044 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18048 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18052 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
18054 wxPyEndAllowThreads(__tstate
);
18055 if (PyErr_Occurred()) SWIG_fail
;
18057 Py_INCREF(Py_None
); resultobj
= Py_None
;
18064 static PyObject
*_wrap_ListItemAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18065 PyObject
*resultobj
;
18066 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18068 PyObject
* obj0
= 0 ;
18069 PyObject
* obj1
= 0 ;
18070 char *kwnames
[] = {
18071 (char *) "self",(char *) "font", NULL
18074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
18075 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18077 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
18078 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18080 if (arg2
== NULL
) {
18081 PyErr_SetString(PyExc_TypeError
,"null reference");
18085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18086 (arg1
)->SetFont((wxFont
const &)*arg2
);
18088 wxPyEndAllowThreads(__tstate
);
18089 if (PyErr_Occurred()) SWIG_fail
;
18091 Py_INCREF(Py_None
); resultobj
= Py_None
;
18098 static PyObject
*_wrap_ListItemAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18099 PyObject
*resultobj
;
18100 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18102 PyObject
* obj0
= 0 ;
18103 char *kwnames
[] = {
18104 (char *) "self", NULL
18107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
18108 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18112 result
= (bool)(arg1
)->HasTextColour();
18114 wxPyEndAllowThreads(__tstate
);
18115 if (PyErr_Occurred()) SWIG_fail
;
18118 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18126 static PyObject
*_wrap_ListItemAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18127 PyObject
*resultobj
;
18128 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18130 PyObject
* obj0
= 0 ;
18131 char *kwnames
[] = {
18132 (char *) "self", NULL
18135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
18136 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18137 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18140 result
= (bool)(arg1
)->HasBackgroundColour();
18142 wxPyEndAllowThreads(__tstate
);
18143 if (PyErr_Occurred()) SWIG_fail
;
18146 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18154 static PyObject
*_wrap_ListItemAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18155 PyObject
*resultobj
;
18156 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18158 PyObject
* obj0
= 0 ;
18159 char *kwnames
[] = {
18160 (char *) "self", NULL
18163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasFont",kwnames
,&obj0
)) goto fail
;
18164 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18168 result
= (bool)(arg1
)->HasFont();
18170 wxPyEndAllowThreads(__tstate
);
18171 if (PyErr_Occurred()) SWIG_fail
;
18174 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18182 static PyObject
*_wrap_ListItemAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18183 PyObject
*resultobj
;
18184 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18186 PyObject
* obj0
= 0 ;
18187 char *kwnames
[] = {
18188 (char *) "self", NULL
18191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
18192 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18196 result
= (arg1
)->GetTextColour();
18198 wxPyEndAllowThreads(__tstate
);
18199 if (PyErr_Occurred()) SWIG_fail
;
18202 wxColour
* resultptr
;
18203 resultptr
= new wxColour((wxColour
&) result
);
18204 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18212 static PyObject
*_wrap_ListItemAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18213 PyObject
*resultobj
;
18214 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18216 PyObject
* obj0
= 0 ;
18217 char *kwnames
[] = {
18218 (char *) "self", NULL
18221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
18222 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18226 result
= (arg1
)->GetBackgroundColour();
18228 wxPyEndAllowThreads(__tstate
);
18229 if (PyErr_Occurred()) SWIG_fail
;
18232 wxColour
* resultptr
;
18233 resultptr
= new wxColour((wxColour
&) result
);
18234 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18242 static PyObject
*_wrap_ListItemAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18243 PyObject
*resultobj
;
18244 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18246 PyObject
* obj0
= 0 ;
18247 char *kwnames
[] = {
18248 (char *) "self", NULL
18251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetFont",kwnames
,&obj0
)) goto fail
;
18252 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18256 result
= (arg1
)->GetFont();
18258 wxPyEndAllowThreads(__tstate
);
18259 if (PyErr_Occurred()) SWIG_fail
;
18262 wxFont
* resultptr
;
18263 resultptr
= new wxFont((wxFont
&) result
);
18264 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
18272 static PyObject
*_wrap_ListItemAttr_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18273 PyObject
*resultobj
;
18274 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18275 PyObject
* obj0
= 0 ;
18276 char *kwnames
[] = {
18277 (char *) "self", NULL
18280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_Destroy",kwnames
,&obj0
)) goto fail
;
18281 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18285 wxListItemAttr_Destroy(arg1
);
18287 wxPyEndAllowThreads(__tstate
);
18288 if (PyErr_Occurred()) SWIG_fail
;
18290 Py_INCREF(Py_None
); resultobj
= Py_None
;
18297 static PyObject
* ListItemAttr_swigregister(PyObject
*self
, PyObject
*args
) {
18299 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18300 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr
, obj
);
18302 return Py_BuildValue((char *)"");
18304 static PyObject
*_wrap_new_ListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18305 PyObject
*resultobj
;
18306 wxListItem
*result
;
18307 char *kwnames
[] = {
18311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ListItem",kwnames
)) goto fail
;
18313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18314 result
= (wxListItem
*)new wxListItem();
18316 wxPyEndAllowThreads(__tstate
);
18317 if (PyErr_Occurred()) SWIG_fail
;
18320 resultobj
= wxPyMake_wxObject(result
);
18328 static PyObject
*_wrap_delete_ListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18329 PyObject
*resultobj
;
18330 wxListItem
*arg1
= (wxListItem
*) 0 ;
18331 PyObject
* obj0
= 0 ;
18332 char *kwnames
[] = {
18333 (char *) "self", NULL
18336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ListItem",kwnames
,&obj0
)) goto fail
;
18337 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18343 wxPyEndAllowThreads(__tstate
);
18344 if (PyErr_Occurred()) SWIG_fail
;
18346 Py_INCREF(Py_None
); resultobj
= Py_None
;
18353 static PyObject
*_wrap_ListItem_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18354 PyObject
*resultobj
;
18355 wxListItem
*arg1
= (wxListItem
*) 0 ;
18356 PyObject
* obj0
= 0 ;
18357 char *kwnames
[] = {
18358 (char *) "self", NULL
18361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_Clear",kwnames
,&obj0
)) goto fail
;
18362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18368 wxPyEndAllowThreads(__tstate
);
18369 if (PyErr_Occurred()) SWIG_fail
;
18371 Py_INCREF(Py_None
); resultobj
= Py_None
;
18378 static PyObject
*_wrap_ListItem_ClearAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18379 PyObject
*resultobj
;
18380 wxListItem
*arg1
= (wxListItem
*) 0 ;
18381 PyObject
* obj0
= 0 ;
18382 char *kwnames
[] = {
18383 (char *) "self", NULL
18386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_ClearAttributes",kwnames
,&obj0
)) goto fail
;
18387 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18391 (arg1
)->ClearAttributes();
18393 wxPyEndAllowThreads(__tstate
);
18394 if (PyErr_Occurred()) SWIG_fail
;
18396 Py_INCREF(Py_None
); resultobj
= Py_None
;
18403 static PyObject
*_wrap_ListItem_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18404 PyObject
*resultobj
;
18405 wxListItem
*arg1
= (wxListItem
*) 0 ;
18407 PyObject
* obj0
= 0 ;
18408 PyObject
* obj1
= 0 ;
18409 char *kwnames
[] = {
18410 (char *) "self",(char *) "mask", NULL
18413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
18414 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18415 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18416 arg2
= (long) SWIG_AsLong(obj1
);
18417 if (PyErr_Occurred()) SWIG_fail
;
18419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18420 (arg1
)->SetMask(arg2
);
18422 wxPyEndAllowThreads(__tstate
);
18423 if (PyErr_Occurred()) SWIG_fail
;
18425 Py_INCREF(Py_None
); resultobj
= Py_None
;
18432 static PyObject
*_wrap_ListItem_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18433 PyObject
*resultobj
;
18434 wxListItem
*arg1
= (wxListItem
*) 0 ;
18436 PyObject
* obj0
= 0 ;
18437 PyObject
* obj1
= 0 ;
18438 char *kwnames
[] = {
18439 (char *) "self",(char *) "id", NULL
18442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
18443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18445 arg2
= (long) SWIG_AsLong(obj1
);
18446 if (PyErr_Occurred()) SWIG_fail
;
18448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18449 (arg1
)->SetId(arg2
);
18451 wxPyEndAllowThreads(__tstate
);
18452 if (PyErr_Occurred()) SWIG_fail
;
18454 Py_INCREF(Py_None
); resultobj
= Py_None
;
18461 static PyObject
*_wrap_ListItem_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18462 PyObject
*resultobj
;
18463 wxListItem
*arg1
= (wxListItem
*) 0 ;
18465 PyObject
* obj0
= 0 ;
18466 PyObject
* obj1
= 0 ;
18467 char *kwnames
[] = {
18468 (char *) "self",(char *) "col", NULL
18471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
18472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18474 arg2
= (int) SWIG_AsInt(obj1
);
18475 if (PyErr_Occurred()) SWIG_fail
;
18477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18478 (arg1
)->SetColumn(arg2
);
18480 wxPyEndAllowThreads(__tstate
);
18481 if (PyErr_Occurred()) SWIG_fail
;
18483 Py_INCREF(Py_None
); resultobj
= Py_None
;
18490 static PyObject
*_wrap_ListItem_SetState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18491 PyObject
*resultobj
;
18492 wxListItem
*arg1
= (wxListItem
*) 0 ;
18494 PyObject
* obj0
= 0 ;
18495 PyObject
* obj1
= 0 ;
18496 char *kwnames
[] = {
18497 (char *) "self",(char *) "state", NULL
18500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetState",kwnames
,&obj0
,&obj1
)) goto fail
;
18501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18503 arg2
= (long) SWIG_AsLong(obj1
);
18504 if (PyErr_Occurred()) SWIG_fail
;
18506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18507 (arg1
)->SetState(arg2
);
18509 wxPyEndAllowThreads(__tstate
);
18510 if (PyErr_Occurred()) SWIG_fail
;
18512 Py_INCREF(Py_None
); resultobj
= Py_None
;
18519 static PyObject
*_wrap_ListItem_SetStateMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18520 PyObject
*resultobj
;
18521 wxListItem
*arg1
= (wxListItem
*) 0 ;
18523 PyObject
* obj0
= 0 ;
18524 PyObject
* obj1
= 0 ;
18525 char *kwnames
[] = {
18526 (char *) "self",(char *) "stateMask", NULL
18529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetStateMask",kwnames
,&obj0
,&obj1
)) goto fail
;
18530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18532 arg2
= (long) SWIG_AsLong(obj1
);
18533 if (PyErr_Occurred()) SWIG_fail
;
18535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18536 (arg1
)->SetStateMask(arg2
);
18538 wxPyEndAllowThreads(__tstate
);
18539 if (PyErr_Occurred()) SWIG_fail
;
18541 Py_INCREF(Py_None
); resultobj
= Py_None
;
18548 static PyObject
*_wrap_ListItem_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18549 PyObject
*resultobj
;
18550 wxListItem
*arg1
= (wxListItem
*) 0 ;
18551 wxString
*arg2
= 0 ;
18552 bool temp2
= False
;
18553 PyObject
* obj0
= 0 ;
18554 PyObject
* obj1
= 0 ;
18555 char *kwnames
[] = {
18556 (char *) "self",(char *) "text", NULL
18559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
18560 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18563 arg2
= wxString_in_helper(obj1
);
18564 if (arg2
== NULL
) SWIG_fail
;
18568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18569 (arg1
)->SetText((wxString
const &)*arg2
);
18571 wxPyEndAllowThreads(__tstate
);
18572 if (PyErr_Occurred()) SWIG_fail
;
18574 Py_INCREF(Py_None
); resultobj
= Py_None
;
18589 static PyObject
*_wrap_ListItem_SetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18590 PyObject
*resultobj
;
18591 wxListItem
*arg1
= (wxListItem
*) 0 ;
18593 PyObject
* obj0
= 0 ;
18594 PyObject
* obj1
= 0 ;
18595 char *kwnames
[] = {
18596 (char *) "self",(char *) "image", NULL
18599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetImage",kwnames
,&obj0
,&obj1
)) goto fail
;
18600 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18601 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18602 arg2
= (int) SWIG_AsInt(obj1
);
18603 if (PyErr_Occurred()) SWIG_fail
;
18605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18606 (arg1
)->SetImage(arg2
);
18608 wxPyEndAllowThreads(__tstate
);
18609 if (PyErr_Occurred()) SWIG_fail
;
18611 Py_INCREF(Py_None
); resultobj
= Py_None
;
18618 static PyObject
*_wrap_ListItem_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18619 PyObject
*resultobj
;
18620 wxListItem
*arg1
= (wxListItem
*) 0 ;
18622 PyObject
* obj0
= 0 ;
18623 PyObject
* obj1
= 0 ;
18624 char *kwnames
[] = {
18625 (char *) "self",(char *) "data", NULL
18628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
18629 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18631 arg2
= (long) SWIG_AsLong(obj1
);
18632 if (PyErr_Occurred()) SWIG_fail
;
18634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18635 (arg1
)->SetData(arg2
);
18637 wxPyEndAllowThreads(__tstate
);
18638 if (PyErr_Occurred()) SWIG_fail
;
18640 Py_INCREF(Py_None
); resultobj
= Py_None
;
18647 static PyObject
*_wrap_ListItem_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18648 PyObject
*resultobj
;
18649 wxListItem
*arg1
= (wxListItem
*) 0 ;
18651 PyObject
* obj0
= 0 ;
18652 PyObject
* obj1
= 0 ;
18653 char *kwnames
[] = {
18654 (char *) "self",(char *) "width", NULL
18657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
18658 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18660 arg2
= (int) SWIG_AsInt(obj1
);
18661 if (PyErr_Occurred()) SWIG_fail
;
18663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18664 (arg1
)->SetWidth(arg2
);
18666 wxPyEndAllowThreads(__tstate
);
18667 if (PyErr_Occurred()) SWIG_fail
;
18669 Py_INCREF(Py_None
); resultobj
= Py_None
;
18676 static PyObject
*_wrap_ListItem_SetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18677 PyObject
*resultobj
;
18678 wxListItem
*arg1
= (wxListItem
*) 0 ;
18680 PyObject
* obj0
= 0 ;
18681 PyObject
* obj1
= 0 ;
18682 char *kwnames
[] = {
18683 (char *) "self",(char *) "align", NULL
18686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetAlign",kwnames
,&obj0
,&obj1
)) goto fail
;
18687 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18688 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18689 arg2
= (wxListColumnFormat
) SWIG_AsInt(obj1
);
18690 if (PyErr_Occurred()) SWIG_fail
;
18692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18693 (arg1
)->SetAlign((wxListColumnFormat
)arg2
);
18695 wxPyEndAllowThreads(__tstate
);
18696 if (PyErr_Occurred()) SWIG_fail
;
18698 Py_INCREF(Py_None
); resultobj
= Py_None
;
18705 static PyObject
*_wrap_ListItem_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18706 PyObject
*resultobj
;
18707 wxListItem
*arg1
= (wxListItem
*) 0 ;
18708 wxColour
*arg2
= 0 ;
18710 PyObject
* obj0
= 0 ;
18711 PyObject
* obj1
= 0 ;
18712 char *kwnames
[] = {
18713 (char *) "self",(char *) "colText", NULL
18716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18717 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18721 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18725 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
18727 wxPyEndAllowThreads(__tstate
);
18728 if (PyErr_Occurred()) SWIG_fail
;
18730 Py_INCREF(Py_None
); resultobj
= Py_None
;
18737 static PyObject
*_wrap_ListItem_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18738 PyObject
*resultobj
;
18739 wxListItem
*arg1
= (wxListItem
*) 0 ;
18740 wxColour
*arg2
= 0 ;
18742 PyObject
* obj0
= 0 ;
18743 PyObject
* obj1
= 0 ;
18744 char *kwnames
[] = {
18745 (char *) "self",(char *) "colBack", NULL
18748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18749 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18750 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18753 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18757 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
18759 wxPyEndAllowThreads(__tstate
);
18760 if (PyErr_Occurred()) SWIG_fail
;
18762 Py_INCREF(Py_None
); resultobj
= Py_None
;
18769 static PyObject
*_wrap_ListItem_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18770 PyObject
*resultobj
;
18771 wxListItem
*arg1
= (wxListItem
*) 0 ;
18773 PyObject
* obj0
= 0 ;
18774 PyObject
* obj1
= 0 ;
18775 char *kwnames
[] = {
18776 (char *) "self",(char *) "font", NULL
18779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
18780 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18782 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
18783 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18785 if (arg2
== NULL
) {
18786 PyErr_SetString(PyExc_TypeError
,"null reference");
18790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18791 (arg1
)->SetFont((wxFont
const &)*arg2
);
18793 wxPyEndAllowThreads(__tstate
);
18794 if (PyErr_Occurred()) SWIG_fail
;
18796 Py_INCREF(Py_None
); resultobj
= Py_None
;
18803 static PyObject
*_wrap_ListItem_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18804 PyObject
*resultobj
;
18805 wxListItem
*arg1
= (wxListItem
*) 0 ;
18807 PyObject
* obj0
= 0 ;
18808 char *kwnames
[] = {
18809 (char *) "self", NULL
18812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetMask",kwnames
,&obj0
)) goto fail
;
18813 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18817 result
= (long)(arg1
)->GetMask();
18819 wxPyEndAllowThreads(__tstate
);
18820 if (PyErr_Occurred()) SWIG_fail
;
18822 resultobj
= SWIG_FromLong((long)result
);
18829 static PyObject
*_wrap_ListItem_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18830 PyObject
*resultobj
;
18831 wxListItem
*arg1
= (wxListItem
*) 0 ;
18833 PyObject
* obj0
= 0 ;
18834 char *kwnames
[] = {
18835 (char *) "self", NULL
18838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetId",kwnames
,&obj0
)) goto fail
;
18839 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18843 result
= (long)(arg1
)->GetId();
18845 wxPyEndAllowThreads(__tstate
);
18846 if (PyErr_Occurred()) SWIG_fail
;
18848 resultobj
= SWIG_FromLong((long)result
);
18855 static PyObject
*_wrap_ListItem_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18856 PyObject
*resultobj
;
18857 wxListItem
*arg1
= (wxListItem
*) 0 ;
18859 PyObject
* obj0
= 0 ;
18860 char *kwnames
[] = {
18861 (char *) "self", NULL
18864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetColumn",kwnames
,&obj0
)) goto fail
;
18865 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18869 result
= (int)(arg1
)->GetColumn();
18871 wxPyEndAllowThreads(__tstate
);
18872 if (PyErr_Occurred()) SWIG_fail
;
18874 resultobj
= SWIG_FromInt((int)result
);
18881 static PyObject
*_wrap_ListItem_GetState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18882 PyObject
*resultobj
;
18883 wxListItem
*arg1
= (wxListItem
*) 0 ;
18885 PyObject
* obj0
= 0 ;
18886 char *kwnames
[] = {
18887 (char *) "self", NULL
18890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetState",kwnames
,&obj0
)) goto fail
;
18891 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18892 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18895 result
= (long)(arg1
)->GetState();
18897 wxPyEndAllowThreads(__tstate
);
18898 if (PyErr_Occurred()) SWIG_fail
;
18900 resultobj
= SWIG_FromLong((long)result
);
18907 static PyObject
*_wrap_ListItem_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18908 PyObject
*resultobj
;
18909 wxListItem
*arg1
= (wxListItem
*) 0 ;
18911 PyObject
* obj0
= 0 ;
18912 char *kwnames
[] = {
18913 (char *) "self", NULL
18916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetText",kwnames
,&obj0
)) goto fail
;
18917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18922 wxString
const &_result_ref
= (arg1
)->GetText();
18923 result
= (wxString
*) &_result_ref
;
18926 wxPyEndAllowThreads(__tstate
);
18927 if (PyErr_Occurred()) SWIG_fail
;
18931 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18933 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18942 static PyObject
*_wrap_ListItem_GetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18943 PyObject
*resultobj
;
18944 wxListItem
*arg1
= (wxListItem
*) 0 ;
18946 PyObject
* obj0
= 0 ;
18947 char *kwnames
[] = {
18948 (char *) "self", NULL
18951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetImage",kwnames
,&obj0
)) goto fail
;
18952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18956 result
= (int)(arg1
)->GetImage();
18958 wxPyEndAllowThreads(__tstate
);
18959 if (PyErr_Occurred()) SWIG_fail
;
18961 resultobj
= SWIG_FromInt((int)result
);
18968 static PyObject
*_wrap_ListItem_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18969 PyObject
*resultobj
;
18970 wxListItem
*arg1
= (wxListItem
*) 0 ;
18972 PyObject
* obj0
= 0 ;
18973 char *kwnames
[] = {
18974 (char *) "self", NULL
18977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetData",kwnames
,&obj0
)) goto fail
;
18978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18982 result
= (long)(arg1
)->GetData();
18984 wxPyEndAllowThreads(__tstate
);
18985 if (PyErr_Occurred()) SWIG_fail
;
18987 resultobj
= SWIG_FromLong((long)result
);
18994 static PyObject
*_wrap_ListItem_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18995 PyObject
*resultobj
;
18996 wxListItem
*arg1
= (wxListItem
*) 0 ;
18998 PyObject
* obj0
= 0 ;
18999 char *kwnames
[] = {
19000 (char *) "self", NULL
19003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetWidth",kwnames
,&obj0
)) goto fail
;
19004 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19008 result
= (int)(arg1
)->GetWidth();
19010 wxPyEndAllowThreads(__tstate
);
19011 if (PyErr_Occurred()) SWIG_fail
;
19013 resultobj
= SWIG_FromInt((int)result
);
19020 static PyObject
*_wrap_ListItem_GetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19021 PyObject
*resultobj
;
19022 wxListItem
*arg1
= (wxListItem
*) 0 ;
19024 PyObject
* obj0
= 0 ;
19025 char *kwnames
[] = {
19026 (char *) "self", NULL
19029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAlign",kwnames
,&obj0
)) goto fail
;
19030 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19034 result
= (int)(arg1
)->GetAlign();
19036 wxPyEndAllowThreads(__tstate
);
19037 if (PyErr_Occurred()) SWIG_fail
;
19039 resultobj
= SWIG_FromInt((int)result
);
19046 static PyObject
*_wrap_ListItem_GetAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19047 PyObject
*resultobj
;
19048 wxListItem
*arg1
= (wxListItem
*) 0 ;
19049 wxListItemAttr
*result
;
19050 PyObject
* obj0
= 0 ;
19051 char *kwnames
[] = {
19052 (char *) "self", NULL
19055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAttributes",kwnames
,&obj0
)) goto fail
;
19056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19060 result
= (wxListItemAttr
*)(arg1
)->GetAttributes();
19062 wxPyEndAllowThreads(__tstate
);
19063 if (PyErr_Occurred()) SWIG_fail
;
19065 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 0);
19072 static PyObject
*_wrap_ListItem_HasAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19073 PyObject
*resultobj
;
19074 wxListItem
*arg1
= (wxListItem
*) 0 ;
19076 PyObject
* obj0
= 0 ;
19077 char *kwnames
[] = {
19078 (char *) "self", NULL
19081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_HasAttributes",kwnames
,&obj0
)) goto fail
;
19082 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19086 result
= (bool)(arg1
)->HasAttributes();
19088 wxPyEndAllowThreads(__tstate
);
19089 if (PyErr_Occurred()) SWIG_fail
;
19092 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19100 static PyObject
*_wrap_ListItem_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19101 PyObject
*resultobj
;
19102 wxListItem
*arg1
= (wxListItem
*) 0 ;
19104 PyObject
* obj0
= 0 ;
19105 char *kwnames
[] = {
19106 (char *) "self", NULL
19109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetTextColour",kwnames
,&obj0
)) goto fail
;
19110 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19114 result
= ((wxListItem
const *)arg1
)->GetTextColour();
19116 wxPyEndAllowThreads(__tstate
);
19117 if (PyErr_Occurred()) SWIG_fail
;
19120 wxColour
* resultptr
;
19121 resultptr
= new wxColour((wxColour
&) result
);
19122 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
19130 static PyObject
*_wrap_ListItem_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19131 PyObject
*resultobj
;
19132 wxListItem
*arg1
= (wxListItem
*) 0 ;
19134 PyObject
* obj0
= 0 ;
19135 char *kwnames
[] = {
19136 (char *) "self", NULL
19139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
19140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19144 result
= ((wxListItem
const *)arg1
)->GetBackgroundColour();
19146 wxPyEndAllowThreads(__tstate
);
19147 if (PyErr_Occurred()) SWIG_fail
;
19150 wxColour
* resultptr
;
19151 resultptr
= new wxColour((wxColour
&) result
);
19152 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
19160 static PyObject
*_wrap_ListItem_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19161 PyObject
*resultobj
;
19162 wxListItem
*arg1
= (wxListItem
*) 0 ;
19164 PyObject
* obj0
= 0 ;
19165 char *kwnames
[] = {
19166 (char *) "self", NULL
19169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetFont",kwnames
,&obj0
)) goto fail
;
19170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19174 result
= ((wxListItem
const *)arg1
)->GetFont();
19176 wxPyEndAllowThreads(__tstate
);
19177 if (PyErr_Occurred()) SWIG_fail
;
19180 wxFont
* resultptr
;
19181 resultptr
= new wxFont((wxFont
&) result
);
19182 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
19190 static PyObject
*_wrap_ListItem_m_mask_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19191 PyObject
*resultobj
;
19192 wxListItem
*arg1
= (wxListItem
*) 0 ;
19194 PyObject
* obj0
= 0 ;
19195 PyObject
* obj1
= 0 ;
19196 char *kwnames
[] = {
19197 (char *) "self",(char *) "m_mask", NULL
19200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_mask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19203 arg2
= (long) SWIG_AsLong(obj1
);
19204 if (PyErr_Occurred()) SWIG_fail
;
19205 if (arg1
) (arg1
)->m_mask
= arg2
;
19207 Py_INCREF(Py_None
); resultobj
= Py_None
;
19214 static PyObject
*_wrap_ListItem_m_mask_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19215 PyObject
*resultobj
;
19216 wxListItem
*arg1
= (wxListItem
*) 0 ;
19218 PyObject
* obj0
= 0 ;
19219 char *kwnames
[] = {
19220 (char *) "self", NULL
19223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_mask_get",kwnames
,&obj0
)) goto fail
;
19224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19226 result
= (long) ((arg1
)->m_mask
);
19228 resultobj
= SWIG_FromLong((long)result
);
19235 static PyObject
*_wrap_ListItem_m_itemId_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19236 PyObject
*resultobj
;
19237 wxListItem
*arg1
= (wxListItem
*) 0 ;
19239 PyObject
* obj0
= 0 ;
19240 PyObject
* obj1
= 0 ;
19241 char *kwnames
[] = {
19242 (char *) "self",(char *) "m_itemId", NULL
19245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_itemId_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19246 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19247 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19248 arg2
= (long) SWIG_AsLong(obj1
);
19249 if (PyErr_Occurred()) SWIG_fail
;
19250 if (arg1
) (arg1
)->m_itemId
= arg2
;
19252 Py_INCREF(Py_None
); resultobj
= Py_None
;
19259 static PyObject
*_wrap_ListItem_m_itemId_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19260 PyObject
*resultobj
;
19261 wxListItem
*arg1
= (wxListItem
*) 0 ;
19263 PyObject
* obj0
= 0 ;
19264 char *kwnames
[] = {
19265 (char *) "self", NULL
19268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_itemId_get",kwnames
,&obj0
)) goto fail
;
19269 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19271 result
= (long) ((arg1
)->m_itemId
);
19273 resultobj
= SWIG_FromLong((long)result
);
19280 static PyObject
*_wrap_ListItem_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19281 PyObject
*resultobj
;
19282 wxListItem
*arg1
= (wxListItem
*) 0 ;
19284 PyObject
* obj0
= 0 ;
19285 PyObject
* obj1
= 0 ;
19286 char *kwnames
[] = {
19287 (char *) "self",(char *) "m_col", NULL
19290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19291 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19293 arg2
= (int) SWIG_AsInt(obj1
);
19294 if (PyErr_Occurred()) SWIG_fail
;
19295 if (arg1
) (arg1
)->m_col
= arg2
;
19297 Py_INCREF(Py_None
); resultobj
= Py_None
;
19304 static PyObject
*_wrap_ListItem_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19305 PyObject
*resultobj
;
19306 wxListItem
*arg1
= (wxListItem
*) 0 ;
19308 PyObject
* obj0
= 0 ;
19309 char *kwnames
[] = {
19310 (char *) "self", NULL
19313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_col_get",kwnames
,&obj0
)) goto fail
;
19314 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19316 result
= (int) ((arg1
)->m_col
);
19318 resultobj
= SWIG_FromInt((int)result
);
19325 static PyObject
*_wrap_ListItem_m_state_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19326 PyObject
*resultobj
;
19327 wxListItem
*arg1
= (wxListItem
*) 0 ;
19329 PyObject
* obj0
= 0 ;
19330 PyObject
* obj1
= 0 ;
19331 char *kwnames
[] = {
19332 (char *) "self",(char *) "m_state", NULL
19335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_state_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19336 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19337 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19338 arg2
= (long) SWIG_AsLong(obj1
);
19339 if (PyErr_Occurred()) SWIG_fail
;
19340 if (arg1
) (arg1
)->m_state
= arg2
;
19342 Py_INCREF(Py_None
); resultobj
= Py_None
;
19349 static PyObject
*_wrap_ListItem_m_state_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19350 PyObject
*resultobj
;
19351 wxListItem
*arg1
= (wxListItem
*) 0 ;
19353 PyObject
* obj0
= 0 ;
19354 char *kwnames
[] = {
19355 (char *) "self", NULL
19358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_state_get",kwnames
,&obj0
)) goto fail
;
19359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19361 result
= (long) ((arg1
)->m_state
);
19363 resultobj
= SWIG_FromLong((long)result
);
19370 static PyObject
*_wrap_ListItem_m_stateMask_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19371 PyObject
*resultobj
;
19372 wxListItem
*arg1
= (wxListItem
*) 0 ;
19374 PyObject
* obj0
= 0 ;
19375 PyObject
* obj1
= 0 ;
19376 char *kwnames
[] = {
19377 (char *) "self",(char *) "m_stateMask", NULL
19380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_stateMask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19383 arg2
= (long) SWIG_AsLong(obj1
);
19384 if (PyErr_Occurred()) SWIG_fail
;
19385 if (arg1
) (arg1
)->m_stateMask
= arg2
;
19387 Py_INCREF(Py_None
); resultobj
= Py_None
;
19394 static PyObject
*_wrap_ListItem_m_stateMask_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19395 PyObject
*resultobj
;
19396 wxListItem
*arg1
= (wxListItem
*) 0 ;
19398 PyObject
* obj0
= 0 ;
19399 char *kwnames
[] = {
19400 (char *) "self", NULL
19403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_stateMask_get",kwnames
,&obj0
)) goto fail
;
19404 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19406 result
= (long) ((arg1
)->m_stateMask
);
19408 resultobj
= SWIG_FromLong((long)result
);
19415 static PyObject
*_wrap_ListItem_m_text_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19416 PyObject
*resultobj
;
19417 wxListItem
*arg1
= (wxListItem
*) 0 ;
19418 wxString
*arg2
= (wxString
*) 0 ;
19419 bool temp2
= False
;
19420 PyObject
* obj0
= 0 ;
19421 PyObject
* obj1
= 0 ;
19422 char *kwnames
[] = {
19423 (char *) "self",(char *) "m_text", NULL
19426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_text_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19427 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19430 arg2
= wxString_in_helper(obj1
);
19431 if (arg2
== NULL
) SWIG_fail
;
19434 if (arg1
) (arg1
)->m_text
= *arg2
;
19436 Py_INCREF(Py_None
); resultobj
= Py_None
;
19451 static PyObject
*_wrap_ListItem_m_text_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19452 PyObject
*resultobj
;
19453 wxListItem
*arg1
= (wxListItem
*) 0 ;
19455 PyObject
* obj0
= 0 ;
19456 char *kwnames
[] = {
19457 (char *) "self", NULL
19460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_text_get",kwnames
,&obj0
)) goto fail
;
19461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19463 result
= (wxString
*)& ((arg1
)->m_text
);
19467 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19469 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19478 static PyObject
*_wrap_ListItem_m_image_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19479 PyObject
*resultobj
;
19480 wxListItem
*arg1
= (wxListItem
*) 0 ;
19482 PyObject
* obj0
= 0 ;
19483 PyObject
* obj1
= 0 ;
19484 char *kwnames
[] = {
19485 (char *) "self",(char *) "m_image", NULL
19488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_image_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19489 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19490 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19491 arg2
= (int) SWIG_AsInt(obj1
);
19492 if (PyErr_Occurred()) SWIG_fail
;
19493 if (arg1
) (arg1
)->m_image
= arg2
;
19495 Py_INCREF(Py_None
); resultobj
= Py_None
;
19502 static PyObject
*_wrap_ListItem_m_image_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19503 PyObject
*resultobj
;
19504 wxListItem
*arg1
= (wxListItem
*) 0 ;
19506 PyObject
* obj0
= 0 ;
19507 char *kwnames
[] = {
19508 (char *) "self", NULL
19511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_image_get",kwnames
,&obj0
)) goto fail
;
19512 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19514 result
= (int) ((arg1
)->m_image
);
19516 resultobj
= SWIG_FromInt((int)result
);
19523 static PyObject
*_wrap_ListItem_m_data_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19524 PyObject
*resultobj
;
19525 wxListItem
*arg1
= (wxListItem
*) 0 ;
19527 PyObject
* obj0
= 0 ;
19528 PyObject
* obj1
= 0 ;
19529 char *kwnames
[] = {
19530 (char *) "self",(char *) "m_data", NULL
19533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_data_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19536 arg2
= (long) SWIG_AsLong(obj1
);
19537 if (PyErr_Occurred()) SWIG_fail
;
19538 if (arg1
) (arg1
)->m_data
= arg2
;
19540 Py_INCREF(Py_None
); resultobj
= Py_None
;
19547 static PyObject
*_wrap_ListItem_m_data_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19548 PyObject
*resultobj
;
19549 wxListItem
*arg1
= (wxListItem
*) 0 ;
19551 PyObject
* obj0
= 0 ;
19552 char *kwnames
[] = {
19553 (char *) "self", NULL
19556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_data_get",kwnames
,&obj0
)) goto fail
;
19557 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19559 result
= (long) ((arg1
)->m_data
);
19561 resultobj
= SWIG_FromLong((long)result
);
19568 static PyObject
*_wrap_ListItem_m_format_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19569 PyObject
*resultobj
;
19570 wxListItem
*arg1
= (wxListItem
*) 0 ;
19572 PyObject
* obj0
= 0 ;
19573 PyObject
* obj1
= 0 ;
19574 char *kwnames
[] = {
19575 (char *) "self",(char *) "m_format", NULL
19578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_format_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19581 arg2
= (int) SWIG_AsInt(obj1
);
19582 if (PyErr_Occurred()) SWIG_fail
;
19583 if (arg1
) (arg1
)->m_format
= arg2
;
19585 Py_INCREF(Py_None
); resultobj
= Py_None
;
19592 static PyObject
*_wrap_ListItem_m_format_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19593 PyObject
*resultobj
;
19594 wxListItem
*arg1
= (wxListItem
*) 0 ;
19596 PyObject
* obj0
= 0 ;
19597 char *kwnames
[] = {
19598 (char *) "self", NULL
19601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_format_get",kwnames
,&obj0
)) goto fail
;
19602 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19604 result
= (int) ((arg1
)->m_format
);
19606 resultobj
= SWIG_FromInt((int)result
);
19613 static PyObject
*_wrap_ListItem_m_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19614 PyObject
*resultobj
;
19615 wxListItem
*arg1
= (wxListItem
*) 0 ;
19617 PyObject
* obj0
= 0 ;
19618 PyObject
* obj1
= 0 ;
19619 char *kwnames
[] = {
19620 (char *) "self",(char *) "m_width", NULL
19623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19626 arg2
= (int) SWIG_AsInt(obj1
);
19627 if (PyErr_Occurred()) SWIG_fail
;
19628 if (arg1
) (arg1
)->m_width
= arg2
;
19630 Py_INCREF(Py_None
); resultobj
= Py_None
;
19637 static PyObject
*_wrap_ListItem_m_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19638 PyObject
*resultobj
;
19639 wxListItem
*arg1
= (wxListItem
*) 0 ;
19641 PyObject
* obj0
= 0 ;
19642 char *kwnames
[] = {
19643 (char *) "self", NULL
19646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_width_get",kwnames
,&obj0
)) goto fail
;
19647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19649 result
= (int) ((arg1
)->m_width
);
19651 resultobj
= SWIG_FromInt((int)result
);
19658 static PyObject
* ListItem_swigregister(PyObject
*self
, PyObject
*args
) {
19660 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19661 SWIG_TypeClientData(SWIGTYPE_p_wxListItem
, obj
);
19663 return Py_BuildValue((char *)"");
19665 static PyObject
*_wrap_new_ListEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19666 PyObject
*resultobj
;
19667 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19668 int arg2
= (int) 0 ;
19669 wxListEvent
*result
;
19670 PyObject
* obj0
= 0 ;
19671 PyObject
* obj1
= 0 ;
19672 char *kwnames
[] = {
19673 (char *) "commandType",(char *) "id", NULL
19676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ListEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19678 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
19679 if (PyErr_Occurred()) SWIG_fail
;
19682 arg2
= (int) SWIG_AsInt(obj1
);
19683 if (PyErr_Occurred()) SWIG_fail
;
19686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19687 result
= (wxListEvent
*)new wxListEvent(arg1
,arg2
);
19689 wxPyEndAllowThreads(__tstate
);
19690 if (PyErr_Occurred()) SWIG_fail
;
19692 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListEvent
, 1);
19699 static PyObject
*_wrap_ListEvent_m_code_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19700 PyObject
*resultobj
;
19701 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19703 PyObject
* obj0
= 0 ;
19704 PyObject
* obj1
= 0 ;
19705 char *kwnames
[] = {
19706 (char *) "self",(char *) "m_code", NULL
19709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_code_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19712 arg2
= (int) SWIG_AsInt(obj1
);
19713 if (PyErr_Occurred()) SWIG_fail
;
19714 if (arg1
) (arg1
)->m_code
= arg2
;
19716 Py_INCREF(Py_None
); resultobj
= Py_None
;
19723 static PyObject
*_wrap_ListEvent_m_code_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19724 PyObject
*resultobj
;
19725 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19727 PyObject
* obj0
= 0 ;
19728 char *kwnames
[] = {
19729 (char *) "self", NULL
19732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_code_get",kwnames
,&obj0
)) goto fail
;
19733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19735 result
= (int) ((arg1
)->m_code
);
19737 resultobj
= SWIG_FromInt((int)result
);
19744 static PyObject
*_wrap_ListEvent_m_oldItemIndex_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19745 PyObject
*resultobj
;
19746 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19748 PyObject
* obj0
= 0 ;
19749 PyObject
* obj1
= 0 ;
19750 char *kwnames
[] = {
19751 (char *) "self",(char *) "m_oldItemIndex", NULL
19754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_oldItemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19757 arg2
= (long) SWIG_AsLong(obj1
);
19758 if (PyErr_Occurred()) SWIG_fail
;
19759 if (arg1
) (arg1
)->m_oldItemIndex
= arg2
;
19761 Py_INCREF(Py_None
); resultobj
= Py_None
;
19768 static PyObject
*_wrap_ListEvent_m_oldItemIndex_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19769 PyObject
*resultobj
;
19770 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19772 PyObject
* obj0
= 0 ;
19773 char *kwnames
[] = {
19774 (char *) "self", NULL
19777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames
,&obj0
)) goto fail
;
19778 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19780 result
= (long) ((arg1
)->m_oldItemIndex
);
19782 resultobj
= SWIG_FromLong((long)result
);
19789 static PyObject
*_wrap_ListEvent_m_itemIndex_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19790 PyObject
*resultobj
;
19791 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19793 PyObject
* obj0
= 0 ;
19794 PyObject
* obj1
= 0 ;
19795 char *kwnames
[] = {
19796 (char *) "self",(char *) "m_itemIndex", NULL
19799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_itemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19800 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19802 arg2
= (long) SWIG_AsLong(obj1
);
19803 if (PyErr_Occurred()) SWIG_fail
;
19804 if (arg1
) (arg1
)->m_itemIndex
= arg2
;
19806 Py_INCREF(Py_None
); resultobj
= Py_None
;
19813 static PyObject
*_wrap_ListEvent_m_itemIndex_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19814 PyObject
*resultobj
;
19815 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19817 PyObject
* obj0
= 0 ;
19818 char *kwnames
[] = {
19819 (char *) "self", NULL
19822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_itemIndex_get",kwnames
,&obj0
)) goto fail
;
19823 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19825 result
= (long) ((arg1
)->m_itemIndex
);
19827 resultobj
= SWIG_FromLong((long)result
);
19834 static PyObject
*_wrap_ListEvent_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19835 PyObject
*resultobj
;
19836 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19838 PyObject
* obj0
= 0 ;
19839 PyObject
* obj1
= 0 ;
19840 char *kwnames
[] = {
19841 (char *) "self",(char *) "m_col", NULL
19844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19847 arg2
= (int) SWIG_AsInt(obj1
);
19848 if (PyErr_Occurred()) SWIG_fail
;
19849 if (arg1
) (arg1
)->m_col
= arg2
;
19851 Py_INCREF(Py_None
); resultobj
= Py_None
;
19858 static PyObject
*_wrap_ListEvent_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19859 PyObject
*resultobj
;
19860 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19862 PyObject
* obj0
= 0 ;
19863 char *kwnames
[] = {
19864 (char *) "self", NULL
19867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_col_get",kwnames
,&obj0
)) goto fail
;
19868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19870 result
= (int) ((arg1
)->m_col
);
19872 resultobj
= SWIG_FromInt((int)result
);
19879 static PyObject
*_wrap_ListEvent_m_pointDrag_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19880 PyObject
*resultobj
;
19881 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19882 wxPoint
*arg2
= (wxPoint
*) 0 ;
19883 PyObject
* obj0
= 0 ;
19884 PyObject
* obj1
= 0 ;
19885 char *kwnames
[] = {
19886 (char *) "self",(char *) "m_pointDrag", NULL
19889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_pointDrag_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19892 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPoint
,
19893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19894 if (arg1
) (arg1
)->m_pointDrag
= *arg2
;
19896 Py_INCREF(Py_None
); resultobj
= Py_None
;
19903 static PyObject
*_wrap_ListEvent_m_pointDrag_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19904 PyObject
*resultobj
;
19905 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19907 PyObject
* obj0
= 0 ;
19908 char *kwnames
[] = {
19909 (char *) "self", NULL
19912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_pointDrag_get",kwnames
,&obj0
)) goto fail
;
19913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19915 result
= (wxPoint
*)& ((arg1
)->m_pointDrag
);
19917 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
19924 static PyObject
*_wrap_ListEvent_m_item_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19925 PyObject
*resultobj
;
19926 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19927 wxListItem
*result
;
19928 PyObject
* obj0
= 0 ;
19929 char *kwnames
[] = {
19930 (char *) "self", NULL
19933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_item_get",kwnames
,&obj0
)) goto fail
;
19934 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19935 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19936 result
= (wxListItem
*)& ((arg1
)->m_item
);
19939 resultobj
= wxPyMake_wxObject(result
);
19947 static PyObject
*_wrap_ListEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19948 PyObject
*resultobj
;
19949 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19951 PyObject
* obj0
= 0 ;
19952 char *kwnames
[] = {
19953 (char *) "self", NULL
19956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
19957 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19961 result
= (int)(arg1
)->GetKeyCode();
19963 wxPyEndAllowThreads(__tstate
);
19964 if (PyErr_Occurred()) SWIG_fail
;
19966 resultobj
= SWIG_FromInt((int)result
);
19973 static PyObject
*_wrap_ListEvent_GetIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19974 PyObject
*resultobj
;
19975 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19977 PyObject
* obj0
= 0 ;
19978 char *kwnames
[] = {
19979 (char *) "self", NULL
19982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetIndex",kwnames
,&obj0
)) goto fail
;
19983 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19987 result
= (long)(arg1
)->GetIndex();
19989 wxPyEndAllowThreads(__tstate
);
19990 if (PyErr_Occurred()) SWIG_fail
;
19992 resultobj
= SWIG_FromLong((long)result
);
19999 static PyObject
*_wrap_ListEvent_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20000 PyObject
*resultobj
;
20001 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20003 PyObject
* obj0
= 0 ;
20004 char *kwnames
[] = {
20005 (char *) "self", NULL
20008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetColumn",kwnames
,&obj0
)) goto fail
;
20009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20013 result
= (int)(arg1
)->GetColumn();
20015 wxPyEndAllowThreads(__tstate
);
20016 if (PyErr_Occurred()) SWIG_fail
;
20018 resultobj
= SWIG_FromInt((int)result
);
20025 static PyObject
*_wrap_ListEvent_GetPoint(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_GetPoint",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
= (arg1
)->GetPoint();
20041 wxPyEndAllowThreads(__tstate
);
20042 if (PyErr_Occurred()) SWIG_fail
;
20045 wxPoint
* resultptr
;
20046 resultptr
= new wxPoint((wxPoint
&) result
);
20047 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
20055 static PyObject
*_wrap_ListEvent_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20056 PyObject
*resultobj
;
20057 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20059 PyObject
* obj0
= 0 ;
20060 char *kwnames
[] = {
20061 (char *) "self", NULL
20064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
20065 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20070 wxString
const &_result_ref
= (arg1
)->GetLabel();
20071 result
= (wxString
*) &_result_ref
;
20074 wxPyEndAllowThreads(__tstate
);
20075 if (PyErr_Occurred()) SWIG_fail
;
20079 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20081 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20090 static PyObject
*_wrap_ListEvent_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20091 PyObject
*resultobj
;
20092 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20094 PyObject
* obj0
= 0 ;
20095 char *kwnames
[] = {
20096 (char *) "self", NULL
20099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetText",kwnames
,&obj0
)) goto fail
;
20100 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20105 wxString
const &_result_ref
= (arg1
)->GetText();
20106 result
= (wxString
*) &_result_ref
;
20109 wxPyEndAllowThreads(__tstate
);
20110 if (PyErr_Occurred()) SWIG_fail
;
20114 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20116 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20125 static PyObject
*_wrap_ListEvent_GetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20126 PyObject
*resultobj
;
20127 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20129 PyObject
* obj0
= 0 ;
20130 char *kwnames
[] = {
20131 (char *) "self", NULL
20134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetImage",kwnames
,&obj0
)) goto fail
;
20135 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20139 result
= (int)(arg1
)->GetImage();
20141 wxPyEndAllowThreads(__tstate
);
20142 if (PyErr_Occurred()) SWIG_fail
;
20144 resultobj
= SWIG_FromInt((int)result
);
20151 static PyObject
*_wrap_ListEvent_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20152 PyObject
*resultobj
;
20153 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20155 PyObject
* obj0
= 0 ;
20156 char *kwnames
[] = {
20157 (char *) "self", NULL
20160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetData",kwnames
,&obj0
)) goto fail
;
20161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20165 result
= (long)(arg1
)->GetData();
20167 wxPyEndAllowThreads(__tstate
);
20168 if (PyErr_Occurred()) SWIG_fail
;
20170 resultobj
= SWIG_FromLong((long)result
);
20177 static PyObject
*_wrap_ListEvent_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20178 PyObject
*resultobj
;
20179 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20181 PyObject
* obj0
= 0 ;
20182 char *kwnames
[] = {
20183 (char *) "self", NULL
20186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetMask",kwnames
,&obj0
)) goto fail
;
20187 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20191 result
= (long)(arg1
)->GetMask();
20193 wxPyEndAllowThreads(__tstate
);
20194 if (PyErr_Occurred()) SWIG_fail
;
20196 resultobj
= SWIG_FromLong((long)result
);
20203 static PyObject
*_wrap_ListEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20204 PyObject
*resultobj
;
20205 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20206 wxListItem
*result
;
20207 PyObject
* obj0
= 0 ;
20208 char *kwnames
[] = {
20209 (char *) "self", NULL
20212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetItem",kwnames
,&obj0
)) goto fail
;
20213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20218 wxListItem
const &_result_ref
= (arg1
)->GetItem();
20219 result
= (wxListItem
*) &_result_ref
;
20222 wxPyEndAllowThreads(__tstate
);
20223 if (PyErr_Occurred()) SWIG_fail
;
20225 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItem
, 0);
20232 static PyObject
*_wrap_ListEvent_GetCacheFrom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20233 PyObject
*resultobj
;
20234 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20236 PyObject
* obj0
= 0 ;
20237 char *kwnames
[] = {
20238 (char *) "self", NULL
20241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheFrom",kwnames
,&obj0
)) goto fail
;
20242 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20246 result
= (long)(arg1
)->GetCacheFrom();
20248 wxPyEndAllowThreads(__tstate
);
20249 if (PyErr_Occurred()) SWIG_fail
;
20251 resultobj
= SWIG_FromLong((long)result
);
20258 static PyObject
*_wrap_ListEvent_GetCacheTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20259 PyObject
*resultobj
;
20260 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20262 PyObject
* obj0
= 0 ;
20263 char *kwnames
[] = {
20264 (char *) "self", NULL
20267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheTo",kwnames
,&obj0
)) goto fail
;
20268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20272 result
= (long)(arg1
)->GetCacheTo();
20274 wxPyEndAllowThreads(__tstate
);
20275 if (PyErr_Occurred()) SWIG_fail
;
20277 resultobj
= SWIG_FromLong((long)result
);
20284 static PyObject
*_wrap_ListEvent_IsEditCancelled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20285 PyObject
*resultobj
;
20286 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20288 PyObject
* obj0
= 0 ;
20289 char *kwnames
[] = {
20290 (char *) "self", NULL
20293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
20294 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20298 result
= (bool)((wxListEvent
const *)arg1
)->IsEditCancelled();
20300 wxPyEndAllowThreads(__tstate
);
20301 if (PyErr_Occurred()) SWIG_fail
;
20304 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20312 static PyObject
*_wrap_ListEvent_SetEditCanceled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20313 PyObject
*resultobj
;
20314 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20316 PyObject
* obj0
= 0 ;
20317 PyObject
* obj1
= 0 ;
20318 char *kwnames
[] = {
20319 (char *) "self",(char *) "editCancelled", NULL
20322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
20323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20325 arg2
= (bool) SWIG_AsBool(obj1
);
20326 if (PyErr_Occurred()) SWIG_fail
;
20328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20329 (arg1
)->SetEditCanceled(arg2
);
20331 wxPyEndAllowThreads(__tstate
);
20332 if (PyErr_Occurred()) SWIG_fail
;
20334 Py_INCREF(Py_None
); resultobj
= Py_None
;
20341 static PyObject
* ListEvent_swigregister(PyObject
*self
, PyObject
*args
) {
20343 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20344 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent
, obj
);
20346 return Py_BuildValue((char *)"");
20348 static PyObject
*_wrap_new_ListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20349 PyObject
*resultobj
;
20350 wxWindow
*arg1
= (wxWindow
*) 0 ;
20351 int arg2
= (int) -1 ;
20352 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
20353 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
20354 wxSize
const &arg4_defvalue
= wxDefaultSize
;
20355 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
20356 long arg5
= (long) wxLC_ICON
;
20357 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
20358 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
20359 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
20360 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20361 wxPyListCtrl
*result
;
20364 bool temp7
= False
;
20365 PyObject
* obj0
= 0 ;
20366 PyObject
* obj1
= 0 ;
20367 PyObject
* obj2
= 0 ;
20368 PyObject
* obj3
= 0 ;
20369 PyObject
* obj4
= 0 ;
20370 PyObject
* obj5
= 0 ;
20371 PyObject
* obj6
= 0 ;
20372 char *kwnames
[] = {
20373 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
20376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
20377 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
20378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20380 arg2
= (int) SWIG_AsInt(obj1
);
20381 if (PyErr_Occurred()) SWIG_fail
;
20386 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20392 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
20396 arg5
= (long) SWIG_AsLong(obj4
);
20397 if (PyErr_Occurred()) SWIG_fail
;
20400 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
20401 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20403 if (arg6
== NULL
) {
20404 PyErr_SetString(PyExc_TypeError
,"null reference");
20410 arg7
= wxString_in_helper(obj6
);
20411 if (arg7
== NULL
) SWIG_fail
;
20416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20417 result
= (wxPyListCtrl
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
20419 wxPyEndAllowThreads(__tstate
);
20420 if (PyErr_Occurred()) SWIG_fail
;
20422 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1);
20437 static PyObject
*_wrap_new_PreListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20438 PyObject
*resultobj
;
20439 wxPyListCtrl
*result
;
20440 char *kwnames
[] = {
20444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListCtrl",kwnames
)) goto fail
;
20446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20447 result
= (wxPyListCtrl
*)new wxPyListCtrl();
20449 wxPyEndAllowThreads(__tstate
);
20450 if (PyErr_Occurred()) SWIG_fail
;
20452 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1);
20459 static PyObject
*_wrap_ListCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20460 PyObject
*resultobj
;
20461 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20462 wxWindow
*arg2
= (wxWindow
*) 0 ;
20463 int arg3
= (int) -1 ;
20464 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20465 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20466 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20467 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20468 long arg6
= (long) wxLC_ICON
;
20469 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
20470 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
20471 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
20472 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
20476 bool temp8
= False
;
20477 PyObject
* obj0
= 0 ;
20478 PyObject
* obj1
= 0 ;
20479 PyObject
* obj2
= 0 ;
20480 PyObject
* obj3
= 0 ;
20481 PyObject
* obj4
= 0 ;
20482 PyObject
* obj5
= 0 ;
20483 PyObject
* obj6
= 0 ;
20484 PyObject
* obj7
= 0 ;
20485 char *kwnames
[] = {
20486 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
20489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
20490 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20492 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
20493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20495 arg3
= (int) SWIG_AsInt(obj2
);
20496 if (PyErr_Occurred()) SWIG_fail
;
20501 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20507 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20511 arg6
= (long) SWIG_AsLong(obj5
);
20512 if (PyErr_Occurred()) SWIG_fail
;
20515 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
20516 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20518 if (arg7
== NULL
) {
20519 PyErr_SetString(PyExc_TypeError
,"null reference");
20525 arg8
= wxString_in_helper(obj7
);
20526 if (arg8
== NULL
) SWIG_fail
;
20531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20532 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
20534 wxPyEndAllowThreads(__tstate
);
20535 if (PyErr_Occurred()) SWIG_fail
;
20538 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20554 static PyObject
*_wrap_ListCtrl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20555 PyObject
*resultobj
;
20556 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20557 PyObject
*arg2
= (PyObject
*) 0 ;
20558 PyObject
*arg3
= (PyObject
*) 0 ;
20559 PyObject
* obj0
= 0 ;
20560 PyObject
* obj1
= 0 ;
20561 PyObject
* obj2
= 0 ;
20562 char *kwnames
[] = {
20563 (char *) "self",(char *) "self",(char *) "_class", NULL
20566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20567 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20568 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20573 (arg1
)->_setCallbackInfo(arg2
,arg3
);
20575 wxPyEndAllowThreads(__tstate
);
20576 if (PyErr_Occurred()) SWIG_fail
;
20578 Py_INCREF(Py_None
); resultobj
= Py_None
;
20585 static PyObject
*_wrap_ListCtrl_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20586 PyObject
*resultobj
;
20587 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20588 wxColour
*arg2
= 0 ;
20591 PyObject
* obj0
= 0 ;
20592 PyObject
* obj1
= 0 ;
20593 char *kwnames
[] = {
20594 (char *) "self",(char *) "col", NULL
20597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
20598 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20602 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
20605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20606 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
20608 wxPyEndAllowThreads(__tstate
);
20609 if (PyErr_Occurred()) SWIG_fail
;
20612 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20620 static PyObject
*_wrap_ListCtrl_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20621 PyObject
*resultobj
;
20622 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20623 wxColour
*arg2
= 0 ;
20626 PyObject
* obj0
= 0 ;
20627 PyObject
* obj1
= 0 ;
20628 char *kwnames
[] = {
20629 (char *) "self",(char *) "col", NULL
20632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
20633 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20634 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20637 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
20640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20641 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
20643 wxPyEndAllowThreads(__tstate
);
20644 if (PyErr_Occurred()) SWIG_fail
;
20647 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20655 static PyObject
*_wrap_ListCtrl_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20656 PyObject
*resultobj
;
20657 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20659 wxListItem
*result
;
20660 PyObject
* obj0
= 0 ;
20661 PyObject
* obj1
= 0 ;
20662 char *kwnames
[] = {
20663 (char *) "self",(char *) "col", NULL
20666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
20667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20669 arg2
= (int) SWIG_AsInt(obj1
);
20670 if (PyErr_Occurred()) SWIG_fail
;
20672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20673 result
= (wxListItem
*)wxPyListCtrl_GetColumn(arg1
,arg2
);
20675 wxPyEndAllowThreads(__tstate
);
20676 if (PyErr_Occurred()) SWIG_fail
;
20679 resultobj
= wxPyMake_wxObject(result
);
20687 static PyObject
*_wrap_ListCtrl_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20688 PyObject
*resultobj
;
20689 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20691 wxListItem
*arg3
= 0 ;
20693 PyObject
* obj0
= 0 ;
20694 PyObject
* obj1
= 0 ;
20695 PyObject
* obj2
= 0 ;
20696 char *kwnames
[] = {
20697 (char *) "self",(char *) "col",(char *) "item", NULL
20700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumn",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20703 arg2
= (int) SWIG_AsInt(obj1
);
20704 if (PyErr_Occurred()) SWIG_fail
;
20705 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxListItem
,
20706 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20708 if (arg3
== NULL
) {
20709 PyErr_SetString(PyExc_TypeError
,"null reference");
20713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20714 result
= (bool)(arg1
)->SetColumn(arg2
,*arg3
);
20716 wxPyEndAllowThreads(__tstate
);
20717 if (PyErr_Occurred()) SWIG_fail
;
20720 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20728 static PyObject
*_wrap_ListCtrl_GetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20729 PyObject
*resultobj
;
20730 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20733 PyObject
* obj0
= 0 ;
20734 PyObject
* obj1
= 0 ;
20735 char *kwnames
[] = {
20736 (char *) "self",(char *) "col", NULL
20739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
20740 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20742 arg2
= (int) SWIG_AsInt(obj1
);
20743 if (PyErr_Occurred()) SWIG_fail
;
20745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20746 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
20748 wxPyEndAllowThreads(__tstate
);
20749 if (PyErr_Occurred()) SWIG_fail
;
20751 resultobj
= SWIG_FromInt((int)result
);
20758 static PyObject
*_wrap_ListCtrl_SetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20759 PyObject
*resultobj
;
20760 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20764 PyObject
* obj0
= 0 ;
20765 PyObject
* obj1
= 0 ;
20766 PyObject
* obj2
= 0 ;
20767 char *kwnames
[] = {
20768 (char *) "self",(char *) "col",(char *) "width", NULL
20771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20774 arg2
= (int) SWIG_AsInt(obj1
);
20775 if (PyErr_Occurred()) SWIG_fail
;
20776 arg3
= (int) SWIG_AsInt(obj2
);
20777 if (PyErr_Occurred()) SWIG_fail
;
20779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20780 result
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
);
20782 wxPyEndAllowThreads(__tstate
);
20783 if (PyErr_Occurred()) SWIG_fail
;
20786 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20794 static PyObject
*_wrap_ListCtrl_GetCountPerPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20795 PyObject
*resultobj
;
20796 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20798 PyObject
* obj0
= 0 ;
20799 char *kwnames
[] = {
20800 (char *) "self", NULL
20803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetCountPerPage",kwnames
,&obj0
)) goto fail
;
20804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20808 result
= (int)((wxPyListCtrl
const *)arg1
)->GetCountPerPage();
20810 wxPyEndAllowThreads(__tstate
);
20811 if (PyErr_Occurred()) SWIG_fail
;
20813 resultobj
= SWIG_FromInt((int)result
);
20820 static PyObject
*_wrap_ListCtrl_GetViewRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20821 PyObject
*resultobj
;
20822 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20824 PyObject
* obj0
= 0 ;
20825 char *kwnames
[] = {
20826 (char *) "self", NULL
20829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetViewRect",kwnames
,&obj0
)) goto fail
;
20830 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20831 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20834 result
= ((wxPyListCtrl
const *)arg1
)->GetViewRect();
20836 wxPyEndAllowThreads(__tstate
);
20837 if (PyErr_Occurred()) SWIG_fail
;
20840 wxRect
* resultptr
;
20841 resultptr
= new wxRect((wxRect
&) result
);
20842 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
20850 static PyObject
*_wrap_ListCtrl_GetEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20851 PyObject
*resultobj
;
20852 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20853 wxTextCtrl
*result
;
20854 PyObject
* obj0
= 0 ;
20855 char *kwnames
[] = {
20856 (char *) "self", NULL
20859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetEditControl",kwnames
,&obj0
)) goto fail
;
20860 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20864 result
= (wxTextCtrl
*)((wxPyListCtrl
const *)arg1
)->GetEditControl();
20866 wxPyEndAllowThreads(__tstate
);
20867 if (PyErr_Occurred()) SWIG_fail
;
20870 resultobj
= wxPyMake_wxObject(result
);
20878 static PyObject
*_wrap_ListCtrl_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20879 PyObject
*resultobj
;
20880 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20882 int arg3
= (int) 0 ;
20883 wxListItem
*result
;
20884 PyObject
* obj0
= 0 ;
20885 PyObject
* obj1
= 0 ;
20886 PyObject
* obj2
= 0 ;
20887 char *kwnames
[] = {
20888 (char *) "self",(char *) "itemId",(char *) "col", NULL
20891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20894 arg2
= (long) SWIG_AsLong(obj1
);
20895 if (PyErr_Occurred()) SWIG_fail
;
20897 arg3
= (int) SWIG_AsInt(obj2
);
20898 if (PyErr_Occurred()) SWIG_fail
;
20901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20902 result
= (wxListItem
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
);
20904 wxPyEndAllowThreads(__tstate
);
20905 if (PyErr_Occurred()) SWIG_fail
;
20908 resultobj
= wxPyMake_wxObject(result
);
20916 static PyObject
*_wrap_ListCtrl_SetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20917 PyObject
*resultobj
;
20918 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20919 wxListItem
*arg2
= 0 ;
20921 PyObject
* obj0
= 0 ;
20922 PyObject
* obj1
= 0 ;
20923 char *kwnames
[] = {
20924 (char *) "self",(char *) "info", NULL
20927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
20928 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20929 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20930 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxListItem
,
20931 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20933 if (arg2
== NULL
) {
20934 PyErr_SetString(PyExc_TypeError
,"null reference");
20938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20939 result
= (bool)(arg1
)->SetItem(*arg2
);
20941 wxPyEndAllowThreads(__tstate
);
20942 if (PyErr_Occurred()) SWIG_fail
;
20945 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20953 static PyObject
*_wrap_ListCtrl_SetStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20954 PyObject
*resultobj
;
20955 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20958 wxString
*arg4
= 0 ;
20959 int arg5
= (int) -1 ;
20961 bool temp4
= False
;
20962 PyObject
* obj0
= 0 ;
20963 PyObject
* obj1
= 0 ;
20964 PyObject
* obj2
= 0 ;
20965 PyObject
* obj3
= 0 ;
20966 PyObject
* obj4
= 0 ;
20967 char *kwnames
[] = {
20968 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
20971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
20972 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20974 arg2
= (long) SWIG_AsLong(obj1
);
20975 if (PyErr_Occurred()) SWIG_fail
;
20976 arg3
= (int) SWIG_AsInt(obj2
);
20977 if (PyErr_Occurred()) SWIG_fail
;
20979 arg4
= wxString_in_helper(obj3
);
20980 if (arg4
== NULL
) SWIG_fail
;
20984 arg5
= (int) SWIG_AsInt(obj4
);
20985 if (PyErr_Occurred()) SWIG_fail
;
20988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20989 result
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
20991 wxPyEndAllowThreads(__tstate
);
20992 if (PyErr_Occurred()) SWIG_fail
;
20994 resultobj
= SWIG_FromLong((long)result
);
21009 static PyObject
*_wrap_ListCtrl_GetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21010 PyObject
*resultobj
;
21011 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21015 PyObject
* obj0
= 0 ;
21016 PyObject
* obj1
= 0 ;
21017 PyObject
* obj2
= 0 ;
21018 char *kwnames
[] = {
21019 (char *) "self",(char *) "item",(char *) "stateMask", NULL
21022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_GetItemState",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21025 arg2
= (long) SWIG_AsLong(obj1
);
21026 if (PyErr_Occurred()) SWIG_fail
;
21027 arg3
= (long) SWIG_AsLong(obj2
);
21028 if (PyErr_Occurred()) SWIG_fail
;
21030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21031 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemState(arg2
,arg3
);
21033 wxPyEndAllowThreads(__tstate
);
21034 if (PyErr_Occurred()) SWIG_fail
;
21036 resultobj
= SWIG_FromInt((int)result
);
21043 static PyObject
*_wrap_ListCtrl_SetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21044 PyObject
*resultobj
;
21045 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21050 PyObject
* obj0
= 0 ;
21051 PyObject
* obj1
= 0 ;
21052 PyObject
* obj2
= 0 ;
21053 PyObject
* obj3
= 0 ;
21054 char *kwnames
[] = {
21055 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
21058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemState",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21061 arg2
= (long) SWIG_AsLong(obj1
);
21062 if (PyErr_Occurred()) SWIG_fail
;
21063 arg3
= (long) SWIG_AsLong(obj2
);
21064 if (PyErr_Occurred()) SWIG_fail
;
21065 arg4
= (long) SWIG_AsLong(obj3
);
21066 if (PyErr_Occurred()) SWIG_fail
;
21068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21069 result
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
);
21071 wxPyEndAllowThreads(__tstate
);
21072 if (PyErr_Occurred()) SWIG_fail
;
21075 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21083 static PyObject
*_wrap_ListCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21084 PyObject
*resultobj
;
21085 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21090 PyObject
* obj0
= 0 ;
21091 PyObject
* obj1
= 0 ;
21092 PyObject
* obj2
= 0 ;
21093 PyObject
* obj3
= 0 ;
21094 char *kwnames
[] = {
21095 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
21098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21099 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21100 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21101 arg2
= (long) SWIG_AsLong(obj1
);
21102 if (PyErr_Occurred()) SWIG_fail
;
21103 arg3
= (int) SWIG_AsInt(obj2
);
21104 if (PyErr_Occurred()) SWIG_fail
;
21105 arg4
= (int) SWIG_AsInt(obj3
);
21106 if (PyErr_Occurred()) SWIG_fail
;
21108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21109 result
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
);
21111 wxPyEndAllowThreads(__tstate
);
21112 if (PyErr_Occurred()) SWIG_fail
;
21115 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21123 static PyObject
*_wrap_ListCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21124 PyObject
*resultobj
;
21125 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21128 PyObject
* obj0
= 0 ;
21129 PyObject
* obj1
= 0 ;
21130 char *kwnames
[] = {
21131 (char *) "self",(char *) "item", NULL
21134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
21135 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21137 arg2
= (long) SWIG_AsLong(obj1
);
21138 if (PyErr_Occurred()) SWIG_fail
;
21140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21141 result
= ((wxPyListCtrl
const *)arg1
)->GetItemText(arg2
);
21143 wxPyEndAllowThreads(__tstate
);
21144 if (PyErr_Occurred()) SWIG_fail
;
21148 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21150 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21159 static PyObject
*_wrap_ListCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21160 PyObject
*resultobj
;
21161 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21163 wxString
*arg3
= 0 ;
21164 bool temp3
= False
;
21165 PyObject
* obj0
= 0 ;
21166 PyObject
* obj1
= 0 ;
21167 PyObject
* obj2
= 0 ;
21168 char *kwnames
[] = {
21169 (char *) "self",(char *) "item",(char *) "str", NULL
21172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21173 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21174 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21175 arg2
= (long) SWIG_AsLong(obj1
);
21176 if (PyErr_Occurred()) SWIG_fail
;
21178 arg3
= wxString_in_helper(obj2
);
21179 if (arg3
== NULL
) SWIG_fail
;
21183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21184 (arg1
)->SetItemText(arg2
,(wxString
const &)*arg3
);
21186 wxPyEndAllowThreads(__tstate
);
21187 if (PyErr_Occurred()) SWIG_fail
;
21189 Py_INCREF(Py_None
); resultobj
= Py_None
;
21204 static PyObject
*_wrap_ListCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21205 PyObject
*resultobj
;
21206 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21209 PyObject
* obj0
= 0 ;
21210 PyObject
* obj1
= 0 ;
21211 char *kwnames
[] = {
21212 (char *) "self",(char *) "item", NULL
21215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
21216 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21218 arg2
= (long) SWIG_AsLong(obj1
);
21219 if (PyErr_Occurred()) SWIG_fail
;
21221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21222 result
= (long)((wxPyListCtrl
const *)arg1
)->GetItemData(arg2
);
21224 wxPyEndAllowThreads(__tstate
);
21225 if (PyErr_Occurred()) SWIG_fail
;
21227 resultobj
= SWIG_FromLong((long)result
);
21234 static PyObject
*_wrap_ListCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21235 PyObject
*resultobj
;
21236 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21240 PyObject
* obj0
= 0 ;
21241 PyObject
* obj1
= 0 ;
21242 PyObject
* obj2
= 0 ;
21243 char *kwnames
[] = {
21244 (char *) "self",(char *) "item",(char *) "data", NULL
21247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21250 arg2
= (long) SWIG_AsLong(obj1
);
21251 if (PyErr_Occurred()) SWIG_fail
;
21252 arg3
= (long) SWIG_AsLong(obj2
);
21253 if (PyErr_Occurred()) SWIG_fail
;
21255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21256 result
= (bool)(arg1
)->SetItemData(arg2
,arg3
);
21258 wxPyEndAllowThreads(__tstate
);
21259 if (PyErr_Occurred()) SWIG_fail
;
21262 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21270 static PyObject
*_wrap_ListCtrl_GetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21271 PyObject
*resultobj
;
21272 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21275 PyObject
* obj0
= 0 ;
21276 PyObject
* obj1
= 0 ;
21277 char *kwnames
[] = {
21278 (char *) "self",(char *) "item", NULL
21281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
21282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21284 arg2
= (long) SWIG_AsLong(obj1
);
21285 if (PyErr_Occurred()) SWIG_fail
;
21287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21288 result
= wxPyListCtrl_GetItemPosition(arg1
,arg2
);
21290 wxPyEndAllowThreads(__tstate
);
21291 if (PyErr_Occurred()) SWIG_fail
;
21294 wxPoint
* resultptr
;
21295 resultptr
= new wxPoint((wxPoint
&) result
);
21296 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
21304 static PyObject
*_wrap_ListCtrl_GetItemRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21305 PyObject
*resultobj
;
21306 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21308 int arg3
= (int) wxLIST_RECT_BOUNDS
;
21310 PyObject
* obj0
= 0 ;
21311 PyObject
* obj1
= 0 ;
21312 PyObject
* obj2
= 0 ;
21313 char *kwnames
[] = {
21314 (char *) "self",(char *) "item",(char *) "code", NULL
21317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItemRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21320 arg2
= (long) SWIG_AsLong(obj1
);
21321 if (PyErr_Occurred()) SWIG_fail
;
21323 arg3
= (int) SWIG_AsInt(obj2
);
21324 if (PyErr_Occurred()) SWIG_fail
;
21327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21328 result
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
);
21330 wxPyEndAllowThreads(__tstate
);
21331 if (PyErr_Occurred()) SWIG_fail
;
21334 wxRect
* resultptr
;
21335 resultptr
= new wxRect((wxRect
&) result
);
21336 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
21344 static PyObject
*_wrap_ListCtrl_SetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21345 PyObject
*resultobj
;
21346 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21348 wxPoint
*arg3
= 0 ;
21351 PyObject
* obj0
= 0 ;
21352 PyObject
* obj1
= 0 ;
21353 PyObject
* obj2
= 0 ;
21354 char *kwnames
[] = {
21355 (char *) "self",(char *) "item",(char *) "pos", NULL
21358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21361 arg2
= (long) SWIG_AsLong(obj1
);
21362 if (PyErr_Occurred()) SWIG_fail
;
21365 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21369 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint
const &)*arg3
);
21371 wxPyEndAllowThreads(__tstate
);
21372 if (PyErr_Occurred()) SWIG_fail
;
21375 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21383 static PyObject
*_wrap_ListCtrl_GetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21384 PyObject
*resultobj
;
21385 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21387 PyObject
* obj0
= 0 ;
21388 char *kwnames
[] = {
21389 (char *) "self", NULL
21392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemCount",kwnames
,&obj0
)) goto fail
;
21393 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21397 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemCount();
21399 wxPyEndAllowThreads(__tstate
);
21400 if (PyErr_Occurred()) SWIG_fail
;
21402 resultobj
= SWIG_FromInt((int)result
);
21409 static PyObject
*_wrap_ListCtrl_GetColumnCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21410 PyObject
*resultobj
;
21411 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21413 PyObject
* obj0
= 0 ;
21414 char *kwnames
[] = {
21415 (char *) "self", NULL
21418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetColumnCount",kwnames
,&obj0
)) goto fail
;
21419 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21420 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21423 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnCount();
21425 wxPyEndAllowThreads(__tstate
);
21426 if (PyErr_Occurred()) SWIG_fail
;
21428 resultobj
= SWIG_FromInt((int)result
);
21435 static PyObject
*_wrap_ListCtrl_GetItemSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21436 PyObject
*resultobj
;
21437 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21439 PyObject
* obj0
= 0 ;
21440 char *kwnames
[] = {
21441 (char *) "self", NULL
21444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemSpacing",kwnames
,&obj0
)) goto fail
;
21445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21449 result
= ((wxPyListCtrl
const *)arg1
)->GetItemSpacing();
21451 wxPyEndAllowThreads(__tstate
);
21452 if (PyErr_Occurred()) SWIG_fail
;
21455 wxSize
* resultptr
;
21456 resultptr
= new wxSize((wxSize
&) result
);
21457 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
21465 static PyObject
*_wrap_ListCtrl_GetSelectedItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21466 PyObject
*resultobj
;
21467 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21469 PyObject
* obj0
= 0 ;
21470 char *kwnames
[] = {
21471 (char *) "self", NULL
21474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames
,&obj0
)) goto fail
;
21475 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21479 result
= (int)((wxPyListCtrl
const *)arg1
)->GetSelectedItemCount();
21481 wxPyEndAllowThreads(__tstate
);
21482 if (PyErr_Occurred()) SWIG_fail
;
21484 resultobj
= SWIG_FromInt((int)result
);
21491 static PyObject
*_wrap_ListCtrl_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21492 PyObject
*resultobj
;
21493 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21495 PyObject
* obj0
= 0 ;
21496 char *kwnames
[] = {
21497 (char *) "self", NULL
21500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTextColour",kwnames
,&obj0
)) goto fail
;
21501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21505 result
= ((wxPyListCtrl
const *)arg1
)->GetTextColour();
21507 wxPyEndAllowThreads(__tstate
);
21508 if (PyErr_Occurred()) SWIG_fail
;
21511 wxColour
* resultptr
;
21512 resultptr
= new wxColour((wxColour
&) result
);
21513 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
21521 static PyObject
*_wrap_ListCtrl_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21522 PyObject
*resultobj
;
21523 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21524 wxColour
*arg2
= 0 ;
21526 PyObject
* obj0
= 0 ;
21527 PyObject
* obj1
= 0 ;
21528 char *kwnames
[] = {
21529 (char *) "self",(char *) "col", NULL
21532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21537 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21541 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
21543 wxPyEndAllowThreads(__tstate
);
21544 if (PyErr_Occurred()) SWIG_fail
;
21546 Py_INCREF(Py_None
); resultobj
= Py_None
;
21553 static PyObject
*_wrap_ListCtrl_GetTopItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21554 PyObject
*resultobj
;
21555 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21557 PyObject
* obj0
= 0 ;
21558 char *kwnames
[] = {
21559 (char *) "self", NULL
21562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTopItem",kwnames
,&obj0
)) goto fail
;
21563 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21567 result
= (long)((wxPyListCtrl
const *)arg1
)->GetTopItem();
21569 wxPyEndAllowThreads(__tstate
);
21570 if (PyErr_Occurred()) SWIG_fail
;
21572 resultobj
= SWIG_FromLong((long)result
);
21579 static PyObject
*_wrap_ListCtrl_SetSingleStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21580 PyObject
*resultobj
;
21581 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21583 bool arg3
= (bool) True
;
21584 PyObject
* obj0
= 0 ;
21585 PyObject
* obj1
= 0 ;
21586 PyObject
* obj2
= 0 ;
21587 char *kwnames
[] = {
21588 (char *) "self",(char *) "style",(char *) "add", NULL
21591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21594 arg2
= (long) SWIG_AsLong(obj1
);
21595 if (PyErr_Occurred()) SWIG_fail
;
21597 arg3
= (bool) SWIG_AsBool(obj2
);
21598 if (PyErr_Occurred()) SWIG_fail
;
21601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21602 (arg1
)->SetSingleStyle(arg2
,arg3
);
21604 wxPyEndAllowThreads(__tstate
);
21605 if (PyErr_Occurred()) SWIG_fail
;
21607 Py_INCREF(Py_None
); resultobj
= Py_None
;
21614 static PyObject
*_wrap_ListCtrl_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21615 PyObject
*resultobj
;
21616 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21618 PyObject
* obj0
= 0 ;
21619 PyObject
* obj1
= 0 ;
21620 char *kwnames
[] = {
21621 (char *) "self",(char *) "style", NULL
21624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
21625 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21627 arg2
= (long) SWIG_AsLong(obj1
);
21628 if (PyErr_Occurred()) SWIG_fail
;
21630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21631 (arg1
)->SetWindowStyleFlag(arg2
);
21633 wxPyEndAllowThreads(__tstate
);
21634 if (PyErr_Occurred()) SWIG_fail
;
21636 Py_INCREF(Py_None
); resultobj
= Py_None
;
21643 static PyObject
*_wrap_ListCtrl_GetNextItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21644 PyObject
*resultobj
;
21645 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21647 int arg3
= (int) wxLIST_NEXT_ALL
;
21648 int arg4
= (int) wxLIST_STATE_DONTCARE
;
21650 PyObject
* obj0
= 0 ;
21651 PyObject
* obj1
= 0 ;
21652 PyObject
* obj2
= 0 ;
21653 PyObject
* obj3
= 0 ;
21654 char *kwnames
[] = {
21655 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
21658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21659 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21661 arg2
= (long) SWIG_AsLong(obj1
);
21662 if (PyErr_Occurred()) SWIG_fail
;
21664 arg3
= (int) SWIG_AsInt(obj2
);
21665 if (PyErr_Occurred()) SWIG_fail
;
21668 arg4
= (int) SWIG_AsInt(obj3
);
21669 if (PyErr_Occurred()) SWIG_fail
;
21672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21673 result
= (long)((wxPyListCtrl
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
21675 wxPyEndAllowThreads(__tstate
);
21676 if (PyErr_Occurred()) SWIG_fail
;
21678 resultobj
= SWIG_FromLong((long)result
);
21685 static PyObject
*_wrap_ListCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21686 PyObject
*resultobj
;
21687 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21689 wxImageList
*result
;
21690 PyObject
* obj0
= 0 ;
21691 PyObject
* obj1
= 0 ;
21692 char *kwnames
[] = {
21693 (char *) "self",(char *) "which", NULL
21696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
21697 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21699 arg2
= (int) SWIG_AsInt(obj1
);
21700 if (PyErr_Occurred()) SWIG_fail
;
21702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21703 result
= (wxImageList
*)((wxPyListCtrl
const *)arg1
)->GetImageList(arg2
);
21705 wxPyEndAllowThreads(__tstate
);
21706 if (PyErr_Occurred()) SWIG_fail
;
21709 resultobj
= wxPyMake_wxObject(result
);
21717 static PyObject
*_wrap_ListCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21718 PyObject
*resultobj
;
21719 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21720 wxImageList
*arg2
= (wxImageList
*) 0 ;
21722 PyObject
* obj0
= 0 ;
21723 PyObject
* obj1
= 0 ;
21724 PyObject
* obj2
= 0 ;
21725 char *kwnames
[] = {
21726 (char *) "self",(char *) "imageList",(char *) "which", NULL
21729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21730 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21732 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
21733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21734 arg3
= (int) SWIG_AsInt(obj2
);
21735 if (PyErr_Occurred()) SWIG_fail
;
21737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21738 (arg1
)->SetImageList(arg2
,arg3
);
21740 wxPyEndAllowThreads(__tstate
);
21741 if (PyErr_Occurred()) SWIG_fail
;
21743 Py_INCREF(Py_None
); resultobj
= Py_None
;
21750 static PyObject
*_wrap_ListCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21751 PyObject
*resultobj
;
21752 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21753 wxImageList
*arg2
= (wxImageList
*) 0 ;
21755 PyObject
* obj0
= 0 ;
21756 PyObject
* obj1
= 0 ;
21757 PyObject
* obj2
= 0 ;
21758 char *kwnames
[] = {
21759 (char *) "self",(char *) "imageList",(char *) "which", NULL
21762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21765 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
21766 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
21767 arg3
= (int) SWIG_AsInt(obj2
);
21768 if (PyErr_Occurred()) SWIG_fail
;
21770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21771 (arg1
)->AssignImageList(arg2
,arg3
);
21773 wxPyEndAllowThreads(__tstate
);
21774 if (PyErr_Occurred()) SWIG_fail
;
21776 Py_INCREF(Py_None
); resultobj
= Py_None
;
21783 static PyObject
*_wrap_ListCtrl_InReportView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21784 PyObject
*resultobj
;
21785 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21787 PyObject
* obj0
= 0 ;
21788 char *kwnames
[] = {
21789 (char *) "self", NULL
21792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_InReportView",kwnames
,&obj0
)) goto fail
;
21793 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21797 result
= (bool)((wxPyListCtrl
const *)arg1
)->InReportView();
21799 wxPyEndAllowThreads(__tstate
);
21800 if (PyErr_Occurred()) SWIG_fail
;
21803 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21811 static PyObject
*_wrap_ListCtrl_IsVirtual(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21812 PyObject
*resultobj
;
21813 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21815 PyObject
* obj0
= 0 ;
21816 char *kwnames
[] = {
21817 (char *) "self", NULL
21820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_IsVirtual",kwnames
,&obj0
)) goto fail
;
21821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21825 result
= (bool)((wxPyListCtrl
const *)arg1
)->IsVirtual();
21827 wxPyEndAllowThreads(__tstate
);
21828 if (PyErr_Occurred()) SWIG_fail
;
21831 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21839 static PyObject
*_wrap_ListCtrl_RefreshItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21840 PyObject
*resultobj
;
21841 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21843 PyObject
* obj0
= 0 ;
21844 PyObject
* obj1
= 0 ;
21845 char *kwnames
[] = {
21846 (char *) "self",(char *) "item", NULL
21849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_RefreshItem",kwnames
,&obj0
,&obj1
)) goto fail
;
21850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21852 arg2
= (long) SWIG_AsLong(obj1
);
21853 if (PyErr_Occurred()) SWIG_fail
;
21855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21856 (arg1
)->RefreshItem(arg2
);
21858 wxPyEndAllowThreads(__tstate
);
21859 if (PyErr_Occurred()) SWIG_fail
;
21861 Py_INCREF(Py_None
); resultobj
= Py_None
;
21868 static PyObject
*_wrap_ListCtrl_RefreshItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21869 PyObject
*resultobj
;
21870 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21873 PyObject
* obj0
= 0 ;
21874 PyObject
* obj1
= 0 ;
21875 PyObject
* obj2
= 0 ;
21876 char *kwnames
[] = {
21877 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
21880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_RefreshItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21883 arg2
= (long) SWIG_AsLong(obj1
);
21884 if (PyErr_Occurred()) SWIG_fail
;
21885 arg3
= (long) SWIG_AsLong(obj2
);
21886 if (PyErr_Occurred()) SWIG_fail
;
21888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21889 (arg1
)->RefreshItems(arg2
,arg3
);
21891 wxPyEndAllowThreads(__tstate
);
21892 if (PyErr_Occurred()) SWIG_fail
;
21894 Py_INCREF(Py_None
); resultobj
= Py_None
;
21901 static PyObject
*_wrap_ListCtrl_Arrange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21902 PyObject
*resultobj
;
21903 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21904 int arg2
= (int) wxLIST_ALIGN_DEFAULT
;
21906 PyObject
* obj0
= 0 ;
21907 PyObject
* obj1
= 0 ;
21908 char *kwnames
[] = {
21909 (char *) "self",(char *) "flag", NULL
21912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListCtrl_Arrange",kwnames
,&obj0
,&obj1
)) goto fail
;
21913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21916 arg2
= (int) SWIG_AsInt(obj1
);
21917 if (PyErr_Occurred()) SWIG_fail
;
21920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21921 result
= (bool)(arg1
)->Arrange(arg2
);
21923 wxPyEndAllowThreads(__tstate
);
21924 if (PyErr_Occurred()) SWIG_fail
;
21927 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21935 static PyObject
*_wrap_ListCtrl_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21936 PyObject
*resultobj
;
21937 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21940 PyObject
* obj0
= 0 ;
21941 PyObject
* obj1
= 0 ;
21942 char *kwnames
[] = {
21943 (char *) "self",(char *) "item", NULL
21946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
21947 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21949 arg2
= (long) SWIG_AsLong(obj1
);
21950 if (PyErr_Occurred()) SWIG_fail
;
21952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21953 result
= (bool)(arg1
)->DeleteItem(arg2
);
21955 wxPyEndAllowThreads(__tstate
);
21956 if (PyErr_Occurred()) SWIG_fail
;
21959 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21967 static PyObject
*_wrap_ListCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21968 PyObject
*resultobj
;
21969 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21971 PyObject
* obj0
= 0 ;
21972 char *kwnames
[] = {
21973 (char *) "self", NULL
21976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
21977 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21981 result
= (bool)(arg1
)->DeleteAllItems();
21983 wxPyEndAllowThreads(__tstate
);
21984 if (PyErr_Occurred()) SWIG_fail
;
21987 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21995 static PyObject
*_wrap_ListCtrl_DeleteColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21996 PyObject
*resultobj
;
21997 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22000 PyObject
* obj0
= 0 ;
22001 PyObject
* obj1
= 0 ;
22002 char *kwnames
[] = {
22003 (char *) "self",(char *) "col", NULL
22006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
22007 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22009 arg2
= (int) SWIG_AsInt(obj1
);
22010 if (PyErr_Occurred()) SWIG_fail
;
22012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22013 result
= (bool)(arg1
)->DeleteColumn(arg2
);
22015 wxPyEndAllowThreads(__tstate
);
22016 if (PyErr_Occurred()) SWIG_fail
;
22019 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22027 static PyObject
*_wrap_ListCtrl_DeleteAllColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22028 PyObject
*resultobj
;
22029 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22031 PyObject
* obj0
= 0 ;
22032 char *kwnames
[] = {
22033 (char *) "self", NULL
22036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllColumns",kwnames
,&obj0
)) goto fail
;
22037 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22041 result
= (bool)(arg1
)->DeleteAllColumns();
22043 wxPyEndAllowThreads(__tstate
);
22044 if (PyErr_Occurred()) SWIG_fail
;
22047 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22055 static PyObject
*_wrap_ListCtrl_ClearAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22056 PyObject
*resultobj
;
22057 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22058 PyObject
* obj0
= 0 ;
22059 char *kwnames
[] = {
22060 (char *) "self", NULL
22063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_ClearAll",kwnames
,&obj0
)) goto fail
;
22064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22068 (arg1
)->ClearAll();
22070 wxPyEndAllowThreads(__tstate
);
22071 if (PyErr_Occurred()) SWIG_fail
;
22073 Py_INCREF(Py_None
); resultobj
= Py_None
;
22080 static PyObject
*_wrap_ListCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22081 PyObject
*resultobj
;
22082 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22084 wxTextCtrl
*result
;
22085 PyObject
* obj0
= 0 ;
22086 PyObject
* obj1
= 0 ;
22087 char *kwnames
[] = {
22088 (char *) "self",(char *) "item", NULL
22091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
22092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22094 arg2
= (long) SWIG_AsLong(obj1
);
22095 if (PyErr_Occurred()) SWIG_fail
;
22097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22098 result
= (wxTextCtrl
*)(arg1
)->EditLabel(arg2
);
22100 wxPyEndAllowThreads(__tstate
);
22101 if (PyErr_Occurred()) SWIG_fail
;
22104 resultobj
= wxPyMake_wxObject(result
);
22112 static PyObject
*_wrap_ListCtrl_EndEditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22113 PyObject
*resultobj
;
22114 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22117 PyObject
* obj0
= 0 ;
22118 PyObject
* obj1
= 0 ;
22119 char *kwnames
[] = {
22120 (char *) "self",(char *) "cancel", NULL
22123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EndEditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
22124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22126 arg2
= (bool) SWIG_AsBool(obj1
);
22127 if (PyErr_Occurred()) SWIG_fail
;
22129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22130 result
= (bool)(arg1
)->EndEditLabel(arg2
);
22132 wxPyEndAllowThreads(__tstate
);
22133 if (PyErr_Occurred()) SWIG_fail
;
22136 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22144 static PyObject
*_wrap_ListCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22145 PyObject
*resultobj
;
22146 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22149 PyObject
* obj0
= 0 ;
22150 PyObject
* obj1
= 0 ;
22151 char *kwnames
[] = {
22152 (char *) "self",(char *) "item", NULL
22155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
22156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22158 arg2
= (long) SWIG_AsLong(obj1
);
22159 if (PyErr_Occurred()) SWIG_fail
;
22161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22162 result
= (bool)(arg1
)->EnsureVisible(arg2
);
22164 wxPyEndAllowThreads(__tstate
);
22165 if (PyErr_Occurred()) SWIG_fail
;
22168 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22176 static PyObject
*_wrap_ListCtrl_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22177 PyObject
*resultobj
;
22178 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22180 wxString
*arg3
= 0 ;
22181 bool arg4
= (bool) False
;
22183 bool temp3
= False
;
22184 PyObject
* obj0
= 0 ;
22185 PyObject
* obj1
= 0 ;
22186 PyObject
* obj2
= 0 ;
22187 PyObject
* obj3
= 0 ;
22188 char *kwnames
[] = {
22189 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
22192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_FindItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22193 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22195 arg2
= (long) SWIG_AsLong(obj1
);
22196 if (PyErr_Occurred()) SWIG_fail
;
22198 arg3
= wxString_in_helper(obj2
);
22199 if (arg3
== NULL
) SWIG_fail
;
22203 arg4
= (bool) SWIG_AsBool(obj3
);
22204 if (PyErr_Occurred()) SWIG_fail
;
22207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22208 result
= (long)(arg1
)->FindItem(arg2
,(wxString
const &)*arg3
,arg4
);
22210 wxPyEndAllowThreads(__tstate
);
22211 if (PyErr_Occurred()) SWIG_fail
;
22213 resultobj
= SWIG_FromLong((long)result
);
22228 static PyObject
*_wrap_ListCtrl_FindItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22229 PyObject
*resultobj
;
22230 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22234 PyObject
* obj0
= 0 ;
22235 PyObject
* obj1
= 0 ;
22236 PyObject
* obj2
= 0 ;
22237 char *kwnames
[] = {
22238 (char *) "self",(char *) "start",(char *) "data", NULL
22241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_FindItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22242 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22244 arg2
= (long) SWIG_AsLong(obj1
);
22245 if (PyErr_Occurred()) SWIG_fail
;
22246 arg3
= (long) SWIG_AsLong(obj2
);
22247 if (PyErr_Occurred()) SWIG_fail
;
22249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22250 result
= (long)(arg1
)->FindItem(arg2
,arg3
);
22252 wxPyEndAllowThreads(__tstate
);
22253 if (PyErr_Occurred()) SWIG_fail
;
22255 resultobj
= SWIG_FromLong((long)result
);
22262 static PyObject
*_wrap_ListCtrl_FindItemAtPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22263 PyObject
*resultobj
;
22264 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22266 wxPoint
*arg3
= 0 ;
22270 PyObject
* obj0
= 0 ;
22271 PyObject
* obj1
= 0 ;
22272 PyObject
* obj2
= 0 ;
22273 PyObject
* obj3
= 0 ;
22274 char *kwnames
[] = {
22275 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
22278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22281 arg2
= (long) SWIG_AsLong(obj1
);
22282 if (PyErr_Occurred()) SWIG_fail
;
22285 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22287 arg4
= (int) SWIG_AsInt(obj3
);
22288 if (PyErr_Occurred()) SWIG_fail
;
22290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22291 result
= (long)(arg1
)->FindItem(arg2
,(wxPoint
const &)*arg3
,arg4
);
22293 wxPyEndAllowThreads(__tstate
);
22294 if (PyErr_Occurred()) SWIG_fail
;
22296 resultobj
= SWIG_FromLong((long)result
);
22303 static PyObject
*_wrap_ListCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22304 PyObject
*resultobj
;
22305 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22306 wxPoint
*arg2
= 0 ;
22311 PyObject
* obj0
= 0 ;
22312 PyObject
* obj1
= 0 ;
22313 char *kwnames
[] = {
22314 (char *) "self",(char *) "point", NULL
22318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
22319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22323 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22327 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
22329 wxPyEndAllowThreads(__tstate
);
22330 if (PyErr_Occurred()) SWIG_fail
;
22332 resultobj
= SWIG_FromLong((long)result
);
22334 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22335 resultobj
= t_output_helper(resultobj
,o
);
22343 static PyObject
*_wrap_ListCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22344 PyObject
*resultobj
;
22345 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22346 wxListItem
*arg2
= 0 ;
22348 PyObject
* obj0
= 0 ;
22349 PyObject
* obj1
= 0 ;
22350 char *kwnames
[] = {
22351 (char *) "self",(char *) "info", NULL
22354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) goto fail
;
22355 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22357 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxListItem
,
22358 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22360 if (arg2
== NULL
) {
22361 PyErr_SetString(PyExc_TypeError
,"null reference");
22365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22366 result
= (long)(arg1
)->InsertItem(*arg2
);
22368 wxPyEndAllowThreads(__tstate
);
22369 if (PyErr_Occurred()) SWIG_fail
;
22371 resultobj
= SWIG_FromLong((long)result
);
22378 static PyObject
*_wrap_ListCtrl_InsertStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22379 PyObject
*resultobj
;
22380 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22382 wxString
*arg3
= 0 ;
22384 bool temp3
= False
;
22385 PyObject
* obj0
= 0 ;
22386 PyObject
* obj1
= 0 ;
22387 PyObject
* obj2
= 0 ;
22388 char *kwnames
[] = {
22389 (char *) "self",(char *) "index",(char *) "label", NULL
22392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertStringItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22393 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22395 arg2
= (long) SWIG_AsLong(obj1
);
22396 if (PyErr_Occurred()) SWIG_fail
;
22398 arg3
= wxString_in_helper(obj2
);
22399 if (arg3
== NULL
) SWIG_fail
;
22403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22404 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
);
22406 wxPyEndAllowThreads(__tstate
);
22407 if (PyErr_Occurred()) SWIG_fail
;
22409 resultobj
= SWIG_FromLong((long)result
);
22424 static PyObject
*_wrap_ListCtrl_InsertImageItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22425 PyObject
*resultobj
;
22426 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22430 PyObject
* obj0
= 0 ;
22431 PyObject
* obj1
= 0 ;
22432 PyObject
* obj2
= 0 ;
22433 char *kwnames
[] = {
22434 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
22437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertImageItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22440 arg2
= (long) SWIG_AsLong(obj1
);
22441 if (PyErr_Occurred()) SWIG_fail
;
22442 arg3
= (int) SWIG_AsInt(obj2
);
22443 if (PyErr_Occurred()) SWIG_fail
;
22445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22446 result
= (long)(arg1
)->InsertItem(arg2
,arg3
);
22448 wxPyEndAllowThreads(__tstate
);
22449 if (PyErr_Occurred()) SWIG_fail
;
22451 resultobj
= SWIG_FromLong((long)result
);
22458 static PyObject
*_wrap_ListCtrl_InsertImageStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22459 PyObject
*resultobj
;
22460 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22462 wxString
*arg3
= 0 ;
22465 bool temp3
= False
;
22466 PyObject
* obj0
= 0 ;
22467 PyObject
* obj1
= 0 ;
22468 PyObject
* obj2
= 0 ;
22469 PyObject
* obj3
= 0 ;
22470 char *kwnames
[] = {
22471 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
22474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22475 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22477 arg2
= (long) SWIG_AsLong(obj1
);
22478 if (PyErr_Occurred()) SWIG_fail
;
22480 arg3
= wxString_in_helper(obj2
);
22481 if (arg3
== NULL
) SWIG_fail
;
22484 arg4
= (int) SWIG_AsInt(obj3
);
22485 if (PyErr_Occurred()) SWIG_fail
;
22487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22488 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
22490 wxPyEndAllowThreads(__tstate
);
22491 if (PyErr_Occurred()) SWIG_fail
;
22493 resultobj
= SWIG_FromLong((long)result
);
22508 static PyObject
*_wrap_ListCtrl_InsertColumnInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22509 PyObject
*resultobj
;
22510 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22512 wxListItem
*arg3
= 0 ;
22514 PyObject
* obj0
= 0 ;
22515 PyObject
* obj1
= 0 ;
22516 PyObject
* obj2
= 0 ;
22517 char *kwnames
[] = {
22518 (char *) "self",(char *) "col",(char *) "info", NULL
22521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertColumnInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22522 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22523 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22524 arg2
= (long) SWIG_AsLong(obj1
);
22525 if (PyErr_Occurred()) SWIG_fail
;
22526 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxListItem
,
22527 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22529 if (arg3
== NULL
) {
22530 PyErr_SetString(PyExc_TypeError
,"null reference");
22534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22535 result
= (long)(arg1
)->InsertColumn(arg2
,*arg3
);
22537 wxPyEndAllowThreads(__tstate
);
22538 if (PyErr_Occurred()) SWIG_fail
;
22540 resultobj
= SWIG_FromLong((long)result
);
22547 static PyObject
*_wrap_ListCtrl_InsertColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22548 PyObject
*resultobj
;
22549 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22551 wxString
*arg3
= 0 ;
22552 int arg4
= (int) wxLIST_FORMAT_LEFT
;
22553 int arg5
= (int) -1 ;
22555 bool temp3
= False
;
22556 PyObject
* obj0
= 0 ;
22557 PyObject
* obj1
= 0 ;
22558 PyObject
* obj2
= 0 ;
22559 PyObject
* obj3
= 0 ;
22560 PyObject
* obj4
= 0 ;
22561 char *kwnames
[] = {
22562 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
22565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
22566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22568 arg2
= (long) SWIG_AsLong(obj1
);
22569 if (PyErr_Occurred()) SWIG_fail
;
22571 arg3
= wxString_in_helper(obj2
);
22572 if (arg3
== NULL
) SWIG_fail
;
22576 arg4
= (int) SWIG_AsInt(obj3
);
22577 if (PyErr_Occurred()) SWIG_fail
;
22580 arg5
= (int) SWIG_AsInt(obj4
);
22581 if (PyErr_Occurred()) SWIG_fail
;
22584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22585 result
= (long)(arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
22587 wxPyEndAllowThreads(__tstate
);
22588 if (PyErr_Occurred()) SWIG_fail
;
22590 resultobj
= SWIG_FromLong((long)result
);
22605 static PyObject
*_wrap_ListCtrl_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22606 PyObject
*resultobj
;
22607 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22609 PyObject
* obj0
= 0 ;
22610 PyObject
* obj1
= 0 ;
22611 char *kwnames
[] = {
22612 (char *) "self",(char *) "count", NULL
22615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
22616 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22618 arg2
= (long) SWIG_AsLong(obj1
);
22619 if (PyErr_Occurred()) SWIG_fail
;
22621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22622 (arg1
)->SetItemCount(arg2
);
22624 wxPyEndAllowThreads(__tstate
);
22625 if (PyErr_Occurred()) SWIG_fail
;
22627 Py_INCREF(Py_None
); resultobj
= Py_None
;
22634 static PyObject
*_wrap_ListCtrl_ScrollList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22635 PyObject
*resultobj
;
22636 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22640 PyObject
* obj0
= 0 ;
22641 PyObject
* obj1
= 0 ;
22642 PyObject
* obj2
= 0 ;
22643 char *kwnames
[] = {
22644 (char *) "self",(char *) "dx",(char *) "dy", NULL
22647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_ScrollList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22650 arg2
= (int) SWIG_AsInt(obj1
);
22651 if (PyErr_Occurred()) SWIG_fail
;
22652 arg3
= (int) SWIG_AsInt(obj2
);
22653 if (PyErr_Occurred()) SWIG_fail
;
22655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22656 result
= (bool)(arg1
)->ScrollList(arg2
,arg3
);
22658 wxPyEndAllowThreads(__tstate
);
22659 if (PyErr_Occurred()) SWIG_fail
;
22662 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22670 static PyObject
*_wrap_ListCtrl_SetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22671 PyObject
*resultobj
;
22672 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22674 wxColour
*arg3
= 0 ;
22676 PyObject
* obj0
= 0 ;
22677 PyObject
* obj1
= 0 ;
22678 PyObject
* obj2
= 0 ;
22679 char *kwnames
[] = {
22680 (char *) "self",(char *) "item",(char *) "col", NULL
22683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22684 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22686 arg2
= (long) SWIG_AsLong(obj1
);
22687 if (PyErr_Occurred()) SWIG_fail
;
22690 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
22693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22694 (arg1
)->SetItemTextColour(arg2
,(wxColour
const &)*arg3
);
22696 wxPyEndAllowThreads(__tstate
);
22697 if (PyErr_Occurred()) SWIG_fail
;
22699 Py_INCREF(Py_None
); resultobj
= Py_None
;
22706 static PyObject
*_wrap_ListCtrl_GetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22707 PyObject
*resultobj
;
22708 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22711 PyObject
* obj0
= 0 ;
22712 PyObject
* obj1
= 0 ;
22713 char *kwnames
[] = {
22714 (char *) "self",(char *) "item", NULL
22717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
22718 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22720 arg2
= (long) SWIG_AsLong(obj1
);
22721 if (PyErr_Occurred()) SWIG_fail
;
22723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22724 result
= ((wxPyListCtrl
const *)arg1
)->GetItemTextColour(arg2
);
22726 wxPyEndAllowThreads(__tstate
);
22727 if (PyErr_Occurred()) SWIG_fail
;
22730 wxColour
* resultptr
;
22731 resultptr
= new wxColour((wxColour
&) result
);
22732 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
22740 static PyObject
*_wrap_ListCtrl_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22741 PyObject
*resultobj
;
22742 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22744 wxColour
*arg3
= 0 ;
22746 PyObject
* obj0
= 0 ;
22747 PyObject
* obj1
= 0 ;
22748 PyObject
* obj2
= 0 ;
22749 char *kwnames
[] = {
22750 (char *) "self",(char *) "item",(char *) "col", NULL
22753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22754 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22755 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22756 arg2
= (long) SWIG_AsLong(obj1
);
22757 if (PyErr_Occurred()) SWIG_fail
;
22760 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
22763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22764 (arg1
)->SetItemBackgroundColour(arg2
,(wxColour
const &)*arg3
);
22766 wxPyEndAllowThreads(__tstate
);
22767 if (PyErr_Occurred()) SWIG_fail
;
22769 Py_INCREF(Py_None
); resultobj
= Py_None
;
22776 static PyObject
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22777 PyObject
*resultobj
;
22778 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22781 PyObject
* obj0
= 0 ;
22782 PyObject
* obj1
= 0 ;
22783 char *kwnames
[] = {
22784 (char *) "self",(char *) "item", NULL
22787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
22788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22790 arg2
= (long) SWIG_AsLong(obj1
);
22791 if (PyErr_Occurred()) SWIG_fail
;
22793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22794 result
= ((wxPyListCtrl
const *)arg1
)->GetItemBackgroundColour(arg2
);
22796 wxPyEndAllowThreads(__tstate
);
22797 if (PyErr_Occurred()) SWIG_fail
;
22800 wxColour
* resultptr
;
22801 resultptr
= new wxColour((wxColour
&) result
);
22802 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
22810 static PyObject
*_wrap_ListCtrl_SortItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22811 PyObject
*resultobj
;
22812 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22813 PyObject
*arg2
= (PyObject
*) 0 ;
22815 PyObject
* obj0
= 0 ;
22816 PyObject
* obj1
= 0 ;
22817 char *kwnames
[] = {
22818 (char *) "self",(char *) "func", NULL
22821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",kwnames
,&obj0
,&obj1
)) goto fail
;
22822 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22823 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22827 result
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
);
22829 wxPyEndAllowThreads(__tstate
);
22830 if (PyErr_Occurred()) SWIG_fail
;
22833 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22841 static PyObject
*_wrap_ListCtrl_GetMainWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22842 PyObject
*resultobj
;
22843 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22845 PyObject
* obj0
= 0 ;
22846 char *kwnames
[] = {
22847 (char *) "self", NULL
22850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetMainWindow",kwnames
,&obj0
)) goto fail
;
22851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22855 result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(arg1
);
22857 wxPyEndAllowThreads(__tstate
);
22858 if (PyErr_Occurred()) SWIG_fail
;
22861 resultobj
= wxPyMake_wxObject(result
);
22869 static PyObject
*_wrap_ListCtrl_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22870 PyObject
*resultobj
;
22871 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
22872 wxVisualAttributes result
;
22873 PyObject
* obj0
= 0 ;
22874 char *kwnames
[] = {
22875 (char *) "variant", NULL
22878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
22880 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
22881 if (PyErr_Occurred()) SWIG_fail
;
22884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22885 result
= wxPyListCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
22887 wxPyEndAllowThreads(__tstate
);
22888 if (PyErr_Occurred()) SWIG_fail
;
22891 wxVisualAttributes
* resultptr
;
22892 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
22893 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
22901 static PyObject
* ListCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
22903 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22904 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl
, obj
);
22906 return Py_BuildValue((char *)"");
22908 static PyObject
*_wrap_new_ListView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22909 PyObject
*resultobj
;
22910 wxWindow
*arg1
= (wxWindow
*) 0 ;
22911 int arg2
= (int) -1 ;
22912 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22913 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22914 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22915 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22916 long arg5
= (long) wxLC_REPORT
;
22917 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
22918 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
22919 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
22920 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22921 wxListView
*result
;
22924 bool temp7
= False
;
22925 PyObject
* obj0
= 0 ;
22926 PyObject
* obj1
= 0 ;
22927 PyObject
* obj2
= 0 ;
22928 PyObject
* obj3
= 0 ;
22929 PyObject
* obj4
= 0 ;
22930 PyObject
* obj5
= 0 ;
22931 PyObject
* obj6
= 0 ;
22932 char *kwnames
[] = {
22933 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
22936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListView",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
22937 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22938 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22940 arg2
= (int) SWIG_AsInt(obj1
);
22941 if (PyErr_Occurred()) SWIG_fail
;
22946 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22952 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22956 arg5
= (long) SWIG_AsLong(obj4
);
22957 if (PyErr_Occurred()) SWIG_fail
;
22960 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
22961 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22963 if (arg6
== NULL
) {
22964 PyErr_SetString(PyExc_TypeError
,"null reference");
22970 arg7
= wxString_in_helper(obj6
);
22971 if (arg7
== NULL
) SWIG_fail
;
22976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22977 result
= (wxListView
*)new wxListView(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
22979 wxPyEndAllowThreads(__tstate
);
22980 if (PyErr_Occurred()) SWIG_fail
;
22982 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1);
22997 static PyObject
*_wrap_new_PreListView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22998 PyObject
*resultobj
;
22999 wxListView
*result
;
23000 char *kwnames
[] = {
23004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListView",kwnames
)) goto fail
;
23006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23007 result
= (wxListView
*)new wxListView();
23009 wxPyEndAllowThreads(__tstate
);
23010 if (PyErr_Occurred()) SWIG_fail
;
23012 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1);
23019 static PyObject
*_wrap_ListView_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23020 PyObject
*resultobj
;
23021 wxListView
*arg1
= (wxListView
*) 0 ;
23022 wxWindow
*arg2
= (wxWindow
*) 0 ;
23023 int arg3
= (int) -1 ;
23024 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
23025 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
23026 wxSize
const &arg5_defvalue
= wxDefaultSize
;
23027 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
23028 long arg6
= (long) wxLC_REPORT
;
23029 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
23030 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
23031 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
23032 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23036 bool temp8
= False
;
23037 PyObject
* obj0
= 0 ;
23038 PyObject
* obj1
= 0 ;
23039 PyObject
* obj2
= 0 ;
23040 PyObject
* obj3
= 0 ;
23041 PyObject
* obj4
= 0 ;
23042 PyObject
* obj5
= 0 ;
23043 PyObject
* obj6
= 0 ;
23044 PyObject
* obj7
= 0 ;
23045 char *kwnames
[] = {
23046 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListView_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
23050 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23052 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
23053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23055 arg3
= (int) SWIG_AsInt(obj2
);
23056 if (PyErr_Occurred()) SWIG_fail
;
23061 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
23067 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
23071 arg6
= (long) SWIG_AsLong(obj5
);
23072 if (PyErr_Occurred()) SWIG_fail
;
23075 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
23076 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23078 if (arg7
== NULL
) {
23079 PyErr_SetString(PyExc_TypeError
,"null reference");
23085 arg8
= wxString_in_helper(obj7
);
23086 if (arg8
== NULL
) SWIG_fail
;
23091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23092 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
23094 wxPyEndAllowThreads(__tstate
);
23095 if (PyErr_Occurred()) SWIG_fail
;
23098 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23114 static PyObject
*_wrap_ListView_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23115 PyObject
*resultobj
;
23116 wxListView
*arg1
= (wxListView
*) 0 ;
23118 bool arg3
= (bool) True
;
23119 PyObject
* obj0
= 0 ;
23120 PyObject
* obj1
= 0 ;
23121 PyObject
* obj2
= 0 ;
23122 char *kwnames
[] = {
23123 (char *) "self",(char *) "n",(char *) "on", NULL
23126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListView_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23127 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23129 arg2
= (long) SWIG_AsLong(obj1
);
23130 if (PyErr_Occurred()) SWIG_fail
;
23132 arg3
= (bool) SWIG_AsBool(obj2
);
23133 if (PyErr_Occurred()) SWIG_fail
;
23136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23137 (arg1
)->Select(arg2
,arg3
);
23139 wxPyEndAllowThreads(__tstate
);
23140 if (PyErr_Occurred()) SWIG_fail
;
23142 Py_INCREF(Py_None
); resultobj
= Py_None
;
23149 static PyObject
*_wrap_ListView_Focus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23150 PyObject
*resultobj
;
23151 wxListView
*arg1
= (wxListView
*) 0 ;
23153 PyObject
* obj0
= 0 ;
23154 PyObject
* obj1
= 0 ;
23155 char *kwnames
[] = {
23156 (char *) "self",(char *) "index", NULL
23159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_Focus",kwnames
,&obj0
,&obj1
)) goto fail
;
23160 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23161 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23162 arg2
= (long) SWIG_AsLong(obj1
);
23163 if (PyErr_Occurred()) SWIG_fail
;
23165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23166 (arg1
)->Focus(arg2
);
23168 wxPyEndAllowThreads(__tstate
);
23169 if (PyErr_Occurred()) SWIG_fail
;
23171 Py_INCREF(Py_None
); resultobj
= Py_None
;
23178 static PyObject
*_wrap_ListView_GetFocusedItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23179 PyObject
*resultobj
;
23180 wxListView
*arg1
= (wxListView
*) 0 ;
23182 PyObject
* obj0
= 0 ;
23183 char *kwnames
[] = {
23184 (char *) "self", NULL
23187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFocusedItem",kwnames
,&obj0
)) goto fail
;
23188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23192 result
= (long)((wxListView
const *)arg1
)->GetFocusedItem();
23194 wxPyEndAllowThreads(__tstate
);
23195 if (PyErr_Occurred()) SWIG_fail
;
23197 resultobj
= SWIG_FromLong((long)result
);
23204 static PyObject
*_wrap_ListView_GetNextSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23205 PyObject
*resultobj
;
23206 wxListView
*arg1
= (wxListView
*) 0 ;
23209 PyObject
* obj0
= 0 ;
23210 PyObject
* obj1
= 0 ;
23211 char *kwnames
[] = {
23212 (char *) "self",(char *) "item", NULL
23215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
23216 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23218 arg2
= (long) SWIG_AsLong(obj1
);
23219 if (PyErr_Occurred()) SWIG_fail
;
23221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23222 result
= (long)((wxListView
const *)arg1
)->GetNextSelected(arg2
);
23224 wxPyEndAllowThreads(__tstate
);
23225 if (PyErr_Occurred()) SWIG_fail
;
23227 resultobj
= SWIG_FromLong((long)result
);
23234 static PyObject
*_wrap_ListView_GetFirstSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23235 PyObject
*resultobj
;
23236 wxListView
*arg1
= (wxListView
*) 0 ;
23238 PyObject
* obj0
= 0 ;
23239 char *kwnames
[] = {
23240 (char *) "self", NULL
23243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFirstSelected",kwnames
,&obj0
)) goto fail
;
23244 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23245 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23248 result
= (long)((wxListView
const *)arg1
)->GetFirstSelected();
23250 wxPyEndAllowThreads(__tstate
);
23251 if (PyErr_Occurred()) SWIG_fail
;
23253 resultobj
= SWIG_FromLong((long)result
);
23260 static PyObject
*_wrap_ListView_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23261 PyObject
*resultobj
;
23262 wxListView
*arg1
= (wxListView
*) 0 ;
23265 PyObject
* obj0
= 0 ;
23266 PyObject
* obj1
= 0 ;
23267 char *kwnames
[] = {
23268 (char *) "self",(char *) "index", NULL
23271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
23272 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23274 arg2
= (long) SWIG_AsLong(obj1
);
23275 if (PyErr_Occurred()) SWIG_fail
;
23277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23278 result
= (bool)(arg1
)->IsSelected(arg2
);
23280 wxPyEndAllowThreads(__tstate
);
23281 if (PyErr_Occurred()) SWIG_fail
;
23284 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23292 static PyObject
*_wrap_ListView_SetColumnImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23293 PyObject
*resultobj
;
23294 wxListView
*arg1
= (wxListView
*) 0 ;
23297 PyObject
* obj0
= 0 ;
23298 PyObject
* obj1
= 0 ;
23299 PyObject
* obj2
= 0 ;
23300 char *kwnames
[] = {
23301 (char *) "self",(char *) "col",(char *) "image", NULL
23304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListView_SetColumnImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23307 arg2
= (int) SWIG_AsInt(obj1
);
23308 if (PyErr_Occurred()) SWIG_fail
;
23309 arg3
= (int) SWIG_AsInt(obj2
);
23310 if (PyErr_Occurred()) SWIG_fail
;
23312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23313 (arg1
)->SetColumnImage(arg2
,arg3
);
23315 wxPyEndAllowThreads(__tstate
);
23316 if (PyErr_Occurred()) SWIG_fail
;
23318 Py_INCREF(Py_None
); resultobj
= Py_None
;
23325 static PyObject
*_wrap_ListView_ClearColumnImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23326 PyObject
*resultobj
;
23327 wxListView
*arg1
= (wxListView
*) 0 ;
23329 PyObject
* obj0
= 0 ;
23330 PyObject
* obj1
= 0 ;
23331 char *kwnames
[] = {
23332 (char *) "self",(char *) "col", NULL
23335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_ClearColumnImage",kwnames
,&obj0
,&obj1
)) goto fail
;
23336 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23337 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23338 arg2
= (int) SWIG_AsInt(obj1
);
23339 if (PyErr_Occurred()) SWIG_fail
;
23341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23342 (arg1
)->ClearColumnImage(arg2
);
23344 wxPyEndAllowThreads(__tstate
);
23345 if (PyErr_Occurred()) SWIG_fail
;
23347 Py_INCREF(Py_None
); resultobj
= Py_None
;
23354 static PyObject
* ListView_swigregister(PyObject
*self
, PyObject
*args
) {
23356 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23357 SWIG_TypeClientData(SWIGTYPE_p_wxListView
, obj
);
23359 return Py_BuildValue((char *)"");
23361 static int _wrap_TreeCtrlNameStr_set(PyObject
*_val
) {
23362 PyErr_SetString(PyExc_TypeError
,"Variable TreeCtrlNameStr is read-only.");
23367 static PyObject
*_wrap_TreeCtrlNameStr_get() {
23372 pyobj
= PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
23374 pyobj
= PyString_FromStringAndSize((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
23381 static PyObject
*_wrap_new_TreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23382 PyObject
*resultobj
;
23383 wxTreeItemId
*result
;
23384 char *kwnames
[] = {
23388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TreeItemId",kwnames
)) goto fail
;
23390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23391 result
= (wxTreeItemId
*)new wxTreeItemId();
23393 wxPyEndAllowThreads(__tstate
);
23394 if (PyErr_Occurred()) SWIG_fail
;
23396 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 1);
23403 static PyObject
*_wrap_delete_TreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23404 PyObject
*resultobj
;
23405 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
23406 PyObject
* obj0
= 0 ;
23407 char *kwnames
[] = {
23408 (char *) "self", NULL
23411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TreeItemId",kwnames
,&obj0
)) goto fail
;
23412 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
23413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23418 wxPyEndAllowThreads(__tstate
);
23419 if (PyErr_Occurred()) SWIG_fail
;
23421 Py_INCREF(Py_None
); resultobj
= Py_None
;
23428 static PyObject
*_wrap_TreeItemId_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23429 PyObject
*resultobj
;
23430 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
23432 PyObject
* obj0
= 0 ;
23433 char *kwnames
[] = {
23434 (char *) "self", NULL
23437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_IsOk",kwnames
,&obj0
)) goto fail
;
23438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
23439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23442 result
= (bool)((wxTreeItemId
const *)arg1
)->IsOk();
23444 wxPyEndAllowThreads(__tstate
);
23445 if (PyErr_Occurred()) SWIG_fail
;
23448 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23456 static PyObject
*_wrap_TreeItemId___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23457 PyObject
*resultobj
;
23458 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
23459 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
23461 PyObject
* obj0
= 0 ;
23462 PyObject
* obj1
= 0 ;
23463 char *kwnames
[] = {
23464 (char *) "self",(char *) "other", NULL
23467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
23468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
23469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23470 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
23471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23474 result
= (bool)wxTreeItemId___eq__(arg1
,(wxTreeItemId
const *)arg2
);
23476 wxPyEndAllowThreads(__tstate
);
23477 if (PyErr_Occurred()) SWIG_fail
;
23480 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23488 static PyObject
*_wrap_TreeItemId___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23489 PyObject
*resultobj
;
23490 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
23491 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
23493 PyObject
* obj0
= 0 ;
23494 PyObject
* obj1
= 0 ;
23495 char *kwnames
[] = {
23496 (char *) "self",(char *) "other", NULL
23499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
23500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
23501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23502 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
23503 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23506 result
= (bool)wxTreeItemId___ne__(arg1
,(wxTreeItemId
const *)arg2
);
23508 wxPyEndAllowThreads(__tstate
);
23509 if (PyErr_Occurred()) SWIG_fail
;
23512 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23520 static PyObject
*_wrap_TreeItemId_m_pItem_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23521 PyObject
*resultobj
;
23522 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
23523 void *arg2
= (void *) 0 ;
23524 PyObject
* obj0
= 0 ;
23525 PyObject
* obj1
= 0 ;
23526 char *kwnames
[] = {
23527 (char *) "self",(char *) "m_pItem", NULL
23530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId_m_pItem_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23531 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
23532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23533 if ((SWIG_ConvertPtr(obj1
,&arg2
,0,SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
23534 if (arg1
) (arg1
)->m_pItem
= arg2
;
23536 Py_INCREF(Py_None
); resultobj
= Py_None
;
23543 static PyObject
*_wrap_TreeItemId_m_pItem_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23544 PyObject
*resultobj
;
23545 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
23547 PyObject
* obj0
= 0 ;
23548 char *kwnames
[] = {
23549 (char *) "self", NULL
23552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_m_pItem_get",kwnames
,&obj0
)) goto fail
;
23553 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
23554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23555 result
= (void *) ((arg1
)->m_pItem
);
23557 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_void
, 0);
23564 static PyObject
* TreeItemId_swigregister(PyObject
*self
, PyObject
*args
) {
23566 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23567 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId
, obj
);
23569 return Py_BuildValue((char *)"");
23571 static PyObject
*_wrap_new_TreeItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23572 PyObject
*resultobj
;
23573 PyObject
*arg1
= (PyObject
*) NULL
;
23574 wxPyTreeItemData
*result
;
23575 PyObject
* obj0
= 0 ;
23576 char *kwnames
[] = {
23577 (char *) "obj", NULL
23580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) goto fail
;
23585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23586 result
= (wxPyTreeItemData
*)new wxPyTreeItemData(arg1
);
23588 wxPyEndAllowThreads(__tstate
);
23589 if (PyErr_Occurred()) SWIG_fail
;
23591 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 1);
23598 static PyObject
*_wrap_TreeItemData_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23599 PyObject
*resultobj
;
23600 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
23602 PyObject
* obj0
= 0 ;
23603 char *kwnames
[] = {
23604 (char *) "self", NULL
23607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetData",kwnames
,&obj0
)) goto fail
;
23608 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
23609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23612 result
= (PyObject
*)(arg1
)->GetData();
23614 wxPyEndAllowThreads(__tstate
);
23615 if (PyErr_Occurred()) SWIG_fail
;
23617 resultobj
= result
;
23624 static PyObject
*_wrap_TreeItemData_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23625 PyObject
*resultobj
;
23626 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
23627 PyObject
*arg2
= (PyObject
*) 0 ;
23628 PyObject
* obj0
= 0 ;
23629 PyObject
* obj1
= 0 ;
23630 char *kwnames
[] = {
23631 (char *) "self",(char *) "obj", NULL
23634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
23635 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
23636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23640 (arg1
)->SetData(arg2
);
23642 wxPyEndAllowThreads(__tstate
);
23643 if (PyErr_Occurred()) SWIG_fail
;
23645 Py_INCREF(Py_None
); resultobj
= Py_None
;
23652 static PyObject
*_wrap_TreeItemData_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23653 PyObject
*resultobj
;
23654 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
23655 wxTreeItemId
*result
;
23656 PyObject
* obj0
= 0 ;
23657 char *kwnames
[] = {
23658 (char *) "self", NULL
23661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetId",kwnames
,&obj0
)) goto fail
;
23662 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
23663 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23667 wxTreeItemId
const &_result_ref
= (arg1
)->GetId();
23668 result
= (wxTreeItemId
*) &_result_ref
;
23671 wxPyEndAllowThreads(__tstate
);
23672 if (PyErr_Occurred()) SWIG_fail
;
23674 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 0);
23681 static PyObject
*_wrap_TreeItemData_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23682 PyObject
*resultobj
;
23683 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
23684 wxTreeItemId
*arg2
= 0 ;
23685 PyObject
* obj0
= 0 ;
23686 PyObject
* obj1
= 0 ;
23687 char *kwnames
[] = {
23688 (char *) "self",(char *) "id", NULL
23691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
23692 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
23693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23694 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
23695 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23697 if (arg2
== NULL
) {
23698 PyErr_SetString(PyExc_TypeError
,"null reference");
23702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23703 (arg1
)->SetId((wxTreeItemId
const &)*arg2
);
23705 wxPyEndAllowThreads(__tstate
);
23706 if (PyErr_Occurred()) SWIG_fail
;
23708 Py_INCREF(Py_None
); resultobj
= Py_None
;
23715 static PyObject
*_wrap_TreeItemData_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23716 PyObject
*resultobj
;
23717 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
23718 PyObject
* obj0
= 0 ;
23719 char *kwnames
[] = {
23720 (char *) "self", NULL
23723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_Destroy",kwnames
,&obj0
)) goto fail
;
23724 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
23725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23728 wxPyTreeItemData_Destroy(arg1
);
23730 wxPyEndAllowThreads(__tstate
);
23731 if (PyErr_Occurred()) SWIG_fail
;
23733 Py_INCREF(Py_None
); resultobj
= Py_None
;
23740 static PyObject
* TreeItemData_swigregister(PyObject
*self
, PyObject
*args
) {
23742 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23743 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData
, obj
);
23745 return Py_BuildValue((char *)"");
23747 static PyObject
*_wrap_new_TreeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23748 PyObject
*resultobj
;
23749 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
23750 int arg2
= (int) 0 ;
23751 wxTreeEvent
*result
;
23752 PyObject
* obj0
= 0 ;
23753 PyObject
* obj1
= 0 ;
23754 char *kwnames
[] = {
23755 (char *) "commandType",(char *) "id", NULL
23758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TreeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
23760 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
23761 if (PyErr_Occurred()) SWIG_fail
;
23764 arg2
= (int) SWIG_AsInt(obj1
);
23765 if (PyErr_Occurred()) SWIG_fail
;
23768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23769 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
);
23771 wxPyEndAllowThreads(__tstate
);
23772 if (PyErr_Occurred()) SWIG_fail
;
23774 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeEvent
, 1);
23781 static PyObject
*_wrap_TreeEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23782 PyObject
*resultobj
;
23783 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23784 wxTreeItemId result
;
23785 PyObject
* obj0
= 0 ;
23786 char *kwnames
[] = {
23787 (char *) "self", NULL
23790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetItem",kwnames
,&obj0
)) goto fail
;
23791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23795 result
= ((wxTreeEvent
const *)arg1
)->GetItem();
23797 wxPyEndAllowThreads(__tstate
);
23798 if (PyErr_Occurred()) SWIG_fail
;
23801 wxTreeItemId
* resultptr
;
23802 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
23803 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
23811 static PyObject
*_wrap_TreeEvent_SetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23812 PyObject
*resultobj
;
23813 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23814 wxTreeItemId
*arg2
= 0 ;
23815 PyObject
* obj0
= 0 ;
23816 PyObject
* obj1
= 0 ;
23817 char *kwnames
[] = {
23818 (char *) "self",(char *) "item", NULL
23821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
23822 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23823 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23824 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
23825 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23827 if (arg2
== NULL
) {
23828 PyErr_SetString(PyExc_TypeError
,"null reference");
23832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23833 (arg1
)->SetItem((wxTreeItemId
const &)*arg2
);
23835 wxPyEndAllowThreads(__tstate
);
23836 if (PyErr_Occurred()) SWIG_fail
;
23838 Py_INCREF(Py_None
); resultobj
= Py_None
;
23845 static PyObject
*_wrap_TreeEvent_GetOldItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23846 PyObject
*resultobj
;
23847 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23848 wxTreeItemId result
;
23849 PyObject
* obj0
= 0 ;
23850 char *kwnames
[] = {
23851 (char *) "self", NULL
23854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetOldItem",kwnames
,&obj0
)) goto fail
;
23855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23859 result
= ((wxTreeEvent
const *)arg1
)->GetOldItem();
23861 wxPyEndAllowThreads(__tstate
);
23862 if (PyErr_Occurred()) SWIG_fail
;
23865 wxTreeItemId
* resultptr
;
23866 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
23867 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
23875 static PyObject
*_wrap_TreeEvent_SetOldItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23876 PyObject
*resultobj
;
23877 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23878 wxTreeItemId
*arg2
= 0 ;
23879 PyObject
* obj0
= 0 ;
23880 PyObject
* obj1
= 0 ;
23881 char *kwnames
[] = {
23882 (char *) "self",(char *) "item", NULL
23885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) goto fail
;
23886 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23888 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
23889 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23891 if (arg2
== NULL
) {
23892 PyErr_SetString(PyExc_TypeError
,"null reference");
23896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23897 (arg1
)->SetOldItem((wxTreeItemId
const &)*arg2
);
23899 wxPyEndAllowThreads(__tstate
);
23900 if (PyErr_Occurred()) SWIG_fail
;
23902 Py_INCREF(Py_None
); resultobj
= Py_None
;
23909 static PyObject
*_wrap_TreeEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23910 PyObject
*resultobj
;
23911 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23913 PyObject
* obj0
= 0 ;
23914 char *kwnames
[] = {
23915 (char *) "self", NULL
23918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
23919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23923 result
= ((wxTreeEvent
const *)arg1
)->GetPoint();
23925 wxPyEndAllowThreads(__tstate
);
23926 if (PyErr_Occurred()) SWIG_fail
;
23929 wxPoint
* resultptr
;
23930 resultptr
= new wxPoint((wxPoint
&) result
);
23931 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
23939 static PyObject
*_wrap_TreeEvent_SetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23940 PyObject
*resultobj
;
23941 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23942 wxPoint
*arg2
= 0 ;
23944 PyObject
* obj0
= 0 ;
23945 PyObject
* obj1
= 0 ;
23946 char *kwnames
[] = {
23947 (char *) "self",(char *) "pt", NULL
23950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
23951 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23955 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23959 (arg1
)->SetPoint((wxPoint
const &)*arg2
);
23961 wxPyEndAllowThreads(__tstate
);
23962 if (PyErr_Occurred()) SWIG_fail
;
23964 Py_INCREF(Py_None
); resultobj
= Py_None
;
23971 static PyObject
*_wrap_TreeEvent_GetKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23972 PyObject
*resultobj
;
23973 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23974 wxKeyEvent
*result
;
23975 PyObject
* obj0
= 0 ;
23976 char *kwnames
[] = {
23977 (char *) "self", NULL
23980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyEvent",kwnames
,&obj0
)) goto fail
;
23981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23986 wxKeyEvent
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetKeyEvent();
23987 result
= (wxKeyEvent
*) &_result_ref
;
23990 wxPyEndAllowThreads(__tstate
);
23991 if (PyErr_Occurred()) SWIG_fail
;
23993 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 0);
24000 static PyObject
*_wrap_TreeEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24001 PyObject
*resultobj
;
24002 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24004 PyObject
* obj0
= 0 ;
24005 char *kwnames
[] = {
24006 (char *) "self", NULL
24009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
24010 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24011 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24014 result
= (int)((wxTreeEvent
const *)arg1
)->GetKeyCode();
24016 wxPyEndAllowThreads(__tstate
);
24017 if (PyErr_Occurred()) SWIG_fail
;
24019 resultobj
= SWIG_FromInt((int)result
);
24026 static PyObject
*_wrap_TreeEvent_SetKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24027 PyObject
*resultobj
;
24028 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24029 wxKeyEvent
*arg2
= 0 ;
24030 PyObject
* obj0
= 0 ;
24031 PyObject
* obj1
= 0 ;
24032 char *kwnames
[] = {
24033 (char *) "self",(char *) "evt", NULL
24036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
24037 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24039 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxKeyEvent
,
24040 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24042 if (arg2
== NULL
) {
24043 PyErr_SetString(PyExc_TypeError
,"null reference");
24047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24048 (arg1
)->SetKeyEvent((wxKeyEvent
const &)*arg2
);
24050 wxPyEndAllowThreads(__tstate
);
24051 if (PyErr_Occurred()) SWIG_fail
;
24053 Py_INCREF(Py_None
); resultobj
= Py_None
;
24060 static PyObject
*_wrap_TreeEvent_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24061 PyObject
*resultobj
;
24062 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24064 PyObject
* obj0
= 0 ;
24065 char *kwnames
[] = {
24066 (char *) "self", NULL
24069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
24070 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24075 wxString
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetLabel();
24076 result
= (wxString
*) &_result_ref
;
24079 wxPyEndAllowThreads(__tstate
);
24080 if (PyErr_Occurred()) SWIG_fail
;
24084 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
24086 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
24095 static PyObject
*_wrap_TreeEvent_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24096 PyObject
*resultobj
;
24097 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24098 wxString
*arg2
= 0 ;
24099 bool temp2
= False
;
24100 PyObject
* obj0
= 0 ;
24101 PyObject
* obj1
= 0 ;
24102 char *kwnames
[] = {
24103 (char *) "self",(char *) "label", NULL
24106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
24107 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24108 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24110 arg2
= wxString_in_helper(obj1
);
24111 if (arg2
== NULL
) SWIG_fail
;
24115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24116 (arg1
)->SetLabel((wxString
const &)*arg2
);
24118 wxPyEndAllowThreads(__tstate
);
24119 if (PyErr_Occurred()) SWIG_fail
;
24121 Py_INCREF(Py_None
); resultobj
= Py_None
;
24136 static PyObject
*_wrap_TreeEvent_IsEditCancelled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24137 PyObject
*resultobj
;
24138 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24140 PyObject
* obj0
= 0 ;
24141 char *kwnames
[] = {
24142 (char *) "self", NULL
24145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
24146 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24150 result
= (bool)((wxTreeEvent
const *)arg1
)->IsEditCancelled();
24152 wxPyEndAllowThreads(__tstate
);
24153 if (PyErr_Occurred()) SWIG_fail
;
24156 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24164 static PyObject
*_wrap_TreeEvent_SetEditCanceled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24165 PyObject
*resultobj
;
24166 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24168 PyObject
* obj0
= 0 ;
24169 PyObject
* obj1
= 0 ;
24170 char *kwnames
[] = {
24171 (char *) "self",(char *) "editCancelled", NULL
24174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
24175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24177 arg2
= (bool) SWIG_AsBool(obj1
);
24178 if (PyErr_Occurred()) SWIG_fail
;
24180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24181 (arg1
)->SetEditCanceled(arg2
);
24183 wxPyEndAllowThreads(__tstate
);
24184 if (PyErr_Occurred()) SWIG_fail
;
24186 Py_INCREF(Py_None
); resultobj
= Py_None
;
24193 static PyObject
*_wrap_TreeEvent_SetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24194 PyObject
*resultobj
;
24195 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24196 wxString
*arg2
= 0 ;
24197 bool temp2
= False
;
24198 PyObject
* obj0
= 0 ;
24199 PyObject
* obj1
= 0 ;
24200 char *kwnames
[] = {
24201 (char *) "self",(char *) "toolTip", NULL
24204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
24205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24208 arg2
= wxString_in_helper(obj1
);
24209 if (arg2
== NULL
) SWIG_fail
;
24213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24214 (arg1
)->SetToolTip((wxString
const &)*arg2
);
24216 wxPyEndAllowThreads(__tstate
);
24217 if (PyErr_Occurred()) SWIG_fail
;
24219 Py_INCREF(Py_None
); resultobj
= Py_None
;
24234 static PyObject
* TreeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
24236 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24237 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent
, obj
);
24239 return Py_BuildValue((char *)"");
24241 static PyObject
*_wrap_new_TreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24242 PyObject
*resultobj
;
24243 wxWindow
*arg1
= (wxWindow
*) 0 ;
24244 int arg2
= (int) -1 ;
24245 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
24246 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
24247 wxSize
const &arg4_defvalue
= wxDefaultSize
;
24248 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
24249 long arg5
= (long) wxTR_DEFAULT_STYLE
;
24250 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
24251 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
24252 wxString
const &arg7_defvalue
= wxPyTreeCtrlNameStr
;
24253 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
24254 wxPyTreeCtrl
*result
;
24257 bool temp7
= False
;
24258 PyObject
* obj0
= 0 ;
24259 PyObject
* obj1
= 0 ;
24260 PyObject
* obj2
= 0 ;
24261 PyObject
* obj3
= 0 ;
24262 PyObject
* obj4
= 0 ;
24263 PyObject
* obj5
= 0 ;
24264 PyObject
* obj6
= 0 ;
24265 char *kwnames
[] = {
24266 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
24269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_TreeCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
24270 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24273 arg2
= (int) SWIG_AsInt(obj1
);
24274 if (PyErr_Occurred()) SWIG_fail
;
24279 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
24285 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
24289 arg5
= (long) SWIG_AsLong(obj4
);
24290 if (PyErr_Occurred()) SWIG_fail
;
24293 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
24294 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24296 if (arg6
== NULL
) {
24297 PyErr_SetString(PyExc_TypeError
,"null reference");
24303 arg7
= wxString_in_helper(obj6
);
24304 if (arg7
== NULL
) SWIG_fail
;
24309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24310 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
24312 wxPyEndAllowThreads(__tstate
);
24313 if (PyErr_Occurred()) SWIG_fail
;
24316 resultobj
= wxPyMake_wxObject(result
);
24332 static PyObject
*_wrap_new_PreTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24333 PyObject
*resultobj
;
24334 wxPyTreeCtrl
*result
;
24335 char *kwnames
[] = {
24339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTreeCtrl",kwnames
)) goto fail
;
24341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24342 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl();
24344 wxPyEndAllowThreads(__tstate
);
24345 if (PyErr_Occurred()) SWIG_fail
;
24348 resultobj
= wxPyMake_wxObject(result
);
24356 static PyObject
*_wrap_TreeCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24357 PyObject
*resultobj
;
24358 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24359 wxWindow
*arg2
= (wxWindow
*) 0 ;
24360 int arg3
= (int) -1 ;
24361 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
24362 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
24363 wxSize
const &arg5_defvalue
= wxDefaultSize
;
24364 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
24365 long arg6
= (long) wxTR_DEFAULT_STYLE
;
24366 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
24367 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
24368 wxString
const &arg8_defvalue
= wxPyTreeCtrlNameStr
;
24369 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
24373 bool temp8
= False
;
24374 PyObject
* obj0
= 0 ;
24375 PyObject
* obj1
= 0 ;
24376 PyObject
* obj2
= 0 ;
24377 PyObject
* obj3
= 0 ;
24378 PyObject
* obj4
= 0 ;
24379 PyObject
* obj5
= 0 ;
24380 PyObject
* obj6
= 0 ;
24381 PyObject
* obj7
= 0 ;
24382 char *kwnames
[] = {
24383 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
24386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
24387 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24389 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24392 arg3
= (int) SWIG_AsInt(obj2
);
24393 if (PyErr_Occurred()) SWIG_fail
;
24398 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
24404 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
24408 arg6
= (long) SWIG_AsLong(obj5
);
24409 if (PyErr_Occurred()) SWIG_fail
;
24412 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
24413 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24415 if (arg7
== NULL
) {
24416 PyErr_SetString(PyExc_TypeError
,"null reference");
24422 arg8
= wxString_in_helper(obj7
);
24423 if (arg8
== NULL
) SWIG_fail
;
24428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24429 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
24431 wxPyEndAllowThreads(__tstate
);
24432 if (PyErr_Occurred()) SWIG_fail
;
24435 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24451 static PyObject
*_wrap_TreeCtrl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24452 PyObject
*resultobj
;
24453 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24454 PyObject
*arg2
= (PyObject
*) 0 ;
24455 PyObject
*arg3
= (PyObject
*) 0 ;
24456 PyObject
* obj0
= 0 ;
24457 PyObject
* obj1
= 0 ;
24458 PyObject
* obj2
= 0 ;
24459 char *kwnames
[] = {
24460 (char *) "self",(char *) "self",(char *) "_class", NULL
24463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24464 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24470 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24472 wxPyEndAllowThreads(__tstate
);
24473 if (PyErr_Occurred()) SWIG_fail
;
24475 Py_INCREF(Py_None
); resultobj
= Py_None
;
24482 static PyObject
*_wrap_TreeCtrl_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24483 PyObject
*resultobj
;
24484 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24486 PyObject
* obj0
= 0 ;
24487 char *kwnames
[] = {
24488 (char *) "self", NULL
24491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetCount",kwnames
,&obj0
)) goto fail
;
24492 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24496 result
= (size_t)((wxPyTreeCtrl
const *)arg1
)->GetCount();
24498 wxPyEndAllowThreads(__tstate
);
24499 if (PyErr_Occurred()) SWIG_fail
;
24501 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
24508 static PyObject
*_wrap_TreeCtrl_GetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24509 PyObject
*resultobj
;
24510 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24511 unsigned int result
;
24512 PyObject
* obj0
= 0 ;
24513 char *kwnames
[] = {
24514 (char *) "self", NULL
24517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetIndent",kwnames
,&obj0
)) goto fail
;
24518 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24519 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24522 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetIndent();
24524 wxPyEndAllowThreads(__tstate
);
24525 if (PyErr_Occurred()) SWIG_fail
;
24527 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
24534 static PyObject
*_wrap_TreeCtrl_SetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24535 PyObject
*resultobj
;
24536 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24537 unsigned int arg2
;
24538 PyObject
* obj0
= 0 ;
24539 PyObject
* obj1
= 0 ;
24540 char *kwnames
[] = {
24541 (char *) "self",(char *) "indent", NULL
24544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
24545 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24547 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
24548 if (PyErr_Occurred()) SWIG_fail
;
24550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24551 (arg1
)->SetIndent(arg2
);
24553 wxPyEndAllowThreads(__tstate
);
24554 if (PyErr_Occurred()) SWIG_fail
;
24556 Py_INCREF(Py_None
); resultobj
= Py_None
;
24563 static PyObject
*_wrap_TreeCtrl_GetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24564 PyObject
*resultobj
;
24565 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24566 unsigned int result
;
24567 PyObject
* obj0
= 0 ;
24568 char *kwnames
[] = {
24569 (char *) "self", NULL
24572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSpacing",kwnames
,&obj0
)) goto fail
;
24573 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24577 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetSpacing();
24579 wxPyEndAllowThreads(__tstate
);
24580 if (PyErr_Occurred()) SWIG_fail
;
24582 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
24589 static PyObject
*_wrap_TreeCtrl_SetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24590 PyObject
*resultobj
;
24591 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24592 unsigned int arg2
;
24593 PyObject
* obj0
= 0 ;
24594 PyObject
* obj1
= 0 ;
24595 char *kwnames
[] = {
24596 (char *) "self",(char *) "spacing", NULL
24599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",kwnames
,&obj0
,&obj1
)) goto fail
;
24600 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24601 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24602 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
24603 if (PyErr_Occurred()) SWIG_fail
;
24605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24606 (arg1
)->SetSpacing(arg2
);
24608 wxPyEndAllowThreads(__tstate
);
24609 if (PyErr_Occurred()) SWIG_fail
;
24611 Py_INCREF(Py_None
); resultobj
= Py_None
;
24618 static PyObject
*_wrap_TreeCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24619 PyObject
*resultobj
;
24620 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24621 wxImageList
*result
;
24622 PyObject
* obj0
= 0 ;
24623 char *kwnames
[] = {
24624 (char *) "self", NULL
24627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
24628 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24629 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24632 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetImageList();
24634 wxPyEndAllowThreads(__tstate
);
24635 if (PyErr_Occurred()) SWIG_fail
;
24638 resultobj
= wxPyMake_wxObject(result
);
24646 static PyObject
*_wrap_TreeCtrl_GetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24647 PyObject
*resultobj
;
24648 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24649 wxImageList
*result
;
24650 PyObject
* obj0
= 0 ;
24651 char *kwnames
[] = {
24652 (char *) "self", NULL
24655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetStateImageList",kwnames
,&obj0
)) goto fail
;
24656 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24660 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetStateImageList();
24662 wxPyEndAllowThreads(__tstate
);
24663 if (PyErr_Occurred()) SWIG_fail
;
24666 resultobj
= wxPyMake_wxObject(result
);
24674 static PyObject
*_wrap_TreeCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24675 PyObject
*resultobj
;
24676 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24677 wxImageList
*arg2
= (wxImageList
*) 0 ;
24678 PyObject
* obj0
= 0 ;
24679 PyObject
* obj1
= 0 ;
24680 char *kwnames
[] = {
24681 (char *) "self",(char *) "imageList", NULL
24684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
24685 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24687 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
24688 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24691 (arg1
)->SetImageList(arg2
);
24693 wxPyEndAllowThreads(__tstate
);
24694 if (PyErr_Occurred()) SWIG_fail
;
24696 Py_INCREF(Py_None
); resultobj
= Py_None
;
24703 static PyObject
*_wrap_TreeCtrl_SetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24704 PyObject
*resultobj
;
24705 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24706 wxImageList
*arg2
= (wxImageList
*) 0 ;
24707 PyObject
* obj0
= 0 ;
24708 PyObject
* obj1
= 0 ;
24709 char *kwnames
[] = {
24710 (char *) "self",(char *) "imageList", NULL
24713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
24714 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24715 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24716 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
24717 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24720 (arg1
)->SetStateImageList(arg2
);
24722 wxPyEndAllowThreads(__tstate
);
24723 if (PyErr_Occurred()) SWIG_fail
;
24725 Py_INCREF(Py_None
); resultobj
= Py_None
;
24732 static PyObject
*_wrap_TreeCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24733 PyObject
*resultobj
;
24734 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24735 wxImageList
*arg2
= (wxImageList
*) 0 ;
24736 PyObject
* obj0
= 0 ;
24737 PyObject
* obj1
= 0 ;
24738 char *kwnames
[] = {
24739 (char *) "self",(char *) "imageList", NULL
24742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
24743 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24744 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24745 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
24746 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
24748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24749 (arg1
)->AssignImageList(arg2
);
24751 wxPyEndAllowThreads(__tstate
);
24752 if (PyErr_Occurred()) SWIG_fail
;
24754 Py_INCREF(Py_None
); resultobj
= Py_None
;
24761 static PyObject
*_wrap_TreeCtrl_AssignStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24762 PyObject
*resultobj
;
24763 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24764 wxImageList
*arg2
= (wxImageList
*) 0 ;
24765 PyObject
* obj0
= 0 ;
24766 PyObject
* obj1
= 0 ;
24767 char *kwnames
[] = {
24768 (char *) "self",(char *) "imageList", NULL
24771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
24772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24774 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
24775 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
24777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24778 (arg1
)->AssignStateImageList(arg2
);
24780 wxPyEndAllowThreads(__tstate
);
24781 if (PyErr_Occurred()) SWIG_fail
;
24783 Py_INCREF(Py_None
); resultobj
= Py_None
;
24790 static PyObject
*_wrap_TreeCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24791 PyObject
*resultobj
;
24792 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24793 wxTreeItemId
*arg2
= 0 ;
24795 PyObject
* obj0
= 0 ;
24796 PyObject
* obj1
= 0 ;
24797 char *kwnames
[] = {
24798 (char *) "self",(char *) "item", NULL
24801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
24802 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24804 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24805 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24807 if (arg2
== NULL
) {
24808 PyErr_SetString(PyExc_TypeError
,"null reference");
24812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24813 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemText((wxTreeItemId
const &)*arg2
);
24815 wxPyEndAllowThreads(__tstate
);
24816 if (PyErr_Occurred()) SWIG_fail
;
24820 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24822 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24831 static PyObject
*_wrap_TreeCtrl_GetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24832 PyObject
*resultobj
;
24833 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24834 wxTreeItemId
*arg2
= 0 ;
24835 int arg3
= (int) wxTreeItemIcon_Normal
;
24837 PyObject
* obj0
= 0 ;
24838 PyObject
* obj1
= 0 ;
24839 PyObject
* obj2
= 0 ;
24840 char *kwnames
[] = {
24841 (char *) "self",(char *) "item",(char *) "which", NULL
24844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24847 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24848 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24850 if (arg2
== NULL
) {
24851 PyErr_SetString(PyExc_TypeError
,"null reference");
24855 arg3
= (wxTreeItemIcon
) SWIG_AsInt(obj2
);
24856 if (PyErr_Occurred()) SWIG_fail
;
24859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24860 result
= (int)((wxPyTreeCtrl
const *)arg1
)->GetItemImage((wxTreeItemId
const &)*arg2
,(wxTreeItemIcon
)arg3
);
24862 wxPyEndAllowThreads(__tstate
);
24863 if (PyErr_Occurred()) SWIG_fail
;
24865 resultobj
= SWIG_FromInt((int)result
);
24872 static PyObject
*_wrap_TreeCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24873 PyObject
*resultobj
;
24874 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24875 wxTreeItemId
*arg2
= 0 ;
24876 wxPyTreeItemData
*result
;
24877 PyObject
* obj0
= 0 ;
24878 PyObject
* obj1
= 0 ;
24879 char *kwnames
[] = {
24880 (char *) "self",(char *) "item", NULL
24883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
24884 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24886 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24887 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24889 if (arg2
== NULL
) {
24890 PyErr_SetString(PyExc_TypeError
,"null reference");
24894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24895 result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
24897 wxPyEndAllowThreads(__tstate
);
24898 if (PyErr_Occurred()) SWIG_fail
;
24900 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 0);
24907 static PyObject
*_wrap_TreeCtrl_GetItemPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24908 PyObject
*resultobj
;
24909 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24910 wxTreeItemId
*arg2
= 0 ;
24912 PyObject
* obj0
= 0 ;
24913 PyObject
* obj1
= 0 ;
24914 char *kwnames
[] = {
24915 (char *) "self",(char *) "item", NULL
24918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemPyData",kwnames
,&obj0
,&obj1
)) goto fail
;
24919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24921 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24922 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24924 if (arg2
== NULL
) {
24925 PyErr_SetString(PyExc_TypeError
,"null reference");
24929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24930 result
= (PyObject
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
24932 wxPyEndAllowThreads(__tstate
);
24933 if (PyErr_Occurred()) SWIG_fail
;
24935 resultobj
= result
;
24942 static PyObject
*_wrap_TreeCtrl_GetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24943 PyObject
*resultobj
;
24944 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24945 wxTreeItemId
*arg2
= 0 ;
24947 PyObject
* obj0
= 0 ;
24948 PyObject
* obj1
= 0 ;
24949 char *kwnames
[] = {
24950 (char *) "self",(char *) "item", NULL
24953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
24954 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24956 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24957 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24959 if (arg2
== NULL
) {
24960 PyErr_SetString(PyExc_TypeError
,"null reference");
24964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24965 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
24967 wxPyEndAllowThreads(__tstate
);
24968 if (PyErr_Occurred()) SWIG_fail
;
24971 wxColour
* resultptr
;
24972 resultptr
= new wxColour((wxColour
&) result
);
24973 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
24981 static PyObject
*_wrap_TreeCtrl_GetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24982 PyObject
*resultobj
;
24983 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24984 wxTreeItemId
*arg2
= 0 ;
24986 PyObject
* obj0
= 0 ;
24987 PyObject
* obj1
= 0 ;
24988 char *kwnames
[] = {
24989 (char *) "self",(char *) "item", NULL
24992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
24993 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24994 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24995 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24996 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24998 if (arg2
== NULL
) {
24999 PyErr_SetString(PyExc_TypeError
,"null reference");
25003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25004 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId
const &)*arg2
);
25006 wxPyEndAllowThreads(__tstate
);
25007 if (PyErr_Occurred()) SWIG_fail
;
25010 wxColour
* resultptr
;
25011 resultptr
= new wxColour((wxColour
&) result
);
25012 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
25020 static PyObject
*_wrap_TreeCtrl_GetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25021 PyObject
*resultobj
;
25022 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25023 wxTreeItemId
*arg2
= 0 ;
25025 PyObject
* obj0
= 0 ;
25026 PyObject
* obj1
= 0 ;
25027 char *kwnames
[] = {
25028 (char *) "self",(char *) "item", NULL
25031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) goto fail
;
25032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25034 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25035 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25037 if (arg2
== NULL
) {
25038 PyErr_SetString(PyExc_TypeError
,"null reference");
25042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25043 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
25045 wxPyEndAllowThreads(__tstate
);
25046 if (PyErr_Occurred()) SWIG_fail
;
25049 wxFont
* resultptr
;
25050 resultptr
= new wxFont((wxFont
&) result
);
25051 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
25059 static PyObject
*_wrap_TreeCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25060 PyObject
*resultobj
;
25061 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25062 wxTreeItemId
*arg2
= 0 ;
25063 wxString
*arg3
= 0 ;
25064 bool temp3
= False
;
25065 PyObject
* obj0
= 0 ;
25066 PyObject
* obj1
= 0 ;
25067 PyObject
* obj2
= 0 ;
25068 char *kwnames
[] = {
25069 (char *) "self",(char *) "item",(char *) "text", NULL
25072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25073 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25075 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25076 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25078 if (arg2
== NULL
) {
25079 PyErr_SetString(PyExc_TypeError
,"null reference");
25083 arg3
= wxString_in_helper(obj2
);
25084 if (arg3
== NULL
) SWIG_fail
;
25088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25089 (arg1
)->SetItemText((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
);
25091 wxPyEndAllowThreads(__tstate
);
25092 if (PyErr_Occurred()) SWIG_fail
;
25094 Py_INCREF(Py_None
); resultobj
= Py_None
;
25109 static PyObject
*_wrap_TreeCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25110 PyObject
*resultobj
;
25111 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25112 wxTreeItemId
*arg2
= 0 ;
25114 int arg4
= (int) wxTreeItemIcon_Normal
;
25115 PyObject
* obj0
= 0 ;
25116 PyObject
* obj1
= 0 ;
25117 PyObject
* obj2
= 0 ;
25118 PyObject
* obj3
= 0 ;
25119 char *kwnames
[] = {
25120 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
25123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25126 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25127 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25129 if (arg2
== NULL
) {
25130 PyErr_SetString(PyExc_TypeError
,"null reference");
25133 arg3
= (int) SWIG_AsInt(obj2
);
25134 if (PyErr_Occurred()) SWIG_fail
;
25136 arg4
= (wxTreeItemIcon
) SWIG_AsInt(obj3
);
25137 if (PyErr_Occurred()) SWIG_fail
;
25140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25141 (arg1
)->SetItemImage((wxTreeItemId
const &)*arg2
,arg3
,(wxTreeItemIcon
)arg4
);
25143 wxPyEndAllowThreads(__tstate
);
25144 if (PyErr_Occurred()) SWIG_fail
;
25146 Py_INCREF(Py_None
); resultobj
= Py_None
;
25153 static PyObject
*_wrap_TreeCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25154 PyObject
*resultobj
;
25155 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25156 wxTreeItemId
*arg2
= 0 ;
25157 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
25158 PyObject
* obj0
= 0 ;
25159 PyObject
* obj1
= 0 ;
25160 PyObject
* obj2
= 0 ;
25161 char *kwnames
[] = {
25162 (char *) "self",(char *) "item",(char *) "data", NULL
25165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25166 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25168 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25169 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25171 if (arg2
== NULL
) {
25172 PyErr_SetString(PyExc_TypeError
,"null reference");
25175 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyTreeItemData
,
25176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25179 wxPyTreeCtrl_SetItemData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
25181 wxPyEndAllowThreads(__tstate
);
25182 if (PyErr_Occurred()) SWIG_fail
;
25184 Py_INCREF(Py_None
); resultobj
= Py_None
;
25191 static PyObject
*_wrap_TreeCtrl_SetItemPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25192 PyObject
*resultobj
;
25193 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25194 wxTreeItemId
*arg2
= 0 ;
25195 PyObject
*arg3
= (PyObject
*) 0 ;
25196 PyObject
* obj0
= 0 ;
25197 PyObject
* obj1
= 0 ;
25198 PyObject
* obj2
= 0 ;
25199 char *kwnames
[] = {
25200 (char *) "self",(char *) "item",(char *) "obj", NULL
25203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25204 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25206 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25207 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25209 if (arg2
== NULL
) {
25210 PyErr_SetString(PyExc_TypeError
,"null reference");
25215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25216 wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
25218 wxPyEndAllowThreads(__tstate
);
25219 if (PyErr_Occurred()) SWIG_fail
;
25221 Py_INCREF(Py_None
); resultobj
= Py_None
;
25228 static PyObject
*_wrap_TreeCtrl_SetItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25229 PyObject
*resultobj
;
25230 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25231 wxTreeItemId
*arg2
= 0 ;
25232 bool arg3
= (bool) True
;
25233 PyObject
* obj0
= 0 ;
25234 PyObject
* obj1
= 0 ;
25235 PyObject
* obj2
= 0 ;
25236 char *kwnames
[] = {
25237 (char *) "self",(char *) "item",(char *) "has", NULL
25240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25243 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25244 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25246 if (arg2
== NULL
) {
25247 PyErr_SetString(PyExc_TypeError
,"null reference");
25251 arg3
= (bool) SWIG_AsBool(obj2
);
25252 if (PyErr_Occurred()) SWIG_fail
;
25255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25256 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
25258 wxPyEndAllowThreads(__tstate
);
25259 if (PyErr_Occurred()) SWIG_fail
;
25261 Py_INCREF(Py_None
); resultobj
= Py_None
;
25268 static PyObject
*_wrap_TreeCtrl_SetItemBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25269 PyObject
*resultobj
;
25270 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25271 wxTreeItemId
*arg2
= 0 ;
25272 bool arg3
= (bool) True
;
25273 PyObject
* obj0
= 0 ;
25274 PyObject
* obj1
= 0 ;
25275 PyObject
* obj2
= 0 ;
25276 char *kwnames
[] = {
25277 (char *) "self",(char *) "item",(char *) "bold", NULL
25280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25281 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25283 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25284 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25286 if (arg2
== NULL
) {
25287 PyErr_SetString(PyExc_TypeError
,"null reference");
25291 arg3
= (bool) SWIG_AsBool(obj2
);
25292 if (PyErr_Occurred()) SWIG_fail
;
25295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25296 (arg1
)->SetItemBold((wxTreeItemId
const &)*arg2
,arg3
);
25298 wxPyEndAllowThreads(__tstate
);
25299 if (PyErr_Occurred()) SWIG_fail
;
25301 Py_INCREF(Py_None
); resultobj
= Py_None
;
25308 static PyObject
*_wrap_TreeCtrl_SetItemDropHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25309 PyObject
*resultobj
;
25310 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25311 wxTreeItemId
*arg2
= 0 ;
25312 bool arg3
= (bool) True
;
25313 PyObject
* obj0
= 0 ;
25314 PyObject
* obj1
= 0 ;
25315 PyObject
* obj2
= 0 ;
25316 char *kwnames
[] = {
25317 (char *) "self",(char *) "item",(char *) "highlight", NULL
25320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25321 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25323 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25324 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25326 if (arg2
== NULL
) {
25327 PyErr_SetString(PyExc_TypeError
,"null reference");
25331 arg3
= (bool) SWIG_AsBool(obj2
);
25332 if (PyErr_Occurred()) SWIG_fail
;
25335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25336 (arg1
)->SetItemDropHighlight((wxTreeItemId
const &)*arg2
,arg3
);
25338 wxPyEndAllowThreads(__tstate
);
25339 if (PyErr_Occurred()) SWIG_fail
;
25341 Py_INCREF(Py_None
); resultobj
= Py_None
;
25348 static PyObject
*_wrap_TreeCtrl_SetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25349 PyObject
*resultobj
;
25350 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25351 wxTreeItemId
*arg2
= 0 ;
25352 wxColour
*arg3
= 0 ;
25354 PyObject
* obj0
= 0 ;
25355 PyObject
* obj1
= 0 ;
25356 PyObject
* obj2
= 0 ;
25357 char *kwnames
[] = {
25358 (char *) "self",(char *) "item",(char *) "col", NULL
25361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25364 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25365 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25367 if (arg2
== NULL
) {
25368 PyErr_SetString(PyExc_TypeError
,"null reference");
25373 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
25376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25377 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
25379 wxPyEndAllowThreads(__tstate
);
25380 if (PyErr_Occurred()) SWIG_fail
;
25382 Py_INCREF(Py_None
); resultobj
= Py_None
;
25389 static PyObject
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25390 PyObject
*resultobj
;
25391 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25392 wxTreeItemId
*arg2
= 0 ;
25393 wxColour
*arg3
= 0 ;
25395 PyObject
* obj0
= 0 ;
25396 PyObject
* obj1
= 0 ;
25397 PyObject
* obj2
= 0 ;
25398 char *kwnames
[] = {
25399 (char *) "self",(char *) "item",(char *) "col", NULL
25402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25405 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25406 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25408 if (arg2
== NULL
) {
25409 PyErr_SetString(PyExc_TypeError
,"null reference");
25414 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
25417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25418 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
25420 wxPyEndAllowThreads(__tstate
);
25421 if (PyErr_Occurred()) SWIG_fail
;
25423 Py_INCREF(Py_None
); resultobj
= Py_None
;
25430 static PyObject
*_wrap_TreeCtrl_SetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25431 PyObject
*resultobj
;
25432 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25433 wxTreeItemId
*arg2
= 0 ;
25435 PyObject
* obj0
= 0 ;
25436 PyObject
* obj1
= 0 ;
25437 PyObject
* obj2
= 0 ;
25438 char *kwnames
[] = {
25439 (char *) "self",(char *) "item",(char *) "font", NULL
25442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25445 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25446 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25448 if (arg2
== NULL
) {
25449 PyErr_SetString(PyExc_TypeError
,"null reference");
25452 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
25453 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25455 if (arg3
== NULL
) {
25456 PyErr_SetString(PyExc_TypeError
,"null reference");
25460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25461 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
25463 wxPyEndAllowThreads(__tstate
);
25464 if (PyErr_Occurred()) SWIG_fail
;
25466 Py_INCREF(Py_None
); resultobj
= Py_None
;
25473 static PyObject
*_wrap_TreeCtrl_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25474 PyObject
*resultobj
;
25475 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25476 wxTreeItemId
*arg2
= 0 ;
25478 PyObject
* obj0
= 0 ;
25479 PyObject
* obj1
= 0 ;
25480 char *kwnames
[] = {
25481 (char *) "self",(char *) "item", NULL
25484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
25485 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25487 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25488 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25490 if (arg2
== NULL
) {
25491 PyErr_SetString(PyExc_TypeError
,"null reference");
25495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25496 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsVisible((wxTreeItemId
const &)*arg2
);
25498 wxPyEndAllowThreads(__tstate
);
25499 if (PyErr_Occurred()) SWIG_fail
;
25502 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25510 static PyObject
*_wrap_TreeCtrl_ItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25511 PyObject
*resultobj
;
25512 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25513 wxTreeItemId
*arg2
= 0 ;
25515 PyObject
* obj0
= 0 ;
25516 PyObject
* obj1
= 0 ;
25517 char *kwnames
[] = {
25518 (char *) "self",(char *) "item", NULL
25521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
25522 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25523 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25524 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25525 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25527 if (arg2
== NULL
) {
25528 PyErr_SetString(PyExc_TypeError
,"null reference");
25532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25533 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->ItemHasChildren((wxTreeItemId
const &)*arg2
);
25535 wxPyEndAllowThreads(__tstate
);
25536 if (PyErr_Occurred()) SWIG_fail
;
25539 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25547 static PyObject
*_wrap_TreeCtrl_IsExpanded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25548 PyObject
*resultobj
;
25549 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25550 wxTreeItemId
*arg2
= 0 ;
25552 PyObject
* obj0
= 0 ;
25553 PyObject
* obj1
= 0 ;
25554 char *kwnames
[] = {
25555 (char *) "self",(char *) "item", NULL
25558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) goto fail
;
25559 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25560 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25561 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25562 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25564 if (arg2
== NULL
) {
25565 PyErr_SetString(PyExc_TypeError
,"null reference");
25569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25570 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsExpanded((wxTreeItemId
const &)*arg2
);
25572 wxPyEndAllowThreads(__tstate
);
25573 if (PyErr_Occurred()) SWIG_fail
;
25576 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25584 static PyObject
*_wrap_TreeCtrl_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25585 PyObject
*resultobj
;
25586 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25587 wxTreeItemId
*arg2
= 0 ;
25589 PyObject
* obj0
= 0 ;
25590 PyObject
* obj1
= 0 ;
25591 char *kwnames
[] = {
25592 (char *) "self",(char *) "item", NULL
25595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
25596 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25598 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25599 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25601 if (arg2
== NULL
) {
25602 PyErr_SetString(PyExc_TypeError
,"null reference");
25606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25607 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsSelected((wxTreeItemId
const &)*arg2
);
25609 wxPyEndAllowThreads(__tstate
);
25610 if (PyErr_Occurred()) SWIG_fail
;
25613 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25621 static PyObject
*_wrap_TreeCtrl_IsBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25622 PyObject
*resultobj
;
25623 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25624 wxTreeItemId
*arg2
= 0 ;
25626 PyObject
* obj0
= 0 ;
25627 PyObject
* obj1
= 0 ;
25628 char *kwnames
[] = {
25629 (char *) "self",(char *) "item", NULL
25632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsBold",kwnames
,&obj0
,&obj1
)) goto fail
;
25633 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25634 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25635 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25636 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25638 if (arg2
== NULL
) {
25639 PyErr_SetString(PyExc_TypeError
,"null reference");
25643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25644 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsBold((wxTreeItemId
const &)*arg2
);
25646 wxPyEndAllowThreads(__tstate
);
25647 if (PyErr_Occurred()) SWIG_fail
;
25650 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25658 static PyObject
*_wrap_TreeCtrl_GetChildrenCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25659 PyObject
*resultobj
;
25660 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25661 wxTreeItemId
*arg2
= 0 ;
25662 bool arg3
= (bool) True
;
25664 PyObject
* obj0
= 0 ;
25665 PyObject
* obj1
= 0 ;
25666 PyObject
* obj2
= 0 ;
25667 char *kwnames
[] = {
25668 (char *) "self",(char *) "item",(char *) "recursively", NULL
25671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25674 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25675 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25677 if (arg2
== NULL
) {
25678 PyErr_SetString(PyExc_TypeError
,"null reference");
25682 arg3
= (bool) SWIG_AsBool(obj2
);
25683 if (PyErr_Occurred()) SWIG_fail
;
25686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25687 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
25689 wxPyEndAllowThreads(__tstate
);
25690 if (PyErr_Occurred()) SWIG_fail
;
25692 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
25699 static PyObject
*_wrap_TreeCtrl_GetRootItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25700 PyObject
*resultobj
;
25701 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25702 wxTreeItemId result
;
25703 PyObject
* obj0
= 0 ;
25704 char *kwnames
[] = {
25705 (char *) "self", NULL
25708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetRootItem",kwnames
,&obj0
)) goto fail
;
25709 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25713 result
= ((wxPyTreeCtrl
const *)arg1
)->GetRootItem();
25715 wxPyEndAllowThreads(__tstate
);
25716 if (PyErr_Occurred()) SWIG_fail
;
25719 wxTreeItemId
* resultptr
;
25720 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25721 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25729 static PyObject
*_wrap_TreeCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25730 PyObject
*resultobj
;
25731 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25732 wxTreeItemId result
;
25733 PyObject
* obj0
= 0 ;
25734 char *kwnames
[] = {
25735 (char *) "self", NULL
25738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
25739 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25743 result
= ((wxPyTreeCtrl
const *)arg1
)->GetSelection();
25745 wxPyEndAllowThreads(__tstate
);
25746 if (PyErr_Occurred()) SWIG_fail
;
25749 wxTreeItemId
* resultptr
;
25750 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25751 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25759 static PyObject
*_wrap_TreeCtrl_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25760 PyObject
*resultobj
;
25761 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25763 PyObject
* obj0
= 0 ;
25764 char *kwnames
[] = {
25765 (char *) "self", NULL
25768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelections",kwnames
,&obj0
)) goto fail
;
25769 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25773 result
= (PyObject
*)wxPyTreeCtrl_GetSelections(arg1
);
25775 wxPyEndAllowThreads(__tstate
);
25776 if (PyErr_Occurred()) SWIG_fail
;
25778 resultobj
= result
;
25785 static PyObject
*_wrap_TreeCtrl_GetItemParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25786 PyObject
*resultobj
;
25787 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25788 wxTreeItemId
*arg2
= 0 ;
25789 wxTreeItemId result
;
25790 PyObject
* obj0
= 0 ;
25791 PyObject
* obj1
= 0 ;
25792 char *kwnames
[] = {
25793 (char *) "self",(char *) "item", NULL
25796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) goto fail
;
25797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25799 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25800 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25802 if (arg2
== NULL
) {
25803 PyErr_SetString(PyExc_TypeError
,"null reference");
25807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25808 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
25810 wxPyEndAllowThreads(__tstate
);
25811 if (PyErr_Occurred()) SWIG_fail
;
25814 wxTreeItemId
* resultptr
;
25815 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25816 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25824 static PyObject
*_wrap_TreeCtrl_GetFirstChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25825 PyObject
*resultobj
;
25826 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25827 wxTreeItemId
*arg2
= 0 ;
25829 PyObject
* obj0
= 0 ;
25830 PyObject
* obj1
= 0 ;
25831 char *kwnames
[] = {
25832 (char *) "self",(char *) "item", NULL
25835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) goto fail
;
25836 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25837 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25838 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25839 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25841 if (arg2
== NULL
) {
25842 PyErr_SetString(PyExc_TypeError
,"null reference");
25846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25847 result
= (PyObject
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
25849 wxPyEndAllowThreads(__tstate
);
25850 if (PyErr_Occurred()) SWIG_fail
;
25852 resultobj
= result
;
25859 static PyObject
*_wrap_TreeCtrl_GetNextChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25860 PyObject
*resultobj
;
25861 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25862 wxTreeItemId
*arg2
= 0 ;
25863 void *arg3
= (void *) 0 ;
25865 PyObject
* obj0
= 0 ;
25866 PyObject
* obj1
= 0 ;
25867 PyObject
* obj2
= 0 ;
25868 char *kwnames
[] = {
25869 (char *) "self",(char *) "item",(char *) "cookie", NULL
25872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25873 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25875 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25876 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25878 if (arg2
== NULL
) {
25879 PyErr_SetString(PyExc_TypeError
,"null reference");
25882 if ((SWIG_ConvertPtr(obj2
,&arg3
,0,SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25885 result
= (PyObject
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
25887 wxPyEndAllowThreads(__tstate
);
25888 if (PyErr_Occurred()) SWIG_fail
;
25890 resultobj
= result
;
25897 static PyObject
*_wrap_TreeCtrl_GetLastChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25898 PyObject
*resultobj
;
25899 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25900 wxTreeItemId
*arg2
= 0 ;
25901 wxTreeItemId result
;
25902 PyObject
* obj0
= 0 ;
25903 PyObject
* obj1
= 0 ;
25904 char *kwnames
[] = {
25905 (char *) "self",(char *) "item", NULL
25908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) goto fail
;
25909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25911 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25912 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25914 if (arg2
== NULL
) {
25915 PyErr_SetString(PyExc_TypeError
,"null reference");
25919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25920 result
= ((wxPyTreeCtrl
const *)arg1
)->GetLastChild((wxTreeItemId
const &)*arg2
);
25922 wxPyEndAllowThreads(__tstate
);
25923 if (PyErr_Occurred()) SWIG_fail
;
25926 wxTreeItemId
* resultptr
;
25927 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25928 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25936 static PyObject
*_wrap_TreeCtrl_GetNextSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25937 PyObject
*resultobj
;
25938 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25939 wxTreeItemId
*arg2
= 0 ;
25940 wxTreeItemId result
;
25941 PyObject
* obj0
= 0 ;
25942 PyObject
* obj1
= 0 ;
25943 char *kwnames
[] = {
25944 (char *) "self",(char *) "item", NULL
25947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
25948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25950 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25951 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25953 if (arg2
== NULL
) {
25954 PyErr_SetString(PyExc_TypeError
,"null reference");
25958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25959 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextSibling((wxTreeItemId
const &)*arg2
);
25961 wxPyEndAllowThreads(__tstate
);
25962 if (PyErr_Occurred()) SWIG_fail
;
25965 wxTreeItemId
* resultptr
;
25966 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25967 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25975 static PyObject
*_wrap_TreeCtrl_GetPrevSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25976 PyObject
*resultobj
;
25977 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25978 wxTreeItemId
*arg2
= 0 ;
25979 wxTreeItemId result
;
25980 PyObject
* obj0
= 0 ;
25981 PyObject
* obj1
= 0 ;
25982 char *kwnames
[] = {
25983 (char *) "self",(char *) "item", NULL
25986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
25987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25989 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25990 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25992 if (arg2
== NULL
) {
25993 PyErr_SetString(PyExc_TypeError
,"null reference");
25997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25998 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevSibling((wxTreeItemId
const &)*arg2
);
26000 wxPyEndAllowThreads(__tstate
);
26001 if (PyErr_Occurred()) SWIG_fail
;
26004 wxTreeItemId
* resultptr
;
26005 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26006 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26014 static PyObject
*_wrap_TreeCtrl_GetFirstVisibleItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26015 PyObject
*resultobj
;
26016 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26017 wxTreeItemId result
;
26018 PyObject
* obj0
= 0 ;
26019 char *kwnames
[] = {
26020 (char *) "self", NULL
26023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames
,&obj0
)) goto fail
;
26024 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26025 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26028 result
= ((wxPyTreeCtrl
const *)arg1
)->GetFirstVisibleItem();
26030 wxPyEndAllowThreads(__tstate
);
26031 if (PyErr_Occurred()) SWIG_fail
;
26034 wxTreeItemId
* resultptr
;
26035 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26036 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26044 static PyObject
*_wrap_TreeCtrl_GetNextVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26045 PyObject
*resultobj
;
26046 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26047 wxTreeItemId
*arg2
= 0 ;
26048 wxTreeItemId result
;
26049 PyObject
* obj0
= 0 ;
26050 PyObject
* obj1
= 0 ;
26051 char *kwnames
[] = {
26052 (char *) "self",(char *) "item", NULL
26055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
26056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26058 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26059 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26061 if (arg2
== NULL
) {
26062 PyErr_SetString(PyExc_TypeError
,"null reference");
26066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26067 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextVisible((wxTreeItemId
const &)*arg2
);
26069 wxPyEndAllowThreads(__tstate
);
26070 if (PyErr_Occurred()) SWIG_fail
;
26073 wxTreeItemId
* resultptr
;
26074 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26075 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26083 static PyObject
*_wrap_TreeCtrl_GetPrevVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26084 PyObject
*resultobj
;
26085 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26086 wxTreeItemId
*arg2
= 0 ;
26087 wxTreeItemId result
;
26088 PyObject
* obj0
= 0 ;
26089 PyObject
* obj1
= 0 ;
26090 char *kwnames
[] = {
26091 (char *) "self",(char *) "item", NULL
26094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
26095 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26097 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26098 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26100 if (arg2
== NULL
) {
26101 PyErr_SetString(PyExc_TypeError
,"null reference");
26105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26106 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevVisible((wxTreeItemId
const &)*arg2
);
26108 wxPyEndAllowThreads(__tstate
);
26109 if (PyErr_Occurred()) SWIG_fail
;
26112 wxTreeItemId
* resultptr
;
26113 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26114 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26122 static PyObject
*_wrap_TreeCtrl_AddRoot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26123 PyObject
*resultobj
;
26124 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26125 wxString
*arg2
= 0 ;
26126 int arg3
= (int) -1 ;
26127 int arg4
= (int) -1 ;
26128 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
26129 wxTreeItemId result
;
26130 bool temp2
= False
;
26131 PyObject
* obj0
= 0 ;
26132 PyObject
* obj1
= 0 ;
26133 PyObject
* obj2
= 0 ;
26134 PyObject
* obj3
= 0 ;
26135 PyObject
* obj4
= 0 ;
26136 char *kwnames
[] = {
26137 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
26140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
26141 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26144 arg2
= wxString_in_helper(obj1
);
26145 if (arg2
== NULL
) SWIG_fail
;
26149 arg3
= (int) SWIG_AsInt(obj2
);
26150 if (PyErr_Occurred()) SWIG_fail
;
26153 arg4
= (int) SWIG_AsInt(obj3
);
26154 if (PyErr_Occurred()) SWIG_fail
;
26157 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxPyTreeItemData
,
26158 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26162 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
26164 wxPyEndAllowThreads(__tstate
);
26165 if (PyErr_Occurred()) SWIG_fail
;
26168 wxTreeItemId
* resultptr
;
26169 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26170 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26186 static PyObject
*_wrap_TreeCtrl_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26187 PyObject
*resultobj
;
26188 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26189 wxTreeItemId
*arg2
= 0 ;
26190 wxString
*arg3
= 0 ;
26191 int arg4
= (int) -1 ;
26192 int arg5
= (int) -1 ;
26193 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
26194 wxTreeItemId result
;
26195 bool temp3
= False
;
26196 PyObject
* obj0
= 0 ;
26197 PyObject
* obj1
= 0 ;
26198 PyObject
* obj2
= 0 ;
26199 PyObject
* obj3
= 0 ;
26200 PyObject
* obj4
= 0 ;
26201 PyObject
* obj5
= 0 ;
26202 char *kwnames
[] = {
26203 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
26206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
26207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26209 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26210 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26212 if (arg2
== NULL
) {
26213 PyErr_SetString(PyExc_TypeError
,"null reference");
26217 arg3
= wxString_in_helper(obj2
);
26218 if (arg3
== NULL
) SWIG_fail
;
26222 arg4
= (int) SWIG_AsInt(obj3
);
26223 if (PyErr_Occurred()) SWIG_fail
;
26226 arg5
= (int) SWIG_AsInt(obj4
);
26227 if (PyErr_Occurred()) SWIG_fail
;
26230 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxPyTreeItemData
,
26231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26235 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
26237 wxPyEndAllowThreads(__tstate
);
26238 if (PyErr_Occurred()) SWIG_fail
;
26241 wxTreeItemId
* resultptr
;
26242 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26243 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26259 static PyObject
*_wrap_TreeCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26260 PyObject
*resultobj
;
26261 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26262 wxTreeItemId
*arg2
= 0 ;
26263 wxTreeItemId
*arg3
= 0 ;
26264 wxString
*arg4
= 0 ;
26265 int arg5
= (int) -1 ;
26266 int arg6
= (int) -1 ;
26267 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
26268 wxTreeItemId result
;
26269 bool temp4
= False
;
26270 PyObject
* obj0
= 0 ;
26271 PyObject
* obj1
= 0 ;
26272 PyObject
* obj2
= 0 ;
26273 PyObject
* obj3
= 0 ;
26274 PyObject
* obj4
= 0 ;
26275 PyObject
* obj5
= 0 ;
26276 PyObject
* obj6
= 0 ;
26277 char *kwnames
[] = {
26278 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
26281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
26282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26284 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26285 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26287 if (arg2
== NULL
) {
26288 PyErr_SetString(PyExc_TypeError
,"null reference");
26291 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTreeItemId
,
26292 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26294 if (arg3
== NULL
) {
26295 PyErr_SetString(PyExc_TypeError
,"null reference");
26299 arg4
= wxString_in_helper(obj3
);
26300 if (arg4
== NULL
) SWIG_fail
;
26304 arg5
= (int) SWIG_AsInt(obj4
);
26305 if (PyErr_Occurred()) SWIG_fail
;
26308 arg6
= (int) SWIG_AsInt(obj5
);
26309 if (PyErr_Occurred()) SWIG_fail
;
26312 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxPyTreeItemData
,
26313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26317 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
26319 wxPyEndAllowThreads(__tstate
);
26320 if (PyErr_Occurred()) SWIG_fail
;
26323 wxTreeItemId
* resultptr
;
26324 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26325 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26341 static PyObject
*_wrap_TreeCtrl_InsertItemBefore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26342 PyObject
*resultobj
;
26343 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26344 wxTreeItemId
*arg2
= 0 ;
26346 wxString
*arg4
= 0 ;
26347 int arg5
= (int) -1 ;
26348 int arg6
= (int) -1 ;
26349 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
26350 wxTreeItemId result
;
26351 bool temp4
= False
;
26352 PyObject
* obj0
= 0 ;
26353 PyObject
* obj1
= 0 ;
26354 PyObject
* obj2
= 0 ;
26355 PyObject
* obj3
= 0 ;
26356 PyObject
* obj4
= 0 ;
26357 PyObject
* obj5
= 0 ;
26358 PyObject
* obj6
= 0 ;
26359 char *kwnames
[] = {
26360 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
26363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
26364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26366 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26367 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26369 if (arg2
== NULL
) {
26370 PyErr_SetString(PyExc_TypeError
,"null reference");
26373 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
26374 if (PyErr_Occurred()) SWIG_fail
;
26376 arg4
= wxString_in_helper(obj3
);
26377 if (arg4
== NULL
) SWIG_fail
;
26381 arg5
= (int) SWIG_AsInt(obj4
);
26382 if (PyErr_Occurred()) SWIG_fail
;
26385 arg6
= (int) SWIG_AsInt(obj5
);
26386 if (PyErr_Occurred()) SWIG_fail
;
26389 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxPyTreeItemData
,
26390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26394 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
26396 wxPyEndAllowThreads(__tstate
);
26397 if (PyErr_Occurred()) SWIG_fail
;
26400 wxTreeItemId
* resultptr
;
26401 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26402 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26418 static PyObject
*_wrap_TreeCtrl_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26419 PyObject
*resultobj
;
26420 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26421 wxTreeItemId
*arg2
= 0 ;
26422 wxString
*arg3
= 0 ;
26423 int arg4
= (int) -1 ;
26424 int arg5
= (int) -1 ;
26425 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
26426 wxTreeItemId result
;
26427 bool temp3
= False
;
26428 PyObject
* obj0
= 0 ;
26429 PyObject
* obj1
= 0 ;
26430 PyObject
* obj2
= 0 ;
26431 PyObject
* obj3
= 0 ;
26432 PyObject
* obj4
= 0 ;
26433 PyObject
* obj5
= 0 ;
26434 char *kwnames
[] = {
26435 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
26438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
26439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26441 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26442 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26444 if (arg2
== NULL
) {
26445 PyErr_SetString(PyExc_TypeError
,"null reference");
26449 arg3
= wxString_in_helper(obj2
);
26450 if (arg3
== NULL
) SWIG_fail
;
26454 arg4
= (int) SWIG_AsInt(obj3
);
26455 if (PyErr_Occurred()) SWIG_fail
;
26458 arg5
= (int) SWIG_AsInt(obj4
);
26459 if (PyErr_Occurred()) SWIG_fail
;
26462 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxPyTreeItemData
,
26463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26467 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
26469 wxPyEndAllowThreads(__tstate
);
26470 if (PyErr_Occurred()) SWIG_fail
;
26473 wxTreeItemId
* resultptr
;
26474 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26475 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26491 static PyObject
*_wrap_TreeCtrl_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26492 PyObject
*resultobj
;
26493 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26494 wxTreeItemId
*arg2
= 0 ;
26495 PyObject
* obj0
= 0 ;
26496 PyObject
* obj1
= 0 ;
26497 char *kwnames
[] = {
26498 (char *) "self",(char *) "item", NULL
26501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
26502 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26503 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26504 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26505 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26507 if (arg2
== NULL
) {
26508 PyErr_SetString(PyExc_TypeError
,"null reference");
26512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26513 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
26515 wxPyEndAllowThreads(__tstate
);
26516 if (PyErr_Occurred()) SWIG_fail
;
26518 Py_INCREF(Py_None
); resultobj
= Py_None
;
26525 static PyObject
*_wrap_TreeCtrl_DeleteChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26526 PyObject
*resultobj
;
26527 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26528 wxTreeItemId
*arg2
= 0 ;
26529 PyObject
* obj0
= 0 ;
26530 PyObject
* obj1
= 0 ;
26531 char *kwnames
[] = {
26532 (char *) "self",(char *) "item", NULL
26535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
26536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26538 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26539 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26541 if (arg2
== NULL
) {
26542 PyErr_SetString(PyExc_TypeError
,"null reference");
26546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26547 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
26549 wxPyEndAllowThreads(__tstate
);
26550 if (PyErr_Occurred()) SWIG_fail
;
26552 Py_INCREF(Py_None
); resultobj
= Py_None
;
26559 static PyObject
*_wrap_TreeCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26560 PyObject
*resultobj
;
26561 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26562 PyObject
* obj0
= 0 ;
26563 char *kwnames
[] = {
26564 (char *) "self", NULL
26567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
26568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26572 (arg1
)->DeleteAllItems();
26574 wxPyEndAllowThreads(__tstate
);
26575 if (PyErr_Occurred()) SWIG_fail
;
26577 Py_INCREF(Py_None
); resultobj
= Py_None
;
26584 static PyObject
*_wrap_TreeCtrl_Expand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26585 PyObject
*resultobj
;
26586 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26587 wxTreeItemId
*arg2
= 0 ;
26588 PyObject
* obj0
= 0 ;
26589 PyObject
* obj1
= 0 ;
26590 char *kwnames
[] = {
26591 (char *) "self",(char *) "item", NULL
26594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Expand",kwnames
,&obj0
,&obj1
)) goto fail
;
26595 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26597 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26598 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26600 if (arg2
== NULL
) {
26601 PyErr_SetString(PyExc_TypeError
,"null reference");
26605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26606 (arg1
)->Expand((wxTreeItemId
const &)*arg2
);
26608 wxPyEndAllowThreads(__tstate
);
26609 if (PyErr_Occurred()) SWIG_fail
;
26611 Py_INCREF(Py_None
); resultobj
= Py_None
;
26618 static PyObject
*_wrap_TreeCtrl_Collapse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26619 PyObject
*resultobj
;
26620 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26621 wxTreeItemId
*arg2
= 0 ;
26622 PyObject
* obj0
= 0 ;
26623 PyObject
* obj1
= 0 ;
26624 char *kwnames
[] = {
26625 (char *) "self",(char *) "item", NULL
26628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Collapse",kwnames
,&obj0
,&obj1
)) goto fail
;
26629 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26631 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26632 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26634 if (arg2
== NULL
) {
26635 PyErr_SetString(PyExc_TypeError
,"null reference");
26639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26640 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
26642 wxPyEndAllowThreads(__tstate
);
26643 if (PyErr_Occurred()) SWIG_fail
;
26645 Py_INCREF(Py_None
); resultobj
= Py_None
;
26652 static PyObject
*_wrap_TreeCtrl_CollapseAndReset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26653 PyObject
*resultobj
;
26654 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26655 wxTreeItemId
*arg2
= 0 ;
26656 PyObject
* obj0
= 0 ;
26657 PyObject
* obj1
= 0 ;
26658 char *kwnames
[] = {
26659 (char *) "self",(char *) "item", NULL
26662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) goto fail
;
26663 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26665 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26666 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26668 if (arg2
== NULL
) {
26669 PyErr_SetString(PyExc_TypeError
,"null reference");
26673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26674 (arg1
)->CollapseAndReset((wxTreeItemId
const &)*arg2
);
26676 wxPyEndAllowThreads(__tstate
);
26677 if (PyErr_Occurred()) SWIG_fail
;
26679 Py_INCREF(Py_None
); resultobj
= Py_None
;
26686 static PyObject
*_wrap_TreeCtrl_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26687 PyObject
*resultobj
;
26688 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26689 wxTreeItemId
*arg2
= 0 ;
26690 PyObject
* obj0
= 0 ;
26691 PyObject
* obj1
= 0 ;
26692 char *kwnames
[] = {
26693 (char *) "self",(char *) "item", NULL
26696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
26697 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26699 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26700 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26702 if (arg2
== NULL
) {
26703 PyErr_SetString(PyExc_TypeError
,"null reference");
26707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26708 (arg1
)->Toggle((wxTreeItemId
const &)*arg2
);
26710 wxPyEndAllowThreads(__tstate
);
26711 if (PyErr_Occurred()) SWIG_fail
;
26713 Py_INCREF(Py_None
); resultobj
= Py_None
;
26720 static PyObject
*_wrap_TreeCtrl_Unselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26721 PyObject
*resultobj
;
26722 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26723 PyObject
* obj0
= 0 ;
26724 char *kwnames
[] = {
26725 (char *) "self", NULL
26728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_Unselect",kwnames
,&obj0
)) goto fail
;
26729 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26733 (arg1
)->Unselect();
26735 wxPyEndAllowThreads(__tstate
);
26736 if (PyErr_Occurred()) SWIG_fail
;
26738 Py_INCREF(Py_None
); resultobj
= Py_None
;
26745 static PyObject
*_wrap_TreeCtrl_UnselectItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26746 PyObject
*resultobj
;
26747 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26748 wxTreeItemId
*arg2
= 0 ;
26749 PyObject
* obj0
= 0 ;
26750 PyObject
* obj1
= 0 ;
26751 char *kwnames
[] = {
26752 (char *) "self",(char *) "item", NULL
26755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_UnselectItem",kwnames
,&obj0
,&obj1
)) goto fail
;
26756 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26758 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26759 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26761 if (arg2
== NULL
) {
26762 PyErr_SetString(PyExc_TypeError
,"null reference");
26766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26767 (arg1
)->UnselectItem((wxTreeItemId
const &)*arg2
);
26769 wxPyEndAllowThreads(__tstate
);
26770 if (PyErr_Occurred()) SWIG_fail
;
26772 Py_INCREF(Py_None
); resultobj
= Py_None
;
26779 static PyObject
*_wrap_TreeCtrl_UnselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26780 PyObject
*resultobj
;
26781 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26782 PyObject
* obj0
= 0 ;
26783 char *kwnames
[] = {
26784 (char *) "self", NULL
26787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_UnselectAll",kwnames
,&obj0
)) goto fail
;
26788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26792 (arg1
)->UnselectAll();
26794 wxPyEndAllowThreads(__tstate
);
26795 if (PyErr_Occurred()) SWIG_fail
;
26797 Py_INCREF(Py_None
); resultobj
= Py_None
;
26804 static PyObject
*_wrap_TreeCtrl_SelectItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26805 PyObject
*resultobj
;
26806 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26807 wxTreeItemId
*arg2
= 0 ;
26808 bool arg3
= (bool) True
;
26809 PyObject
* obj0
= 0 ;
26810 PyObject
* obj1
= 0 ;
26811 PyObject
* obj2
= 0 ;
26812 char *kwnames
[] = {
26813 (char *) "self",(char *) "item",(char *) "select", NULL
26816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26817 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26819 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26820 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26822 if (arg2
== NULL
) {
26823 PyErr_SetString(PyExc_TypeError
,"null reference");
26827 arg3
= (bool) SWIG_AsBool(obj2
);
26828 if (PyErr_Occurred()) SWIG_fail
;
26831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26832 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
,arg3
);
26834 wxPyEndAllowThreads(__tstate
);
26835 if (PyErr_Occurred()) SWIG_fail
;
26837 Py_INCREF(Py_None
); resultobj
= Py_None
;
26844 static PyObject
*_wrap_TreeCtrl_ToggleItemSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26845 PyObject
*resultobj
;
26846 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26847 wxTreeItemId
*arg2
= 0 ;
26848 PyObject
* obj0
= 0 ;
26849 PyObject
* obj1
= 0 ;
26850 char *kwnames
[] = {
26851 (char *) "self",(char *) "item", NULL
26854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
26855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26857 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26858 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26860 if (arg2
== NULL
) {
26861 PyErr_SetString(PyExc_TypeError
,"null reference");
26865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26866 (arg1
)->ToggleItemSelection((wxTreeItemId
const &)*arg2
);
26868 wxPyEndAllowThreads(__tstate
);
26869 if (PyErr_Occurred()) SWIG_fail
;
26871 Py_INCREF(Py_None
); resultobj
= Py_None
;
26878 static PyObject
*_wrap_TreeCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26879 PyObject
*resultobj
;
26880 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26881 wxTreeItemId
*arg2
= 0 ;
26882 PyObject
* obj0
= 0 ;
26883 PyObject
* obj1
= 0 ;
26884 char *kwnames
[] = {
26885 (char *) "self",(char *) "item", NULL
26888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
26889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26891 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26892 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26894 if (arg2
== NULL
) {
26895 PyErr_SetString(PyExc_TypeError
,"null reference");
26899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26900 (arg1
)->EnsureVisible((wxTreeItemId
const &)*arg2
);
26902 wxPyEndAllowThreads(__tstate
);
26903 if (PyErr_Occurred()) SWIG_fail
;
26905 Py_INCREF(Py_None
); resultobj
= Py_None
;
26912 static PyObject
*_wrap_TreeCtrl_ScrollTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26913 PyObject
*resultobj
;
26914 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26915 wxTreeItemId
*arg2
= 0 ;
26916 PyObject
* obj0
= 0 ;
26917 PyObject
* obj1
= 0 ;
26918 char *kwnames
[] = {
26919 (char *) "self",(char *) "item", NULL
26922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) goto fail
;
26923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26925 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26926 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26928 if (arg2
== NULL
) {
26929 PyErr_SetString(PyExc_TypeError
,"null reference");
26933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26934 (arg1
)->ScrollTo((wxTreeItemId
const &)*arg2
);
26936 wxPyEndAllowThreads(__tstate
);
26937 if (PyErr_Occurred()) SWIG_fail
;
26939 Py_INCREF(Py_None
); resultobj
= Py_None
;
26946 static PyObject
*_wrap_TreeCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26947 PyObject
*resultobj
;
26948 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26949 wxTreeItemId
*arg2
= 0 ;
26950 PyObject
* obj0
= 0 ;
26951 PyObject
* obj1
= 0 ;
26952 char *kwnames
[] = {
26953 (char *) "self",(char *) "item", NULL
26956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
26957 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26959 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26960 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26962 if (arg2
== NULL
) {
26963 PyErr_SetString(PyExc_TypeError
,"null reference");
26967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26968 (arg1
)->EditLabel((wxTreeItemId
const &)*arg2
);
26970 wxPyEndAllowThreads(__tstate
);
26971 if (PyErr_Occurred()) SWIG_fail
;
26973 Py_INCREF(Py_None
); resultobj
= Py_None
;
26980 static PyObject
*_wrap_TreeCtrl_GetEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26981 PyObject
*resultobj
;
26982 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26983 wxTextCtrl
*result
;
26984 PyObject
* obj0
= 0 ;
26985 char *kwnames
[] = {
26986 (char *) "self", NULL
26989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetEditControl",kwnames
,&obj0
)) goto fail
;
26990 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26994 result
= (wxTextCtrl
*)((wxPyTreeCtrl
const *)arg1
)->GetEditControl();
26996 wxPyEndAllowThreads(__tstate
);
26997 if (PyErr_Occurred()) SWIG_fail
;
27000 resultobj
= wxPyMake_wxObject(result
);
27008 static PyObject
*_wrap_TreeCtrl_EndEditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27009 PyObject
*resultobj
;
27010 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27011 wxTreeItemId
*arg2
= 0 ;
27012 bool arg3
= (bool) False
;
27013 PyObject
* obj0
= 0 ;
27014 PyObject
* obj1
= 0 ;
27015 PyObject
* obj2
= 0 ;
27016 char *kwnames
[] = {
27017 (char *) "self",(char *) "item",(char *) "discardChanges", NULL
27020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_EndEditLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27023 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27024 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27026 if (arg2
== NULL
) {
27027 PyErr_SetString(PyExc_TypeError
,"null reference");
27031 arg3
= (bool) SWIG_AsBool(obj2
);
27032 if (PyErr_Occurred()) SWIG_fail
;
27035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27036 (arg1
)->EndEditLabel((wxTreeItemId
const &)*arg2
,arg3
);
27038 wxPyEndAllowThreads(__tstate
);
27039 if (PyErr_Occurred()) SWIG_fail
;
27041 Py_INCREF(Py_None
); resultobj
= Py_None
;
27048 static PyObject
*_wrap_TreeCtrl_SortChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27049 PyObject
*resultobj
;
27050 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27051 wxTreeItemId
*arg2
= 0 ;
27052 PyObject
* obj0
= 0 ;
27053 PyObject
* obj1
= 0 ;
27054 char *kwnames
[] = {
27055 (char *) "self",(char *) "item", NULL
27058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SortChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
27059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27061 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27062 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27064 if (arg2
== NULL
) {
27065 PyErr_SetString(PyExc_TypeError
,"null reference");
27069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27070 (arg1
)->SortChildren((wxTreeItemId
const &)*arg2
);
27072 wxPyEndAllowThreads(__tstate
);
27073 if (PyErr_Occurred()) SWIG_fail
;
27075 Py_INCREF(Py_None
); resultobj
= Py_None
;
27082 static PyObject
*_wrap_TreeCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27083 PyObject
*resultobj
;
27084 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27085 wxPoint
*arg2
= 0 ;
27087 wxTreeItemId result
;
27090 PyObject
* obj0
= 0 ;
27091 PyObject
* obj1
= 0 ;
27092 char *kwnames
[] = {
27093 (char *) "self",(char *) "point", NULL
27097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
27098 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27102 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
27105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27106 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
27108 wxPyEndAllowThreads(__tstate
);
27109 if (PyErr_Occurred()) SWIG_fail
;
27112 wxTreeItemId
* resultptr
;
27113 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27114 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27117 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
27118 resultobj
= t_output_helper(resultobj
,o
);
27126 static PyObject
*_wrap_TreeCtrl_GetBoundingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27127 PyObject
*resultobj
;
27128 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27129 wxTreeItemId
*arg2
= 0 ;
27130 bool arg3
= (bool) False
;
27132 PyObject
* obj0
= 0 ;
27133 PyObject
* obj1
= 0 ;
27134 PyObject
* obj2
= 0 ;
27135 char *kwnames
[] = {
27136 (char *) "self",(char *) "item",(char *) "textOnly", NULL
27139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27142 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27143 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27145 if (arg2
== NULL
) {
27146 PyErr_SetString(PyExc_TypeError
,"null reference");
27150 arg3
= (bool) SWIG_AsBool(obj2
);
27151 if (PyErr_Occurred()) SWIG_fail
;
27154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27155 result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
27157 wxPyEndAllowThreads(__tstate
);
27158 if (PyErr_Occurred()) SWIG_fail
;
27160 resultobj
= result
;
27167 static PyObject
*_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27168 PyObject
*resultobj
;
27169 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
27170 wxVisualAttributes result
;
27171 PyObject
* obj0
= 0 ;
27172 char *kwnames
[] = {
27173 (char *) "variant", NULL
27176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
27178 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
27179 if (PyErr_Occurred()) SWIG_fail
;
27182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27183 result
= wxPyTreeCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
27185 wxPyEndAllowThreads(__tstate
);
27186 if (PyErr_Occurred()) SWIG_fail
;
27189 wxVisualAttributes
* resultptr
;
27190 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
27191 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
27199 static PyObject
* TreeCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
27201 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27202 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl
, obj
);
27204 return Py_BuildValue((char *)"");
27206 static int _wrap_DirDialogDefaultFolderStr_set(PyObject
*_val
) {
27207 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogDefaultFolderStr is read-only.");
27212 static PyObject
*_wrap_DirDialogDefaultFolderStr_get() {
27217 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
27219 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
27226 static PyObject
*_wrap_new_GenericDirCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27227 PyObject
*resultobj
;
27228 wxWindow
*arg1
= (wxWindow
*) 0 ;
27229 int arg2
= (int) (int)-1 ;
27230 wxString
const &arg3_defvalue
= wxPyDirDialogDefaultFolderStr
;
27231 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
27232 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
27233 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
27234 wxSize
const &arg5_defvalue
= wxDefaultSize
;
27235 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
27236 long arg6
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
27237 wxString
const &arg7_defvalue
= wxPyEmptyString
;
27238 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
27239 int arg8
= (int) 0 ;
27240 wxString
const &arg9_defvalue
= wxPyTreeCtrlNameStr
;
27241 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
27242 wxGenericDirCtrl
*result
;
27243 bool temp3
= False
;
27246 bool temp7
= False
;
27247 bool temp9
= False
;
27248 PyObject
* obj0
= 0 ;
27249 PyObject
* obj1
= 0 ;
27250 PyObject
* obj2
= 0 ;
27251 PyObject
* obj3
= 0 ;
27252 PyObject
* obj4
= 0 ;
27253 PyObject
* obj5
= 0 ;
27254 PyObject
* obj6
= 0 ;
27255 PyObject
* obj7
= 0 ;
27256 PyObject
* obj8
= 0 ;
27257 char *kwnames
[] = {
27258 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
27261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
27262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27265 arg2
= (int const) SWIG_AsInt(obj1
);
27266 if (PyErr_Occurred()) SWIG_fail
;
27270 arg3
= wxString_in_helper(obj2
);
27271 if (arg3
== NULL
) SWIG_fail
;
27278 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
27284 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
27288 arg6
= (long) SWIG_AsLong(obj5
);
27289 if (PyErr_Occurred()) SWIG_fail
;
27293 arg7
= wxString_in_helper(obj6
);
27294 if (arg7
== NULL
) SWIG_fail
;
27299 arg8
= (int) SWIG_AsInt(obj7
);
27300 if (PyErr_Occurred()) SWIG_fail
;
27304 arg9
= wxString_in_helper(obj8
);
27305 if (arg9
== NULL
) SWIG_fail
;
27310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27311 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
27313 wxPyEndAllowThreads(__tstate
);
27314 if (PyErr_Occurred()) SWIG_fail
;
27316 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1);
27347 static PyObject
*_wrap_new_PreGenericDirCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27348 PyObject
*resultobj
;
27349 wxGenericDirCtrl
*result
;
27350 char *kwnames
[] = {
27354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGenericDirCtrl",kwnames
)) goto fail
;
27356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27357 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl();
27359 wxPyEndAllowThreads(__tstate
);
27360 if (PyErr_Occurred()) SWIG_fail
;
27362 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1);
27369 static PyObject
*_wrap_GenericDirCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27370 PyObject
*resultobj
;
27371 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27372 wxWindow
*arg2
= (wxWindow
*) 0 ;
27373 int arg3
= (int) (int)-1 ;
27374 wxString
const &arg4_defvalue
= wxPyDirDialogDefaultFolderStr
;
27375 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
27376 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
27377 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
27378 wxSize
const &arg6_defvalue
= wxDefaultSize
;
27379 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
27380 long arg7
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
27381 wxString
const &arg8_defvalue
= wxPyEmptyString
;
27382 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
27383 int arg9
= (int) 0 ;
27384 wxString
const &arg10_defvalue
= wxPyTreeCtrlNameStr
;
27385 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
27387 bool temp4
= False
;
27390 bool temp8
= False
;
27391 bool temp10
= False
;
27392 PyObject
* obj0
= 0 ;
27393 PyObject
* obj1
= 0 ;
27394 PyObject
* obj2
= 0 ;
27395 PyObject
* obj3
= 0 ;
27396 PyObject
* obj4
= 0 ;
27397 PyObject
* obj5
= 0 ;
27398 PyObject
* obj6
= 0 ;
27399 PyObject
* obj7
= 0 ;
27400 PyObject
* obj8
= 0 ;
27401 PyObject
* obj9
= 0 ;
27402 char *kwnames
[] = {
27403 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
27406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
27407 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27408 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27409 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
27410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27412 arg3
= (int const) SWIG_AsInt(obj2
);
27413 if (PyErr_Occurred()) SWIG_fail
;
27417 arg4
= wxString_in_helper(obj3
);
27418 if (arg4
== NULL
) SWIG_fail
;
27425 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
27431 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
27435 arg7
= (long) SWIG_AsLong(obj6
);
27436 if (PyErr_Occurred()) SWIG_fail
;
27440 arg8
= wxString_in_helper(obj7
);
27441 if (arg8
== NULL
) SWIG_fail
;
27446 arg9
= (int) SWIG_AsInt(obj8
);
27447 if (PyErr_Occurred()) SWIG_fail
;
27451 arg10
= wxString_in_helper(obj9
);
27452 if (arg10
== NULL
) SWIG_fail
;
27457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27458 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
,arg9
,(wxString
const &)*arg10
);
27460 wxPyEndAllowThreads(__tstate
);
27461 if (PyErr_Occurred()) SWIG_fail
;
27464 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27496 static PyObject
*_wrap_GenericDirCtrl_ExpandPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27497 PyObject
*resultobj
;
27498 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27499 wxString
*arg2
= 0 ;
27501 bool temp2
= False
;
27502 PyObject
* obj0
= 0 ;
27503 PyObject
* obj1
= 0 ;
27504 char *kwnames
[] = {
27505 (char *) "self",(char *) "path", NULL
27508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) goto fail
;
27509 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27510 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27512 arg2
= wxString_in_helper(obj1
);
27513 if (arg2
== NULL
) SWIG_fail
;
27517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27518 result
= (bool)(arg1
)->ExpandPath((wxString
const &)*arg2
);
27520 wxPyEndAllowThreads(__tstate
);
27521 if (PyErr_Occurred()) SWIG_fail
;
27524 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27540 static PyObject
*_wrap_GenericDirCtrl_GetDefaultPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27541 PyObject
*resultobj
;
27542 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27544 PyObject
* obj0
= 0 ;
27545 char *kwnames
[] = {
27546 (char *) "self", NULL
27549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames
,&obj0
)) goto fail
;
27550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27554 result
= ((wxGenericDirCtrl
const *)arg1
)->GetDefaultPath();
27556 wxPyEndAllowThreads(__tstate
);
27557 if (PyErr_Occurred()) SWIG_fail
;
27561 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27563 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27572 static PyObject
*_wrap_GenericDirCtrl_SetDefaultPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27573 PyObject
*resultobj
;
27574 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27575 wxString
*arg2
= 0 ;
27576 bool temp2
= False
;
27577 PyObject
* obj0
= 0 ;
27578 PyObject
* obj1
= 0 ;
27579 char *kwnames
[] = {
27580 (char *) "self",(char *) "path", NULL
27583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames
,&obj0
,&obj1
)) goto fail
;
27584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27587 arg2
= wxString_in_helper(obj1
);
27588 if (arg2
== NULL
) SWIG_fail
;
27592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27593 (arg1
)->SetDefaultPath((wxString
const &)*arg2
);
27595 wxPyEndAllowThreads(__tstate
);
27596 if (PyErr_Occurred()) SWIG_fail
;
27598 Py_INCREF(Py_None
); resultobj
= Py_None
;
27613 static PyObject
*_wrap_GenericDirCtrl_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27614 PyObject
*resultobj
;
27615 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27617 PyObject
* obj0
= 0 ;
27618 char *kwnames
[] = {
27619 (char *) "self", NULL
27622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetPath",kwnames
,&obj0
)) goto fail
;
27623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27627 result
= ((wxGenericDirCtrl
const *)arg1
)->GetPath();
27629 wxPyEndAllowThreads(__tstate
);
27630 if (PyErr_Occurred()) SWIG_fail
;
27634 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27636 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27645 static PyObject
*_wrap_GenericDirCtrl_GetFilePath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27646 PyObject
*resultobj
;
27647 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27649 PyObject
* obj0
= 0 ;
27650 char *kwnames
[] = {
27651 (char *) "self", NULL
27654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilePath",kwnames
,&obj0
)) goto fail
;
27655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27659 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilePath();
27661 wxPyEndAllowThreads(__tstate
);
27662 if (PyErr_Occurred()) SWIG_fail
;
27666 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27668 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27677 static PyObject
*_wrap_GenericDirCtrl_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27678 PyObject
*resultobj
;
27679 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27680 wxString
*arg2
= 0 ;
27681 bool temp2
= False
;
27682 PyObject
* obj0
= 0 ;
27683 PyObject
* obj1
= 0 ;
27684 char *kwnames
[] = {
27685 (char *) "self",(char *) "path", NULL
27688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
27689 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27690 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27692 arg2
= wxString_in_helper(obj1
);
27693 if (arg2
== NULL
) SWIG_fail
;
27697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27698 (arg1
)->SetPath((wxString
const &)*arg2
);
27700 wxPyEndAllowThreads(__tstate
);
27701 if (PyErr_Occurred()) SWIG_fail
;
27703 Py_INCREF(Py_None
); resultobj
= Py_None
;
27718 static PyObject
*_wrap_GenericDirCtrl_ShowHidden(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27719 PyObject
*resultobj
;
27720 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27722 PyObject
* obj0
= 0 ;
27723 PyObject
* obj1
= 0 ;
27724 char *kwnames
[] = {
27725 (char *) "self",(char *) "show", NULL
27728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames
,&obj0
,&obj1
)) goto fail
;
27729 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27731 arg2
= (bool) SWIG_AsBool(obj1
);
27732 if (PyErr_Occurred()) SWIG_fail
;
27734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27735 (arg1
)->ShowHidden(arg2
);
27737 wxPyEndAllowThreads(__tstate
);
27738 if (PyErr_Occurred()) SWIG_fail
;
27740 Py_INCREF(Py_None
); resultobj
= Py_None
;
27747 static PyObject
*_wrap_GenericDirCtrl_GetShowHidden(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27748 PyObject
*resultobj
;
27749 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27751 PyObject
* obj0
= 0 ;
27752 char *kwnames
[] = {
27753 (char *) "self", NULL
27756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames
,&obj0
)) goto fail
;
27757 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27761 result
= (bool)(arg1
)->GetShowHidden();
27763 wxPyEndAllowThreads(__tstate
);
27764 if (PyErr_Occurred()) SWIG_fail
;
27767 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27775 static PyObject
*_wrap_GenericDirCtrl_GetFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27776 PyObject
*resultobj
;
27777 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27779 PyObject
* obj0
= 0 ;
27780 char *kwnames
[] = {
27781 (char *) "self", NULL
27784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilter",kwnames
,&obj0
)) goto fail
;
27785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27789 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilter();
27791 wxPyEndAllowThreads(__tstate
);
27792 if (PyErr_Occurred()) SWIG_fail
;
27796 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27798 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27807 static PyObject
*_wrap_GenericDirCtrl_SetFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27808 PyObject
*resultobj
;
27809 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27810 wxString
*arg2
= 0 ;
27811 bool temp2
= False
;
27812 PyObject
* obj0
= 0 ;
27813 PyObject
* obj1
= 0 ;
27814 char *kwnames
[] = {
27815 (char *) "self",(char *) "filter", NULL
27818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) goto fail
;
27819 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27820 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27822 arg2
= wxString_in_helper(obj1
);
27823 if (arg2
== NULL
) SWIG_fail
;
27827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27828 (arg1
)->SetFilter((wxString
const &)*arg2
);
27830 wxPyEndAllowThreads(__tstate
);
27831 if (PyErr_Occurred()) SWIG_fail
;
27833 Py_INCREF(Py_None
); resultobj
= Py_None
;
27848 static PyObject
*_wrap_GenericDirCtrl_GetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27849 PyObject
*resultobj
;
27850 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27852 PyObject
* obj0
= 0 ;
27853 char *kwnames
[] = {
27854 (char *) "self", NULL
27857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
27858 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27859 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27862 result
= (int)((wxGenericDirCtrl
const *)arg1
)->GetFilterIndex();
27864 wxPyEndAllowThreads(__tstate
);
27865 if (PyErr_Occurred()) SWIG_fail
;
27867 resultobj
= SWIG_FromInt((int)result
);
27874 static PyObject
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27875 PyObject
*resultobj
;
27876 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27878 PyObject
* obj0
= 0 ;
27879 PyObject
* obj1
= 0 ;
27880 char *kwnames
[] = {
27881 (char *) "self",(char *) "n", NULL
27884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
27885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27887 arg2
= (int) SWIG_AsInt(obj1
);
27888 if (PyErr_Occurred()) SWIG_fail
;
27890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27891 (arg1
)->SetFilterIndex(arg2
);
27893 wxPyEndAllowThreads(__tstate
);
27894 if (PyErr_Occurred()) SWIG_fail
;
27896 Py_INCREF(Py_None
); resultobj
= Py_None
;
27903 static PyObject
*_wrap_GenericDirCtrl_GetRootId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27904 PyObject
*resultobj
;
27905 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27906 wxTreeItemId result
;
27907 PyObject
* obj0
= 0 ;
27908 char *kwnames
[] = {
27909 (char *) "self", NULL
27912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetRootId",kwnames
,&obj0
)) goto fail
;
27913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27917 result
= (arg1
)->GetRootId();
27919 wxPyEndAllowThreads(__tstate
);
27920 if (PyErr_Occurred()) SWIG_fail
;
27923 wxTreeItemId
* resultptr
;
27924 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27925 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27933 static PyObject
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27934 PyObject
*resultobj
;
27935 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27936 wxPyTreeCtrl
*result
;
27937 PyObject
* obj0
= 0 ;
27938 char *kwnames
[] = {
27939 (char *) "self", NULL
27942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames
,&obj0
)) goto fail
;
27943 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27947 result
= (wxPyTreeCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetTreeCtrl();
27949 wxPyEndAllowThreads(__tstate
);
27950 if (PyErr_Occurred()) SWIG_fail
;
27953 resultobj
= wxPyMake_wxObject(result
);
27961 static PyObject
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27962 PyObject
*resultobj
;
27963 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27964 wxDirFilterListCtrl
*result
;
27965 PyObject
* obj0
= 0 ;
27966 char *kwnames
[] = {
27967 (char *) "self", NULL
27970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames
,&obj0
)) goto fail
;
27971 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27975 result
= (wxDirFilterListCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetFilterListCtrl();
27977 wxPyEndAllowThreads(__tstate
);
27978 if (PyErr_Occurred()) SWIG_fail
;
27980 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 0);
27987 static PyObject
*_wrap_GenericDirCtrl_FindChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27988 PyObject
*resultobj
;
27989 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27990 wxTreeItemId arg2
;
27991 wxString
*arg3
= 0 ;
27993 wxTreeItemId result
;
27994 wxTreeItemId
*argp2
;
27995 bool temp3
= False
;
27997 PyObject
* obj0
= 0 ;
27998 PyObject
* obj1
= 0 ;
27999 PyObject
* obj2
= 0 ;
28000 char *kwnames
[] = {
28001 (char *) "self",(char *) "parentId",(char *) "path", NULL
28005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28008 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxTreeItemId
,
28009 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
28012 arg3
= wxString_in_helper(obj2
);
28013 if (arg3
== NULL
) SWIG_fail
;
28017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28018 result
= (arg1
)->FindChild(arg2
,(wxString
const &)*arg3
,*arg4
);
28020 wxPyEndAllowThreads(__tstate
);
28021 if (PyErr_Occurred()) SWIG_fail
;
28024 wxTreeItemId
* resultptr
;
28025 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
28026 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
28029 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
28030 resultobj
= t_output_helper(resultobj
,o
);
28046 static PyObject
*_wrap_GenericDirCtrl_DoResize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28047 PyObject
*resultobj
;
28048 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28049 PyObject
* obj0
= 0 ;
28050 char *kwnames
[] = {
28051 (char *) "self", NULL
28054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_DoResize",kwnames
,&obj0
)) goto fail
;
28055 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28056 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28059 (arg1
)->DoResize();
28061 wxPyEndAllowThreads(__tstate
);
28062 if (PyErr_Occurred()) SWIG_fail
;
28064 Py_INCREF(Py_None
); resultobj
= Py_None
;
28071 static PyObject
*_wrap_GenericDirCtrl_ReCreateTree(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28072 PyObject
*resultobj
;
28073 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28074 PyObject
* obj0
= 0 ;
28075 char *kwnames
[] = {
28076 (char *) "self", NULL
28079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames
,&obj0
)) goto fail
;
28080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28084 (arg1
)->ReCreateTree();
28086 wxPyEndAllowThreads(__tstate
);
28087 if (PyErr_Occurred()) SWIG_fail
;
28089 Py_INCREF(Py_None
); resultobj
= Py_None
;
28096 static PyObject
* GenericDirCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
28098 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28099 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl
, obj
);
28101 return Py_BuildValue((char *)"");
28103 static PyObject
*_wrap_new_DirFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28104 PyObject
*resultobj
;
28105 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28106 int arg2
= (int) (int)-1 ;
28107 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28108 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28109 wxSize
const &arg4_defvalue
= wxDefaultSize
;
28110 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
28111 long arg5
= (long) 0 ;
28112 wxDirFilterListCtrl
*result
;
28115 PyObject
* obj0
= 0 ;
28116 PyObject
* obj1
= 0 ;
28117 PyObject
* obj2
= 0 ;
28118 PyObject
* obj3
= 0 ;
28119 PyObject
* obj4
= 0 ;
28120 char *kwnames
[] = {
28121 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
28124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28125 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28128 arg2
= (int const) SWIG_AsInt(obj1
);
28129 if (PyErr_Occurred()) SWIG_fail
;
28134 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28140 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
28144 arg5
= (long) SWIG_AsLong(obj4
);
28145 if (PyErr_Occurred()) SWIG_fail
;
28148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28149 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
28151 wxPyEndAllowThreads(__tstate
);
28152 if (PyErr_Occurred()) SWIG_fail
;
28154 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1);
28161 static PyObject
*_wrap_new_PreDirFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28162 PyObject
*resultobj
;
28163 wxDirFilterListCtrl
*result
;
28164 char *kwnames
[] = {
28168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDirFilterListCtrl",kwnames
)) goto fail
;
28170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28171 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl();
28173 wxPyEndAllowThreads(__tstate
);
28174 if (PyErr_Occurred()) SWIG_fail
;
28176 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1);
28183 static PyObject
*_wrap_DirFilterListCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28184 PyObject
*resultobj
;
28185 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
28186 wxGenericDirCtrl
*arg2
= (wxGenericDirCtrl
*) 0 ;
28187 int arg3
= (int) (int)-1 ;
28188 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
28189 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
28190 wxSize
const &arg5_defvalue
= wxDefaultSize
;
28191 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
28192 long arg6
= (long) 0 ;
28196 PyObject
* obj0
= 0 ;
28197 PyObject
* obj1
= 0 ;
28198 PyObject
* obj2
= 0 ;
28199 PyObject
* obj3
= 0 ;
28200 PyObject
* obj4
= 0 ;
28201 PyObject
* obj5
= 0 ;
28202 char *kwnames
[] = {
28203 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
28206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
28207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirFilterListCtrl
,
28208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28209 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGenericDirCtrl
,
28210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28212 arg3
= (int const) SWIG_AsInt(obj2
);
28213 if (PyErr_Occurred()) SWIG_fail
;
28218 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
28224 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
28228 arg6
= (long) SWIG_AsLong(obj5
);
28229 if (PyErr_Occurred()) SWIG_fail
;
28232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28233 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
28235 wxPyEndAllowThreads(__tstate
);
28236 if (PyErr_Occurred()) SWIG_fail
;
28239 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28247 static PyObject
*_wrap_DirFilterListCtrl_FillFilterList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28248 PyObject
*resultobj
;
28249 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
28250 wxString
*arg2
= 0 ;
28252 bool temp2
= False
;
28253 PyObject
* obj0
= 0 ;
28254 PyObject
* obj1
= 0 ;
28255 PyObject
* obj2
= 0 ;
28256 char *kwnames
[] = {
28257 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
28260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28261 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirFilterListCtrl
,
28262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28264 arg2
= wxString_in_helper(obj1
);
28265 if (arg2
== NULL
) SWIG_fail
;
28268 arg3
= (int) SWIG_AsInt(obj2
);
28269 if (PyErr_Occurred()) SWIG_fail
;
28271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28272 (arg1
)->FillFilterList((wxString
const &)*arg2
,arg3
);
28274 wxPyEndAllowThreads(__tstate
);
28275 if (PyErr_Occurred()) SWIG_fail
;
28277 Py_INCREF(Py_None
); resultobj
= Py_None
;
28292 static PyObject
* DirFilterListCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
28294 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28295 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl
, obj
);
28297 return Py_BuildValue((char *)"");
28299 static PyObject
*_wrap_new_PyControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28300 PyObject
*resultobj
;
28301 wxWindow
*arg1
= (wxWindow
*) 0 ;
28303 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28304 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28305 wxSize
const &arg4_defvalue
= wxDefaultSize
;
28306 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
28307 long arg5
= (long) 0 ;
28308 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
28309 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
28310 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
28311 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28312 wxPyControl
*result
;
28315 bool temp7
= False
;
28316 PyObject
* obj0
= 0 ;
28317 PyObject
* obj1
= 0 ;
28318 PyObject
* obj2
= 0 ;
28319 PyObject
* obj3
= 0 ;
28320 PyObject
* obj4
= 0 ;
28321 PyObject
* obj5
= 0 ;
28322 PyObject
* obj6
= 0 ;
28323 char *kwnames
[] = {
28324 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:new_PyControl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
28328 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28329 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28330 arg2
= (int const) SWIG_AsInt(obj1
);
28331 if (PyErr_Occurred()) SWIG_fail
;
28335 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28341 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
28345 arg5
= (long) SWIG_AsLong(obj4
);
28346 if (PyErr_Occurred()) SWIG_fail
;
28349 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
28350 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28352 if (arg6
== NULL
) {
28353 PyErr_SetString(PyExc_TypeError
,"null reference");
28359 arg7
= wxString_in_helper(obj6
);
28360 if (arg7
== NULL
) SWIG_fail
;
28365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28366 result
= (wxPyControl
*)new wxPyControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
28368 wxPyEndAllowThreads(__tstate
);
28369 if (PyErr_Occurred()) SWIG_fail
;
28371 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControl
, 1);
28386 static PyObject
*_wrap_new_PrePyControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28387 PyObject
*resultobj
;
28388 wxPyControl
*result
;
28389 char *kwnames
[] = {
28393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyControl",kwnames
)) goto fail
;
28395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28396 result
= (wxPyControl
*)new wxPyControl();
28398 wxPyEndAllowThreads(__tstate
);
28399 if (PyErr_Occurred()) SWIG_fail
;
28401 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControl
, 1);
28408 static PyObject
*_wrap_PyControl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28409 PyObject
*resultobj
;
28410 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28411 PyObject
*arg2
= (PyObject
*) 0 ;
28412 PyObject
*arg3
= (PyObject
*) 0 ;
28413 PyObject
* obj0
= 0 ;
28414 PyObject
* obj1
= 0 ;
28415 PyObject
* obj2
= 0 ;
28416 char *kwnames
[] = {
28417 (char *) "self",(char *) "self",(char *) "_class", NULL
28420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28421 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28427 (arg1
)->_setCallbackInfo(arg2
,arg3
);
28429 wxPyEndAllowThreads(__tstate
);
28430 if (PyErr_Occurred()) SWIG_fail
;
28432 Py_INCREF(Py_None
); resultobj
= Py_None
;
28439 static PyObject
*_wrap_PyControl_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28440 PyObject
*resultobj
;
28441 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28446 PyObject
* obj0
= 0 ;
28447 PyObject
* obj1
= 0 ;
28448 PyObject
* obj2
= 0 ;
28449 PyObject
* obj3
= 0 ;
28450 PyObject
* obj4
= 0 ;
28451 char *kwnames
[] = {
28452 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
28455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyControl_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28458 arg2
= (int) SWIG_AsInt(obj1
);
28459 if (PyErr_Occurred()) SWIG_fail
;
28460 arg3
= (int) SWIG_AsInt(obj2
);
28461 if (PyErr_Occurred()) SWIG_fail
;
28462 arg4
= (int) SWIG_AsInt(obj3
);
28463 if (PyErr_Occurred()) SWIG_fail
;
28464 arg5
= (int) SWIG_AsInt(obj4
);
28465 if (PyErr_Occurred()) SWIG_fail
;
28467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28468 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
28470 wxPyEndAllowThreads(__tstate
);
28471 if (PyErr_Occurred()) SWIG_fail
;
28473 Py_INCREF(Py_None
); resultobj
= Py_None
;
28480 static PyObject
*_wrap_PyControl_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28481 PyObject
*resultobj
;
28482 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28487 int arg6
= (int) wxSIZE_AUTO
;
28488 PyObject
* obj0
= 0 ;
28489 PyObject
* obj1
= 0 ;
28490 PyObject
* obj2
= 0 ;
28491 PyObject
* obj3
= 0 ;
28492 PyObject
* obj4
= 0 ;
28493 PyObject
* obj5
= 0 ;
28494 char *kwnames
[] = {
28495 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
28498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyControl_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
28499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28501 arg2
= (int) SWIG_AsInt(obj1
);
28502 if (PyErr_Occurred()) SWIG_fail
;
28503 arg3
= (int) SWIG_AsInt(obj2
);
28504 if (PyErr_Occurred()) SWIG_fail
;
28505 arg4
= (int) SWIG_AsInt(obj3
);
28506 if (PyErr_Occurred()) SWIG_fail
;
28507 arg5
= (int) SWIG_AsInt(obj4
);
28508 if (PyErr_Occurred()) SWIG_fail
;
28510 arg6
= (int) SWIG_AsInt(obj5
);
28511 if (PyErr_Occurred()) SWIG_fail
;
28514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28515 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
28517 wxPyEndAllowThreads(__tstate
);
28518 if (PyErr_Occurred()) SWIG_fail
;
28520 Py_INCREF(Py_None
); resultobj
= Py_None
;
28527 static PyObject
*_wrap_PyControl_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28528 PyObject
*resultobj
;
28529 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28532 PyObject
* obj0
= 0 ;
28533 PyObject
* obj1
= 0 ;
28534 PyObject
* obj2
= 0 ;
28535 char *kwnames
[] = {
28536 (char *) "self",(char *) "width",(char *) "height", NULL
28539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28542 arg2
= (int) SWIG_AsInt(obj1
);
28543 if (PyErr_Occurred()) SWIG_fail
;
28544 arg3
= (int) SWIG_AsInt(obj2
);
28545 if (PyErr_Occurred()) SWIG_fail
;
28547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28548 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
28550 wxPyEndAllowThreads(__tstate
);
28551 if (PyErr_Occurred()) SWIG_fail
;
28553 Py_INCREF(Py_None
); resultobj
= Py_None
;
28560 static PyObject
*_wrap_PyControl_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28561 PyObject
*resultobj
;
28562 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28565 PyObject
* obj0
= 0 ;
28566 PyObject
* obj1
= 0 ;
28567 PyObject
* obj2
= 0 ;
28568 char *kwnames
[] = {
28569 (char *) "self",(char *) "x",(char *) "y", NULL
28572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28573 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28575 arg2
= (int) SWIG_AsInt(obj1
);
28576 if (PyErr_Occurred()) SWIG_fail
;
28577 arg3
= (int) SWIG_AsInt(obj2
);
28578 if (PyErr_Occurred()) SWIG_fail
;
28580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28581 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
28583 wxPyEndAllowThreads(__tstate
);
28584 if (PyErr_Occurred()) SWIG_fail
;
28586 Py_INCREF(Py_None
); resultobj
= Py_None
;
28593 static PyObject
*_wrap_PyControl_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28594 PyObject
*resultobj
;
28595 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28596 int *arg2
= (int *) 0 ;
28597 int *arg3
= (int *) 0 ;
28600 PyObject
* obj0
= 0 ;
28601 char *kwnames
[] = {
28602 (char *) "self", NULL
28607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
28608 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28612 ((wxPyControl
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
28614 wxPyEndAllowThreads(__tstate
);
28615 if (PyErr_Occurred()) SWIG_fail
;
28617 Py_INCREF(Py_None
); resultobj
= Py_None
;
28619 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
28620 resultobj
= t_output_helper(resultobj
,o
);
28623 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
28624 resultobj
= t_output_helper(resultobj
,o
);
28632 static PyObject
*_wrap_PyControl_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28633 PyObject
*resultobj
;
28634 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28635 int *arg2
= (int *) 0 ;
28636 int *arg3
= (int *) 0 ;
28639 PyObject
* obj0
= 0 ;
28640 char *kwnames
[] = {
28641 (char *) "self", NULL
28646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
28647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28651 ((wxPyControl
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
28653 wxPyEndAllowThreads(__tstate
);
28654 if (PyErr_Occurred()) SWIG_fail
;
28656 Py_INCREF(Py_None
); resultobj
= Py_None
;
28658 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
28659 resultobj
= t_output_helper(resultobj
,o
);
28662 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
28663 resultobj
= t_output_helper(resultobj
,o
);
28671 static PyObject
*_wrap_PyControl_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28672 PyObject
*resultobj
;
28673 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28674 int *arg2
= (int *) 0 ;
28675 int *arg3
= (int *) 0 ;
28678 PyObject
* obj0
= 0 ;
28679 char *kwnames
[] = {
28680 (char *) "self", NULL
28685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
28686 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28687 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28690 ((wxPyControl
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
28692 wxPyEndAllowThreads(__tstate
);
28693 if (PyErr_Occurred()) SWIG_fail
;
28695 Py_INCREF(Py_None
); resultobj
= Py_None
;
28697 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
28698 resultobj
= t_output_helper(resultobj
,o
);
28701 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
28702 resultobj
= t_output_helper(resultobj
,o
);
28710 static PyObject
*_wrap_PyControl_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28711 PyObject
*resultobj
;
28712 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28714 PyObject
* obj0
= 0 ;
28715 char *kwnames
[] = {
28716 (char *) "self", NULL
28719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
28720 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28724 result
= ((wxPyControl
const *)arg1
)->base_DoGetVirtualSize();
28726 wxPyEndAllowThreads(__tstate
);
28727 if (PyErr_Occurred()) SWIG_fail
;
28730 wxSize
* resultptr
;
28731 resultptr
= new wxSize((wxSize
&) result
);
28732 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
28740 static PyObject
*_wrap_PyControl_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28741 PyObject
*resultobj
;
28742 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28744 PyObject
* obj0
= 0 ;
28745 char *kwnames
[] = {
28746 (char *) "self", NULL
28749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
28750 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28754 result
= ((wxPyControl
const *)arg1
)->base_DoGetBestSize();
28756 wxPyEndAllowThreads(__tstate
);
28757 if (PyErr_Occurred()) SWIG_fail
;
28760 wxSize
* resultptr
;
28761 resultptr
= new wxSize((wxSize
&) result
);
28762 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
28770 static PyObject
*_wrap_PyControl_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28771 PyObject
*resultobj
;
28772 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28773 PyObject
* obj0
= 0 ;
28774 char *kwnames
[] = {
28775 (char *) "self", NULL
28778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_InitDialog",kwnames
,&obj0
)) goto fail
;
28779 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28783 (arg1
)->base_InitDialog();
28785 wxPyEndAllowThreads(__tstate
);
28786 if (PyErr_Occurred()) SWIG_fail
;
28788 Py_INCREF(Py_None
); resultobj
= Py_None
;
28795 static PyObject
*_wrap_PyControl_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28796 PyObject
*resultobj
;
28797 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28799 PyObject
* obj0
= 0 ;
28800 char *kwnames
[] = {
28801 (char *) "self", NULL
28804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
28805 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28809 result
= (bool)(arg1
)->base_TransferDataToWindow();
28811 wxPyEndAllowThreads(__tstate
);
28812 if (PyErr_Occurred()) SWIG_fail
;
28815 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28823 static PyObject
*_wrap_PyControl_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28824 PyObject
*resultobj
;
28825 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28827 PyObject
* obj0
= 0 ;
28828 char *kwnames
[] = {
28829 (char *) "self", NULL
28832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
28833 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28834 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28837 result
= (bool)(arg1
)->base_TransferDataFromWindow();
28839 wxPyEndAllowThreads(__tstate
);
28840 if (PyErr_Occurred()) SWIG_fail
;
28843 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28851 static PyObject
*_wrap_PyControl_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28852 PyObject
*resultobj
;
28853 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28855 PyObject
* obj0
= 0 ;
28856 char *kwnames
[] = {
28857 (char *) "self", NULL
28860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_Validate",kwnames
,&obj0
)) goto fail
;
28861 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28862 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28865 result
= (bool)(arg1
)->base_Validate();
28867 wxPyEndAllowThreads(__tstate
);
28868 if (PyErr_Occurred()) SWIG_fail
;
28871 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28879 static PyObject
*_wrap_PyControl_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28880 PyObject
*resultobj
;
28881 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28883 PyObject
* obj0
= 0 ;
28884 char *kwnames
[] = {
28885 (char *) "self", NULL
28888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
28889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28893 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocus();
28895 wxPyEndAllowThreads(__tstate
);
28896 if (PyErr_Occurred()) SWIG_fail
;
28899 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28907 static PyObject
*_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28908 PyObject
*resultobj
;
28909 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28911 PyObject
* obj0
= 0 ;
28912 char *kwnames
[] = {
28913 (char *) "self", NULL
28916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
28917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28921 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocusFromKeyboard();
28923 wxPyEndAllowThreads(__tstate
);
28924 if (PyErr_Occurred()) SWIG_fail
;
28927 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28935 static PyObject
*_wrap_PyControl_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28936 PyObject
*resultobj
;
28937 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28939 PyObject
* obj0
= 0 ;
28940 char *kwnames
[] = {
28941 (char *) "self", NULL
28944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
28945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28949 result
= ((wxPyControl
const *)arg1
)->base_GetMaxSize();
28951 wxPyEndAllowThreads(__tstate
);
28952 if (PyErr_Occurred()) SWIG_fail
;
28955 wxSize
* resultptr
;
28956 resultptr
= new wxSize((wxSize
&) result
);
28957 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
28965 static PyObject
*_wrap_PyControl_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28966 PyObject
*resultobj
;
28967 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28968 wxWindow
*arg2
= (wxWindow
*) 0 ;
28969 PyObject
* obj0
= 0 ;
28970 PyObject
* obj1
= 0 ;
28971 char *kwnames
[] = {
28972 (char *) "self",(char *) "child", NULL
28975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
28976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28978 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28982 (arg1
)->base_AddChild(arg2
);
28984 wxPyEndAllowThreads(__tstate
);
28985 if (PyErr_Occurred()) SWIG_fail
;
28987 Py_INCREF(Py_None
); resultobj
= Py_None
;
28994 static PyObject
*_wrap_PyControl_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28995 PyObject
*resultobj
;
28996 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28997 wxWindow
*arg2
= (wxWindow
*) 0 ;
28998 PyObject
* obj0
= 0 ;
28999 PyObject
* obj1
= 0 ;
29000 char *kwnames
[] = {
29001 (char *) "self",(char *) "child", NULL
29004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
29005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29007 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29011 (arg1
)->base_RemoveChild(arg2
);
29013 wxPyEndAllowThreads(__tstate
);
29014 if (PyErr_Occurred()) SWIG_fail
;
29016 Py_INCREF(Py_None
); resultobj
= Py_None
;
29023 static PyObject
*_wrap_PyControl_base_ShouldInheritColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29024 PyObject
*resultobj
;
29025 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29027 PyObject
* obj0
= 0 ;
29028 char *kwnames
[] = {
29029 (char *) "self", NULL
29032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
29033 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29037 result
= (bool)(arg1
)->base_ShouldInheritColours();
29039 wxPyEndAllowThreads(__tstate
);
29040 if (PyErr_Occurred()) SWIG_fail
;
29043 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29051 static PyObject
*_wrap_PyControl_base_ApplyParentThemeBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29052 PyObject
*resultobj
;
29053 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29054 wxColour
*arg2
= 0 ;
29056 PyObject
* obj0
= 0 ;
29057 PyObject
* obj1
= 0 ;
29058 char *kwnames
[] = {
29059 (char *) "self",(char *) "c", NULL
29062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
29063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29067 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29071 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
29073 wxPyEndAllowThreads(__tstate
);
29074 if (PyErr_Occurred()) SWIG_fail
;
29076 Py_INCREF(Py_None
); resultobj
= Py_None
;
29083 static PyObject
* PyControl_swigregister(PyObject
*self
, PyObject
*args
) {
29085 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29086 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl
, obj
);
29088 return Py_BuildValue((char *)"");
29090 static PyObject
*_wrap_new_HelpEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29091 PyObject
*resultobj
;
29092 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
29093 int arg2
= (int) 0 ;
29094 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
29095 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
29096 wxHelpEvent
*result
;
29098 PyObject
* obj0
= 0 ;
29099 PyObject
* obj1
= 0 ;
29100 PyObject
* obj2
= 0 ;
29101 char *kwnames
[] = {
29102 (char *) "type",(char *) "winid",(char *) "pt", NULL
29105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_HelpEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29107 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
29108 if (PyErr_Occurred()) SWIG_fail
;
29111 arg2
= (int) SWIG_AsInt(obj1
);
29112 if (PyErr_Occurred()) SWIG_fail
;
29117 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29122 result
= (wxHelpEvent
*)new wxHelpEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
29124 wxPyEndAllowThreads(__tstate
);
29125 if (PyErr_Occurred()) SWIG_fail
;
29127 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpEvent
, 1);
29134 static PyObject
*_wrap_HelpEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29135 PyObject
*resultobj
;
29136 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
29138 PyObject
* obj0
= 0 ;
29139 char *kwnames
[] = {
29140 (char *) "self", NULL
29143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
29144 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
29145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29148 result
= ((wxHelpEvent
const *)arg1
)->GetPosition();
29150 wxPyEndAllowThreads(__tstate
);
29151 if (PyErr_Occurred()) SWIG_fail
;
29154 wxPoint
* resultptr
;
29155 resultptr
= new wxPoint((wxPoint
&) result
);
29156 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
29164 static PyObject
*_wrap_HelpEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29165 PyObject
*resultobj
;
29166 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
29167 wxPoint
*arg2
= 0 ;
29169 PyObject
* obj0
= 0 ;
29170 PyObject
* obj1
= 0 ;
29171 char *kwnames
[] = {
29172 (char *) "self",(char *) "pos", NULL
29175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
29176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
29177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29180 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29184 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
29186 wxPyEndAllowThreads(__tstate
);
29187 if (PyErr_Occurred()) SWIG_fail
;
29189 Py_INCREF(Py_None
); resultobj
= Py_None
;
29196 static PyObject
*_wrap_HelpEvent_GetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29197 PyObject
*resultobj
;
29198 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
29200 PyObject
* obj0
= 0 ;
29201 char *kwnames
[] = {
29202 (char *) "self", NULL
29205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetLink",kwnames
,&obj0
)) goto fail
;
29206 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
29207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29211 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetLink();
29212 result
= (wxString
*) &_result_ref
;
29215 wxPyEndAllowThreads(__tstate
);
29216 if (PyErr_Occurred()) SWIG_fail
;
29220 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
29222 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
29231 static PyObject
*_wrap_HelpEvent_SetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29232 PyObject
*resultobj
;
29233 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
29234 wxString
*arg2
= 0 ;
29235 bool temp2
= False
;
29236 PyObject
* obj0
= 0 ;
29237 PyObject
* obj1
= 0 ;
29238 char *kwnames
[] = {
29239 (char *) "self",(char *) "link", NULL
29242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",kwnames
,&obj0
,&obj1
)) goto fail
;
29243 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
29244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29246 arg2
= wxString_in_helper(obj1
);
29247 if (arg2
== NULL
) SWIG_fail
;
29251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29252 (arg1
)->SetLink((wxString
const &)*arg2
);
29254 wxPyEndAllowThreads(__tstate
);
29255 if (PyErr_Occurred()) SWIG_fail
;
29257 Py_INCREF(Py_None
); resultobj
= Py_None
;
29272 static PyObject
*_wrap_HelpEvent_GetTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29273 PyObject
*resultobj
;
29274 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
29276 PyObject
* obj0
= 0 ;
29277 char *kwnames
[] = {
29278 (char *) "self", NULL
29281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetTarget",kwnames
,&obj0
)) goto fail
;
29282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
29283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29287 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetTarget();
29288 result
= (wxString
*) &_result_ref
;
29291 wxPyEndAllowThreads(__tstate
);
29292 if (PyErr_Occurred()) SWIG_fail
;
29296 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
29298 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
29307 static PyObject
*_wrap_HelpEvent_SetTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29308 PyObject
*resultobj
;
29309 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
29310 wxString
*arg2
= 0 ;
29311 bool temp2
= False
;
29312 PyObject
* obj0
= 0 ;
29313 PyObject
* obj1
= 0 ;
29314 char *kwnames
[] = {
29315 (char *) "self",(char *) "target", NULL
29318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
29319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
29320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29322 arg2
= wxString_in_helper(obj1
);
29323 if (arg2
== NULL
) SWIG_fail
;
29327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29328 (arg1
)->SetTarget((wxString
const &)*arg2
);
29330 wxPyEndAllowThreads(__tstate
);
29331 if (PyErr_Occurred()) SWIG_fail
;
29333 Py_INCREF(Py_None
); resultobj
= Py_None
;
29348 static PyObject
* HelpEvent_swigregister(PyObject
*self
, PyObject
*args
) {
29350 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29351 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent
, obj
);
29353 return Py_BuildValue((char *)"");
29355 static PyObject
*_wrap_new_ContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29356 PyObject
*resultobj
;
29357 wxWindow
*arg1
= (wxWindow
*) NULL
;
29358 bool arg2
= (bool) True
;
29359 wxContextHelp
*result
;
29360 PyObject
* obj0
= 0 ;
29361 PyObject
* obj1
= 0 ;
29362 char *kwnames
[] = {
29363 (char *) "window",(char *) "doNow", NULL
29366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
29368 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
29369 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29372 arg2
= (bool) SWIG_AsBool(obj1
);
29373 if (PyErr_Occurred()) SWIG_fail
;
29376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29377 result
= (wxContextHelp
*)new wxContextHelp(arg1
,arg2
);
29379 wxPyEndAllowThreads(__tstate
);
29380 if (PyErr_Occurred()) SWIG_fail
;
29382 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelp
, 1);
29389 static PyObject
*_wrap_delete_ContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29390 PyObject
*resultobj
;
29391 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
29392 PyObject
* obj0
= 0 ;
29393 char *kwnames
[] = {
29394 (char *) "self", NULL
29397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ContextHelp",kwnames
,&obj0
)) goto fail
;
29398 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextHelp
,
29399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29404 wxPyEndAllowThreads(__tstate
);
29405 if (PyErr_Occurred()) SWIG_fail
;
29407 Py_INCREF(Py_None
); resultobj
= Py_None
;
29414 static PyObject
*_wrap_ContextHelp_BeginContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29415 PyObject
*resultobj
;
29416 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
29417 wxWindow
*arg2
= (wxWindow
*) NULL
;
29419 PyObject
* obj0
= 0 ;
29420 PyObject
* obj1
= 0 ;
29421 char *kwnames
[] = {
29422 (char *) "self",(char *) "window", NULL
29425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
29426 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextHelp
,
29427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29429 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29434 result
= (bool)(arg1
)->BeginContextHelp(arg2
);
29436 wxPyEndAllowThreads(__tstate
);
29437 if (PyErr_Occurred()) SWIG_fail
;
29440 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29448 static PyObject
*_wrap_ContextHelp_EndContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29449 PyObject
*resultobj
;
29450 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
29452 PyObject
* obj0
= 0 ;
29453 char *kwnames
[] = {
29454 (char *) "self", NULL
29457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextHelp_EndContextHelp",kwnames
,&obj0
)) goto fail
;
29458 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextHelp
,
29459 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29462 result
= (bool)(arg1
)->EndContextHelp();
29464 wxPyEndAllowThreads(__tstate
);
29465 if (PyErr_Occurred()) SWIG_fail
;
29468 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29476 static PyObject
* ContextHelp_swigregister(PyObject
*self
, PyObject
*args
) {
29478 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29479 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp
, obj
);
29481 return Py_BuildValue((char *)"");
29483 static PyObject
*_wrap_new_ContextHelpButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29484 PyObject
*resultobj
;
29485 wxWindow
*arg1
= (wxWindow
*) 0 ;
29486 int arg2
= (int) wxID_CONTEXT_HELP
;
29487 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
29488 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
29489 wxSize
const &arg4_defvalue
= wxDefaultSize
;
29490 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
29491 long arg5
= (long) wxBU_AUTODRAW
;
29492 wxContextHelpButton
*result
;
29495 PyObject
* obj0
= 0 ;
29496 PyObject
* obj1
= 0 ;
29497 PyObject
* obj2
= 0 ;
29498 PyObject
* obj3
= 0 ;
29499 PyObject
* obj4
= 0 ;
29500 char *kwnames
[] = {
29501 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
29504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_ContextHelpButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
29506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29508 arg2
= (int) SWIG_AsInt(obj1
);
29509 if (PyErr_Occurred()) SWIG_fail
;
29514 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29520 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
29524 arg5
= (long) SWIG_AsLong(obj4
);
29525 if (PyErr_Occurred()) SWIG_fail
;
29528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29529 result
= (wxContextHelpButton
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
29531 wxPyEndAllowThreads(__tstate
);
29532 if (PyErr_Occurred()) SWIG_fail
;
29534 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelpButton
, 1);
29541 static PyObject
* ContextHelpButton_swigregister(PyObject
*self
, PyObject
*args
) {
29543 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29544 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton
, obj
);
29546 return Py_BuildValue((char *)"");
29548 static PyObject
*_wrap_HelpProvider_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29549 PyObject
*resultobj
;
29550 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
29551 wxHelpProvider
*result
;
29552 PyObject
* obj0
= 0 ;
29553 char *kwnames
[] = {
29554 (char *) "helpProvider", NULL
29557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) goto fail
;
29558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
29559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29562 result
= (wxHelpProvider
*)wxHelpProvider::Set(arg1
);
29564 wxPyEndAllowThreads(__tstate
);
29565 if (PyErr_Occurred()) SWIG_fail
;
29567 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 0);
29574 static PyObject
*_wrap_HelpProvider_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29575 PyObject
*resultobj
;
29576 wxHelpProvider
*result
;
29577 char *kwnames
[] = {
29581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":HelpProvider_Get",kwnames
)) goto fail
;
29583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29584 result
= (wxHelpProvider
*)wxHelpProvider::Get();
29586 wxPyEndAllowThreads(__tstate
);
29587 if (PyErr_Occurred()) SWIG_fail
;
29589 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 0);
29596 static PyObject
*_wrap_HelpProvider_GetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29597 PyObject
*resultobj
;
29598 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
29599 wxWindow
*arg2
= (wxWindow
*) 0 ;
29601 PyObject
* obj0
= 0 ;
29602 PyObject
* obj1
= 0 ;
29603 char *kwnames
[] = {
29604 (char *) "self",(char *) "window", NULL
29607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
29608 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
29609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29610 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29614 result
= (arg1
)->GetHelp((wxWindow
const *)arg2
);
29616 wxPyEndAllowThreads(__tstate
);
29617 if (PyErr_Occurred()) SWIG_fail
;
29621 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29623 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29632 static PyObject
*_wrap_HelpProvider_ShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29633 PyObject
*resultobj
;
29634 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
29635 wxWindow
*arg2
= (wxWindow
*) 0 ;
29637 PyObject
* obj0
= 0 ;
29638 PyObject
* obj1
= 0 ;
29639 char *kwnames
[] = {
29640 (char *) "self",(char *) "window", NULL
29643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
29644 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
29645 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29646 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29650 result
= (bool)(arg1
)->ShowHelp(arg2
);
29652 wxPyEndAllowThreads(__tstate
);
29653 if (PyErr_Occurred()) SWIG_fail
;
29656 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29664 static PyObject
*_wrap_HelpProvider_AddHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29665 PyObject
*resultobj
;
29666 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
29667 wxWindow
*arg2
= (wxWindow
*) 0 ;
29668 wxString
*arg3
= 0 ;
29669 bool temp3
= False
;
29670 PyObject
* obj0
= 0 ;
29671 PyObject
* obj1
= 0 ;
29672 PyObject
* obj2
= 0 ;
29673 char *kwnames
[] = {
29674 (char *) "self",(char *) "window",(char *) "text", NULL
29677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29678 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
29679 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29680 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29683 arg3
= wxString_in_helper(obj2
);
29684 if (arg3
== NULL
) SWIG_fail
;
29688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29689 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
29691 wxPyEndAllowThreads(__tstate
);
29692 if (PyErr_Occurred()) SWIG_fail
;
29694 Py_INCREF(Py_None
); resultobj
= Py_None
;
29709 static PyObject
*_wrap_HelpProvider_AddHelpById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29710 PyObject
*resultobj
;
29711 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
29713 wxString
*arg3
= 0 ;
29714 bool temp3
= False
;
29715 PyObject
* obj0
= 0 ;
29716 PyObject
* obj1
= 0 ;
29717 PyObject
* obj2
= 0 ;
29718 char *kwnames
[] = {
29719 (char *) "self",(char *) "id",(char *) "text", NULL
29722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelpById",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29723 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
29724 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29725 arg2
= (int) SWIG_AsInt(obj1
);
29726 if (PyErr_Occurred()) SWIG_fail
;
29728 arg3
= wxString_in_helper(obj2
);
29729 if (arg3
== NULL
) SWIG_fail
;
29733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29734 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
29736 wxPyEndAllowThreads(__tstate
);
29737 if (PyErr_Occurred()) SWIG_fail
;
29739 Py_INCREF(Py_None
); resultobj
= Py_None
;
29754 static PyObject
*_wrap_HelpProvider_RemoveHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29755 PyObject
*resultobj
;
29756 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
29757 wxWindow
*arg2
= (wxWindow
*) 0 ;
29758 PyObject
* obj0
= 0 ;
29759 PyObject
* obj1
= 0 ;
29760 char *kwnames
[] = {
29761 (char *) "self",(char *) "window", NULL
29764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_RemoveHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
29765 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
29766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29767 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29768 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29771 (arg1
)->RemoveHelp(arg2
);
29773 wxPyEndAllowThreads(__tstate
);
29774 if (PyErr_Occurred()) SWIG_fail
;
29776 Py_INCREF(Py_None
); resultobj
= Py_None
;
29783 static PyObject
*_wrap_HelpProvider_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29784 PyObject
*resultobj
;
29785 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
29786 PyObject
* obj0
= 0 ;
29787 char *kwnames
[] = {
29788 (char *) "self", NULL
29791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Destroy",kwnames
,&obj0
)) goto fail
;
29792 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
29793 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29796 wxHelpProvider_Destroy(arg1
);
29798 wxPyEndAllowThreads(__tstate
);
29799 if (PyErr_Occurred()) SWIG_fail
;
29801 Py_INCREF(Py_None
); resultobj
= Py_None
;
29808 static PyObject
* HelpProvider_swigregister(PyObject
*self
, PyObject
*args
) {
29810 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29811 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider
, obj
);
29813 return Py_BuildValue((char *)"");
29815 static PyObject
*_wrap_new_SimpleHelpProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29816 PyObject
*resultobj
;
29817 wxSimpleHelpProvider
*result
;
29818 char *kwnames
[] = {
29822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SimpleHelpProvider",kwnames
)) goto fail
;
29824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29825 result
= (wxSimpleHelpProvider
*)new wxSimpleHelpProvider();
29827 wxPyEndAllowThreads(__tstate
);
29828 if (PyErr_Occurred()) SWIG_fail
;
29830 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSimpleHelpProvider
, 1);
29837 static PyObject
* SimpleHelpProvider_swigregister(PyObject
*self
, PyObject
*args
) {
29839 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29840 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider
, obj
);
29842 return Py_BuildValue((char *)"");
29844 static PyObject
*_wrap_new_DragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29845 PyObject
*resultobj
;
29846 wxBitmap
*arg1
= 0 ;
29847 wxCursor
const &arg2_defvalue
= wxNullCursor
;
29848 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
29849 wxGenericDragImage
*result
;
29850 PyObject
* obj0
= 0 ;
29851 PyObject
* obj1
= 0 ;
29852 char *kwnames
[] = {
29853 (char *) "image",(char *) "cursor", NULL
29856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) goto fail
;
29857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
29858 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29860 if (arg1
== NULL
) {
29861 PyErr_SetString(PyExc_TypeError
,"null reference");
29865 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
29866 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29868 if (arg2
== NULL
) {
29869 PyErr_SetString(PyExc_TypeError
,"null reference");
29874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29875 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxBitmap
const &)*arg1
,(wxCursor
const &)*arg2
);
29877 wxPyEndAllowThreads(__tstate
);
29878 if (PyErr_Occurred()) SWIG_fail
;
29880 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
29887 static PyObject
*_wrap_new_DragIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29888 PyObject
*resultobj
;
29890 wxCursor
const &arg2_defvalue
= wxNullCursor
;
29891 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
29892 wxGenericDragImage
*result
;
29893 PyObject
* obj0
= 0 ;
29894 PyObject
* obj1
= 0 ;
29895 char *kwnames
[] = {
29896 (char *) "image",(char *) "cursor", NULL
29899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
29900 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
29901 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29903 if (arg1
== NULL
) {
29904 PyErr_SetString(PyExc_TypeError
,"null reference");
29908 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
29909 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29911 if (arg2
== NULL
) {
29912 PyErr_SetString(PyExc_TypeError
,"null reference");
29917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29918 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxIcon
const &)*arg1
,(wxCursor
const &)*arg2
);
29920 wxPyEndAllowThreads(__tstate
);
29921 if (PyErr_Occurred()) SWIG_fail
;
29923 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
29930 static PyObject
*_wrap_new_DragString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29931 PyObject
*resultobj
;
29932 wxString
*arg1
= 0 ;
29933 wxCursor
const &arg2_defvalue
= wxNullCursor
;
29934 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
29935 wxGenericDragImage
*result
;
29936 bool temp1
= False
;
29937 PyObject
* obj0
= 0 ;
29938 PyObject
* obj1
= 0 ;
29939 char *kwnames
[] = {
29940 (char *) "str",(char *) "cursor", NULL
29943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) goto fail
;
29945 arg1
= wxString_in_helper(obj0
);
29946 if (arg1
== NULL
) SWIG_fail
;
29950 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
29951 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29953 if (arg2
== NULL
) {
29954 PyErr_SetString(PyExc_TypeError
,"null reference");
29959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29960 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxString
const &)*arg1
,(wxCursor
const &)*arg2
);
29962 wxPyEndAllowThreads(__tstate
);
29963 if (PyErr_Occurred()) SWIG_fail
;
29965 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
29980 static PyObject
*_wrap_new_DragTreeItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29981 PyObject
*resultobj
;
29982 wxPyTreeCtrl
*arg1
= 0 ;
29983 wxTreeItemId
*arg2
= 0 ;
29984 wxGenericDragImage
*result
;
29985 PyObject
* obj0
= 0 ;
29986 PyObject
* obj1
= 0 ;
29987 char *kwnames
[] = {
29988 (char *) "treeCtrl",(char *) "id", NULL
29991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
29993 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29995 if (arg1
== NULL
) {
29996 PyErr_SetString(PyExc_TypeError
,"null reference");
29999 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
30000 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30002 if (arg2
== NULL
) {
30003 PyErr_SetString(PyExc_TypeError
,"null reference");
30007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30008 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyTreeCtrl
const &)*arg1
,*arg2
);
30010 wxPyEndAllowThreads(__tstate
);
30011 if (PyErr_Occurred()) SWIG_fail
;
30013 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
30020 static PyObject
*_wrap_new_DragListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30021 PyObject
*resultobj
;
30022 wxPyListCtrl
*arg1
= 0 ;
30024 wxGenericDragImage
*result
;
30025 PyObject
* obj0
= 0 ;
30026 PyObject
* obj1
= 0 ;
30027 char *kwnames
[] = {
30028 (char *) "listCtrl",(char *) "id", NULL
30031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragListItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
30033 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30035 if (arg1
== NULL
) {
30036 PyErr_SetString(PyExc_TypeError
,"null reference");
30039 arg2
= (long) SWIG_AsLong(obj1
);
30040 if (PyErr_Occurred()) SWIG_fail
;
30042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30043 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyListCtrl
const &)*arg1
,arg2
);
30045 wxPyEndAllowThreads(__tstate
);
30046 if (PyErr_Occurred()) SWIG_fail
;
30048 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
30055 static PyObject
*_wrap_delete_DragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30056 PyObject
*resultobj
;
30057 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30058 PyObject
* obj0
= 0 ;
30059 char *kwnames
[] = {
30060 (char *) "self", NULL
30063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DragImage",kwnames
,&obj0
)) goto fail
;
30064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30070 wxPyEndAllowThreads(__tstate
);
30071 if (PyErr_Occurred()) SWIG_fail
;
30073 Py_INCREF(Py_None
); resultobj
= Py_None
;
30080 static PyObject
*_wrap_DragImage_SetBackingBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30081 PyObject
*resultobj
;
30082 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30083 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
30084 PyObject
* obj0
= 0 ;
30085 PyObject
* obj1
= 0 ;
30086 char *kwnames
[] = {
30087 (char *) "self",(char *) "bitmap", NULL
30090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
30091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30093 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
30094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30097 (arg1
)->SetBackingBitmap(arg2
);
30099 wxPyEndAllowThreads(__tstate
);
30100 if (PyErr_Occurred()) SWIG_fail
;
30102 Py_INCREF(Py_None
); resultobj
= Py_None
;
30109 static PyObject
*_wrap_DragImage_BeginDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30110 PyObject
*resultobj
;
30111 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30112 wxPoint
*arg2
= 0 ;
30113 wxWindow
*arg3
= (wxWindow
*) 0 ;
30114 bool arg4
= (bool) False
;
30115 wxRect
*arg5
= (wxRect
*) NULL
;
30118 PyObject
* obj0
= 0 ;
30119 PyObject
* obj1
= 0 ;
30120 PyObject
* obj2
= 0 ;
30121 PyObject
* obj3
= 0 ;
30122 PyObject
* obj4
= 0 ;
30123 char *kwnames
[] = {
30124 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
30127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30132 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30134 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
30135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30137 arg4
= (bool) SWIG_AsBool(obj3
);
30138 if (PyErr_Occurred()) SWIG_fail
;
30141 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxRect
,
30142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30146 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
,arg5
);
30148 wxPyEndAllowThreads(__tstate
);
30149 if (PyErr_Occurred()) SWIG_fail
;
30152 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30160 static PyObject
*_wrap_DragImage_BeginDragBounded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30161 PyObject
*resultobj
;
30162 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30163 wxPoint
*arg2
= 0 ;
30164 wxWindow
*arg3
= (wxWindow
*) 0 ;
30165 wxWindow
*arg4
= (wxWindow
*) 0 ;
30168 PyObject
* obj0
= 0 ;
30169 PyObject
* obj1
= 0 ;
30170 PyObject
* obj2
= 0 ;
30171 PyObject
* obj3
= 0 ;
30172 char *kwnames
[] = {
30173 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
30176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30177 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30181 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30183 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
30184 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30185 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
30186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30189 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
);
30191 wxPyEndAllowThreads(__tstate
);
30192 if (PyErr_Occurred()) SWIG_fail
;
30195 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30203 static PyObject
*_wrap_DragImage_EndDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30204 PyObject
*resultobj
;
30205 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30207 PyObject
* obj0
= 0 ;
30208 char *kwnames
[] = {
30209 (char *) "self", NULL
30212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_EndDrag",kwnames
,&obj0
)) goto fail
;
30213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30217 result
= (bool)(arg1
)->EndDrag();
30219 wxPyEndAllowThreads(__tstate
);
30220 if (PyErr_Occurred()) SWIG_fail
;
30223 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30231 static PyObject
*_wrap_DragImage_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30232 PyObject
*resultobj
;
30233 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30234 wxPoint
*arg2
= 0 ;
30237 PyObject
* obj0
= 0 ;
30238 PyObject
* obj1
= 0 ;
30239 char *kwnames
[] = {
30240 (char *) "self",(char *) "pt", NULL
30243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
30244 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30245 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30248 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30252 result
= (bool)(arg1
)->Move((wxPoint
const &)*arg2
);
30254 wxPyEndAllowThreads(__tstate
);
30255 if (PyErr_Occurred()) SWIG_fail
;
30258 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30266 static PyObject
*_wrap_DragImage_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30267 PyObject
*resultobj
;
30268 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30270 PyObject
* obj0
= 0 ;
30271 char *kwnames
[] = {
30272 (char *) "self", NULL
30275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Show",kwnames
,&obj0
)) goto fail
;
30276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30280 result
= (bool)(arg1
)->Show();
30282 wxPyEndAllowThreads(__tstate
);
30283 if (PyErr_Occurred()) SWIG_fail
;
30286 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30294 static PyObject
*_wrap_DragImage_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30295 PyObject
*resultobj
;
30296 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30298 PyObject
* obj0
= 0 ;
30299 char *kwnames
[] = {
30300 (char *) "self", NULL
30303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Hide",kwnames
,&obj0
)) goto fail
;
30304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30308 result
= (bool)(arg1
)->Hide();
30310 wxPyEndAllowThreads(__tstate
);
30311 if (PyErr_Occurred()) SWIG_fail
;
30314 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30322 static PyObject
*_wrap_DragImage_GetImageRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30323 PyObject
*resultobj
;
30324 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30325 wxPoint
*arg2
= 0 ;
30328 PyObject
* obj0
= 0 ;
30329 PyObject
* obj1
= 0 ;
30330 char *kwnames
[] = {
30331 (char *) "self",(char *) "pos", NULL
30334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) goto fail
;
30335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30339 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30343 result
= ((wxGenericDragImage
const *)arg1
)->GetImageRect((wxPoint
const &)*arg2
);
30345 wxPyEndAllowThreads(__tstate
);
30346 if (PyErr_Occurred()) SWIG_fail
;
30349 wxRect
* resultptr
;
30350 resultptr
= new wxRect((wxRect
&) result
);
30351 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
30359 static PyObject
*_wrap_DragImage_DoDrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30360 PyObject
*resultobj
;
30361 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30363 wxPoint
*arg3
= 0 ;
30366 PyObject
* obj0
= 0 ;
30367 PyObject
* obj1
= 0 ;
30368 PyObject
* obj2
= 0 ;
30369 char *kwnames
[] = {
30370 (char *) "self",(char *) "dc",(char *) "pos", NULL
30373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30374 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30376 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
30377 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30379 if (arg2
== NULL
) {
30380 PyErr_SetString(PyExc_TypeError
,"null reference");
30385 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30389 result
= (bool)((wxGenericDragImage
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint
const &)*arg3
);
30391 wxPyEndAllowThreads(__tstate
);
30392 if (PyErr_Occurred()) SWIG_fail
;
30395 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30403 static PyObject
*_wrap_DragImage_UpdateBackingFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30404 PyObject
*resultobj
;
30405 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30407 wxMemoryDC
*arg3
= 0 ;
30413 PyObject
* obj0
= 0 ;
30414 PyObject
* obj1
= 0 ;
30415 PyObject
* obj2
= 0 ;
30416 PyObject
* obj3
= 0 ;
30417 PyObject
* obj4
= 0 ;
30418 char *kwnames
[] = {
30419 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
30422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30423 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30424 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30425 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
30426 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30428 if (arg2
== NULL
) {
30429 PyErr_SetString(PyExc_TypeError
,"null reference");
30432 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMemoryDC
,
30433 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30435 if (arg3
== NULL
) {
30436 PyErr_SetString(PyExc_TypeError
,"null reference");
30441 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
30445 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
30448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30449 result
= (bool)((wxGenericDragImage
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect
const &)*arg4
,(wxRect
const &)*arg5
);
30451 wxPyEndAllowThreads(__tstate
);
30452 if (PyErr_Occurred()) SWIG_fail
;
30455 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30463 static PyObject
*_wrap_DragImage_RedrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30464 PyObject
*resultobj
;
30465 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30466 wxPoint
*arg2
= 0 ;
30467 wxPoint
*arg3
= 0 ;
30473 PyObject
* obj0
= 0 ;
30474 PyObject
* obj1
= 0 ;
30475 PyObject
* obj2
= 0 ;
30476 PyObject
* obj3
= 0 ;
30477 PyObject
* obj4
= 0 ;
30478 char *kwnames
[] = {
30479 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
30482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30483 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30487 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30491 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30493 arg4
= (bool) SWIG_AsBool(obj3
);
30494 if (PyErr_Occurred()) SWIG_fail
;
30495 arg5
= (bool) SWIG_AsBool(obj4
);
30496 if (PyErr_Occurred()) SWIG_fail
;
30498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30499 result
= (bool)(arg1
)->RedrawImage((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
30501 wxPyEndAllowThreads(__tstate
);
30502 if (PyErr_Occurred()) SWIG_fail
;
30505 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30513 static PyObject
* DragImage_swigregister(PyObject
*self
, PyObject
*args
) {
30515 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30516 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage
, obj
);
30518 return Py_BuildValue((char *)"");
30520 static PyMethodDef SwigMethods
[] = {
30521 { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS
| METH_KEYWORDS
},
30522 { (char *)"new_PreButton", (PyCFunction
) _wrap_new_PreButton
, METH_VARARGS
| METH_KEYWORDS
},
30523 { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS
| METH_KEYWORDS
},
30524 { (char *)"Button_SetDefault", (PyCFunction
) _wrap_Button_SetDefault
, METH_VARARGS
| METH_KEYWORDS
},
30525 { (char *)"Button_GetDefaultSize", (PyCFunction
) _wrap_Button_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
30526 { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS
},
30527 { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS
| METH_KEYWORDS
},
30528 { (char *)"new_PreBitmapButton", (PyCFunction
) _wrap_new_PreBitmapButton
, METH_VARARGS
| METH_KEYWORDS
},
30529 { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
30530 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_GetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
30531 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_GetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
30532 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_GetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
30533 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_GetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
30534 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
30535 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
30536 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
30537 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
30538 { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
30539 { (char *)"BitmapButton_GetMarginX", (PyCFunction
) _wrap_BitmapButton_GetMarginX
, METH_VARARGS
| METH_KEYWORDS
},
30540 { (char *)"BitmapButton_GetMarginY", (PyCFunction
) _wrap_BitmapButton_GetMarginY
, METH_VARARGS
| METH_KEYWORDS
},
30541 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS
},
30542 { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS
| METH_KEYWORDS
},
30543 { (char *)"new_PreCheckBox", (PyCFunction
) _wrap_new_PreCheckBox
, METH_VARARGS
| METH_KEYWORDS
},
30544 { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
30545 { (char *)"CheckBox_GetValue", (PyCFunction
) _wrap_CheckBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
30546 { (char *)"CheckBox_IsChecked", (PyCFunction
) _wrap_CheckBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
30547 { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
30548 { (char *)"CheckBox_Get3StateValue", (PyCFunction
) _wrap_CheckBox_Get3StateValue
, METH_VARARGS
| METH_KEYWORDS
},
30549 { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS
| METH_KEYWORDS
},
30550 { (char *)"CheckBox_Is3State", (PyCFunction
) _wrap_CheckBox_Is3State
, METH_VARARGS
| METH_KEYWORDS
},
30551 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
) _wrap_CheckBox_Is3rdStateAllowedForUser
, METH_VARARGS
| METH_KEYWORDS
},
30552 { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS
},
30553 { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS
| METH_KEYWORDS
},
30554 { (char *)"new_PreChoice", (PyCFunction
) _wrap_new_PreChoice
, METH_VARARGS
| METH_KEYWORDS
},
30555 { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS
| METH_KEYWORDS
},
30556 { (char *)"Choice_SetSelection", (PyCFunction
) _wrap_Choice_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30557 { (char *)"Choice_SetStringSelection", (PyCFunction
) _wrap_Choice_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
30558 { (char *)"Choice_SetString", (PyCFunction
) _wrap_Choice_SetString
, METH_VARARGS
| METH_KEYWORDS
},
30559 { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS
},
30560 { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS
| METH_KEYWORDS
},
30561 { (char *)"new_PreComboBox", (PyCFunction
) _wrap_new_PreComboBox
, METH_VARARGS
| METH_KEYWORDS
},
30562 { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
30563 { (char *)"ComboBox_GetValue", (PyCFunction
) _wrap_ComboBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
30564 { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
30565 { (char *)"ComboBox_Copy", (PyCFunction
) _wrap_ComboBox_Copy
, METH_VARARGS
| METH_KEYWORDS
},
30566 { (char *)"ComboBox_Cut", (PyCFunction
) _wrap_ComboBox_Cut
, METH_VARARGS
| METH_KEYWORDS
},
30567 { (char *)"ComboBox_Paste", (PyCFunction
) _wrap_ComboBox_Paste
, METH_VARARGS
| METH_KEYWORDS
},
30568 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
30569 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
) _wrap_ComboBox_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
30570 { (char *)"ComboBox_GetLastPosition", (PyCFunction
) _wrap_ComboBox_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
30571 { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
},
30572 { (char *)"ComboBox_SetSelection", (PyCFunction
) _wrap_ComboBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30573 { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
},
30574 { (char *)"ComboBox_SetStringSelection", (PyCFunction
) _wrap_ComboBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
30575 { (char *)"ComboBox_SetString", (PyCFunction
) _wrap_ComboBox_SetString
, METH_VARARGS
| METH_KEYWORDS
},
30576 { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
30577 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
) _wrap_ComboBox_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
30578 { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
},
30579 { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS
},
30580 { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS
| METH_KEYWORDS
},
30581 { (char *)"new_PreGauge", (PyCFunction
) _wrap_new_PreGauge
, METH_VARARGS
| METH_KEYWORDS
},
30582 { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS
| METH_KEYWORDS
},
30583 { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
30584 { (char *)"Gauge_GetRange", (PyCFunction
) _wrap_Gauge_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
30585 { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
30586 { (char *)"Gauge_GetValue", (PyCFunction
) _wrap_Gauge_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
30587 { (char *)"Gauge_IsVertical", (PyCFunction
) _wrap_Gauge_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
30588 { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
30589 { (char *)"Gauge_GetShadowWidth", (PyCFunction
) _wrap_Gauge_GetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
30590 { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
30591 { (char *)"Gauge_GetBezelFace", (PyCFunction
) _wrap_Gauge_GetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
30592 { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS
},
30593 { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS
| METH_KEYWORDS
},
30594 { (char *)"new_PreStaticBox", (PyCFunction
) _wrap_new_PreStaticBox
, METH_VARARGS
| METH_KEYWORDS
},
30595 { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
30596 { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS
},
30597 { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS
| METH_KEYWORDS
},
30598 { (char *)"new_PreStaticLine", (PyCFunction
) _wrap_new_PreStaticLine
, METH_VARARGS
| METH_KEYWORDS
},
30599 { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
},
30600 { (char *)"StaticLine_IsVertical", (PyCFunction
) _wrap_StaticLine_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
30601 { (char *)"StaticLine_GetDefaultSize", (PyCFunction
) _wrap_StaticLine_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
30602 { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS
},
30603 { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS
| METH_KEYWORDS
},
30604 { (char *)"new_PreStaticText", (PyCFunction
) _wrap_new_PreStaticText
, METH_VARARGS
| METH_KEYWORDS
},
30605 { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS
| METH_KEYWORDS
},
30606 { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS
},
30607 { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS
| METH_KEYWORDS
},
30608 { (char *)"new_PreStaticBitmap", (PyCFunction
) _wrap_new_PreStaticBitmap
, METH_VARARGS
| METH_KEYWORDS
},
30609 { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
},
30610 { (char *)"StaticBitmap_GetBitmap", (PyCFunction
) _wrap_StaticBitmap_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
30611 { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
30612 { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
30613 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS
},
30614 { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS
| METH_KEYWORDS
},
30615 { (char *)"new_PreListBox", (PyCFunction
) _wrap_new_PreListBox
, METH_VARARGS
| METH_KEYWORDS
},
30616 { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
30617 { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS
| METH_KEYWORDS
},
30618 { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
},
30619 { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS
| METH_KEYWORDS
},
30620 { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
30621 { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30622 { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS
| METH_KEYWORDS
},
30623 { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
},
30624 { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
},
30625 { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
30626 { (char *)"ListBox_GetSelections", (PyCFunction
) _wrap_ListBox_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
30627 { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
},
30628 { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
},
30629 { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
30630 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
30631 { (char *)"ListBox_IsSorted", (PyCFunction
) _wrap_ListBox_IsSorted
, METH_VARARGS
| METH_KEYWORDS
},
30632 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction
) _wrap_ListBox_SetItemForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30633 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction
) _wrap_ListBox_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30634 { (char *)"ListBox_SetItemFont", (PyCFunction
) _wrap_ListBox_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
30635 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
30636 { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS
},
30637 { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS
| METH_KEYWORDS
},
30638 { (char *)"new_PreCheckListBox", (PyCFunction
) _wrap_new_PreCheckListBox
, METH_VARARGS
| METH_KEYWORDS
},
30639 { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
30640 { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
30641 { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
},
30642 { (char *)"CheckListBox_GetItemHeight", (PyCFunction
) _wrap_CheckListBox_GetItemHeight
, METH_VARARGS
| METH_KEYWORDS
},
30643 { (char *)"CheckListBox_HitTest", (PyCFunction
) _wrap_CheckListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
30644 { (char *)"CheckListBox_HitTestXY", (PyCFunction
) _wrap_CheckListBox_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
},
30645 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS
},
30646 { (char *)"new_TextAttr", _wrap_new_TextAttr
, METH_VARARGS
},
30647 { (char *)"delete_TextAttr", (PyCFunction
) _wrap_delete_TextAttr
, METH_VARARGS
| METH_KEYWORDS
},
30648 { (char *)"TextAttr_Init", (PyCFunction
) _wrap_TextAttr_Init
, METH_VARARGS
| METH_KEYWORDS
},
30649 { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30650 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30651 { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
30652 { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
30653 { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
},
30654 { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
30655 { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
30656 { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
30657 { (char *)"TextAttr_HasTextColour", (PyCFunction
) _wrap_TextAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30658 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
) _wrap_TextAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30659 { (char *)"TextAttr_HasFont", (PyCFunction
) _wrap_TextAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
30660 { (char *)"TextAttr_HasAlignment", (PyCFunction
) _wrap_TextAttr_HasAlignment
, METH_VARARGS
| METH_KEYWORDS
},
30661 { (char *)"TextAttr_HasTabs", (PyCFunction
) _wrap_TextAttr_HasTabs
, METH_VARARGS
| METH_KEYWORDS
},
30662 { (char *)"TextAttr_HasLeftIndent", (PyCFunction
) _wrap_TextAttr_HasLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
30663 { (char *)"TextAttr_HasRightIndent", (PyCFunction
) _wrap_TextAttr_HasRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
30664 { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
},
30665 { (char *)"TextAttr_GetTextColour", (PyCFunction
) _wrap_TextAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30666 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
) _wrap_TextAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30667 { (char *)"TextAttr_GetFont", (PyCFunction
) _wrap_TextAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
30668 { (char *)"TextAttr_GetAlignment", (PyCFunction
) _wrap_TextAttr_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
30669 { (char *)"TextAttr_GetTabs", (PyCFunction
) _wrap_TextAttr_GetTabs
, METH_VARARGS
| METH_KEYWORDS
},
30670 { (char *)"TextAttr_GetLeftIndent", (PyCFunction
) _wrap_TextAttr_GetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
30671 { (char *)"TextAttr_GetRightIndent", (PyCFunction
) _wrap_TextAttr_GetRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
30672 { (char *)"TextAttr_GetFlags", (PyCFunction
) _wrap_TextAttr_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
30673 { (char *)"TextAttr_IsDefault", (PyCFunction
) _wrap_TextAttr_IsDefault
, METH_VARARGS
| METH_KEYWORDS
},
30674 { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
},
30675 { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS
},
30676 { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30677 { (char *)"new_PreTextCtrl", (PyCFunction
) _wrap_new_PreTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30678 { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
30679 { (char *)"TextCtrl_GetValue", (PyCFunction
) _wrap_TextCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
30680 { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
30681 { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
30682 { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
},
30683 { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
},
30684 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
) _wrap_TextCtrl_GetNumberOfLines
, METH_VARARGS
| METH_KEYWORDS
},
30685 { (char *)"TextCtrl_IsModified", (PyCFunction
) _wrap_TextCtrl_IsModified
, METH_VARARGS
| METH_KEYWORDS
},
30686 { (char *)"TextCtrl_IsEditable", (PyCFunction
) _wrap_TextCtrl_IsEditable
, METH_VARARGS
| METH_KEYWORDS
},
30687 { (char *)"TextCtrl_IsSingleLine", (PyCFunction
) _wrap_TextCtrl_IsSingleLine
, METH_VARARGS
| METH_KEYWORDS
},
30688 { (char *)"TextCtrl_IsMultiLine", (PyCFunction
) _wrap_TextCtrl_IsMultiLine
, METH_VARARGS
| METH_KEYWORDS
},
30689 { (char *)"TextCtrl_GetSelection", (PyCFunction
) _wrap_TextCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30690 { (char *)"TextCtrl_GetStringSelection", (PyCFunction
) _wrap_TextCtrl_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
30691 { (char *)"TextCtrl_Clear", (PyCFunction
) _wrap_TextCtrl_Clear
, METH_VARARGS
| METH_KEYWORDS
},
30692 { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
},
30693 { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
},
30694 { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
30695 { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
30696 { (char *)"TextCtrl_MarkDirty", (PyCFunction
) _wrap_TextCtrl_MarkDirty
, METH_VARARGS
| METH_KEYWORDS
},
30697 { (char *)"TextCtrl_DiscardEdits", (PyCFunction
) _wrap_TextCtrl_DiscardEdits
, METH_VARARGS
| METH_KEYWORDS
},
30698 { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
},
30699 { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
},
30700 { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
},
30701 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
},
30702 { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
30703 { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
30704 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
},
30705 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_GetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
},
30706 { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
},
30707 { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
},
30708 { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
},
30709 { (char *)"TextCtrl_HitTest", (PyCFunction
) _wrap_TextCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
30710 { (char *)"TextCtrl_Copy", (PyCFunction
) _wrap_TextCtrl_Copy
, METH_VARARGS
| METH_KEYWORDS
},
30711 { (char *)"TextCtrl_Cut", (PyCFunction
) _wrap_TextCtrl_Cut
, METH_VARARGS
| METH_KEYWORDS
},
30712 { (char *)"TextCtrl_Paste", (PyCFunction
) _wrap_TextCtrl_Paste
, METH_VARARGS
| METH_KEYWORDS
},
30713 { (char *)"TextCtrl_CanCopy", (PyCFunction
) _wrap_TextCtrl_CanCopy
, METH_VARARGS
| METH_KEYWORDS
},
30714 { (char *)"TextCtrl_CanCut", (PyCFunction
) _wrap_TextCtrl_CanCut
, METH_VARARGS
| METH_KEYWORDS
},
30715 { (char *)"TextCtrl_CanPaste", (PyCFunction
) _wrap_TextCtrl_CanPaste
, METH_VARARGS
| METH_KEYWORDS
},
30716 { (char *)"TextCtrl_Undo", (PyCFunction
) _wrap_TextCtrl_Undo
, METH_VARARGS
| METH_KEYWORDS
},
30717 { (char *)"TextCtrl_Redo", (PyCFunction
) _wrap_TextCtrl_Redo
, METH_VARARGS
| METH_KEYWORDS
},
30718 { (char *)"TextCtrl_CanUndo", (PyCFunction
) _wrap_TextCtrl_CanUndo
, METH_VARARGS
| METH_KEYWORDS
},
30719 { (char *)"TextCtrl_CanRedo", (PyCFunction
) _wrap_TextCtrl_CanRedo
, METH_VARARGS
| METH_KEYWORDS
},
30720 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
30721 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
) _wrap_TextCtrl_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
30722 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
30723 { (char *)"TextCtrl_GetLastPosition", (PyCFunction
) _wrap_TextCtrl_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
30724 { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30725 { (char *)"TextCtrl_SelectAll", (PyCFunction
) _wrap_TextCtrl_SelectAll
, METH_VARARGS
| METH_KEYWORDS
},
30726 { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
30727 { (char *)"TextCtrl_ShowNativeCaret", (PyCFunction
) _wrap_TextCtrl_ShowNativeCaret
, METH_VARARGS
| METH_KEYWORDS
},
30728 { (char *)"TextCtrl_HideNativeCaret", (PyCFunction
) _wrap_TextCtrl_HideNativeCaret
, METH_VARARGS
| METH_KEYWORDS
},
30729 { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
},
30730 { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
},
30731 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS
},
30732 { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
},
30733 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
) _wrap_TextUrlEvent_GetMouseEvent
, METH_VARARGS
| METH_KEYWORDS
},
30734 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
) _wrap_TextUrlEvent_GetURLStart
, METH_VARARGS
| METH_KEYWORDS
},
30735 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
) _wrap_TextUrlEvent_GetURLEnd
, METH_VARARGS
| METH_KEYWORDS
},
30736 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS
},
30737 { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
30738 { (char *)"new_PreScrollBar", (PyCFunction
) _wrap_new_PreScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
30739 { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
30740 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
) _wrap_ScrollBar_GetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
30741 { (char *)"ScrollBar_GetThumbSize", (PyCFunction
) _wrap_ScrollBar_GetThumbSize
, METH_VARARGS
| METH_KEYWORDS
},
30742 { (char *)"ScrollBar_GetPageSize", (PyCFunction
) _wrap_ScrollBar_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
30743 { (char *)"ScrollBar_GetRange", (PyCFunction
) _wrap_ScrollBar_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
30744 { (char *)"ScrollBar_IsVertical", (PyCFunction
) _wrap_ScrollBar_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
30745 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
30746 { (char *)"ScrollBar_SetScrollbar", (PyCFunction
) _wrap_ScrollBar_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
30747 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS
},
30748 { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS
| METH_KEYWORDS
},
30749 { (char *)"new_PreSpinButton", (PyCFunction
) _wrap_new_PreSpinButton
, METH_VARARGS
| METH_KEYWORDS
},
30750 { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
30751 { (char *)"SpinButton_GetValue", (PyCFunction
) _wrap_SpinButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
30752 { (char *)"SpinButton_GetMin", (PyCFunction
) _wrap_SpinButton_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
30753 { (char *)"SpinButton_GetMax", (PyCFunction
) _wrap_SpinButton_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
30754 { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
30755 { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS
| METH_KEYWORDS
},
30756 { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS
| METH_KEYWORDS
},
30757 { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
30758 { (char *)"SpinButton_IsVertical", (PyCFunction
) _wrap_SpinButton_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
30759 { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS
},
30760 { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30761 { (char *)"new_PreSpinCtrl", (PyCFunction
) _wrap_new_PreSpinCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30762 { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
30763 { (char *)"SpinCtrl_GetValue", (PyCFunction
) _wrap_SpinCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
30764 { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
30765 { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS
| METH_KEYWORDS
},
30766 { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
30767 { (char *)"SpinCtrl_GetMin", (PyCFunction
) _wrap_SpinCtrl_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
30768 { (char *)"SpinCtrl_GetMax", (PyCFunction
) _wrap_SpinCtrl_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
30769 { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30770 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS
},
30771 { (char *)"new_SpinEvent", (PyCFunction
) _wrap_new_SpinEvent
, METH_VARARGS
| METH_KEYWORDS
},
30772 { (char *)"SpinEvent_GetPosition", (PyCFunction
) _wrap_SpinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
30773 { (char *)"SpinEvent_SetPosition", (PyCFunction
) _wrap_SpinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
30774 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister
, METH_VARARGS
},
30775 { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS
| METH_KEYWORDS
},
30776 { (char *)"new_PreRadioBox", (PyCFunction
) _wrap_new_PreRadioBox
, METH_VARARGS
| METH_KEYWORDS
},
30777 { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
30778 { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30779 { (char *)"RadioBox_GetSelection", (PyCFunction
) _wrap_RadioBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30780 { (char *)"RadioBox_GetStringSelection", (PyCFunction
) _wrap_RadioBox_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
30781 { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
30782 { (char *)"RadioBox_GetCount", (PyCFunction
) _wrap_RadioBox_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
30783 { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
},
30784 { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
},
30785 { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
},
30786 { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
},
30787 { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
},
30788 { (char *)"RadioBox_GetColumnCount", (PyCFunction
) _wrap_RadioBox_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
},
30789 { (char *)"RadioBox_GetRowCount", (PyCFunction
) _wrap_RadioBox_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
},
30790 { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
},
30791 { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS
},
30792 { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS
| METH_KEYWORDS
},
30793 { (char *)"new_PreRadioButton", (PyCFunction
) _wrap_new_PreRadioButton
, METH_VARARGS
| METH_KEYWORDS
},
30794 { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
30795 { (char *)"RadioButton_GetValue", (PyCFunction
) _wrap_RadioButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
30796 { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
30797 { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS
},
30798 { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS
| METH_KEYWORDS
},
30799 { (char *)"new_PreSlider", (PyCFunction
) _wrap_new_PreSlider
, METH_VARARGS
| METH_KEYWORDS
},
30800 { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS
| METH_KEYWORDS
},
30801 { (char *)"Slider_GetValue", (PyCFunction
) _wrap_Slider_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
30802 { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
30803 { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
30804 { (char *)"Slider_GetMin", (PyCFunction
) _wrap_Slider_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
30805 { (char *)"Slider_GetMax", (PyCFunction
) _wrap_Slider_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
30806 { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS
| METH_KEYWORDS
},
30807 { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS
| METH_KEYWORDS
},
30808 { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
30809 { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
30810 { (char *)"Slider_GetLineSize", (PyCFunction
) _wrap_Slider_GetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
30811 { (char *)"Slider_GetPageSize", (PyCFunction
) _wrap_Slider_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
30812 { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
30813 { (char *)"Slider_GetThumbLength", (PyCFunction
) _wrap_Slider_GetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
30814 { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
30815 { (char *)"Slider_GetTickFreq", (PyCFunction
) _wrap_Slider_GetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
30816 { (char *)"Slider_ClearTicks", (PyCFunction
) _wrap_Slider_ClearTicks
, METH_VARARGS
| METH_KEYWORDS
},
30817 { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS
| METH_KEYWORDS
},
30818 { (char *)"Slider_ClearSel", (PyCFunction
) _wrap_Slider_ClearSel
, METH_VARARGS
| METH_KEYWORDS
},
30819 { (char *)"Slider_GetSelEnd", (PyCFunction
) _wrap_Slider_GetSelEnd
, METH_VARARGS
| METH_KEYWORDS
},
30820 { (char *)"Slider_GetSelStart", (PyCFunction
) _wrap_Slider_GetSelStart
, METH_VARARGS
| METH_KEYWORDS
},
30821 { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30822 { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS
},
30823 { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS
| METH_KEYWORDS
},
30824 { (char *)"new_PreToggleButton", (PyCFunction
) _wrap_new_PreToggleButton
, METH_VARARGS
| METH_KEYWORDS
},
30825 { (char *)"ToggleButton_Create", (PyCFunction
) _wrap_ToggleButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
30826 { (char *)"ToggleButton_SetValue", (PyCFunction
) _wrap_ToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
30827 { (char *)"ToggleButton_GetValue", (PyCFunction
) _wrap_ToggleButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
30828 { (char *)"ToggleButton_SetLabel", (PyCFunction
) _wrap_ToggleButton_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
30829 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS
},
30830 { (char *)"BookCtrl_GetPageCount", (PyCFunction
) _wrap_BookCtrl_GetPageCount
, METH_VARARGS
| METH_KEYWORDS
},
30831 { (char *)"BookCtrl_GetPage", (PyCFunction
) _wrap_BookCtrl_GetPage
, METH_VARARGS
| METH_KEYWORDS
},
30832 { (char *)"BookCtrl_GetSelection", (PyCFunction
) _wrap_BookCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30833 { (char *)"BookCtrl_SetPageText", (PyCFunction
) _wrap_BookCtrl_SetPageText
, METH_VARARGS
| METH_KEYWORDS
},
30834 { (char *)"BookCtrl_GetPageText", (PyCFunction
) _wrap_BookCtrl_GetPageText
, METH_VARARGS
| METH_KEYWORDS
},
30835 { (char *)"BookCtrl_SetImageList", (PyCFunction
) _wrap_BookCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
30836 { (char *)"BookCtrl_AssignImageList", (PyCFunction
) _wrap_BookCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
30837 { (char *)"BookCtrl_GetImageList", (PyCFunction
) _wrap_BookCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
30838 { (char *)"BookCtrl_GetPageImage", (PyCFunction
) _wrap_BookCtrl_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
30839 { (char *)"BookCtrl_SetPageImage", (PyCFunction
) _wrap_BookCtrl_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
30840 { (char *)"BookCtrl_SetPageSize", (PyCFunction
) _wrap_BookCtrl_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
30841 { (char *)"BookCtrl_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrl_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
},
30842 { (char *)"BookCtrl_DeletePage", (PyCFunction
) _wrap_BookCtrl_DeletePage
, METH_VARARGS
| METH_KEYWORDS
},
30843 { (char *)"BookCtrl_RemovePage", (PyCFunction
) _wrap_BookCtrl_RemovePage
, METH_VARARGS
| METH_KEYWORDS
},
30844 { (char *)"BookCtrl_DeleteAllPages", (PyCFunction
) _wrap_BookCtrl_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
},
30845 { (char *)"BookCtrl_AddPage", (PyCFunction
) _wrap_BookCtrl_AddPage
, METH_VARARGS
| METH_KEYWORDS
},
30846 { (char *)"BookCtrl_InsertPage", (PyCFunction
) _wrap_BookCtrl_InsertPage
, METH_VARARGS
| METH_KEYWORDS
},
30847 { (char *)"BookCtrl_SetSelection", (PyCFunction
) _wrap_BookCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30848 { (char *)"BookCtrl_AdvanceSelection", (PyCFunction
) _wrap_BookCtrl_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
},
30849 { (char *)"BookCtrl_swigregister", BookCtrl_swigregister
, METH_VARARGS
},
30850 { (char *)"new_BookCtrlEvent", (PyCFunction
) _wrap_new_BookCtrlEvent
, METH_VARARGS
| METH_KEYWORDS
},
30851 { (char *)"BookCtrlEvent_GetSelection", (PyCFunction
) _wrap_BookCtrlEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30852 { (char *)"BookCtrlEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30853 { (char *)"BookCtrlEvent_GetOldSelection", (PyCFunction
) _wrap_BookCtrlEvent_GetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
30854 { (char *)"BookCtrlEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
30855 { (char *)"BookCtrlEvent_swigregister", BookCtrlEvent_swigregister
, METH_VARARGS
},
30856 { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS
| METH_KEYWORDS
},
30857 { (char *)"new_PreNotebook", (PyCFunction
) _wrap_new_PreNotebook
, METH_VARARGS
| METH_KEYWORDS
},
30858 { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS
| METH_KEYWORDS
},
30859 { (char *)"Notebook_GetRowCount", (PyCFunction
) _wrap_Notebook_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
},
30860 { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
},
30861 { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
},
30862 { (char *)"Notebook_HitTest", (PyCFunction
) _wrap_Notebook_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
30863 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction
) _wrap_Notebook_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
},
30864 { (char *)"Notebook_ApplyThemeBackground", (PyCFunction
) _wrap_Notebook_ApplyThemeBackground
, METH_VARARGS
| METH_KEYWORDS
},
30865 { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS
},
30866 { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS
| METH_KEYWORDS
},
30867 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS
},
30868 { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS
| METH_KEYWORDS
},
30869 { (char *)"new_PreListbook", (PyCFunction
) _wrap_new_PreListbook
, METH_VARARGS
| METH_KEYWORDS
},
30870 { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS
| METH_KEYWORDS
},
30871 { (char *)"Listbook_IsVertical", (PyCFunction
) _wrap_Listbook_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
30872 { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS
},
30873 { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS
| METH_KEYWORDS
},
30874 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS
},
30875 { (char *)"new_BookCtrlSizer", (PyCFunction
) _wrap_new_BookCtrlSizer
, METH_VARARGS
| METH_KEYWORDS
},
30876 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction
) _wrap_BookCtrlSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
30877 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction
) _wrap_BookCtrlSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
30878 { (char *)"BookCtrlSizer_GetControl", (PyCFunction
) _wrap_BookCtrlSizer_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
30879 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister
, METH_VARARGS
},
30880 { (char *)"new_NotebookSizer", (PyCFunction
) _wrap_new_NotebookSizer
, METH_VARARGS
| METH_KEYWORDS
},
30881 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction
) _wrap_NotebookSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
30882 { (char *)"NotebookSizer_CalcMin", (PyCFunction
) _wrap_NotebookSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
30883 { (char *)"NotebookSizer_GetNotebook", (PyCFunction
) _wrap_NotebookSizer_GetNotebook
, METH_VARARGS
| METH_KEYWORDS
},
30884 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister
, METH_VARARGS
},
30885 { (char *)"ToolBarToolBase_GetId", (PyCFunction
) _wrap_ToolBarToolBase_GetId
, METH_VARARGS
| METH_KEYWORDS
},
30886 { (char *)"ToolBarToolBase_GetControl", (PyCFunction
) _wrap_ToolBarToolBase_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
30887 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
) _wrap_ToolBarToolBase_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
30888 { (char *)"ToolBarToolBase_IsButton", (PyCFunction
) _wrap_ToolBarToolBase_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
30889 { (char *)"ToolBarToolBase_IsControl", (PyCFunction
) _wrap_ToolBarToolBase_IsControl
, METH_VARARGS
| METH_KEYWORDS
},
30890 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
) _wrap_ToolBarToolBase_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
},
30891 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
) _wrap_ToolBarToolBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
30892 { (char *)"ToolBarToolBase_GetKind", (PyCFunction
) _wrap_ToolBarToolBase_GetKind
, METH_VARARGS
| METH_KEYWORDS
},
30893 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
) _wrap_ToolBarToolBase_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
30894 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
) _wrap_ToolBarToolBase_IsToggled
, METH_VARARGS
| METH_KEYWORDS
},
30895 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
) _wrap_ToolBarToolBase_CanBeToggled
, METH_VARARGS
| METH_KEYWORDS
},
30896 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
},
30897 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
},
30898 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
30899 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
) _wrap_ToolBarToolBase_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
30900 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
30901 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
30902 { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
},
30903 { (char *)"ToolBarToolBase_Toggle", (PyCFunction
) _wrap_ToolBarToolBase_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
30904 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
},
30905 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
30906 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
30907 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
},
30908 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
},
30909 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
30910 { (char *)"ToolBarToolBase_Detach", (PyCFunction
) _wrap_ToolBarToolBase_Detach
, METH_VARARGS
| METH_KEYWORDS
},
30911 { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
},
30912 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
) _wrap_ToolBarToolBase_GetClientData
, METH_VARARGS
| METH_KEYWORDS
},
30913 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
},
30914 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS
},
30915 { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS
| METH_KEYWORDS
},
30916 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS
| METH_KEYWORDS
},
30917 { (char *)"ToolBarBase_AddToolItem", (PyCFunction
) _wrap_ToolBarBase_AddToolItem
, METH_VARARGS
| METH_KEYWORDS
},
30918 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction
) _wrap_ToolBarBase_InsertToolItem
, METH_VARARGS
| METH_KEYWORDS
},
30919 { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
},
30920 { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
},
30921 { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS
| METH_KEYWORDS
},
30922 { (char *)"ToolBarBase_AddSeparator", (PyCFunction
) _wrap_ToolBarBase_AddSeparator
, METH_VARARGS
| METH_KEYWORDS
},
30923 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
},
30924 { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
},
30925 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
},
30926 { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
},
30927 { (char *)"ToolBarBase_ClearTools", (PyCFunction
) _wrap_ToolBarBase_ClearTools
, METH_VARARGS
| METH_KEYWORDS
},
30928 { (char *)"ToolBarBase_Realize", (PyCFunction
) _wrap_ToolBarBase_Realize
, METH_VARARGS
| METH_KEYWORDS
},
30929 { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
},
30930 { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
},
30931 { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
},
30932 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
},
30933 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
},
30934 { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS
| METH_KEYWORDS
},
30935 { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
},
30936 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
},
30937 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
30938 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
30939 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
30940 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
30941 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
},
30942 { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
30943 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
},
30944 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
},
30945 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
) _wrap_ToolBarBase_GetToolMargins
, METH_VARARGS
| METH_KEYWORDS
},
30946 { (char *)"ToolBarBase_GetMargins", (PyCFunction
) _wrap_ToolBarBase_GetMargins
, METH_VARARGS
| METH_KEYWORDS
},
30947 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
) _wrap_ToolBarBase_GetToolPacking
, METH_VARARGS
| METH_KEYWORDS
},
30948 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_GetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
},
30949 { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
},
30950 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
},
30951 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
) _wrap_ToolBarBase_GetMaxRows
, METH_VARARGS
| METH_KEYWORDS
},
30952 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
) _wrap_ToolBarBase_GetMaxCols
, METH_VARARGS
| METH_KEYWORDS
},
30953 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
},
30954 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_GetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
},
30955 { (char *)"ToolBarBase_GetToolSize", (PyCFunction
) _wrap_ToolBarBase_GetToolSize
, METH_VARARGS
| METH_KEYWORDS
},
30956 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
},
30957 { (char *)"ToolBarBase_FindById", (PyCFunction
) _wrap_ToolBarBase_FindById
, METH_VARARGS
| METH_KEYWORDS
},
30958 { (char *)"ToolBarBase_IsVertical", (PyCFunction
) _wrap_ToolBarBase_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
30959 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS
},
30960 { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS
| METH_KEYWORDS
},
30961 { (char *)"new_PreToolBar", (PyCFunction
) _wrap_new_PreToolBar
, METH_VARARGS
| METH_KEYWORDS
},
30962 { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
30963 { (char *)"ToolBar_FindToolForPosition", (PyCFunction
) _wrap_ToolBar_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
},
30964 { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS
},
30965 { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
},
30966 { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30967 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30968 { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
30969 { (char *)"ListItemAttr_HasTextColour", (PyCFunction
) _wrap_ListItemAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30970 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30971 { (char *)"ListItemAttr_HasFont", (PyCFunction
) _wrap_ListItemAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
30972 { (char *)"ListItemAttr_GetTextColour", (PyCFunction
) _wrap_ListItemAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30973 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30974 { (char *)"ListItemAttr_GetFont", (PyCFunction
) _wrap_ListItemAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
30975 { (char *)"ListItemAttr_Destroy", (PyCFunction
) _wrap_ListItemAttr_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
30976 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS
},
30977 { (char *)"new_ListItem", (PyCFunction
) _wrap_new_ListItem
, METH_VARARGS
| METH_KEYWORDS
},
30978 { (char *)"delete_ListItem", (PyCFunction
) _wrap_delete_ListItem
, METH_VARARGS
| METH_KEYWORDS
},
30979 { (char *)"ListItem_Clear", (PyCFunction
) _wrap_ListItem_Clear
, METH_VARARGS
| METH_KEYWORDS
},
30980 { (char *)"ListItem_ClearAttributes", (PyCFunction
) _wrap_ListItem_ClearAttributes
, METH_VARARGS
| METH_KEYWORDS
},
30981 { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
30982 { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
},
30983 { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
30984 { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
},
30985 { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
},
30986 { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
},
30987 { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
},
30988 { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
},
30989 { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
30990 { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
},
30991 { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30992 { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30993 { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
30994 { (char *)"ListItem_GetMask", (PyCFunction
) _wrap_ListItem_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
30995 { (char *)"ListItem_GetId", (PyCFunction
) _wrap_ListItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
30996 { (char *)"ListItem_GetColumn", (PyCFunction
) _wrap_ListItem_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
30997 { (char *)"ListItem_GetState", (PyCFunction
) _wrap_ListItem_GetState
, METH_VARARGS
| METH_KEYWORDS
},
30998 { (char *)"ListItem_GetText", (PyCFunction
) _wrap_ListItem_GetText
, METH_VARARGS
| METH_KEYWORDS
},
30999 { (char *)"ListItem_GetImage", (PyCFunction
) _wrap_ListItem_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
31000 { (char *)"ListItem_GetData", (PyCFunction
) _wrap_ListItem_GetData
, METH_VARARGS
| METH_KEYWORDS
},
31001 { (char *)"ListItem_GetWidth", (PyCFunction
) _wrap_ListItem_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
31002 { (char *)"ListItem_GetAlign", (PyCFunction
) _wrap_ListItem_GetAlign
, METH_VARARGS
| METH_KEYWORDS
},
31003 { (char *)"ListItem_GetAttributes", (PyCFunction
) _wrap_ListItem_GetAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31004 { (char *)"ListItem_HasAttributes", (PyCFunction
) _wrap_ListItem_HasAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31005 { (char *)"ListItem_GetTextColour", (PyCFunction
) _wrap_ListItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31006 { (char *)"ListItem_GetBackgroundColour", (PyCFunction
) _wrap_ListItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31007 { (char *)"ListItem_GetFont", (PyCFunction
) _wrap_ListItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
31008 { (char *)"ListItem_m_mask_set", (PyCFunction
) _wrap_ListItem_m_mask_set
, METH_VARARGS
| METH_KEYWORDS
},
31009 { (char *)"ListItem_m_mask_get", (PyCFunction
) _wrap_ListItem_m_mask_get
, METH_VARARGS
| METH_KEYWORDS
},
31010 { (char *)"ListItem_m_itemId_set", (PyCFunction
) _wrap_ListItem_m_itemId_set
, METH_VARARGS
| METH_KEYWORDS
},
31011 { (char *)"ListItem_m_itemId_get", (PyCFunction
) _wrap_ListItem_m_itemId_get
, METH_VARARGS
| METH_KEYWORDS
},
31012 { (char *)"ListItem_m_col_set", (PyCFunction
) _wrap_ListItem_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
31013 { (char *)"ListItem_m_col_get", (PyCFunction
) _wrap_ListItem_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
31014 { (char *)"ListItem_m_state_set", (PyCFunction
) _wrap_ListItem_m_state_set
, METH_VARARGS
| METH_KEYWORDS
},
31015 { (char *)"ListItem_m_state_get", (PyCFunction
) _wrap_ListItem_m_state_get
, METH_VARARGS
| METH_KEYWORDS
},
31016 { (char *)"ListItem_m_stateMask_set", (PyCFunction
) _wrap_ListItem_m_stateMask_set
, METH_VARARGS
| METH_KEYWORDS
},
31017 { (char *)"ListItem_m_stateMask_get", (PyCFunction
) _wrap_ListItem_m_stateMask_get
, METH_VARARGS
| METH_KEYWORDS
},
31018 { (char *)"ListItem_m_text_set", (PyCFunction
) _wrap_ListItem_m_text_set
, METH_VARARGS
| METH_KEYWORDS
},
31019 { (char *)"ListItem_m_text_get", (PyCFunction
) _wrap_ListItem_m_text_get
, METH_VARARGS
| METH_KEYWORDS
},
31020 { (char *)"ListItem_m_image_set", (PyCFunction
) _wrap_ListItem_m_image_set
, METH_VARARGS
| METH_KEYWORDS
},
31021 { (char *)"ListItem_m_image_get", (PyCFunction
) _wrap_ListItem_m_image_get
, METH_VARARGS
| METH_KEYWORDS
},
31022 { (char *)"ListItem_m_data_set", (PyCFunction
) _wrap_ListItem_m_data_set
, METH_VARARGS
| METH_KEYWORDS
},
31023 { (char *)"ListItem_m_data_get", (PyCFunction
) _wrap_ListItem_m_data_get
, METH_VARARGS
| METH_KEYWORDS
},
31024 { (char *)"ListItem_m_format_set", (PyCFunction
) _wrap_ListItem_m_format_set
, METH_VARARGS
| METH_KEYWORDS
},
31025 { (char *)"ListItem_m_format_get", (PyCFunction
) _wrap_ListItem_m_format_get
, METH_VARARGS
| METH_KEYWORDS
},
31026 { (char *)"ListItem_m_width_set", (PyCFunction
) _wrap_ListItem_m_width_set
, METH_VARARGS
| METH_KEYWORDS
},
31027 { (char *)"ListItem_m_width_get", (PyCFunction
) _wrap_ListItem_m_width_get
, METH_VARARGS
| METH_KEYWORDS
},
31028 { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS
},
31029 { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS
| METH_KEYWORDS
},
31030 { (char *)"ListEvent_m_code_set", (PyCFunction
) _wrap_ListEvent_m_code_set
, METH_VARARGS
| METH_KEYWORDS
},
31031 { (char *)"ListEvent_m_code_get", (PyCFunction
) _wrap_ListEvent_m_code_get
, METH_VARARGS
| METH_KEYWORDS
},
31032 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
31033 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
31034 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction
) _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
31035 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
) _wrap_ListEvent_m_itemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
31036 { (char *)"ListEvent_m_col_set", (PyCFunction
) _wrap_ListEvent_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
31037 { (char *)"ListEvent_m_col_get", (PyCFunction
) _wrap_ListEvent_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
31038 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction
) _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS
| METH_KEYWORDS
},
31039 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
) _wrap_ListEvent_m_pointDrag_get
, METH_VARARGS
| METH_KEYWORDS
},
31040 { (char *)"ListEvent_m_item_get", (PyCFunction
) _wrap_ListEvent_m_item_get
, METH_VARARGS
| METH_KEYWORDS
},
31041 { (char *)"ListEvent_GetKeyCode", (PyCFunction
) _wrap_ListEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
31042 { (char *)"ListEvent_GetIndex", (PyCFunction
) _wrap_ListEvent_GetIndex
, METH_VARARGS
| METH_KEYWORDS
},
31043 { (char *)"ListEvent_GetColumn", (PyCFunction
) _wrap_ListEvent_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
31044 { (char *)"ListEvent_GetPoint", (PyCFunction
) _wrap_ListEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
31045 { (char *)"ListEvent_GetLabel", (PyCFunction
) _wrap_ListEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
31046 { (char *)"ListEvent_GetText", (PyCFunction
) _wrap_ListEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
},
31047 { (char *)"ListEvent_GetImage", (PyCFunction
) _wrap_ListEvent_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
31048 { (char *)"ListEvent_GetData", (PyCFunction
) _wrap_ListEvent_GetData
, METH_VARARGS
| METH_KEYWORDS
},
31049 { (char *)"ListEvent_GetMask", (PyCFunction
) _wrap_ListEvent_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
31050 { (char *)"ListEvent_GetItem", (PyCFunction
) _wrap_ListEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
31051 { (char *)"ListEvent_GetCacheFrom", (PyCFunction
) _wrap_ListEvent_GetCacheFrom
, METH_VARARGS
| METH_KEYWORDS
},
31052 { (char *)"ListEvent_GetCacheTo", (PyCFunction
) _wrap_ListEvent_GetCacheTo
, METH_VARARGS
| METH_KEYWORDS
},
31053 { (char *)"ListEvent_IsEditCancelled", (PyCFunction
) _wrap_ListEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
},
31054 { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
},
31055 { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS
},
31056 { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31057 { (char *)"new_PreListCtrl", (PyCFunction
) _wrap_new_PreListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31058 { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
31059 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
31060 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction
) _wrap_ListCtrl_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31061 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31062 { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
31063 { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
31064 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
31065 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
31066 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
) _wrap_ListCtrl_GetCountPerPage
, METH_VARARGS
| METH_KEYWORDS
},
31067 { (char *)"ListCtrl_GetViewRect", (PyCFunction
) _wrap_ListCtrl_GetViewRect
, METH_VARARGS
| METH_KEYWORDS
},
31068 { (char *)"ListCtrl_GetEditControl", (PyCFunction
) _wrap_ListCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
},
31069 { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
31070 { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
},
31071 { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
},
31072 { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
},
31073 { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
},
31074 { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
31075 { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
31076 { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
31077 { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
31078 { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
31079 { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
31080 { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
},
31081 { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
31082 { (char *)"ListCtrl_GetItemCount", (PyCFunction
) _wrap_ListCtrl_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
31083 { (char *)"ListCtrl_GetColumnCount", (PyCFunction
) _wrap_ListCtrl_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
},
31084 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
) _wrap_ListCtrl_GetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
},
31085 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
) _wrap_ListCtrl_GetSelectedItemCount
, METH_VARARGS
| METH_KEYWORDS
},
31086 { (char *)"ListCtrl_GetTextColour", (PyCFunction
) _wrap_ListCtrl_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31087 { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31088 { (char *)"ListCtrl_GetTopItem", (PyCFunction
) _wrap_ListCtrl_GetTopItem
, METH_VARARGS
| METH_KEYWORDS
},
31089 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
},
31090 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction
) _wrap_ListCtrl_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
31091 { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
},
31092 { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
31093 { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
31094 { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
31095 { (char *)"ListCtrl_InReportView", (PyCFunction
) _wrap_ListCtrl_InReportView
, METH_VARARGS
| METH_KEYWORDS
},
31096 { (char *)"ListCtrl_IsVirtual", (PyCFunction
) _wrap_ListCtrl_IsVirtual
, METH_VARARGS
| METH_KEYWORDS
},
31097 { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
},
31098 { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
},
31099 { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
},
31100 { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
31101 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
) _wrap_ListCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
31102 { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
},
31103 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
) _wrap_ListCtrl_DeleteAllColumns
, METH_VARARGS
| METH_KEYWORDS
},
31104 { (char *)"ListCtrl_ClearAll", (PyCFunction
) _wrap_ListCtrl_ClearAll
, METH_VARARGS
| METH_KEYWORDS
},
31105 { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
31106 { (char *)"ListCtrl_EndEditLabel", (PyCFunction
) _wrap_ListCtrl_EndEditLabel
, METH_VARARGS
| METH_KEYWORDS
},
31107 { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
31108 { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
31109 { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
},
31110 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
},
31111 { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
31112 { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
31113 { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
},
31114 { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
},
31115 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
},
31116 { (char *)"ListCtrl_InsertColumnInfo", (PyCFunction
) _wrap_ListCtrl_InsertColumnInfo
, METH_VARARGS
| METH_KEYWORDS
},
31117 { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
},
31118 { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
31119 { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
},
31120 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31121 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31122 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31123 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31124 { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
},
31125 { (char *)"ListCtrl_GetMainWindow", (PyCFunction
) _wrap_ListCtrl_GetMainWindow
, METH_VARARGS
| METH_KEYWORDS
},
31126 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31127 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS
},
31128 { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS
| METH_KEYWORDS
},
31129 { (char *)"new_PreListView", (PyCFunction
) _wrap_new_PreListView
, METH_VARARGS
| METH_KEYWORDS
},
31130 { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS
| METH_KEYWORDS
},
31131 { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS
| METH_KEYWORDS
},
31132 { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS
| METH_KEYWORDS
},
31133 { (char *)"ListView_GetFocusedItem", (PyCFunction
) _wrap_ListView_GetFocusedItem
, METH_VARARGS
| METH_KEYWORDS
},
31134 { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
},
31135 { (char *)"ListView_GetFirstSelected", (PyCFunction
) _wrap_ListView_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
},
31136 { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
31137 { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
},
31138 { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
},
31139 { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS
},
31140 { (char *)"new_TreeItemId", (PyCFunction
) _wrap_new_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
31141 { (char *)"delete_TreeItemId", (PyCFunction
) _wrap_delete_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
31142 { (char *)"TreeItemId_IsOk", (PyCFunction
) _wrap_TreeItemId_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
31143 { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS
| METH_KEYWORDS
},
31144 { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS
| METH_KEYWORDS
},
31145 { (char *)"TreeItemId_m_pItem_set", (PyCFunction
) _wrap_TreeItemId_m_pItem_set
, METH_VARARGS
| METH_KEYWORDS
},
31146 { (char *)"TreeItemId_m_pItem_get", (PyCFunction
) _wrap_TreeItemId_m_pItem_get
, METH_VARARGS
| METH_KEYWORDS
},
31147 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS
},
31148 { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
},
31149 { (char *)"TreeItemData_GetData", (PyCFunction
) _wrap_TreeItemData_GetData
, METH_VARARGS
| METH_KEYWORDS
},
31150 { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
},
31151 { (char *)"TreeItemData_GetId", (PyCFunction
) _wrap_TreeItemData_GetId
, METH_VARARGS
| METH_KEYWORDS
},
31152 { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
},
31153 { (char *)"TreeItemData_Destroy", (PyCFunction
) _wrap_TreeItemData_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
31154 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS
},
31155 { (char *)"new_TreeEvent", (PyCFunction
) _wrap_new_TreeEvent
, METH_VARARGS
| METH_KEYWORDS
},
31156 { (char *)"TreeEvent_GetItem", (PyCFunction
) _wrap_TreeEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
31157 { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS
| METH_KEYWORDS
},
31158 { (char *)"TreeEvent_GetOldItem", (PyCFunction
) _wrap_TreeEvent_GetOldItem
, METH_VARARGS
| METH_KEYWORDS
},
31159 { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS
| METH_KEYWORDS
},
31160 { (char *)"TreeEvent_GetPoint", (PyCFunction
) _wrap_TreeEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
31161 { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS
| METH_KEYWORDS
},
31162 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
) _wrap_TreeEvent_GetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
31163 { (char *)"TreeEvent_GetKeyCode", (PyCFunction
) _wrap_TreeEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
31164 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
31165 { (char *)"TreeEvent_GetLabel", (PyCFunction
) _wrap_TreeEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
31166 { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
31167 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
) _wrap_TreeEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
},
31168 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
},
31169 { (char *)"TreeEvent_SetToolTip", (PyCFunction
) _wrap_TreeEvent_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
31170 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS
},
31171 { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31172 { (char *)"new_PreTreeCtrl", (PyCFunction
) _wrap_new_PreTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31173 { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
31174 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
31175 { (char *)"TreeCtrl_GetCount", (PyCFunction
) _wrap_TreeCtrl_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
31176 { (char *)"TreeCtrl_GetIndent", (PyCFunction
) _wrap_TreeCtrl_GetIndent
, METH_VARARGS
| METH_KEYWORDS
},
31177 { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
},
31178 { (char *)"TreeCtrl_GetSpacing", (PyCFunction
) _wrap_TreeCtrl_GetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
31179 { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
31180 { (char *)"TreeCtrl_GetImageList", (PyCFunction
) _wrap_TreeCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
31181 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
) _wrap_TreeCtrl_GetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
31182 { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
31183 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
31184 { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
31185 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
31186 { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
31187 { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
31188 { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
31189 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
},
31190 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31191 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31192 { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
31193 { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
31194 { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
31195 { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
31196 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
},
31197 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
31198 { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
},
31199 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction
) _wrap_TreeCtrl_SetItemDropHighlight
, METH_VARARGS
| METH_KEYWORDS
},
31200 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31201 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31202 { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
31203 { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
31204 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
31205 { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
},
31206 { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
31207 { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
},
31208 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
},
31209 { (char *)"TreeCtrl_GetRootItem", (PyCFunction
) _wrap_TreeCtrl_GetRootItem
, METH_VARARGS
| METH_KEYWORDS
},
31210 { (char *)"TreeCtrl_GetSelection", (PyCFunction
) _wrap_TreeCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31211 { (char *)"TreeCtrl_GetSelections", (PyCFunction
) _wrap_TreeCtrl_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
31212 { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
},
31213 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
},
31214 { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
},
31215 { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
},
31216 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
},
31217 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
},
31218 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
) _wrap_TreeCtrl_GetFirstVisibleItem
, METH_VARARGS
| METH_KEYWORDS
},
31219 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
},
31220 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
},
31221 { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
},
31222 { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
31223 { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
31224 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
},
31225 { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
31226 { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
},
31227 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
},
31228 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
) _wrap_TreeCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
31229 { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
},
31230 { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
},
31231 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
},
31232 { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
31233 { (char *)"TreeCtrl_Unselect", (PyCFunction
) _wrap_TreeCtrl_Unselect
, METH_VARARGS
| METH_KEYWORDS
},
31234 { (char *)"TreeCtrl_UnselectItem", (PyCFunction
) _wrap_TreeCtrl_UnselectItem
, METH_VARARGS
| METH_KEYWORDS
},
31235 { (char *)"TreeCtrl_UnselectAll", (PyCFunction
) _wrap_TreeCtrl_UnselectAll
, METH_VARARGS
| METH_KEYWORDS
},
31236 { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
},
31237 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction
) _wrap_TreeCtrl_ToggleItemSelection
, METH_VARARGS
| METH_KEYWORDS
},
31238 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
31239 { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
},
31240 { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
31241 { (char *)"TreeCtrl_GetEditControl", (PyCFunction
) _wrap_TreeCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
},
31242 { (char *)"TreeCtrl_EndEditLabel", (PyCFunction
) _wrap_TreeCtrl_EndEditLabel
, METH_VARARGS
| METH_KEYWORDS
},
31243 { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
},
31244 { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
31245 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
},
31246 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TreeCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31247 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS
},
31248 { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31249 { (char *)"new_PreGenericDirCtrl", (PyCFunction
) _wrap_new_PreGenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31250 { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
31251 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
},
31252 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_GetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
},
31253 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
},
31254 { (char *)"GenericDirCtrl_GetPath", (PyCFunction
) _wrap_GenericDirCtrl_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
31255 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
) _wrap_GenericDirCtrl_GetFilePath
, METH_VARARGS
| METH_KEYWORDS
},
31256 { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
31257 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
},
31258 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_GetShowHidden
, METH_VARARGS
| METH_KEYWORDS
},
31259 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
) _wrap_GenericDirCtrl_GetFilter
, METH_VARARGS
| METH_KEYWORDS
},
31260 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
},
31261 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
31262 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
31263 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
) _wrap_GenericDirCtrl_GetRootId
, METH_VARARGS
| METH_KEYWORDS
},
31264 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31265 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31266 { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS
| METH_KEYWORDS
},
31267 { (char *)"GenericDirCtrl_DoResize", (PyCFunction
) _wrap_GenericDirCtrl_DoResize
, METH_VARARGS
| METH_KEYWORDS
},
31268 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
) _wrap_GenericDirCtrl_ReCreateTree
, METH_VARARGS
| METH_KEYWORDS
},
31269 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS
},
31270 { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31271 { (char *)"new_PreDirFilterListCtrl", (PyCFunction
) _wrap_new_PreDirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31272 { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
31273 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
},
31274 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS
},
31275 { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS
| METH_KEYWORDS
},
31276 { (char *)"new_PrePyControl", (PyCFunction
) _wrap_new_PrePyControl
, METH_VARARGS
| METH_KEYWORDS
},
31277 { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
31278 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction
) _wrap_PyControl_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
31279 { (char *)"PyControl_base_DoSetSize", (PyCFunction
) _wrap_PyControl_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
31280 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction
) _wrap_PyControl_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
31281 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
31282 { (char *)"PyControl_base_DoGetSize", (PyCFunction
) _wrap_PyControl_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
31283 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction
) _wrap_PyControl_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
31284 { (char *)"PyControl_base_DoGetPosition", (PyCFunction
) _wrap_PyControl_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
31285 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
31286 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction
) _wrap_PyControl_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
31287 { (char *)"PyControl_base_InitDialog", (PyCFunction
) _wrap_PyControl_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
31288 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
31289 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
31290 { (char *)"PyControl_base_Validate", (PyCFunction
) _wrap_PyControl_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
31291 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction
) _wrap_PyControl_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
31292 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyControl_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
31293 { (char *)"PyControl_base_GetMaxSize", (PyCFunction
) _wrap_PyControl_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
31294 { (char *)"PyControl_base_AddChild", (PyCFunction
) _wrap_PyControl_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
31295 { (char *)"PyControl_base_RemoveChild", (PyCFunction
) _wrap_PyControl_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
31296 { (char *)"PyControl_base_ShouldInheritColours", (PyCFunction
) _wrap_PyControl_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
},
31297 { (char *)"PyControl_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyControl_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
},
31298 { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS
},
31299 { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS
| METH_KEYWORDS
},
31300 { (char *)"HelpEvent_GetPosition", (PyCFunction
) _wrap_HelpEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
31301 { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
31302 { (char *)"HelpEvent_GetLink", (PyCFunction
) _wrap_HelpEvent_GetLink
, METH_VARARGS
| METH_KEYWORDS
},
31303 { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
},
31304 { (char *)"HelpEvent_GetTarget", (PyCFunction
) _wrap_HelpEvent_GetTarget
, METH_VARARGS
| METH_KEYWORDS
},
31305 { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
},
31306 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS
},
31307 { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
31308 { (char *)"delete_ContextHelp", (PyCFunction
) _wrap_delete_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
31309 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
31310 { (char *)"ContextHelp_EndContextHelp", (PyCFunction
) _wrap_ContextHelp_EndContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
31311 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS
},
31312 { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
},
31313 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS
},
31314 { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
},
31315 { (char *)"HelpProvider_Get", (PyCFunction
) _wrap_HelpProvider_Get
, METH_VARARGS
| METH_KEYWORDS
},
31316 { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
},
31317 { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
31318 { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
},
31319 { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
},
31320 { (char *)"HelpProvider_RemoveHelp", (PyCFunction
) _wrap_HelpProvider_RemoveHelp
, METH_VARARGS
| METH_KEYWORDS
},
31321 { (char *)"HelpProvider_Destroy", (PyCFunction
) _wrap_HelpProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
31322 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS
},
31323 { (char *)"new_SimpleHelpProvider", (PyCFunction
) _wrap_new_SimpleHelpProvider
, METH_VARARGS
| METH_KEYWORDS
},
31324 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS
},
31325 { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS
| METH_KEYWORDS
},
31326 { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS
| METH_KEYWORDS
},
31327 { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS
| METH_KEYWORDS
},
31328 { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS
| METH_KEYWORDS
},
31329 { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS
| METH_KEYWORDS
},
31330 { (char *)"delete_DragImage", (PyCFunction
) _wrap_delete_DragImage
, METH_VARARGS
| METH_KEYWORDS
},
31331 { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31332 { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
},
31333 { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
},
31334 { (char *)"DragImage_EndDrag", (PyCFunction
) _wrap_DragImage_EndDrag
, METH_VARARGS
| METH_KEYWORDS
},
31335 { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS
| METH_KEYWORDS
},
31336 { (char *)"DragImage_Show", (PyCFunction
) _wrap_DragImage_Show
, METH_VARARGS
| METH_KEYWORDS
},
31337 { (char *)"DragImage_Hide", (PyCFunction
) _wrap_DragImage_Hide
, METH_VARARGS
| METH_KEYWORDS
},
31338 { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
},
31339 { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS
| METH_KEYWORDS
},
31340 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
31341 { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
},
31342 { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS
},
31347 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
31349 static void *_p_wxNotebookEventTo_p_wxBookCtrlEvent(void *x
) {
31350 return (void *)((wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
31352 static void *_p_wxListbookEventTo_p_wxBookCtrlEvent(void *x
) {
31353 return (void *)((wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
31355 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
31356 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
31358 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
31359 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
31361 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
31362 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
31364 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
31365 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
31367 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
31368 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
31370 static void *_p_wxNotebookSizerTo_p_wxSizer(void *x
) {
31371 return (void *)((wxSizer
*) ((wxNotebookSizer
*) x
));
31373 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
31374 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
31376 static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x
) {
31377 return (void *)((wxSizer
*) ((wxBookCtrlSizer
*) x
));
31379 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
31380 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
31382 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
31383 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
31385 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
31386 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
31388 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
31389 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
31391 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
31392 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
31394 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
31395 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
31397 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
31398 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
31400 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
31401 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
31403 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
31404 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
31406 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
31407 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
31409 static void *_p_wxBookCtrlEventTo_p_wxEvent(void *x
) {
31410 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
31412 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
31413 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
31415 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
31416 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
31418 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
31419 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
31421 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
31422 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
31424 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
31425 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
31427 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
31428 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
31430 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
31431 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
31433 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
31434 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
31436 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
31437 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
31439 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
31440 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
31442 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
31443 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
31445 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
31446 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
31448 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
31449 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
31451 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
31452 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
31454 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
31455 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
31457 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
31458 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
31460 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
31461 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
31463 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
31464 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
31466 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
31467 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
31469 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
31470 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
31472 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
31473 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
31475 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
31476 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
31478 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
31479 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
31481 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
31482 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
31484 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
31485 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
31487 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
31488 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
31490 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
31491 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
31493 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
31494 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
31496 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
31497 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
31499 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
31500 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
31502 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
31503 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
31505 static void *_p_wxSpinEventTo_p_wxEvent(void *x
) {
31506 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
31508 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) {
31509 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
31511 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) {
31512 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
31514 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) {
31515 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxChoice
*) x
));
31517 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
31518 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
31520 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) {
31521 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxListBox
*) x
));
31523 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) {
31524 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
31526 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
31527 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
31529 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
31530 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
31532 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
31533 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
31535 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
31536 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
31538 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
31539 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
31541 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
31542 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
31544 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
31545 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
31547 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
31548 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
31550 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
31551 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
31553 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
31554 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
31556 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
31557 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
31559 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
31560 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
31562 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
31563 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
31565 static void *_p_wxBookCtrlTo_p_wxControl(void *x
) {
31566 return (void *)((wxControl
*) ((wxBookCtrl
*) x
));
31568 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
31569 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
31571 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
31572 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
31574 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
31575 return (void *)((wxControl
*) ((wxGauge
*) x
));
31577 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
31578 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
31580 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
31581 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
31583 static void *_p_wxButtonTo_p_wxControl(void *x
) {
31584 return (void *)((wxControl
*) ((wxButton
*) x
));
31586 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
31587 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
31589 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
31590 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
31592 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
31593 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
31595 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
31596 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
31598 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
31599 return (void *)((wxControl
*) (wxBookCtrl
*) ((wxNotebook
*) x
));
31601 static void *_p_wxListbookTo_p_wxControl(void *x
) {
31602 return (void *)((wxControl
*) (wxBookCtrl
*) ((wxListbook
*) x
));
31604 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
31605 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
31607 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
31608 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
31610 static void *_p_wxListViewTo_p_wxControl(void *x
) {
31611 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
31613 static void *_p_wxSliderTo_p_wxControl(void *x
) {
31614 return (void *)((wxControl
*) ((wxSlider
*) x
));
31616 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
31617 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
31619 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
31620 return (void *)((wxControl
*) ((wxPyControl
*) x
));
31622 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
31623 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
31625 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
31626 return (void *)((wxControl
*) ((wxStaticText
*) x
));
31628 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) {
31629 return (void *)((wxToolBarBase
*) ((wxToolBar
*) x
));
31631 static void *_p_wxComboBoxTo_p_wxChoice(void *x
) {
31632 return (void *)((wxChoice
*) ((wxComboBox
*) x
));
31634 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) {
31635 return (void *)((wxChoice
*) ((wxDirFilterListCtrl
*) x
));
31637 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) {
31638 return (void *)((wxNotifyEvent
*) ((wxTreeEvent
*) x
));
31640 static void *_p_wxBookCtrlEventTo_p_wxNotifyEvent(void *x
) {
31641 return (void *)((wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
31643 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) {
31644 return (void *)((wxNotifyEvent
*) ((wxListEvent
*) x
));
31646 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x
) {
31647 return (void *)((wxNotifyEvent
*) ((wxSpinEvent
*) x
));
31649 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) {
31650 return (void *)((wxNotifyEvent
*) (wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
31652 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) {
31653 return (void *)((wxNotifyEvent
*) (wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
31655 static void *_p_wxBookCtrlTo_p_wxEvtHandler(void *x
) {
31656 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrl
*) x
));
31658 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
31659 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
31661 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
31662 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
31664 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
31665 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
31667 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
31668 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
31670 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
31671 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
31673 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
31674 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
31676 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
31677 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
31679 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
31680 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
31682 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
31683 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
31685 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
31686 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
31688 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
31689 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
31691 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
31692 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
31694 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
31695 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
31697 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
31698 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
31700 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
31701 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
31703 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
31704 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
31706 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
31707 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
31709 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
31710 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
31712 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
31713 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
31715 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
31716 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
31718 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
31719 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
31721 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
31722 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
31724 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
31725 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
31727 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
31728 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
31730 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
31731 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
31733 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
31734 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
31736 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
31737 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
31739 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
31740 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
31742 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
31743 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
31745 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
31746 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
31748 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
31749 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
31751 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
31752 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
31754 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
31755 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
31757 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
31758 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
31760 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
31761 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
31763 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
31764 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
31766 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
31767 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
31769 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
31770 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
31772 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
31773 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
31775 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) {
31776 return (void *)((wxListBox
*) ((wxCheckListBox
*) x
));
31778 static void *_p_wxListbookTo_p_wxBookCtrl(void *x
) {
31779 return (void *)((wxBookCtrl
*) ((wxListbook
*) x
));
31781 static void *_p_wxNotebookTo_p_wxBookCtrl(void *x
) {
31782 return (void *)((wxBookCtrl
*) ((wxNotebook
*) x
));
31784 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) {
31785 return (void *)((wxButton
*) ((wxBitmapButton
*) x
));
31787 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) {
31788 return (void *)((wxButton
*) (wxBitmapButton
*) ((wxContextHelpButton
*) x
));
31790 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) {
31791 return (void *)((wxBitmapButton
*) ((wxContextHelpButton
*) x
));
31793 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) {
31794 return (void *)((wxHelpProvider
*) ((wxSimpleHelpProvider
*) x
));
31796 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
31797 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
31799 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
31800 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
31802 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
31803 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
31805 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
31806 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
31808 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
31809 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
31811 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
31812 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
31814 static void *_p_wxBookCtrlEventTo_p_wxObject(void *x
) {
31815 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
31817 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
31818 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
31820 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
31821 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
31823 static void *_p_wxSizerTo_p_wxObject(void *x
) {
31824 return (void *)((wxObject
*) ((wxSizer
*) x
));
31826 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
31827 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
31829 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
31830 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
31832 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
31833 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
31835 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
31836 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
31838 static void *_p_wxEventTo_p_wxObject(void *x
) {
31839 return (void *)((wxObject
*) ((wxEvent
*) x
));
31841 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
31842 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
31844 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
31845 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
31847 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
31848 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
31850 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
31851 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
31853 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
31854 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
31856 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
31857 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
31859 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
31860 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
31862 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
31863 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
31865 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
31866 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
31868 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
31869 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
31871 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
31872 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
31874 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
31875 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
31877 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
31878 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
31880 static void *_p_wxControlTo_p_wxObject(void *x
) {
31881 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
31883 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
31884 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
31886 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
31887 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
31889 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
31890 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
31892 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
31893 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
31895 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
31896 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
31898 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
31899 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
31901 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
31902 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
31904 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
31905 return (void *)((wxObject
*) ((wxFSFile
*) x
));
31907 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
31908 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
31910 static void *_p_wxListViewTo_p_wxObject(void *x
) {
31911 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
31913 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
31914 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
31916 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
31917 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
31919 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
31920 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
31922 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
31923 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
31925 static void *_p_wxListbookTo_p_wxObject(void *x
) {
31926 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
31928 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
31929 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
31931 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
31932 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
31934 static void *_p_wxSliderTo_p_wxObject(void *x
) {
31935 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
31937 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
31938 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
31940 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
31941 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
31943 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
31944 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
31946 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
31947 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
31949 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
31950 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
31952 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
31953 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
31955 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
31956 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
31958 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
31959 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
31961 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
31962 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
31964 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
31965 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
31967 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
31968 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
31970 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
31971 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
31973 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
31974 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
31976 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
31977 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
31979 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
31980 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
31982 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
31983 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
31985 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
31986 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
31988 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
31989 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
31991 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
31992 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
31994 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
31995 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
31997 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
31998 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
32000 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
32001 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
32003 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
32004 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
32006 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
32007 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
32009 static void *_p_wxListEventTo_p_wxObject(void *x
) {
32010 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
32012 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
32013 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
32015 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
32016 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
32018 static void *_p_wxBookCtrlTo_p_wxObject(void *x
) {
32019 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrl
*) x
));
32021 static void *_p_wxButtonTo_p_wxObject(void *x
) {
32022 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
32024 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
32025 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
32027 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
32028 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
32030 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
32031 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
32033 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
32034 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
32036 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
32037 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
32039 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
32040 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
32042 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
32043 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
32045 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
32046 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
32048 static void *_p_wxListItemTo_p_wxObject(void *x
) {
32049 return (void *)((wxObject
*) ((wxListItem
*) x
));
32051 static void *_p_wxImageTo_p_wxObject(void *x
) {
32052 return (void *)((wxObject
*) ((wxImage
*) x
));
32054 static void *_p_wxNotebookSizerTo_p_wxObject(void *x
) {
32055 return (void *)((wxObject
*) (wxSizer
*) ((wxNotebookSizer
*) x
));
32057 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
32058 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
32060 static void *_p_wxSpinEventTo_p_wxObject(void *x
) {
32061 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
32063 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
32064 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
32066 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
32067 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
32069 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
32070 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
32072 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
32073 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
32075 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
32076 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32078 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
32079 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
32081 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
32082 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
32084 static void *_p_wxWindowTo_p_wxObject(void *x
) {
32085 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
32087 static void *_p_wxMenuTo_p_wxObject(void *x
) {
32088 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
32090 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
32091 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
32093 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
32094 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
32096 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
32097 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32099 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
32100 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
32102 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
32103 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
32105 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
32106 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
32108 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
32109 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
32111 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
32112 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
32114 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
32115 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
32117 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
32118 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32120 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
32121 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
32123 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
32124 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
32126 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
32127 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
32129 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
32130 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
32132 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
32133 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32135 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
32136 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
32138 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
32139 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
32141 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
32142 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
32144 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
32145 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
32147 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
32148 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
32150 static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x
) {
32151 return (void *)((wxObject
*) (wxSizer
*) ((wxBookCtrlSizer
*) x
));
32153 static void *_p_wxBookCtrlTo_p_wxWindow(void *x
) {
32154 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrl
*) x
));
32156 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
32157 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
32159 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
32160 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
32162 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
32163 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
32165 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
32166 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
32168 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
32169 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
32171 static void *_p_wxControlTo_p_wxWindow(void *x
) {
32172 return (void *)((wxWindow
*) ((wxControl
*) x
));
32174 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
32175 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
32177 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
32178 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32180 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
32181 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
32183 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
32184 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
32186 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
32187 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
32189 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
32190 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
32192 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
32193 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
32195 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
32196 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
32198 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
32199 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
32201 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
32202 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
32204 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
32205 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
32207 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
32208 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
32210 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
32211 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
32213 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
32214 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
32216 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
32217 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
32219 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
32220 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
32222 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
32223 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
32225 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
32226 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
32228 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
32229 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
32231 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
32232 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
32234 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
32235 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
32237 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
32238 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
32240 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
32241 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
32243 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
32244 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
32246 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
32247 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
32249 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
32250 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
32252 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
32253 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
32255 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
32256 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
32258 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
32259 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32261 static void *_p_wxBookCtrlEventTo_p_wxCommandEvent(void *x
) {
32262 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
32264 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
32265 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
32267 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
32268 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
32270 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
32271 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32273 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
32274 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32276 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
32277 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32279 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
32280 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
32282 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
32283 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
32285 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
32286 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
32288 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
32289 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32291 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
32292 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
32294 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x
) {
32295 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSpinEvent
*) x
));
32297 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
32298 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
32300 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
32301 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32303 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
32304 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32306 static void *_p_wxComboBoxTo_p_wxControlWithItems(void *x
) {
32307 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxComboBox
*) x
));
32309 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) {
32310 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32312 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) {
32313 return (void *)((wxControlWithItems
*) ((wxChoice
*) x
));
32315 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) {
32316 return (void *)((wxControlWithItems
*) ((wxListBox
*) x
));
32318 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) {
32319 return (void *)((wxControlWithItems
*) (wxListBox
*) ((wxCheckListBox
*) x
));
32321 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
32322 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
32324 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}};
32325 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}};
32326 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}};
32327 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}};
32328 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}};
32329 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}};
32330 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}};
32331 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}};
32332 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}};
32333 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}};
32334 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}};
32335 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}};
32336 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}};
32337 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}};
32338 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}};
32339 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}};
32340 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}};
32341 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}};
32342 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}};
32343 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}};
32344 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}};
32345 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}};
32346 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}};
32347 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}};
32348 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}};
32349 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}};
32350 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}};
32351 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}};
32352 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}};
32353 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}};
32354 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}};
32355 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}};
32356 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}};
32357 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}};
32358 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}};
32359 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}};
32360 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}};
32361 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}};
32362 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}};
32363 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}};
32364 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}};
32365 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}};
32366 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}};
32367 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}};
32368 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}};
32369 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}};
32370 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}};
32371 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}};
32372 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}};
32373 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}};
32374 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}};
32375 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}};
32376 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}};
32377 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}};
32378 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}};
32379 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}};
32380 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}};
32381 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}};
32382 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}};
32383 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}};
32384 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}};
32385 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}};
32386 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}};
32387 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}};
32388 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}};
32389 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}};
32390 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}};
32391 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}};
32392 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}};
32393 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}};
32394 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}};
32395 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}};
32396 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}};
32397 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}};
32398 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}};
32399 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}};
32400 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}};
32401 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}};
32402 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}};
32403 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}};
32404 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}};
32405 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}};
32406 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}};
32407 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}};
32408 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}};
32410 static swig_type_info
*swig_types_initial
[] = {
32411 _swigt__p_wxTextUrlEvent
,
32412 _swigt__p_wxBookCtrlEvent
,
32414 _swigt__p_wxCheckBox
,
32415 _swigt__p_wxPyTreeCtrl
,
32417 _swigt__p_wxGenericDirCtrl
,
32419 _swigt__p_wxPyTreeItemData
,
32420 _swigt__p_wxItemContainer
,
32421 _swigt__p_wxPyListCtrl
,
32422 _swigt__p_wxDirFilterListCtrl
,
32423 _swigt__p_wxStaticLine
,
32424 _swigt__p_wxControl
,
32425 _swigt__p_wxPyControl
,
32427 _swigt__p_wxToolBarBase
,
32429 _swigt__p_wxToggleButton
,
32430 _swigt__p_wxRadioButton
,
32431 _swigt__p_wxChoice
,
32432 _swigt__p_wxMemoryDC
,
32433 _swigt__p_wxListItemAttr
,
32438 _swigt__p_wxListView
,
32440 _swigt__p_wxVisualAttributes
,
32441 _swigt__p_wxTextCtrl
,
32442 _swigt__p_wxNotebook
,
32443 _swigt__p_wxNotifyEvent
,
32444 _swigt__p_wxArrayString
,
32445 _swigt__p_wxListbook
,
32446 _swigt__p_wxStaticBitmap
,
32447 _swigt__p_wxSlider
,
32448 _swigt__p_wxStaticBox
,
32449 _swigt__p_wxArrayInt
,
32450 _swigt__p_wxContextHelp
,
32452 _swigt__p_wxEvtHandler
,
32453 _swigt__p_wxListEvent
,
32454 _swigt__p_wxCheckListBox
,
32455 _swigt__p_wxListBox
,
32456 _swigt__p_wxBookCtrl
,
32457 _swigt__p_wxSpinButton
,
32458 _swigt__p_wxButton
,
32459 _swigt__p_wxBitmapButton
,
32461 _swigt__p_wxContextHelpButton
,
32462 _swigt__p_wxRadioBox
,
32463 _swigt__p_wxScrollBar
,
32465 _swigt__p_wxTreeItemId
,
32466 _swigt__p_wxComboBox
,
32467 _swigt__p_wxHelpEvent
,
32468 _swigt__p_wxListItem
,
32469 _swigt__p_wxNotebookSizer
,
32470 _swigt__p_wxSpinEvent
,
32471 _swigt__p_wxGenericDragImage
,
32472 _swigt__p_wxSpinCtrl
,
32473 _swigt__p_wxImageList
,
32474 _swigt__p_wxHelpProvider
,
32475 _swigt__p_wxTextAttr
,
32476 _swigt__p_wxSimpleHelpProvider
,
32478 _swigt__p_wxListbookEvent
,
32479 _swigt__p_wxNotebookEvent
,
32480 _swigt__p_wxObject
,
32481 _swigt__p_wxCursor
,
32482 _swigt__p_wxKeyEvent
,
32483 _swigt__p_wxWindow
,
32484 _swigt__p_wxString
,
32485 _swigt__p_wxBitmap
,
32486 _swigt__p_wxTreeEvent
,
32487 _swigt__p_wxMouseEvent
,
32488 _swigt__p_wxCommandEvent
,
32489 _swigt__p_wxStaticText
,
32490 _swigt__p_wxControlWithItems
,
32491 _swigt__p_wxToolBarToolBase
,
32492 _swigt__p_wxColour
,
32493 _swigt__p_wxToolBar
,
32494 _swigt__p_wxBookCtrlSizer
,
32495 _swigt__p_wxValidator
,
32500 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
32502 static swig_const_info swig_const_table
[] = {
32512 SWIGEXPORT(void) SWIG_init(void) {
32513 static PyObject
*SWIG_globals
= 0;
32514 static int typeinit
= 0;
32517 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
32518 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
32519 d
= PyModule_GetDict(m
);
32522 for (i
= 0; swig_types_initial
[i
]; i
++) {
32523 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
32527 SWIG_InstallConstants(d
,swig_const_table
);
32529 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
32530 SWIG_addvarlink(SWIG_globals
,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get
, _wrap_ButtonNameStr_set
);
32531 PyDict_SetItemString(d
,"BU_LEFT", SWIG_FromInt((int)wxBU_LEFT
));
32532 PyDict_SetItemString(d
,"BU_TOP", SWIG_FromInt((int)wxBU_TOP
));
32533 PyDict_SetItemString(d
,"BU_RIGHT", SWIG_FromInt((int)wxBU_RIGHT
));
32534 PyDict_SetItemString(d
,"BU_BOTTOM", SWIG_FromInt((int)wxBU_BOTTOM
));
32535 PyDict_SetItemString(d
,"BU_EXACTFIT", SWIG_FromInt((int)wxBU_EXACTFIT
));
32536 PyDict_SetItemString(d
,"BU_AUTODRAW", SWIG_FromInt((int)wxBU_AUTODRAW
));
32537 SWIG_addvarlink(SWIG_globals
,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get
, _wrap_CheckBoxNameStr_set
);
32538 PyDict_SetItemString(d
,"CHK_2STATE", SWIG_FromInt((int)wxCHK_2STATE
));
32539 PyDict_SetItemString(d
,"CHK_3STATE", SWIG_FromInt((int)wxCHK_3STATE
));
32540 PyDict_SetItemString(d
,"CHK_ALLOW_3RD_STATE_FOR_USER", SWIG_FromInt((int)wxCHK_ALLOW_3RD_STATE_FOR_USER
));
32541 PyDict_SetItemString(d
,"CHK_UNCHECKED", SWIG_FromInt((int)wxCHK_UNCHECKED
));
32542 PyDict_SetItemString(d
,"CHK_CHECKED", SWIG_FromInt((int)wxCHK_CHECKED
));
32543 PyDict_SetItemString(d
,"CHK_UNDETERMINED", SWIG_FromInt((int)wxCHK_UNDETERMINED
));
32544 SWIG_addvarlink(SWIG_globals
,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get
, _wrap_ChoiceNameStr_set
);
32545 SWIG_addvarlink(SWIG_globals
,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get
, _wrap_ComboBoxNameStr_set
);
32546 SWIG_addvarlink(SWIG_globals
,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get
, _wrap_GaugeNameStr_set
);
32547 PyDict_SetItemString(d
,"GA_HORIZONTAL", SWIG_FromInt((int)wxGA_HORIZONTAL
));
32548 PyDict_SetItemString(d
,"GA_VERTICAL", SWIG_FromInt((int)wxGA_VERTICAL
));
32549 PyDict_SetItemString(d
,"GA_SMOOTH", SWIG_FromInt((int)wxGA_SMOOTH
));
32550 PyDict_SetItemString(d
,"GA_PROGRESSBAR", SWIG_FromInt((int)wxGA_PROGRESSBAR
));
32551 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get
, _wrap_StaticBitmapNameStr_set
);
32552 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get
, _wrap_StaticBoxNameStr_set
);
32553 SWIG_addvarlink(SWIG_globals
,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get
, _wrap_StaticTextNameStr_set
);
32554 SWIG_addvarlink(SWIG_globals
,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get
, _wrap_ListBoxNameStr_set
);
32555 SWIG_addvarlink(SWIG_globals
,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get
, _wrap_TextCtrlNameStr_set
);
32556 PyDict_SetItemString(d
,"TE_NO_VSCROLL", SWIG_FromInt((int)wxTE_NO_VSCROLL
));
32557 PyDict_SetItemString(d
,"TE_AUTO_SCROLL", SWIG_FromInt((int)wxTE_AUTO_SCROLL
));
32558 PyDict_SetItemString(d
,"TE_READONLY", SWIG_FromInt((int)wxTE_READONLY
));
32559 PyDict_SetItemString(d
,"TE_MULTILINE", SWIG_FromInt((int)wxTE_MULTILINE
));
32560 PyDict_SetItemString(d
,"TE_PROCESS_TAB", SWIG_FromInt((int)wxTE_PROCESS_TAB
));
32561 PyDict_SetItemString(d
,"TE_LEFT", SWIG_FromInt((int)wxTE_LEFT
));
32562 PyDict_SetItemString(d
,"TE_CENTER", SWIG_FromInt((int)wxTE_CENTER
));
32563 PyDict_SetItemString(d
,"TE_RIGHT", SWIG_FromInt((int)wxTE_RIGHT
));
32564 PyDict_SetItemString(d
,"TE_CENTRE", SWIG_FromInt((int)wxTE_CENTRE
));
32565 PyDict_SetItemString(d
,"TE_RICH", SWIG_FromInt((int)wxTE_RICH
));
32566 PyDict_SetItemString(d
,"TE_PROCESS_ENTER", SWIG_FromInt((int)wxTE_PROCESS_ENTER
));
32567 PyDict_SetItemString(d
,"TE_PASSWORD", SWIG_FromInt((int)wxTE_PASSWORD
));
32568 PyDict_SetItemString(d
,"TE_AUTO_URL", SWIG_FromInt((int)wxTE_AUTO_URL
));
32569 PyDict_SetItemString(d
,"TE_NOHIDESEL", SWIG_FromInt((int)wxTE_NOHIDESEL
));
32570 PyDict_SetItemString(d
,"TE_DONTWRAP", SWIG_FromInt((int)wxTE_DONTWRAP
));
32571 PyDict_SetItemString(d
,"TE_LINEWRAP", SWIG_FromInt((int)wxTE_LINEWRAP
));
32572 PyDict_SetItemString(d
,"TE_WORDWRAP", SWIG_FromInt((int)wxTE_WORDWRAP
));
32573 PyDict_SetItemString(d
,"TE_RICH2", SWIG_FromInt((int)wxTE_RICH2
));
32574 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_DEFAULT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_DEFAULT
));
32575 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_LEFT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_LEFT
));
32576 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTRE", SWIG_FromInt((int)wxTEXT_ALIGNMENT_CENTRE
));
32577 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTER", SWIG_FromInt((int)wxTEXT_ALIGNMENT_CENTER
));
32578 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_RIGHT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_RIGHT
));
32579 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_JUSTIFIED", SWIG_FromInt((int)wxTEXT_ALIGNMENT_JUSTIFIED
));
32580 PyDict_SetItemString(d
,"TEXT_ATTR_TEXT_COLOUR", SWIG_FromInt((int)wxTEXT_ATTR_TEXT_COLOUR
));
32581 PyDict_SetItemString(d
,"TEXT_ATTR_BACKGROUND_COLOUR", SWIG_FromInt((int)wxTEXT_ATTR_BACKGROUND_COLOUR
));
32582 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_FACE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_FACE
));
32583 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_SIZE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_SIZE
));
32584 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_WEIGHT", SWIG_FromInt((int)wxTEXT_ATTR_FONT_WEIGHT
));
32585 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_ITALIC", SWIG_FromInt((int)wxTEXT_ATTR_FONT_ITALIC
));
32586 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_UNDERLINE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_UNDERLINE
));
32587 PyDict_SetItemString(d
,"TEXT_ATTR_FONT", SWIG_FromInt((int)wxTEXT_ATTR_FONT
));
32588 PyDict_SetItemString(d
,"TEXT_ATTR_ALIGNMENT", SWIG_FromInt((int)wxTEXT_ATTR_ALIGNMENT
));
32589 PyDict_SetItemString(d
,"TEXT_ATTR_LEFT_INDENT", SWIG_FromInt((int)wxTEXT_ATTR_LEFT_INDENT
));
32590 PyDict_SetItemString(d
,"TEXT_ATTR_RIGHT_INDENT", SWIG_FromInt((int)wxTEXT_ATTR_RIGHT_INDENT
));
32591 PyDict_SetItemString(d
,"TEXT_ATTR_TABS", SWIG_FromInt((int)wxTEXT_ATTR_TABS
));
32592 PyDict_SetItemString(d
,"TE_HT_UNKNOWN", SWIG_FromInt((int)wxTE_HT_UNKNOWN
));
32593 PyDict_SetItemString(d
,"TE_HT_BEFORE", SWIG_FromInt((int)wxTE_HT_BEFORE
));
32594 PyDict_SetItemString(d
,"TE_HT_ON_TEXT", SWIG_FromInt((int)wxTE_HT_ON_TEXT
));
32595 PyDict_SetItemString(d
,"TE_HT_BELOW", SWIG_FromInt((int)wxTE_HT_BELOW
));
32596 PyDict_SetItemString(d
,"TE_HT_BEYOND", SWIG_FromInt((int)wxTE_HT_BEYOND
));
32597 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED
));
32598 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER
));
32599 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL
));
32600 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN
));
32601 SWIG_addvarlink(SWIG_globals
,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get
, _wrap_ScrollBarNameStr_set
);
32602 SWIG_addvarlink(SWIG_globals
,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get
, _wrap_SPIN_BUTTON_NAME_set
);
32603 SWIG_addvarlink(SWIG_globals
,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get
, _wrap_SpinCtrlNameStr_set
);
32604 PyDict_SetItemString(d
,"SP_HORIZONTAL", SWIG_FromInt((int)wxSP_HORIZONTAL
));
32605 PyDict_SetItemString(d
,"SP_VERTICAL", SWIG_FromInt((int)wxSP_VERTICAL
));
32606 PyDict_SetItemString(d
,"SP_ARROW_KEYS", SWIG_FromInt((int)wxSP_ARROW_KEYS
));
32607 PyDict_SetItemString(d
,"SP_WRAP", SWIG_FromInt((int)wxSP_WRAP
));
32608 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED
));
32609 SWIG_addvarlink(SWIG_globals
,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get
, _wrap_RadioBoxNameStr_set
);
32610 SWIG_addvarlink(SWIG_globals
,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get
, _wrap_RadioButtonNameStr_set
);
32611 SWIG_addvarlink(SWIG_globals
,(char*)"SliderNameStr",_wrap_SliderNameStr_get
, _wrap_SliderNameStr_set
);
32612 SWIG_addvarlink(SWIG_globals
,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get
, _wrap_ToggleButtonNameStr_set
);
32613 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
32614 SWIG_addvarlink(SWIG_globals
,(char*)"NOTEBOOK_NAME",_wrap_NOTEBOOK_NAME_get
, _wrap_NOTEBOOK_NAME_set
);
32615 PyDict_SetItemString(d
,"NB_FIXEDWIDTH", SWIG_FromInt((int)wxNB_FIXEDWIDTH
));
32616 PyDict_SetItemString(d
,"NB_TOP", SWIG_FromInt((int)wxNB_TOP
));
32617 PyDict_SetItemString(d
,"NB_LEFT", SWIG_FromInt((int)wxNB_LEFT
));
32618 PyDict_SetItemString(d
,"NB_RIGHT", SWIG_FromInt((int)wxNB_RIGHT
));
32619 PyDict_SetItemString(d
,"NB_BOTTOM", SWIG_FromInt((int)wxNB_BOTTOM
));
32620 PyDict_SetItemString(d
,"NB_MULTILINE", SWIG_FromInt((int)wxNB_MULTILINE
));
32621 PyDict_SetItemString(d
,"NB_HITTEST_NOWHERE", SWIG_FromInt((int)wxNB_HITTEST_NOWHERE
));
32622 PyDict_SetItemString(d
,"NB_HITTEST_ONICON", SWIG_FromInt((int)wxNB_HITTEST_ONICON
));
32623 PyDict_SetItemString(d
,"NB_HITTEST_ONLABEL", SWIG_FromInt((int)wxNB_HITTEST_ONLABEL
));
32624 PyDict_SetItemString(d
,"NB_HITTEST_ONITEM", SWIG_FromInt((int)wxNB_HITTEST_ONITEM
));
32625 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
32626 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
32627 PyDict_SetItemString(d
,"LB_DEFAULT", SWIG_FromInt((int)wxLB_DEFAULT
));
32628 PyDict_SetItemString(d
,"LB_TOP", SWIG_FromInt((int)wxLB_TOP
));
32629 PyDict_SetItemString(d
,"LB_BOTTOM", SWIG_FromInt((int)wxLB_BOTTOM
));
32630 PyDict_SetItemString(d
,"LB_LEFT", SWIG_FromInt((int)wxLB_LEFT
));
32631 PyDict_SetItemString(d
,"LB_RIGHT", SWIG_FromInt((int)wxLB_RIGHT
));
32632 PyDict_SetItemString(d
,"LB_ALIGN_MASK", SWIG_FromInt((int)wxLB_ALIGN_MASK
));
32633 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
));
32634 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
));
32635 PyDict_SetItemString(d
,"TOOL_STYLE_BUTTON", SWIG_FromInt((int)wxTOOL_STYLE_BUTTON
));
32636 PyDict_SetItemString(d
,"TOOL_STYLE_SEPARATOR", SWIG_FromInt((int)wxTOOL_STYLE_SEPARATOR
));
32637 PyDict_SetItemString(d
,"TOOL_STYLE_CONTROL", SWIG_FromInt((int)wxTOOL_STYLE_CONTROL
));
32638 PyDict_SetItemString(d
,"TB_HORIZONTAL", SWIG_FromInt((int)wxTB_HORIZONTAL
));
32639 PyDict_SetItemString(d
,"TB_VERTICAL", SWIG_FromInt((int)wxTB_VERTICAL
));
32640 PyDict_SetItemString(d
,"TB_3DBUTTONS", SWIG_FromInt((int)wxTB_3DBUTTONS
));
32641 PyDict_SetItemString(d
,"TB_FLAT", SWIG_FromInt((int)wxTB_FLAT
));
32642 PyDict_SetItemString(d
,"TB_DOCKABLE", SWIG_FromInt((int)wxTB_DOCKABLE
));
32643 PyDict_SetItemString(d
,"TB_NOICONS", SWIG_FromInt((int)wxTB_NOICONS
));
32644 PyDict_SetItemString(d
,"TB_TEXT", SWIG_FromInt((int)wxTB_TEXT
));
32645 PyDict_SetItemString(d
,"TB_NODIVIDER", SWIG_FromInt((int)wxTB_NODIVIDER
));
32646 PyDict_SetItemString(d
,"TB_NOALIGN", SWIG_FromInt((int)wxTB_NOALIGN
));
32647 PyDict_SetItemString(d
,"TB_HORZ_LAYOUT", SWIG_FromInt((int)wxTB_HORZ_LAYOUT
));
32648 PyDict_SetItemString(d
,"TB_HORZ_TEXT", SWIG_FromInt((int)wxTB_HORZ_TEXT
));
32649 SWIG_addvarlink(SWIG_globals
,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get
, _wrap_ListCtrlNameStr_set
);
32650 PyDict_SetItemString(d
,"LC_VRULES", SWIG_FromInt((int)wxLC_VRULES
));
32651 PyDict_SetItemString(d
,"LC_HRULES", SWIG_FromInt((int)wxLC_HRULES
));
32652 PyDict_SetItemString(d
,"LC_ICON", SWIG_FromInt((int)wxLC_ICON
));
32653 PyDict_SetItemString(d
,"LC_SMALL_ICON", SWIG_FromInt((int)wxLC_SMALL_ICON
));
32654 PyDict_SetItemString(d
,"LC_LIST", SWIG_FromInt((int)wxLC_LIST
));
32655 PyDict_SetItemString(d
,"LC_REPORT", SWIG_FromInt((int)wxLC_REPORT
));
32656 PyDict_SetItemString(d
,"LC_ALIGN_TOP", SWIG_FromInt((int)wxLC_ALIGN_TOP
));
32657 PyDict_SetItemString(d
,"LC_ALIGN_LEFT", SWIG_FromInt((int)wxLC_ALIGN_LEFT
));
32658 PyDict_SetItemString(d
,"LC_AUTOARRANGE", SWIG_FromInt((int)wxLC_AUTOARRANGE
));
32659 PyDict_SetItemString(d
,"LC_VIRTUAL", SWIG_FromInt((int)wxLC_VIRTUAL
));
32660 PyDict_SetItemString(d
,"LC_EDIT_LABELS", SWIG_FromInt((int)wxLC_EDIT_LABELS
));
32661 PyDict_SetItemString(d
,"LC_NO_HEADER", SWIG_FromInt((int)wxLC_NO_HEADER
));
32662 PyDict_SetItemString(d
,"LC_NO_SORT_HEADER", SWIG_FromInt((int)wxLC_NO_SORT_HEADER
));
32663 PyDict_SetItemString(d
,"LC_SINGLE_SEL", SWIG_FromInt((int)wxLC_SINGLE_SEL
));
32664 PyDict_SetItemString(d
,"LC_SORT_ASCENDING", SWIG_FromInt((int)wxLC_SORT_ASCENDING
));
32665 PyDict_SetItemString(d
,"LC_SORT_DESCENDING", SWIG_FromInt((int)wxLC_SORT_DESCENDING
));
32666 PyDict_SetItemString(d
,"LC_MASK_TYPE", SWIG_FromInt((int)wxLC_MASK_TYPE
));
32667 PyDict_SetItemString(d
,"LC_MASK_ALIGN", SWIG_FromInt((int)wxLC_MASK_ALIGN
));
32668 PyDict_SetItemString(d
,"LC_MASK_SORT", SWIG_FromInt((int)wxLC_MASK_SORT
));
32669 PyDict_SetItemString(d
,"LIST_MASK_STATE", SWIG_FromInt((int)wxLIST_MASK_STATE
));
32670 PyDict_SetItemString(d
,"LIST_MASK_TEXT", SWIG_FromInt((int)wxLIST_MASK_TEXT
));
32671 PyDict_SetItemString(d
,"LIST_MASK_IMAGE", SWIG_FromInt((int)wxLIST_MASK_IMAGE
));
32672 PyDict_SetItemString(d
,"LIST_MASK_DATA", SWIG_FromInt((int)wxLIST_MASK_DATA
));
32673 PyDict_SetItemString(d
,"LIST_SET_ITEM", SWIG_FromInt((int)wxLIST_SET_ITEM
));
32674 PyDict_SetItemString(d
,"LIST_MASK_WIDTH", SWIG_FromInt((int)wxLIST_MASK_WIDTH
));
32675 PyDict_SetItemString(d
,"LIST_MASK_FORMAT", SWIG_FromInt((int)wxLIST_MASK_FORMAT
));
32676 PyDict_SetItemString(d
,"LIST_STATE_DONTCARE", SWIG_FromInt((int)wxLIST_STATE_DONTCARE
));
32677 PyDict_SetItemString(d
,"LIST_STATE_DROPHILITED", SWIG_FromInt((int)wxLIST_STATE_DROPHILITED
));
32678 PyDict_SetItemString(d
,"LIST_STATE_FOCUSED", SWIG_FromInt((int)wxLIST_STATE_FOCUSED
));
32679 PyDict_SetItemString(d
,"LIST_STATE_SELECTED", SWIG_FromInt((int)wxLIST_STATE_SELECTED
));
32680 PyDict_SetItemString(d
,"LIST_STATE_CUT", SWIG_FromInt((int)wxLIST_STATE_CUT
));
32681 PyDict_SetItemString(d
,"LIST_STATE_DISABLED", SWIG_FromInt((int)wxLIST_STATE_DISABLED
));
32682 PyDict_SetItemString(d
,"LIST_STATE_FILTERED", SWIG_FromInt((int)wxLIST_STATE_FILTERED
));
32683 PyDict_SetItemString(d
,"LIST_STATE_INUSE", SWIG_FromInt((int)wxLIST_STATE_INUSE
));
32684 PyDict_SetItemString(d
,"LIST_STATE_PICKED", SWIG_FromInt((int)wxLIST_STATE_PICKED
));
32685 PyDict_SetItemString(d
,"LIST_STATE_SOURCE", SWIG_FromInt((int)wxLIST_STATE_SOURCE
));
32686 PyDict_SetItemString(d
,"LIST_HITTEST_ABOVE", SWIG_FromInt((int)wxLIST_HITTEST_ABOVE
));
32687 PyDict_SetItemString(d
,"LIST_HITTEST_BELOW", SWIG_FromInt((int)wxLIST_HITTEST_BELOW
));
32688 PyDict_SetItemString(d
,"LIST_HITTEST_NOWHERE", SWIG_FromInt((int)wxLIST_HITTEST_NOWHERE
));
32689 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMICON", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMICON
));
32690 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMLABEL", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMLABEL
));
32691 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMRIGHT", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMRIGHT
));
32692 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMSTATEICON", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMSTATEICON
));
32693 PyDict_SetItemString(d
,"LIST_HITTEST_TOLEFT", SWIG_FromInt((int)wxLIST_HITTEST_TOLEFT
));
32694 PyDict_SetItemString(d
,"LIST_HITTEST_TORIGHT", SWIG_FromInt((int)wxLIST_HITTEST_TORIGHT
));
32695 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEM", SWIG_FromInt((int)wxLIST_HITTEST_ONITEM
));
32696 PyDict_SetItemString(d
,"LIST_NEXT_ABOVE", SWIG_FromInt((int)wxLIST_NEXT_ABOVE
));
32697 PyDict_SetItemString(d
,"LIST_NEXT_ALL", SWIG_FromInt((int)wxLIST_NEXT_ALL
));
32698 PyDict_SetItemString(d
,"LIST_NEXT_BELOW", SWIG_FromInt((int)wxLIST_NEXT_BELOW
));
32699 PyDict_SetItemString(d
,"LIST_NEXT_LEFT", SWIG_FromInt((int)wxLIST_NEXT_LEFT
));
32700 PyDict_SetItemString(d
,"LIST_NEXT_RIGHT", SWIG_FromInt((int)wxLIST_NEXT_RIGHT
));
32701 PyDict_SetItemString(d
,"LIST_ALIGN_DEFAULT", SWIG_FromInt((int)wxLIST_ALIGN_DEFAULT
));
32702 PyDict_SetItemString(d
,"LIST_ALIGN_LEFT", SWIG_FromInt((int)wxLIST_ALIGN_LEFT
));
32703 PyDict_SetItemString(d
,"LIST_ALIGN_TOP", SWIG_FromInt((int)wxLIST_ALIGN_TOP
));
32704 PyDict_SetItemString(d
,"LIST_ALIGN_SNAP_TO_GRID", SWIG_FromInt((int)wxLIST_ALIGN_SNAP_TO_GRID
));
32705 PyDict_SetItemString(d
,"LIST_FORMAT_LEFT", SWIG_FromInt((int)wxLIST_FORMAT_LEFT
));
32706 PyDict_SetItemString(d
,"LIST_FORMAT_RIGHT", SWIG_FromInt((int)wxLIST_FORMAT_RIGHT
));
32707 PyDict_SetItemString(d
,"LIST_FORMAT_CENTRE", SWIG_FromInt((int)wxLIST_FORMAT_CENTRE
));
32708 PyDict_SetItemString(d
,"LIST_FORMAT_CENTER", SWIG_FromInt((int)wxLIST_FORMAT_CENTER
));
32709 PyDict_SetItemString(d
,"LIST_AUTOSIZE", SWIG_FromInt((int)wxLIST_AUTOSIZE
));
32710 PyDict_SetItemString(d
,"LIST_AUTOSIZE_USEHEADER", SWIG_FromInt((int)wxLIST_AUTOSIZE_USEHEADER
));
32711 PyDict_SetItemString(d
,"LIST_RECT_BOUNDS", SWIG_FromInt((int)wxLIST_RECT_BOUNDS
));
32712 PyDict_SetItemString(d
,"LIST_RECT_ICON", SWIG_FromInt((int)wxLIST_RECT_ICON
));
32713 PyDict_SetItemString(d
,"LIST_RECT_LABEL", SWIG_FromInt((int)wxLIST_RECT_LABEL
));
32714 PyDict_SetItemString(d
,"LIST_FIND_UP", SWIG_FromInt((int)wxLIST_FIND_UP
));
32715 PyDict_SetItemString(d
,"LIST_FIND_DOWN", SWIG_FromInt((int)wxLIST_FIND_DOWN
));
32716 PyDict_SetItemString(d
,"LIST_FIND_LEFT", SWIG_FromInt((int)wxLIST_FIND_LEFT
));
32717 PyDict_SetItemString(d
,"LIST_FIND_RIGHT", SWIG_FromInt((int)wxLIST_FIND_RIGHT
));
32718 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG
));
32719 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
32720 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
32721 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
32722 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM
));
32723 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
32724 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO
));
32725 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO
));
32726 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED
));
32727 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
32728 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN
));
32729 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM
));
32730 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK
));
32731 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
32732 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
32733 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
32734 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT
));
32735 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
32736 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
32737 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING
));
32738 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG
));
32739 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
32741 // Map renamed classes back to their common name for OOR
32742 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
32744 SWIG_addvarlink(SWIG_globals
,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get
, _wrap_TreeCtrlNameStr_set
);
32745 PyDict_SetItemString(d
,"TR_NO_BUTTONS", SWIG_FromInt((int)wxTR_NO_BUTTONS
));
32746 PyDict_SetItemString(d
,"TR_HAS_BUTTONS", SWIG_FromInt((int)wxTR_HAS_BUTTONS
));
32747 PyDict_SetItemString(d
,"TR_NO_LINES", SWIG_FromInt((int)wxTR_NO_LINES
));
32748 PyDict_SetItemString(d
,"TR_LINES_AT_ROOT", SWIG_FromInt((int)wxTR_LINES_AT_ROOT
));
32749 PyDict_SetItemString(d
,"TR_SINGLE", SWIG_FromInt((int)wxTR_SINGLE
));
32750 PyDict_SetItemString(d
,"TR_MULTIPLE", SWIG_FromInt((int)wxTR_MULTIPLE
));
32751 PyDict_SetItemString(d
,"TR_EXTENDED", SWIG_FromInt((int)wxTR_EXTENDED
));
32752 PyDict_SetItemString(d
,"TR_HAS_VARIABLE_ROW_HEIGHT", SWIG_FromInt((int)wxTR_HAS_VARIABLE_ROW_HEIGHT
));
32753 PyDict_SetItemString(d
,"TR_EDIT_LABELS", SWIG_FromInt((int)wxTR_EDIT_LABELS
));
32754 PyDict_SetItemString(d
,"TR_HIDE_ROOT", SWIG_FromInt((int)wxTR_HIDE_ROOT
));
32755 PyDict_SetItemString(d
,"TR_ROW_LINES", SWIG_FromInt((int)wxTR_ROW_LINES
));
32756 PyDict_SetItemString(d
,"TR_FULL_ROW_HIGHLIGHT", SWIG_FromInt((int)wxTR_FULL_ROW_HIGHLIGHT
));
32757 PyDict_SetItemString(d
,"TR_DEFAULT_STYLE", SWIG_FromInt((int)wxTR_DEFAULT_STYLE
));
32758 PyDict_SetItemString(d
,"TR_TWIST_BUTTONS", SWIG_FromInt((int)wxTR_TWIST_BUTTONS
));
32759 PyDict_SetItemString(d
,"TR_MAC_BUTTONS", SWIG_FromInt((int)wxTR_MAC_BUTTONS
));
32760 PyDict_SetItemString(d
,"TR_AQUA_BUTTONS", SWIG_FromInt((int)wxTR_AQUA_BUTTONS
));
32761 PyDict_SetItemString(d
,"TreeItemIcon_Normal", SWIG_FromInt((int)wxTreeItemIcon_Normal
));
32762 PyDict_SetItemString(d
,"TreeItemIcon_Selected", SWIG_FromInt((int)wxTreeItemIcon_Selected
));
32763 PyDict_SetItemString(d
,"TreeItemIcon_Expanded", SWIG_FromInt((int)wxTreeItemIcon_Expanded
));
32764 PyDict_SetItemString(d
,"TreeItemIcon_SelectedExpanded", SWIG_FromInt((int)wxTreeItemIcon_SelectedExpanded
));
32765 PyDict_SetItemString(d
,"TreeItemIcon_Max", SWIG_FromInt((int)wxTreeItemIcon_Max
));
32766 PyDict_SetItemString(d
,"TREE_HITTEST_ABOVE", SWIG_FromInt((int)wxTREE_HITTEST_ABOVE
));
32767 PyDict_SetItemString(d
,"TREE_HITTEST_BELOW", SWIG_FromInt((int)wxTREE_HITTEST_BELOW
));
32768 PyDict_SetItemString(d
,"TREE_HITTEST_NOWHERE", SWIG_FromInt((int)wxTREE_HITTEST_NOWHERE
));
32769 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMBUTTON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMBUTTON
));
32770 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMICON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMICON
));
32771 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMINDENT", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMINDENT
));
32772 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLABEL", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMLABEL
));
32773 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMRIGHT", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMRIGHT
));
32774 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMSTATEICON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMSTATEICON
));
32775 PyDict_SetItemString(d
,"TREE_HITTEST_TOLEFT", SWIG_FromInt((int)wxTREE_HITTEST_TOLEFT
));
32776 PyDict_SetItemString(d
,"TREE_HITTEST_TORIGHT", SWIG_FromInt((int)wxTREE_HITTEST_TORIGHT
));
32777 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMUPPERPART", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMUPPERPART
));
32778 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLOWERPART", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMLOWERPART
));
32779 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEM", SWIG_FromInt((int)wxTREE_HITTEST_ONITEM
));
32780 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG
));
32781 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
32782 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
32783 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
32784 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM
));
32785 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO
));
32786 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO
));
32787 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
32788 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
32789 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
32790 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
32791 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED
));
32792 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING
));
32793 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN
));
32794 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
32795 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
32796 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
32797 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG
));
32798 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
));
32799 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
));
32801 // Map renamed classes back to their common name for OOR
32802 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
32803 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
32805 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get
, _wrap_DirDialogDefaultFolderStr_set
);
32806 PyDict_SetItemString(d
,"DIRCTRL_DIR_ONLY", SWIG_FromInt((int)wxDIRCTRL_DIR_ONLY
));
32807 PyDict_SetItemString(d
,"DIRCTRL_SELECT_FIRST", SWIG_FromInt((int)wxDIRCTRL_SELECT_FIRST
));
32808 PyDict_SetItemString(d
,"DIRCTRL_SHOW_FILTERS", SWIG_FromInt((int)wxDIRCTRL_SHOW_FILTERS
));
32809 PyDict_SetItemString(d
,"DIRCTRL_3D_INTERNAL", SWIG_FromInt((int)wxDIRCTRL_3D_INTERNAL
));
32810 PyDict_SetItemString(d
,"DIRCTRL_EDIT_LABELS", SWIG_FromInt((int)wxDIRCTRL_EDIT_LABELS
));
32811 PyDict_SetItemString(d
,"FRAME_EX_CONTEXTHELP", SWIG_FromInt((int)wxFRAME_EX_CONTEXTHELP
));
32812 PyDict_SetItemString(d
,"DIALOG_EX_CONTEXTHELP", SWIG_FromInt((int)wxDIALOG_EX_CONTEXTHELP
));
32813 PyDict_SetItemString(d
, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP
));
32814 PyDict_SetItemString(d
, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP
));
32816 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");