1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_NOINCLUDE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
39 ************************************************************************/
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypeQuery SWIG_Python_TypeQuery
47 #define SWIG_TypeClientData SWIG_Python_TypeClientData
48 #define SWIG_PackData SWIG_Python_PackData
49 #define SWIG_UnpackData SWIG_Python_UnpackData
52 /***********************************************************************
53 * common.swg for wxPython
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
60 ************************************************************************/
64 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65 # if defined(_MSC_VER) || defined(__GNUC__)
66 # if defined(STATIC_LINKED)
67 # define SWIGEXPORT(a) a
68 # define SWIGIMPORT(a) extern a
70 # define SWIGEXPORT(a) __declspec(dllexport) a
71 # define SWIGIMPORT(a) extern a
74 # if defined(__BORLANDC__)
75 # define SWIGEXPORT(a) a _export
76 # define SWIGIMPORT(a) a _export
78 # define SWIGEXPORT(a) a
79 # define SWIGIMPORT(a) a
83 # define SWIGEXPORT(a) a
84 # define SWIGIMPORT(a) a
88 # define SWIGRUNTIME(a) SWIGEXPORT(a)
90 # define SWIGRUNTIME(a) static a
97 typedef void *(*swig_converter_func
)(void *);
98 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
100 typedef struct swig_type_info
{
102 swig_converter_func converter
;
105 swig_dycast_func dcast
;
106 struct swig_type_info
*next
;
107 struct swig_type_info
*prev
;
111 SWIGIMPORT(swig_type_info
*) SWIG_TypeRegister(swig_type_info
*);
112 SWIGIMPORT(swig_type_info
*) SWIG_TypeCheck(char *c
, swig_type_info
*);
113 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info
*, void *);
114 SWIGIMPORT(swig_type_info
*) SWIG_TypeDynamicCast(swig_type_info
*, void **);
115 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info
*);
116 SWIGIMPORT(swig_type_info
*) SWIG_TypeQuery(const char *);
117 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info
*, void *);
118 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
126 /***********************************************************************
127 * pyrun.swg for wxPython
129 * Include only the function prototypes and such from SWIG's pyrun.swg,
130 * but not the runtime functions themselves. This helps keep the
131 * wrapper files clean of unnecessary stuff that is in the libpy.c file
134 ************************************************************************/
142 #define SWIG_PY_INT 1
143 #define SWIG_PY_FLOAT 2
144 #define SWIG_PY_STRING 3
145 #define SWIG_PY_POINTER 4
146 #define SWIG_PY_BINARY 5
148 /* Flags for pointer conversion */
150 #define SWIG_POINTER_EXCEPTION 0x1
151 #define SWIG_POINTER_DISOWN 0x2
153 /* Exception handling in wrappers */
154 #define SWIG_fail goto fail
156 /* Constant information structure */
157 typedef struct swig_const_info
{
163 swig_type_info
**ptype
;
166 /* Common SWIG API */
167 #define SWIG_ConvertPtr(obj, pp, type, flags) \
168 SWIG_Python_ConvertPtr(obj, pp, type, flags)
169 #define SWIG_NewPointerObj(p, type, flags) \
170 SWIG_Python_NewPointerObj(p, type, flags)
171 #define SWIG_MustGetPtr(p, type, argnum, flags) \
172 SWIG_Python_MustGetPtr(p, type, argnum, flags)
174 /* Python-specific SWIG API */
175 #define SWIG_newvarlink() \
176 SWIG_Python_newvarlink()
177 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
178 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
179 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
180 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
181 #define SWIG_NewPackedObj(ptr, sz, type) \
182 SWIG_Python_NewPackedObj(ptr, sz, type)
183 #define SWIG_InstallConstants(d, constants) \
184 SWIG_Python_InstallConstants(d, constants)
186 typedef double (*py_objasdbl_conv
)(PyObject
*obj
);
188 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject
*, void **, swig_type_info
*, int);
189 SWIGIMPORT(PyObject
*) SWIG_Python_NewPointerObj(void *, swig_type_info
*,int own
);
190 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject
*, swig_type_info
*, int, int);
191 SWIGIMPORT(PyObject
*) SWIG_Python_newvarlink(void);
192 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
193 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject
*, void *, int sz
, swig_type_info
*, int);
194 SWIGIMPORT(PyObject
*) SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info
*);
195 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]);
198 /* Contract support */
200 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
207 /* -------- TYPES TABLE (BEGIN) -------- */
209 #define SWIGTYPE_p_wxTextUrlEvent swig_types[0]
210 #define SWIGTYPE_p_wxBookCtrlEvent swig_types[1]
211 #define SWIGTYPE_p_wxSizer swig_types[2]
212 #define SWIGTYPE_p_wxCheckBox swig_types[3]
213 #define SWIGTYPE_p_wxPyTreeCtrl swig_types[4]
214 #define SWIGTYPE_p_wxEvent swig_types[5]
215 #define SWIGTYPE_p_wxGenericDirCtrl swig_types[6]
216 #define SWIGTYPE_p_bool swig_types[7]
217 #define SWIGTYPE_p_wxPyTreeItemData swig_types[8]
218 #define SWIGTYPE_p_wxItemContainer swig_types[9]
219 #define SWIGTYPE_p_wxPyListCtrl swig_types[10]
220 #define SWIGTYPE_p_wxDirFilterListCtrl swig_types[11]
221 #define SWIGTYPE_p_wxStaticLine swig_types[12]
222 #define SWIGTYPE_p_wxControl swig_types[13]
223 #define SWIGTYPE_p_wxPyControl swig_types[14]
224 #define SWIGTYPE_p_wxGauge swig_types[15]
225 #define SWIGTYPE_p_wxToolBarBase swig_types[16]
226 #define SWIGTYPE_p_wxFont swig_types[17]
227 #define SWIGTYPE_p_wxToggleButton swig_types[18]
228 #define SWIGTYPE_p_wxRadioButton swig_types[19]
229 #define SWIGTYPE_p_wxChoice swig_types[20]
230 #define SWIGTYPE_p_wxMemoryDC swig_types[21]
231 #define SWIGTYPE_p_wxListItemAttr swig_types[22]
232 #define SWIGTYPE_p_void swig_types[23]
233 #define SWIGTYPE_p_int swig_types[24]
234 #define SWIGTYPE_p_wxSize swig_types[25]
235 #define SWIGTYPE_p_wxDC swig_types[26]
236 #define SWIGTYPE_p_wxListView swig_types[27]
237 #define SWIGTYPE_p_wxIcon swig_types[28]
238 #define SWIGTYPE_p_wxVisualAttributes swig_types[29]
239 #define SWIGTYPE_p_wxTextCtrl swig_types[30]
240 #define SWIGTYPE_p_wxNotebook swig_types[31]
241 #define SWIGTYPE_p_wxNotifyEvent swig_types[32]
242 #define SWIGTYPE_p_wxArrayString swig_types[33]
243 #define SWIGTYPE_p_wxListbook swig_types[34]
244 #define SWIGTYPE_p_wxStaticBitmap swig_types[35]
245 #define SWIGTYPE_p_wxSlider swig_types[36]
246 #define SWIGTYPE_p_wxStaticBox swig_types[37]
247 #define SWIGTYPE_p_wxArrayInt swig_types[38]
248 #define SWIGTYPE_p_wxContextHelp swig_types[39]
249 #define SWIGTYPE_p_long swig_types[40]
250 #define SWIGTYPE_p_wxEvtHandler swig_types[41]
251 #define SWIGTYPE_p_wxListEvent swig_types[42]
252 #define SWIGTYPE_p_wxCheckListBox swig_types[43]
253 #define SWIGTYPE_p_wxListBox swig_types[44]
254 #define SWIGTYPE_p_wxBookCtrl swig_types[45]
255 #define SWIGTYPE_p_wxSpinButton swig_types[46]
256 #define SWIGTYPE_p_wxButton swig_types[47]
257 #define SWIGTYPE_p_wxBitmapButton swig_types[48]
258 #define SWIGTYPE_p_wxRect swig_types[49]
259 #define SWIGTYPE_p_wxContextHelpButton swig_types[50]
260 #define SWIGTYPE_p_wxRadioBox swig_types[51]
261 #define SWIGTYPE_p_wxScrollBar swig_types[52]
262 #define SWIGTYPE_p_char swig_types[53]
263 #define SWIGTYPE_p_wxTreeItemId swig_types[54]
264 #define SWIGTYPE_p_wxComboBox swig_types[55]
265 #define SWIGTYPE_p_wxHelpEvent swig_types[56]
266 #define SWIGTYPE_p_wxListItem swig_types[57]
267 #define SWIGTYPE_p_wxNotebookSizer swig_types[58]
268 #define SWIGTYPE_p_wxSpinEvent swig_types[59]
269 #define SWIGTYPE_p_wxGenericDragImage swig_types[60]
270 #define SWIGTYPE_p_wxSpinCtrl swig_types[61]
271 #define SWIGTYPE_p_wxImageList swig_types[62]
272 #define SWIGTYPE_p_wxHelpProvider swig_types[63]
273 #define SWIGTYPE_p_wxTextAttr swig_types[64]
274 #define SWIGTYPE_p_wxSimpleHelpProvider swig_types[65]
275 #define SWIGTYPE_p_wxPoint swig_types[66]
276 #define SWIGTYPE_p_wxListbookEvent swig_types[67]
277 #define SWIGTYPE_p_wxNotebookEvent swig_types[68]
278 #define SWIGTYPE_p_wxObject swig_types[69]
279 #define SWIGTYPE_p_wxCursor swig_types[70]
280 #define SWIGTYPE_p_wxKeyEvent swig_types[71]
281 #define SWIGTYPE_p_wxWindow swig_types[72]
282 #define SWIGTYPE_p_wxString swig_types[73]
283 #define SWIGTYPE_p_wxBitmap swig_types[74]
284 #define SWIGTYPE_p_wxTreeEvent swig_types[75]
285 #define SWIGTYPE_p_wxMouseEvent swig_types[76]
286 #define SWIGTYPE_p_wxCommandEvent swig_types[77]
287 #define SWIGTYPE_p_wxStaticText swig_types[78]
288 #define SWIGTYPE_p_wxControlWithItems swig_types[79]
289 #define SWIGTYPE_p_wxToolBarToolBase swig_types[80]
290 #define SWIGTYPE_p_wxColour swig_types[81]
291 #define SWIGTYPE_p_wxToolBar swig_types[82]
292 #define SWIGTYPE_p_wxBookCtrlSizer swig_types[83]
293 #define SWIGTYPE_p_wxValidator swig_types[84]
294 static swig_type_info
*swig_types
[86];
296 /* -------- TYPES TABLE (END) -------- */
299 /*-----------------------------------------------
300 @(target):= _controls.so
301 ------------------------------------------------*/
302 #define SWIG_init init_controls
304 #define SWIG_name "_controls"
306 /* Auxiliar swig macros */
309 #define SWIGSTATICINLINE(a) static inline a
310 #define SWIGSTATIC(a) static a
311 #define swig_new_array(type, size) (new type[(size)])
312 #define swig_delete_array(cptr) delete[] cptr
313 #define swig_const_cast(type,a) const_cast<type>(a)
314 #define swig_static_cast(type,a) static_cast<type>(a)
315 #define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a)
317 #ifdef HAVE_NUMERIC_CAST
318 #define swig_numeric_cast(type,a) numeric_cast<type>(a)
320 #define swig_numeric_cast(type,a) static_cast<type>(a)
325 #define SWIGSTATICINLINE(a) static a
326 #define SWIGSTATIC(a) static a
327 #define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type)))
328 #define swig_delete_array(cptr) free((char*)cptr)
329 #define swig_const_cast(type,a) (type)(a)
330 #define swig_static_cast(type,a) (type)(a)
331 #define swig_reinterpret_cast(type,a) (type)(a)
332 #define swig_numeric_cast(type,a) (type)(a)
334 #endif /* __cplusplus */
337 #define SWIG_FromSignedChar PyInt_FromLong
338 #define SWIG_FromUnsignedChar PyInt_FromLong
339 #define SWIG_FromShort PyInt_FromLong
340 #define SWIG_FromUnsignedShort PyInt_FromLong
341 #define SWIG_FromInt PyInt_FromLong
342 #define SWIG_FromLong PyInt_FromLong
343 #define SWIG_FromFloat PyFloat_FromDouble
344 #define SWIG_FromDouble PyFloat_FromDouble
345 #define SWIG_FromFloat PyFloat_FromDouble
346 #define SWIG_FromDouble PyFloat_FromDouble
349 #include "wx/wxPython/wxPython.h"
350 #include "wx/wxPython/pyclasses.h"
352 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
353 static const wxString
wxPyEmptyString(wxEmptyString
);
354 static const wxString
wxPyControlNameStr(wxControlNameStr
);
356 const wxArrayString wxPyEmptyStringArray
;
358 static const wxString
wxPyButtonNameStr(wxButtonNameStr
);
363 SWIGSTATICINLINE(long)
364 SWIG_CheckLongInRange(long value
, const char* type
,
365 long min_value
, long max_value
)
367 if (!PyErr_Occurred()) {
368 if (value
< min_value
) {
370 PyString_FromFormat("value %ld is less than '%s' minimum %ld",
371 value
, type
, min_value
);
373 PyErr_SetObject(PyExc_OverflowError
, err
);
375 } else if (value
> max_value
) {
377 PyString_FromFormat("value %ld is greater than '%s' maximum %ld",
378 value
, type
, max_value
);
379 PyErr_SetObject(PyExc_OverflowError
, err
);
387 SWIGSTATICINLINE(long)
388 SWIG_AsLong(PyObject
* obj
)
390 if (PyNumber_Check(obj
))
391 return PyInt_AsLong(obj
);
393 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
394 obj
->ob_type
->tp_name
);
395 PyErr_SetObject(PyExc_TypeError
, errmsg
);
402 #if INT_MAX != LONG_MAX
403 SWIGSTATICINLINE(int)
404 SWIG_AsInt(PyObject
*obj
)
406 return swig_numeric_cast(int,
407 SWIG_CheckLongInRange(SWIG_AsLong(obj
),
408 "int", INT_MIN
, INT_MAX
));
411 #define SWIG_AsInt SWIG_AsLong
415 SWIGSTATICINLINE(int)
416 SWIG_CheckInt(PyObject
* obj
)
419 if (PyErr_Occurred()) {
428 SWIGSTATICINLINE(int)
429 SWIG_CheckLong(PyObject
* obj
)
432 if (PyErr_Occurred()) {
440 static const wxString
wxPyCheckBoxNameStr(wxCheckBoxNameStr
);
442 SWIGSTATICINLINE(bool)
443 SWIG_AsBool(PyObject
*obj
)
445 return PyObject_IsTrue(obj
) ? true : false;
449 SWIGSTATICINLINE(int)
450 SWIG_CheckBool(PyObject
* obj
)
453 if (PyErr_Occurred()) {
461 static const wxString
wxPyChoiceNameStr(wxChoiceNameStr
);
462 static const wxString
wxPyComboBoxNameStr(wxComboBoxNameStr
);
463 static const wxString
wxPyGaugeNameStr(wxGaugeNameStr
);
464 static const wxString
wxPyStaticBitmapNameStr(wxStaticBitmapNameStr
);
465 static const wxString
wxPyStaticBoxNameStr(wxStaticBoxNameStr
);
466 static const wxString
wxPyStaticTextNameStr(wxStaticTextNameStr
);
468 #include <wx/checklst.h>
471 static const wxString
wxPyListBoxNameStr(wxListBoxNameStr
);
472 void wxListBox_Insert(wxListBox
*self
,wxString
const &item
,int pos
,PyObject
*clientData
){
474 wxPyClientData
* data
= new wxPyClientData(clientData
);
475 self
->Insert(item
, pos
, data
);
477 self
->Insert(item
, pos
);
479 PyObject
*wxListBox_GetSelections(wxListBox
*self
){
481 self
->GetSelections(lst
);
482 PyObject
*tup
= PyTuple_New(lst
.GetCount());
483 for(size_t i
=0; i
<lst
.GetCount(); i
++) {
484 PyTuple_SetItem(tup
, i
, PyInt_FromLong(lst
[i
]));
488 void wxListBox_SetItemForegroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
490 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
491 self
->GetItem(item
)->SetTextColour(c
);
494 void wxListBox_SetItemBackgroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
496 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
497 self
->GetItem(item
)->SetBackgroundColour(c
);
500 void wxListBox_SetItemFont(wxListBox
*self
,int item
,wxFont
const &f
){
502 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
503 self
->GetItem(item
)->SetFont(f
);
506 static const wxString
wxPyTextCtrlNameStr(wxTextCtrlNameStr
);
508 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
514 } else if (target
== Py_None
) {
518 if (!PyTuple_Check(target
)) {
520 target
= PyTuple_New(1);
521 PyTuple_SetItem(target
, 0, o2
);
524 PyTuple_SetItem(o3
, 0, o
);
527 target
= PySequence_Concat(o2
, o3
);
535 SWIGSTATICINLINE(unsigned long)
536 SWIG_AsUnsignedLong(PyObject
* obj
)
538 if (PyLong_Check(obj
)) {
539 return PyLong_AsUnsignedLong(obj
);
541 long i
= SWIG_AsLong(obj
);
542 if ( !PyErr_Occurred() && (i
< 0)) {
543 PyErr_SetString(PyExc_TypeError
, "negative value received for unsigned type");
550 SWIGSTATICINLINE(int)
551 SWIG_CheckUnsignedLong(PyObject
* obj
)
553 SWIG_AsUnsignedLong(obj
);
554 if (PyErr_Occurred()) {
562 void wxTextCtrl_write(wxTextCtrl
*self
,wxString
const &text
){
563 self
->AppendText(text
);
565 wxString
wxTextCtrl_GetString(wxTextCtrl
*self
,long from
,long to
){
566 return self
->GetValue().Mid(from
, to
- from
);
568 static const wxString
wxPyScrollBarNameStr(wxScrollBarNameStr
);
569 static const wxString
wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME
);
570 static const wxString
wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
571 static const wxString
wxPyRadioBoxNameStr(wxRadioBoxNameStr
);
572 static const wxString
wxPyRadioButtonNameStr(wxRadioButtonNameStr
);
574 #include <wx/slider.h>
577 static const wxString
wxPySliderNameStr(wxSliderNameStr
);
578 static const wxString
wxPyToggleButtonNameStr(_T("wxToggleButton"));
581 // implement dummy items for platforms that don't have this class
583 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
585 class wxToggleButton
: public wxControl
588 wxToggleButton(wxWindow
*, wxWindowID
, const wxString
&,
589 const wxPoint
&, const wxSize
&, long,
590 const wxValidator
&, const wxString
&)
591 { wxPyRaiseNotImplemented(); }
594 { wxPyRaiseNotImplemented(); }
598 static const wxString
wxPyNOTEBOOK_NAME(wxNOTEBOOK_NAME
);
600 SWIGSTATICINLINE(PyObject
* )
601 SWIG_FromUnsignedLong(unsigned long value
)
603 return (value
> LONG_MAX
) ?
604 PyLong_FromUnsignedLong(value
)
605 : PyInt_FromLong(swig_numeric_cast(long,value
));
608 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
609 PyObject
*wxToolBarToolBase_GetClientData(wxToolBarToolBase
*self
){
610 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetClientData();
612 Py_INCREF(udata
->m_obj
);
619 void wxToolBarToolBase_SetClientData(wxToolBarToolBase
*self
,PyObject
*clientData
){
620 self
->SetClientData(new wxPyUserData(clientData
));
622 wxToolBarToolBase
*wxToolBarBase_DoAddTool(wxToolBarBase
*self
,int id
,wxString
const &label
,wxBitmap
const &bitmap
,wxBitmap
const &bmpDisabled
,wxItemKind kind
,wxString
const &shortHelp
,wxString
const &longHelp
,PyObject
*clientData
){
623 wxPyUserData
* udata
= NULL
;
624 if (clientData
&& clientData
!= Py_None
)
625 udata
= new wxPyUserData(clientData
);
626 return self
->AddTool(id
, label
, bitmap
, bmpDisabled
, kind
,
627 shortHelp
, longHelp
, udata
);
629 wxToolBarToolBase
*wxToolBarBase_DoInsertTool(wxToolBarBase
*self
,size_t pos
,int id
,wxString
const &label
,wxBitmap
const &bitmap
,wxBitmap
const &bmpDisabled
,wxItemKind kind
,wxString
const &shortHelp
,wxString
const &longHelp
,PyObject
*clientData
){
630 wxPyUserData
* udata
= NULL
;
631 if (clientData
&& clientData
!= Py_None
)
632 udata
= new wxPyUserData(clientData
);
633 return self
->InsertTool(pos
, id
, label
, bitmap
, bmpDisabled
, kind
,
634 shortHelp
, longHelp
, udata
);
636 PyObject
*wxToolBarBase_GetToolClientData(wxToolBarBase
*self
,int id
){
637 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetToolClientData(id
);
639 Py_INCREF(udata
->m_obj
);
646 void wxToolBarBase_SetToolClientData(wxToolBarBase
*self
,int id
,PyObject
*clientData
){
647 self
->SetToolClientData(id
, new wxPyUserData(clientData
));
650 #include <wx/listctrl.h>
653 static const wxString
wxPyListCtrlNameStr(_T("wxListCtrl"));
654 void wxListItemAttr_Destroy(wxListItemAttr
*self
){ delete self
; }
655 // Python aware sorting function for wxPyListCtrl
656 static int wxCALLBACK
wxPyListCtrl_SortItems(long item1
, long item2
, long funcPtr
) {
658 PyObject
* func
= (PyObject
*)funcPtr
;
659 bool blocked
= wxPyBeginBlockThreads();
661 PyObject
* args
= Py_BuildValue("(ii)", item1
, item2
);
662 PyObject
* result
= PyEval_CallObject(func
, args
);
665 retval
= PyInt_AsLong(result
);
669 wxPyEndBlockThreads(blocked
);
673 // C++ Version of a Python aware class
674 class wxPyListCtrl
: public wxListCtrl
{
675 DECLARE_ABSTRACT_CLASS(wxPyListCtrl
);
677 wxPyListCtrl() : wxListCtrl() {}
678 wxPyListCtrl(wxWindow
* parent
, wxWindowID id
,
682 const wxValidator
& validator
,
683 const wxString
& name
) :
684 wxListCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
686 bool Create(wxWindow
* parent
, wxWindowID id
,
690 const wxValidator
& validator
,
691 const wxString
& name
) {
692 return wxListCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
695 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText
);
696 DEC_PYCALLBACK_INT_LONG(OnGetItemImage
);
697 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr
);
702 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl
, wxListCtrl
);
704 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemText
);
705 IMP_PYCALLBACK_INT_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemImage
);
706 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemAttr
);
708 wxListItem
*wxPyListCtrl_GetColumn(wxPyListCtrl
*self
,int col
){
710 item
.SetMask( wxLIST_MASK_STATE
|
718 if (self
->GetColumn(col
, item
))
719 return new wxListItem(item
);
723 wxListItem
*wxPyListCtrl_GetItem(wxPyListCtrl
*self
,long itemId
,int col
){
724 wxListItem
* info
= new wxListItem
;
725 info
->m_itemId
= itemId
;
727 info
->m_mask
= 0xFFFF;
728 self
->GetItem(*info
);
731 wxPoint
wxPyListCtrl_GetItemPosition(wxPyListCtrl
*self
,long item
){
733 self
->GetItemPosition(item
, pos
);
736 wxRect
wxPyListCtrl_GetItemRect(wxPyListCtrl
*self
,long item
,int code
){
738 self
->GetItemRect(item
, rect
, code
);
741 bool wxPyListCtrl_SortItems(wxPyListCtrl
*self
,PyObject
*func
){
742 if (!PyCallable_Check(func
))
744 return self
->SortItems((wxListCtrlCompare
)wxPyListCtrl_SortItems
, (long)func
);
746 wxWindow
*wxPyListCtrl_GetMainWindow(wxPyListCtrl
*self
){
750 return (wxWindow
*)self
->m_mainWin
;
754 #include <wx/treectrl.h>
755 #include "wx/wxPython/pytree.h"
757 static const wxString
wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
758 bool wxTreeItemId___eq__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
== *other
) : False
; }
759 bool wxTreeItemId___ne__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
!= *other
) : True
; }
760 void wxPyTreeItemData_Destroy(wxPyTreeItemData
*self
){ delete self
; }
761 // C++ version of Python aware wxTreeCtrl
762 class wxPyTreeCtrl
: public wxTreeCtrl
{
763 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl
);
765 wxPyTreeCtrl() : wxTreeCtrl() {}
766 wxPyTreeCtrl(wxWindow
*parent
, wxWindowID id
,
770 const wxValidator
& validator
,
771 const wxString
& name
) :
772 wxTreeCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
774 bool Create(wxWindow
*parent
, wxWindowID id
,
778 const wxValidator
& validator
,
779 const wxString
& name
) {
780 return wxTreeCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
784 int OnCompareItems(const wxTreeItemId
& item1
,
785 const wxTreeItemId
& item2
) {
788 bool blocked
= wxPyBeginBlockThreads();
789 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnCompareItems"))) {
790 PyObject
*o1
= wxPyConstructObject((void*)&item1
, wxT("wxTreeItemId"), False
);
791 PyObject
*o2
= wxPyConstructObject((void*)&item2
, wxT("wxTreeItemId"), False
);
792 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OO)",o1
,o2
));
796 wxPyEndBlockThreads(blocked
);
798 rval
= wxTreeCtrl::OnCompareItems(item1
, item2
);
804 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl
, wxTreeCtrl
);
808 #if UINT_MAX < LONG_MAX
809 #define SWIG_FromUnsignedInt SWIG_FromLong
811 #define SWIG_FromUnsignedInt SWIG_FromUnsignedLong
815 SWIGSTATICINLINE(unsigned long)
816 SWIG_CheckUnsignedLongInRange(unsigned long value
, const char* type
,
817 unsigned long max_value
)
819 if (!PyErr_Occurred()) {
820 if (value
> max_value
) {
822 PyString_FromFormat("value %ld is greater than '%s' minimum %ld",
823 value
, type
, max_value
);
824 PyErr_SetObject(PyExc_OverflowError
, err
);
832 #if UINT_MAX != ULONG_MAX
833 SWIGSTATICINLINE(unsigned int)
834 SWIG_AsUnsignedInt(PyObject
*obj
)
836 return swig_numeric_cast(unsigned int,
837 SWIG_CheckUnsignedLongInRange(SWIG_AsUnsignedLong(obj
),
838 "unsigned int", UINT_MAX
));
841 #define SWIG_AsUnsignedInt SWIG_AsUnsignedLong
845 SWIGSTATICINLINE(int)
846 SWIG_CheckUnsignedInt(PyObject
* obj
)
848 SWIG_AsUnsignedInt(obj
);
849 if (PyErr_Occurred()) {
857 wxPyTreeItemData
*wxPyTreeCtrl_GetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
858 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
860 data
= new wxPyTreeItemData();
861 data
->SetId(item
); // set the id
862 self
->SetItemData(item
, data
);
866 PyObject
*wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
867 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
869 data
= new wxPyTreeItemData();
870 data
->SetId(item
); // set the id
871 self
->SetItemData(item
, data
);
873 return data
->GetData();
875 void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,wxPyTreeItemData
*data
){
876 data
->SetId(item
); // set the id
877 self
->SetItemData(item
, data
);
879 void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,PyObject
*obj
){
880 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
882 data
= new wxPyTreeItemData(obj
);
883 data
->SetId(item
); // set the id
884 self
->SetItemData(item
, data
);
888 PyObject
*wxPyTreeCtrl_GetSelections(wxPyTreeCtrl
*self
){
889 bool blocked
= wxPyBeginBlockThreads();
890 PyObject
* rval
= PyList_New(0);
891 wxArrayTreeItemIds array
;
893 num
= self
->GetSelections(array
);
894 for (x
=0; x
< num
; x
++) {
895 wxTreeItemId
*tii
= new wxTreeItemId(array
.Item(x
));
896 PyObject
* item
= wxPyConstructObject((void*)tii
, wxT("wxTreeItemId"), True
);
897 PyList_Append(rval
, item
);
899 wxPyEndBlockThreads(blocked
);
902 PyObject
*wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
904 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetFirstChild(item
, cookie
));
905 bool blocked
= wxPyBeginBlockThreads();
906 PyObject
* tup
= PyTuple_New(2);
907 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), True
));
908 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
909 wxPyEndBlockThreads(blocked
);
912 PyObject
*wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,void *cookie
){
913 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetNextChild(item
, cookie
));
914 bool blocked
= wxPyBeginBlockThreads();
915 PyObject
* tup
= PyTuple_New(2);
916 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), True
));
917 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
918 wxPyEndBlockThreads(blocked
);
921 PyObject
*wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,bool textOnly
){
923 if (self
->GetBoundingRect(item
, rect
, textOnly
)) {
924 bool blocked
= wxPyBeginBlockThreads();
925 wxRect
* r
= new wxRect(rect
);
926 PyObject
* val
= wxPyConstructObject((void*)r
, wxT("wxRect"), True
);
927 wxPyEndBlockThreads(blocked
);
933 static const wxString
wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr
);
934 // C++ version of Python aware wxControl
935 class wxPyControl
: public wxControl
937 DECLARE_DYNAMIC_CLASS(wxPyControl
)
939 wxPyControl() : wxControl() {}
940 wxPyControl(wxWindow
* parent
, const wxWindowID id
,
941 const wxPoint
& pos
= wxDefaultPosition
,
942 const wxSize
& size
= wxDefaultSize
,
944 const wxValidator
& validator
=wxDefaultValidator
,
945 const wxString
& name
= wxPyControlNameStr
)
946 : wxControl(parent
, id
, pos
, size
, style
, validator
, name
) {}
949 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
950 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
951 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
952 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
954 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
955 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
956 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
958 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
959 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
961 DEC_PYCALLBACK__(InitDialog
);
962 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
963 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
964 DEC_PYCALLBACK_BOOL_(Validate
);
966 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
967 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
968 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
970 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
971 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
973 DEC_PYCALLBACK_BOOL_(ShouldInheritColours
);
974 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground
);
979 IMPLEMENT_DYNAMIC_CLASS(wxPyControl
, wxControl
);
981 IMP_PYCALLBACK_VOID_INT4(wxPyControl
, wxControl
, DoMoveWindow
);
982 IMP_PYCALLBACK_VOID_INT5(wxPyControl
, wxControl
, DoSetSize
);
983 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetClientSize
);
984 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetVirtualSize
);
986 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetSize
);
987 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetClientSize
);
988 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetPosition
);
990 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetVirtualSize
);
991 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetBestSize
);
993 IMP_PYCALLBACK__(wxPyControl
, wxControl
, InitDialog
);
994 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataFromWindow
);
995 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataToWindow
);
996 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, Validate
);
998 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocus
);
999 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocusFromKeyboard
);
1000 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, GetMaxSize
);
1002 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, AddChild
);
1003 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, RemoveChild
);
1005 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, ShouldInheritColours
);
1006 IMP_PYCALLBACK__COLOUR(wxPyControl
, wxControl
, ApplyParentThemeBackground
);
1010 void wxHelpProvider_Destroy(wxHelpProvider
*self
){ delete self
; }
1012 #include <wx/generic/dragimgg.h>
1017 static int _wrap_ButtonNameStr_set(PyObject
*) {
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
*, 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
*, 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
*, 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
*, 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
*, 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
*, 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
*, 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
*, 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
*, 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
*, 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
*, 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
*, 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
*, 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
*, 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
*, 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
*, 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
*, 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
*, 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
*, 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
*, 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
*, 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
*) {
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
*, 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
*, 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
*, 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
*, 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
*, 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
*, 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
*, 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
*, 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
*, 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
*, 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
*, 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
*) {
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
*, PyObject
*args
, PyObject
*kwargs
) {
2383 PyObject
*resultobj
;
2384 wxWindow
*arg1
= (wxWindow
*) 0 ;
2386 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
2387 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
2388 wxSize
const &arg4_defvalue
= wxDefaultSize
;
2389 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
2390 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
2391 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
2392 long arg6
= (long) 0 ;
2393 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
2394 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
2395 wxString
const &arg8_defvalue
= wxPyChoiceNameStr
;
2396 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
2400 bool temp5
= False
;
2401 bool temp8
= False
;
2402 PyObject
* obj0
= 0 ;
2403 PyObject
* obj1
= 0 ;
2404 PyObject
* obj2
= 0 ;
2405 PyObject
* obj3
= 0 ;
2406 PyObject
* obj4
= 0 ;
2407 PyObject
* obj5
= 0 ;
2408 PyObject
* obj6
= 0 ;
2409 PyObject
* obj7
= 0 ;
2411 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:new_Choice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
2415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
2416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2417 arg2
= (int) SWIG_AsInt(obj1
);
2418 if (PyErr_Occurred()) SWIG_fail
;
2422 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
2428 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
2433 if (! PySequence_Check(obj4
)) {
2434 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
2437 arg5
= new wxArrayString
;
2439 int i
, len
=PySequence_Length(obj4
);
2440 for (i
=0; i
<len
; i
++) {
2441 PyObject
* item
= PySequence_GetItem(obj4
, i
);
2443 PyObject
* str
= PyObject_Unicode(item
);
2445 PyObject
* str
= PyObject_Str(item
);
2447 if (PyErr_Occurred()) SWIG_fail
;
2448 arg5
->Add(Py2wxString(str
));
2455 arg6
= (long) SWIG_AsLong(obj5
);
2456 if (PyErr_Occurred()) SWIG_fail
;
2459 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
2460 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2463 PyErr_SetString(PyExc_TypeError
,"null reference");
2469 arg8
= wxString_in_helper(obj7
);
2470 if (arg8
== NULL
) SWIG_fail
;
2475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2476 result
= (wxChoice
*)new wxChoice(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
2478 wxPyEndAllowThreads(__tstate
);
2479 if (PyErr_Occurred()) SWIG_fail
;
2481 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoice
, 1);
2483 if (temp5
) delete arg5
;
2492 if (temp5
) delete arg5
;
2502 static PyObject
*_wrap_new_PreChoice(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2503 PyObject
*resultobj
;
2509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreChoice",kwnames
)) goto fail
;
2511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2512 result
= (wxChoice
*)new wxChoice();
2514 wxPyEndAllowThreads(__tstate
);
2515 if (PyErr_Occurred()) SWIG_fail
;
2517 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoice
, 1);
2524 static PyObject
*_wrap_Choice_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2525 PyObject
*resultobj
;
2526 wxChoice
*arg1
= (wxChoice
*) 0 ;
2527 wxWindow
*arg2
= (wxWindow
*) 0 ;
2529 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2530 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2531 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2532 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2533 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
2534 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
2535 long arg7
= (long) 0 ;
2536 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2537 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2538 wxString
const &arg9_defvalue
= wxPyChoiceNameStr
;
2539 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2543 bool temp6
= False
;
2544 bool temp9
= False
;
2545 PyObject
* obj0
= 0 ;
2546 PyObject
* obj1
= 0 ;
2547 PyObject
* obj2
= 0 ;
2548 PyObject
* obj3
= 0 ;
2549 PyObject
* obj4
= 0 ;
2550 PyObject
* obj5
= 0 ;
2551 PyObject
* obj6
= 0 ;
2552 PyObject
* obj7
= 0 ;
2553 PyObject
* obj8
= 0 ;
2555 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:Choice_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2559 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2560 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2561 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
2562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2563 arg3
= (int) SWIG_AsInt(obj2
);
2564 if (PyErr_Occurred()) SWIG_fail
;
2568 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2574 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2579 if (! PySequence_Check(obj5
)) {
2580 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
2583 arg6
= new wxArrayString
;
2585 int i
, len
=PySequence_Length(obj5
);
2586 for (i
=0; i
<len
; i
++) {
2587 PyObject
* item
= PySequence_GetItem(obj5
, i
);
2589 PyObject
* str
= PyObject_Unicode(item
);
2591 PyObject
* str
= PyObject_Str(item
);
2593 if (PyErr_Occurred()) SWIG_fail
;
2594 arg6
->Add(Py2wxString(str
));
2601 arg7
= (long) SWIG_AsLong(obj6
);
2602 if (PyErr_Occurred()) SWIG_fail
;
2605 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
2606 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2609 PyErr_SetString(PyExc_TypeError
,"null reference");
2615 arg9
= wxString_in_helper(obj8
);
2616 if (arg9
== NULL
) SWIG_fail
;
2621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2622 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
2624 wxPyEndAllowThreads(__tstate
);
2625 if (PyErr_Occurred()) SWIG_fail
;
2628 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2631 if (temp6
) delete arg6
;
2640 if (temp6
) delete arg6
;
2650 static PyObject
*_wrap_Choice_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2651 PyObject
*resultobj
;
2652 wxChoice
*arg1
= (wxChoice
*) 0 ;
2654 PyObject
* obj0
= 0 ;
2655 PyObject
* obj1
= 0 ;
2657 (char *) "self",(char *) "n", NULL
2660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Choice_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
2661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2663 arg2
= (int const) SWIG_AsInt(obj1
);
2664 if (PyErr_Occurred()) SWIG_fail
;
2666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2667 (arg1
)->SetSelection(arg2
);
2669 wxPyEndAllowThreads(__tstate
);
2670 if (PyErr_Occurred()) SWIG_fail
;
2672 Py_INCREF(Py_None
); resultobj
= Py_None
;
2679 static PyObject
*_wrap_Choice_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2680 PyObject
*resultobj
;
2681 wxChoice
*arg1
= (wxChoice
*) 0 ;
2682 wxString
*arg2
= 0 ;
2683 bool temp2
= False
;
2684 PyObject
* obj0
= 0 ;
2685 PyObject
* obj1
= 0 ;
2687 (char *) "self",(char *) "string", NULL
2690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Choice_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
2691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2694 arg2
= wxString_in_helper(obj1
);
2695 if (arg2
== NULL
) SWIG_fail
;
2699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2700 (arg1
)->SetStringSelection((wxString
const &)*arg2
);
2702 wxPyEndAllowThreads(__tstate
);
2703 if (PyErr_Occurred()) SWIG_fail
;
2705 Py_INCREF(Py_None
); resultobj
= Py_None
;
2720 static PyObject
*_wrap_Choice_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2721 PyObject
*resultobj
;
2722 wxChoice
*arg1
= (wxChoice
*) 0 ;
2724 wxString
*arg3
= 0 ;
2725 bool temp3
= False
;
2726 PyObject
* obj0
= 0 ;
2727 PyObject
* obj1
= 0 ;
2728 PyObject
* obj2
= 0 ;
2730 (char *) "self",(char *) "n",(char *) "string", NULL
2733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Choice_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2736 arg2
= (int) SWIG_AsInt(obj1
);
2737 if (PyErr_Occurred()) SWIG_fail
;
2739 arg3
= wxString_in_helper(obj2
);
2740 if (arg3
== NULL
) SWIG_fail
;
2744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2745 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
2747 wxPyEndAllowThreads(__tstate
);
2748 if (PyErr_Occurred()) SWIG_fail
;
2750 Py_INCREF(Py_None
); resultobj
= Py_None
;
2765 static PyObject
* Choice_swigregister(PyObject
*, PyObject
*args
) {
2767 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2768 SWIG_TypeClientData(SWIGTYPE_p_wxChoice
, obj
);
2770 return Py_BuildValue((char *)"");
2772 static int _wrap_ComboBoxNameStr_set(PyObject
*) {
2773 PyErr_SetString(PyExc_TypeError
,"Variable ComboBoxNameStr is read-only.");
2778 static PyObject
*_wrap_ComboBoxNameStr_get() {
2783 pyobj
= PyUnicode_FromWideChar((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
2785 pyobj
= PyString_FromStringAndSize((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
2792 static PyObject
*_wrap_new_ComboBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2793 PyObject
*resultobj
;
2794 wxWindow
*arg1
= (wxWindow
*) 0 ;
2796 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2797 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2798 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2799 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2800 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2801 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2802 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
2803 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
2804 long arg7
= (long) 0 ;
2805 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2806 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2807 wxString
const &arg9_defvalue
= wxPyComboBoxNameStr
;
2808 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2810 bool temp3
= False
;
2813 bool temp6
= False
;
2814 bool temp9
= False
;
2815 PyObject
* obj0
= 0 ;
2816 PyObject
* obj1
= 0 ;
2817 PyObject
* obj2
= 0 ;
2818 PyObject
* obj3
= 0 ;
2819 PyObject
* obj4
= 0 ;
2820 PyObject
* obj5
= 0 ;
2821 PyObject
* obj6
= 0 ;
2822 PyObject
* obj7
= 0 ;
2823 PyObject
* obj8
= 0 ;
2825 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:new_ComboBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
2830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2831 arg2
= (int) SWIG_AsInt(obj1
);
2832 if (PyErr_Occurred()) SWIG_fail
;
2835 arg3
= wxString_in_helper(obj2
);
2836 if (arg3
== NULL
) SWIG_fail
;
2843 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2849 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2854 if (! PySequence_Check(obj5
)) {
2855 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
2858 arg6
= new wxArrayString
;
2860 int i
, len
=PySequence_Length(obj5
);
2861 for (i
=0; i
<len
; i
++) {
2862 PyObject
* item
= PySequence_GetItem(obj5
, i
);
2864 PyObject
* str
= PyObject_Unicode(item
);
2866 PyObject
* str
= PyObject_Str(item
);
2868 if (PyErr_Occurred()) SWIG_fail
;
2869 arg6
->Add(Py2wxString(str
));
2876 arg7
= (long) SWIG_AsLong(obj6
);
2877 if (PyErr_Occurred()) SWIG_fail
;
2880 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
2881 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2884 PyErr_SetString(PyExc_TypeError
,"null reference");
2890 arg9
= wxString_in_helper(obj8
);
2891 if (arg9
== NULL
) SWIG_fail
;
2896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2897 result
= (wxComboBox
*)new wxComboBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
2899 wxPyEndAllowThreads(__tstate
);
2900 if (PyErr_Occurred()) SWIG_fail
;
2902 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxComboBox
, 1);
2908 if (temp6
) delete arg6
;
2921 if (temp6
) delete arg6
;
2931 static PyObject
*_wrap_new_PreComboBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2932 PyObject
*resultobj
;
2938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreComboBox",kwnames
)) goto fail
;
2940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2941 result
= (wxComboBox
*)new wxComboBox();
2943 wxPyEndAllowThreads(__tstate
);
2944 if (PyErr_Occurred()) SWIG_fail
;
2946 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxComboBox
, 1);
2953 static PyObject
*_wrap_ComboBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2954 PyObject
*resultobj
;
2955 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2956 wxWindow
*arg2
= (wxWindow
*) 0 ;
2958 wxString
const &arg4_defvalue
= wxPyEmptyString
;
2959 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
2960 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
2961 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
2962 wxSize
const &arg6_defvalue
= wxDefaultSize
;
2963 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
2964 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
2965 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
2966 long arg8
= (long) 0 ;
2967 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
2968 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
2969 wxString
const &arg10_defvalue
= wxPyChoiceNameStr
;
2970 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
2972 bool temp4
= False
;
2975 bool temp7
= False
;
2976 bool temp10
= False
;
2977 PyObject
* obj0
= 0 ;
2978 PyObject
* obj1
= 0 ;
2979 PyObject
* obj2
= 0 ;
2980 PyObject
* obj3
= 0 ;
2981 PyObject
* obj4
= 0 ;
2982 PyObject
* obj5
= 0 ;
2983 PyObject
* obj6
= 0 ;
2984 PyObject
* obj7
= 0 ;
2985 PyObject
* obj8
= 0 ;
2986 PyObject
* obj9
= 0 ;
2988 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOOO:ComboBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
2992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
2993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2994 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
2995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2996 arg3
= (int) SWIG_AsInt(obj2
);
2997 if (PyErr_Occurred()) SWIG_fail
;
3000 arg4
= wxString_in_helper(obj3
);
3001 if (arg4
== NULL
) SWIG_fail
;
3008 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3014 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3019 if (! PySequence_Check(obj6
)) {
3020 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
3023 arg7
= new wxArrayString
;
3025 int i
, len
=PySequence_Length(obj6
);
3026 for (i
=0; i
<len
; i
++) {
3027 PyObject
* item
= PySequence_GetItem(obj6
, i
);
3029 PyObject
* str
= PyObject_Unicode(item
);
3031 PyObject
* str
= PyObject_Str(item
);
3033 if (PyErr_Occurred()) SWIG_fail
;
3034 arg7
->Add(Py2wxString(str
));
3041 arg8
= (long) SWIG_AsLong(obj7
);
3042 if (PyErr_Occurred()) SWIG_fail
;
3045 if ((SWIG_ConvertPtr(obj8
,(void **)(&arg9
),SWIGTYPE_p_wxValidator
,
3046 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3049 PyErr_SetString(PyExc_TypeError
,"null reference");
3055 arg10
= wxString_in_helper(obj9
);
3056 if (arg10
== NULL
) SWIG_fail
;
3061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3062 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxArrayString
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
3064 wxPyEndAllowThreads(__tstate
);
3065 if (PyErr_Occurred()) SWIG_fail
;
3068 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3075 if (temp7
) delete arg7
;
3088 if (temp7
) delete arg7
;
3098 static PyObject
*_wrap_ComboBox_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3099 PyObject
*resultobj
;
3100 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3102 PyObject
* obj0
= 0 ;
3104 (char *) "self", NULL
3107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetValue",kwnames
,&obj0
)) goto fail
;
3108 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3112 result
= ((wxComboBox
const *)arg1
)->GetValue();
3114 wxPyEndAllowThreads(__tstate
);
3115 if (PyErr_Occurred()) SWIG_fail
;
3119 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3121 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3130 static PyObject
*_wrap_ComboBox_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3131 PyObject
*resultobj
;
3132 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3133 wxString
*arg2
= 0 ;
3134 bool temp2
= False
;
3135 PyObject
* obj0
= 0 ;
3136 PyObject
* obj1
= 0 ;
3138 (char *) "self",(char *) "value", NULL
3141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
3142 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3145 arg2
= wxString_in_helper(obj1
);
3146 if (arg2
== NULL
) SWIG_fail
;
3150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3151 (arg1
)->SetValue((wxString
const &)*arg2
);
3153 wxPyEndAllowThreads(__tstate
);
3154 if (PyErr_Occurred()) SWIG_fail
;
3156 Py_INCREF(Py_None
); resultobj
= Py_None
;
3171 static PyObject
*_wrap_ComboBox_Copy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3172 PyObject
*resultobj
;
3173 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3174 PyObject
* obj0
= 0 ;
3176 (char *) "self", NULL
3179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Copy",kwnames
,&obj0
)) goto fail
;
3180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3186 wxPyEndAllowThreads(__tstate
);
3187 if (PyErr_Occurred()) SWIG_fail
;
3189 Py_INCREF(Py_None
); resultobj
= Py_None
;
3196 static PyObject
*_wrap_ComboBox_Cut(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3197 PyObject
*resultobj
;
3198 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3199 PyObject
* obj0
= 0 ;
3201 (char *) "self", NULL
3204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Cut",kwnames
,&obj0
)) goto fail
;
3205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3211 wxPyEndAllowThreads(__tstate
);
3212 if (PyErr_Occurred()) SWIG_fail
;
3214 Py_INCREF(Py_None
); resultobj
= Py_None
;
3221 static PyObject
*_wrap_ComboBox_Paste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3222 PyObject
*resultobj
;
3223 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3224 PyObject
* obj0
= 0 ;
3226 (char *) "self", NULL
3229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Paste",kwnames
,&obj0
)) goto fail
;
3230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3236 wxPyEndAllowThreads(__tstate
);
3237 if (PyErr_Occurred()) SWIG_fail
;
3239 Py_INCREF(Py_None
); resultobj
= Py_None
;
3246 static PyObject
*_wrap_ComboBox_SetInsertionPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3247 PyObject
*resultobj
;
3248 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3250 PyObject
* obj0
= 0 ;
3251 PyObject
* obj1
= 0 ;
3253 (char *) "self",(char *) "pos", NULL
3256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
3257 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3259 arg2
= (long) SWIG_AsLong(obj1
);
3260 if (PyErr_Occurred()) SWIG_fail
;
3262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3263 (arg1
)->SetInsertionPoint(arg2
);
3265 wxPyEndAllowThreads(__tstate
);
3266 if (PyErr_Occurred()) SWIG_fail
;
3268 Py_INCREF(Py_None
); resultobj
= Py_None
;
3275 static PyObject
*_wrap_ComboBox_GetInsertionPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3276 PyObject
*resultobj
;
3277 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3279 PyObject
* obj0
= 0 ;
3281 (char *) "self", NULL
3284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
3285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3289 result
= (long)((wxComboBox
const *)arg1
)->GetInsertionPoint();
3291 wxPyEndAllowThreads(__tstate
);
3292 if (PyErr_Occurred()) SWIG_fail
;
3294 resultobj
= SWIG_FromLong((long)result
);
3301 static PyObject
*_wrap_ComboBox_GetLastPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3302 PyObject
*resultobj
;
3303 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3305 PyObject
* obj0
= 0 ;
3307 (char *) "self", NULL
3310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetLastPosition",kwnames
,&obj0
)) goto fail
;
3311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3315 result
= (long)((wxComboBox
const *)arg1
)->GetLastPosition();
3317 wxPyEndAllowThreads(__tstate
);
3318 if (PyErr_Occurred()) SWIG_fail
;
3320 resultobj
= SWIG_FromLong((long)result
);
3327 static PyObject
*_wrap_ComboBox_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3328 PyObject
*resultobj
;
3329 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3332 wxString
*arg4
= 0 ;
3333 bool temp4
= False
;
3334 PyObject
* obj0
= 0 ;
3335 PyObject
* obj1
= 0 ;
3336 PyObject
* obj2
= 0 ;
3337 PyObject
* obj3
= 0 ;
3339 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
3342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ComboBox_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3345 arg2
= (long) SWIG_AsLong(obj1
);
3346 if (PyErr_Occurred()) SWIG_fail
;
3347 arg3
= (long) SWIG_AsLong(obj2
);
3348 if (PyErr_Occurred()) SWIG_fail
;
3350 arg4
= wxString_in_helper(obj3
);
3351 if (arg4
== NULL
) SWIG_fail
;
3355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3356 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
3358 wxPyEndAllowThreads(__tstate
);
3359 if (PyErr_Occurred()) SWIG_fail
;
3361 Py_INCREF(Py_None
); resultobj
= Py_None
;
3376 static PyObject
*_wrap_ComboBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3377 PyObject
*resultobj
;
3378 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3380 PyObject
* obj0
= 0 ;
3381 PyObject
* obj1
= 0 ;
3383 (char *) "self",(char *) "n", NULL
3386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
3387 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3389 arg2
= (int) SWIG_AsInt(obj1
);
3390 if (PyErr_Occurred()) SWIG_fail
;
3392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3393 (arg1
)->SetSelection(arg2
);
3395 wxPyEndAllowThreads(__tstate
);
3396 if (PyErr_Occurred()) SWIG_fail
;
3398 Py_INCREF(Py_None
); resultobj
= Py_None
;
3405 static PyObject
*_wrap_ComboBox_SetMark(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3406 PyObject
*resultobj
;
3407 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3410 PyObject
* obj0
= 0 ;
3411 PyObject
* obj1
= 0 ;
3412 PyObject
* obj2
= 0 ;
3414 (char *) "self",(char *) "from",(char *) "to", NULL
3417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetMark",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3420 arg2
= (long) SWIG_AsLong(obj1
);
3421 if (PyErr_Occurred()) SWIG_fail
;
3422 arg3
= (long) SWIG_AsLong(obj2
);
3423 if (PyErr_Occurred()) SWIG_fail
;
3425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3426 (arg1
)->SetSelection(arg2
,arg3
);
3428 wxPyEndAllowThreads(__tstate
);
3429 if (PyErr_Occurred()) SWIG_fail
;
3431 Py_INCREF(Py_None
); resultobj
= Py_None
;
3438 static PyObject
*_wrap_ComboBox_SetEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3439 PyObject
*resultobj
;
3440 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3442 PyObject
* obj0
= 0 ;
3443 PyObject
* obj1
= 0 ;
3445 (char *) "self",(char *) "editable", NULL
3448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
3449 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3451 arg2
= (bool) SWIG_AsBool(obj1
);
3452 if (PyErr_Occurred()) SWIG_fail
;
3454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3455 (arg1
)->SetEditable(arg2
);
3457 wxPyEndAllowThreads(__tstate
);
3458 if (PyErr_Occurred()) SWIG_fail
;
3460 Py_INCREF(Py_None
); resultobj
= Py_None
;
3467 static PyObject
*_wrap_ComboBox_SetInsertionPointEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3468 PyObject
*resultobj
;
3469 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3470 PyObject
* obj0
= 0 ;
3472 (char *) "self", NULL
3475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
3476 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3480 (arg1
)->SetInsertionPointEnd();
3482 wxPyEndAllowThreads(__tstate
);
3483 if (PyErr_Occurred()) SWIG_fail
;
3485 Py_INCREF(Py_None
); resultobj
= Py_None
;
3492 static PyObject
*_wrap_ComboBox_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3493 PyObject
*resultobj
;
3494 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3497 PyObject
* obj0
= 0 ;
3498 PyObject
* obj1
= 0 ;
3499 PyObject
* obj2
= 0 ;
3501 (char *) "self",(char *) "from",(char *) "to", NULL
3504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3507 arg2
= (long) SWIG_AsLong(obj1
);
3508 if (PyErr_Occurred()) SWIG_fail
;
3509 arg3
= (long) SWIG_AsLong(obj2
);
3510 if (PyErr_Occurred()) SWIG_fail
;
3512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3513 (arg1
)->Remove(arg2
,arg3
);
3515 wxPyEndAllowThreads(__tstate
);
3516 if (PyErr_Occurred()) SWIG_fail
;
3518 Py_INCREF(Py_None
); resultobj
= Py_None
;
3525 static PyObject
* ComboBox_swigregister(PyObject
*, PyObject
*args
) {
3527 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3528 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox
, obj
);
3530 return Py_BuildValue((char *)"");
3532 static int _wrap_GaugeNameStr_set(PyObject
*) {
3533 PyErr_SetString(PyExc_TypeError
,"Variable GaugeNameStr is read-only.");
3538 static PyObject
*_wrap_GaugeNameStr_get() {
3543 pyobj
= PyUnicode_FromWideChar((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
3545 pyobj
= PyString_FromStringAndSize((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
3552 static PyObject
*_wrap_new_Gauge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3553 PyObject
*resultobj
;
3554 wxWindow
*arg1
= (wxWindow
*) 0 ;
3557 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3558 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3559 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3560 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3561 long arg6
= (long) wxGA_HORIZONTAL
;
3562 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3563 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3564 wxString
const &arg8_defvalue
= wxPyGaugeNameStr
;
3565 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3569 bool temp8
= False
;
3570 PyObject
* obj0
= 0 ;
3571 PyObject
* obj1
= 0 ;
3572 PyObject
* obj2
= 0 ;
3573 PyObject
* obj3
= 0 ;
3574 PyObject
* obj4
= 0 ;
3575 PyObject
* obj5
= 0 ;
3576 PyObject
* obj6
= 0 ;
3577 PyObject
* obj7
= 0 ;
3579 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_Gauge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3583 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
3584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3585 arg2
= (int) SWIG_AsInt(obj1
);
3586 if (PyErr_Occurred()) SWIG_fail
;
3587 arg3
= (int) SWIG_AsInt(obj2
);
3588 if (PyErr_Occurred()) SWIG_fail
;
3592 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3598 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3602 arg6
= (long) SWIG_AsLong(obj5
);
3603 if (PyErr_Occurred()) SWIG_fail
;
3606 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
3607 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3610 PyErr_SetString(PyExc_TypeError
,"null reference");
3616 arg8
= wxString_in_helper(obj7
);
3617 if (arg8
== NULL
) SWIG_fail
;
3622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3623 result
= (wxGauge
*)new wxGauge(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3625 wxPyEndAllowThreads(__tstate
);
3626 if (PyErr_Occurred()) SWIG_fail
;
3628 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGauge
, 1);
3643 static PyObject
*_wrap_new_PreGauge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3644 PyObject
*resultobj
;
3650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGauge",kwnames
)) goto fail
;
3652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3653 result
= (wxGauge
*)new wxGauge();
3655 wxPyEndAllowThreads(__tstate
);
3656 if (PyErr_Occurred()) SWIG_fail
;
3658 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGauge
, 1);
3665 static PyObject
*_wrap_Gauge_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3666 PyObject
*resultobj
;
3667 wxGauge
*arg1
= (wxGauge
*) 0 ;
3668 wxWindow
*arg2
= (wxWindow
*) 0 ;
3671 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3672 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3673 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3674 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3675 long arg7
= (long) wxGA_HORIZONTAL
;
3676 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3677 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3678 wxString
const &arg9_defvalue
= wxPyGaugeNameStr
;
3679 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3683 bool temp9
= False
;
3684 PyObject
* obj0
= 0 ;
3685 PyObject
* obj1
= 0 ;
3686 PyObject
* obj2
= 0 ;
3687 PyObject
* obj3
= 0 ;
3688 PyObject
* obj4
= 0 ;
3689 PyObject
* obj5
= 0 ;
3690 PyObject
* obj6
= 0 ;
3691 PyObject
* obj7
= 0 ;
3692 PyObject
* obj8
= 0 ;
3694 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:Gauge_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3698 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3700 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
3701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3702 arg3
= (int) SWIG_AsInt(obj2
);
3703 if (PyErr_Occurred()) SWIG_fail
;
3704 arg4
= (int) SWIG_AsInt(obj3
);
3705 if (PyErr_Occurred()) SWIG_fail
;
3709 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3715 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3719 arg7
= (long) SWIG_AsLong(obj6
);
3720 if (PyErr_Occurred()) SWIG_fail
;
3723 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
3724 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3727 PyErr_SetString(PyExc_TypeError
,"null reference");
3733 arg9
= wxString_in_helper(obj8
);
3734 if (arg9
== NULL
) SWIG_fail
;
3739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3740 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
3742 wxPyEndAllowThreads(__tstate
);
3743 if (PyErr_Occurred()) SWIG_fail
;
3746 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3762 static PyObject
*_wrap_Gauge_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3763 PyObject
*resultobj
;
3764 wxGauge
*arg1
= (wxGauge
*) 0 ;
3766 PyObject
* obj0
= 0 ;
3767 PyObject
* obj1
= 0 ;
3769 (char *) "self",(char *) "range", NULL
3772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetRange",kwnames
,&obj0
,&obj1
)) goto fail
;
3773 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3774 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3775 arg2
= (int) SWIG_AsInt(obj1
);
3776 if (PyErr_Occurred()) SWIG_fail
;
3778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3779 (arg1
)->SetRange(arg2
);
3781 wxPyEndAllowThreads(__tstate
);
3782 if (PyErr_Occurred()) SWIG_fail
;
3784 Py_INCREF(Py_None
); resultobj
= Py_None
;
3791 static PyObject
*_wrap_Gauge_GetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3792 PyObject
*resultobj
;
3793 wxGauge
*arg1
= (wxGauge
*) 0 ;
3795 PyObject
* obj0
= 0 ;
3797 (char *) "self", NULL
3800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetRange",kwnames
,&obj0
)) goto fail
;
3801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3805 result
= (int)((wxGauge
const *)arg1
)->GetRange();
3807 wxPyEndAllowThreads(__tstate
);
3808 if (PyErr_Occurred()) SWIG_fail
;
3810 resultobj
= SWIG_FromInt((int)result
);
3817 static PyObject
*_wrap_Gauge_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3818 PyObject
*resultobj
;
3819 wxGauge
*arg1
= (wxGauge
*) 0 ;
3821 PyObject
* obj0
= 0 ;
3822 PyObject
* obj1
= 0 ;
3824 (char *) "self",(char *) "pos", NULL
3827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
3828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3830 arg2
= (int) SWIG_AsInt(obj1
);
3831 if (PyErr_Occurred()) SWIG_fail
;
3833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3834 (arg1
)->SetValue(arg2
);
3836 wxPyEndAllowThreads(__tstate
);
3837 if (PyErr_Occurred()) SWIG_fail
;
3839 Py_INCREF(Py_None
); resultobj
= Py_None
;
3846 static PyObject
*_wrap_Gauge_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3847 PyObject
*resultobj
;
3848 wxGauge
*arg1
= (wxGauge
*) 0 ;
3850 PyObject
* obj0
= 0 ;
3852 (char *) "self", NULL
3855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetValue",kwnames
,&obj0
)) goto fail
;
3856 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3860 result
= (int)((wxGauge
const *)arg1
)->GetValue();
3862 wxPyEndAllowThreads(__tstate
);
3863 if (PyErr_Occurred()) SWIG_fail
;
3865 resultobj
= SWIG_FromInt((int)result
);
3872 static PyObject
*_wrap_Gauge_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3873 PyObject
*resultobj
;
3874 wxGauge
*arg1
= (wxGauge
*) 0 ;
3876 PyObject
* obj0
= 0 ;
3878 (char *) "self", NULL
3881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_IsVertical",kwnames
,&obj0
)) goto fail
;
3882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3886 result
= (bool)((wxGauge
const *)arg1
)->IsVertical();
3888 wxPyEndAllowThreads(__tstate
);
3889 if (PyErr_Occurred()) SWIG_fail
;
3892 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3900 static PyObject
*_wrap_Gauge_SetShadowWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3901 PyObject
*resultobj
;
3902 wxGauge
*arg1
= (wxGauge
*) 0 ;
3904 PyObject
* obj0
= 0 ;
3905 PyObject
* obj1
= 0 ;
3907 (char *) "self",(char *) "w", NULL
3910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetShadowWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3911 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3913 arg2
= (int) SWIG_AsInt(obj1
);
3914 if (PyErr_Occurred()) SWIG_fail
;
3916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3917 (arg1
)->SetShadowWidth(arg2
);
3919 wxPyEndAllowThreads(__tstate
);
3920 if (PyErr_Occurred()) SWIG_fail
;
3922 Py_INCREF(Py_None
); resultobj
= Py_None
;
3929 static PyObject
*_wrap_Gauge_GetShadowWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3930 PyObject
*resultobj
;
3931 wxGauge
*arg1
= (wxGauge
*) 0 ;
3933 PyObject
* obj0
= 0 ;
3935 (char *) "self", NULL
3938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetShadowWidth",kwnames
,&obj0
)) goto fail
;
3939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3943 result
= (int)((wxGauge
const *)arg1
)->GetShadowWidth();
3945 wxPyEndAllowThreads(__tstate
);
3946 if (PyErr_Occurred()) SWIG_fail
;
3948 resultobj
= SWIG_FromInt((int)result
);
3955 static PyObject
*_wrap_Gauge_SetBezelFace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3956 PyObject
*resultobj
;
3957 wxGauge
*arg1
= (wxGauge
*) 0 ;
3959 PyObject
* obj0
= 0 ;
3960 PyObject
* obj1
= 0 ;
3962 (char *) "self",(char *) "w", NULL
3965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetBezelFace",kwnames
,&obj0
,&obj1
)) goto fail
;
3966 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3968 arg2
= (int) SWIG_AsInt(obj1
);
3969 if (PyErr_Occurred()) SWIG_fail
;
3971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3972 (arg1
)->SetBezelFace(arg2
);
3974 wxPyEndAllowThreads(__tstate
);
3975 if (PyErr_Occurred()) SWIG_fail
;
3977 Py_INCREF(Py_None
); resultobj
= Py_None
;
3984 static PyObject
*_wrap_Gauge_GetBezelFace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3985 PyObject
*resultobj
;
3986 wxGauge
*arg1
= (wxGauge
*) 0 ;
3988 PyObject
* obj0
= 0 ;
3990 (char *) "self", NULL
3993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetBezelFace",kwnames
,&obj0
)) goto fail
;
3994 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3998 result
= (int)((wxGauge
const *)arg1
)->GetBezelFace();
4000 wxPyEndAllowThreads(__tstate
);
4001 if (PyErr_Occurred()) SWIG_fail
;
4003 resultobj
= SWIG_FromInt((int)result
);
4010 static PyObject
* Gauge_swigregister(PyObject
*, PyObject
*args
) {
4012 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4013 SWIG_TypeClientData(SWIGTYPE_p_wxGauge
, obj
);
4015 return Py_BuildValue((char *)"");
4017 static int _wrap_StaticBitmapNameStr_set(PyObject
*) {
4018 PyErr_SetString(PyExc_TypeError
,"Variable StaticBitmapNameStr is read-only.");
4023 static PyObject
*_wrap_StaticBitmapNameStr_get() {
4028 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
4030 pyobj
= PyString_FromStringAndSize((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
4037 static int _wrap_StaticBoxNameStr_set(PyObject
*) {
4038 PyErr_SetString(PyExc_TypeError
,"Variable StaticBoxNameStr is read-only.");
4043 static PyObject
*_wrap_StaticBoxNameStr_get() {
4048 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
4050 pyobj
= PyString_FromStringAndSize((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
4057 static int _wrap_StaticTextNameStr_set(PyObject
*) {
4058 PyErr_SetString(PyExc_TypeError
,"Variable StaticTextNameStr is read-only.");
4063 static PyObject
*_wrap_StaticTextNameStr_get() {
4068 pyobj
= PyUnicode_FromWideChar((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
4070 pyobj
= PyString_FromStringAndSize((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
4077 static PyObject
*_wrap_new_StaticBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4078 PyObject
*resultobj
;
4079 wxWindow
*arg1
= (wxWindow
*) 0 ;
4081 wxString
*arg3
= 0 ;
4082 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4083 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4084 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4085 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4086 long arg6
= (long) 0 ;
4087 wxString
const &arg7_defvalue
= wxPyStaticBoxNameStr
;
4088 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4089 wxStaticBox
*result
;
4090 bool temp3
= False
;
4093 bool temp7
= False
;
4094 PyObject
* obj0
= 0 ;
4095 PyObject
* obj1
= 0 ;
4096 PyObject
* obj2
= 0 ;
4097 PyObject
* obj3
= 0 ;
4098 PyObject
* obj4
= 0 ;
4099 PyObject
* obj5
= 0 ;
4100 PyObject
* obj6
= 0 ;
4102 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_StaticBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4106 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4108 arg2
= (int) SWIG_AsInt(obj1
);
4109 if (PyErr_Occurred()) SWIG_fail
;
4111 arg3
= wxString_in_helper(obj2
);
4112 if (arg3
== NULL
) SWIG_fail
;
4118 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4124 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4128 arg6
= (long) SWIG_AsLong(obj5
);
4129 if (PyErr_Occurred()) SWIG_fail
;
4133 arg7
= wxString_in_helper(obj6
);
4134 if (arg7
== NULL
) SWIG_fail
;
4139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4140 result
= (wxStaticBox
*)new wxStaticBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4142 wxPyEndAllowThreads(__tstate
);
4143 if (PyErr_Occurred()) SWIG_fail
;
4146 resultobj
= wxPyMake_wxObject(result
);
4170 static PyObject
*_wrap_new_PreStaticBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4171 PyObject
*resultobj
;
4172 wxStaticBox
*result
;
4177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBox",kwnames
)) goto fail
;
4179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4180 result
= (wxStaticBox
*)new wxStaticBox();
4182 wxPyEndAllowThreads(__tstate
);
4183 if (PyErr_Occurred()) SWIG_fail
;
4186 resultobj
= wxPyMake_wxObject(result
);
4194 static PyObject
*_wrap_StaticBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4195 PyObject
*resultobj
;
4196 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
4197 wxWindow
*arg2
= (wxWindow
*) 0 ;
4199 wxString
*arg4
= 0 ;
4200 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4201 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4202 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4203 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4204 long arg7
= (long) 0 ;
4205 wxString
const &arg8_defvalue
= wxPyStaticBoxNameStr
;
4206 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4208 bool temp4
= False
;
4211 bool temp8
= False
;
4212 PyObject
* obj0
= 0 ;
4213 PyObject
* obj1
= 0 ;
4214 PyObject
* obj2
= 0 ;
4215 PyObject
* obj3
= 0 ;
4216 PyObject
* obj4
= 0 ;
4217 PyObject
* obj5
= 0 ;
4218 PyObject
* obj6
= 0 ;
4219 PyObject
* obj7
= 0 ;
4221 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:StaticBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4225 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBox
,
4226 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4227 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4229 arg3
= (int) SWIG_AsInt(obj2
);
4230 if (PyErr_Occurred()) SWIG_fail
;
4232 arg4
= wxString_in_helper(obj3
);
4233 if (arg4
== NULL
) SWIG_fail
;
4239 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4245 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4249 arg7
= (long) SWIG_AsLong(obj6
);
4250 if (PyErr_Occurred()) SWIG_fail
;
4254 arg8
= wxString_in_helper(obj7
);
4255 if (arg8
== NULL
) SWIG_fail
;
4260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4261 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4263 wxPyEndAllowThreads(__tstate
);
4264 if (PyErr_Occurred()) SWIG_fail
;
4267 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4291 static PyObject
* StaticBox_swigregister(PyObject
*, PyObject
*args
) {
4293 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4294 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox
, obj
);
4296 return Py_BuildValue((char *)"");
4298 static PyObject
*_wrap_new_StaticLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4299 PyObject
*resultobj
;
4300 wxWindow
*arg1
= (wxWindow
*) 0 ;
4302 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
4303 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
4304 wxSize
const &arg4_defvalue
= wxDefaultSize
;
4305 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
4306 long arg5
= (long) wxLI_HORIZONTAL
;
4307 wxString
const &arg6_defvalue
= wxPyStaticTextNameStr
;
4308 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
4309 wxStaticLine
*result
;
4312 bool temp6
= False
;
4313 PyObject
* obj0
= 0 ;
4314 PyObject
* obj1
= 0 ;
4315 PyObject
* obj2
= 0 ;
4316 PyObject
* obj3
= 0 ;
4317 PyObject
* obj4
= 0 ;
4318 PyObject
* obj5
= 0 ;
4320 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_StaticLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
4324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4326 arg2
= (int) SWIG_AsInt(obj1
);
4327 if (PyErr_Occurred()) SWIG_fail
;
4331 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
4337 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
4341 arg5
= (long) SWIG_AsLong(obj4
);
4342 if (PyErr_Occurred()) SWIG_fail
;
4346 arg6
= wxString_in_helper(obj5
);
4347 if (arg6
== NULL
) SWIG_fail
;
4352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4353 result
= (wxStaticLine
*)new wxStaticLine(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
4355 wxPyEndAllowThreads(__tstate
);
4356 if (PyErr_Occurred()) SWIG_fail
;
4358 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticLine
, 1);
4373 static PyObject
*_wrap_new_PreStaticLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4374 PyObject
*resultobj
;
4375 wxStaticLine
*result
;
4380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticLine",kwnames
)) goto fail
;
4382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4383 result
= (wxStaticLine
*)new wxStaticLine();
4385 wxPyEndAllowThreads(__tstate
);
4386 if (PyErr_Occurred()) SWIG_fail
;
4388 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticLine
, 1);
4395 static PyObject
*_wrap_StaticLine_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4396 PyObject
*resultobj
;
4397 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
4398 wxWindow
*arg2
= (wxWindow
*) 0 ;
4400 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4401 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4402 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4403 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4404 long arg6
= (long) wxLI_HORIZONTAL
;
4405 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
4406 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4410 bool temp7
= False
;
4411 PyObject
* obj0
= 0 ;
4412 PyObject
* obj1
= 0 ;
4413 PyObject
* obj2
= 0 ;
4414 PyObject
* obj3
= 0 ;
4415 PyObject
* obj4
= 0 ;
4416 PyObject
* obj5
= 0 ;
4417 PyObject
* obj6
= 0 ;
4419 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:StaticLine_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4423 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticLine
,
4424 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4425 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4427 arg3
= (int) SWIG_AsInt(obj2
);
4428 if (PyErr_Occurred()) SWIG_fail
;
4432 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4438 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4442 arg6
= (long) SWIG_AsLong(obj5
);
4443 if (PyErr_Occurred()) SWIG_fail
;
4447 arg7
= wxString_in_helper(obj6
);
4448 if (arg7
== NULL
) SWIG_fail
;
4453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4454 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4456 wxPyEndAllowThreads(__tstate
);
4457 if (PyErr_Occurred()) SWIG_fail
;
4460 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4476 static PyObject
*_wrap_StaticLine_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4477 PyObject
*resultobj
;
4478 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
4480 PyObject
* obj0
= 0 ;
4482 (char *) "self", NULL
4485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticLine_IsVertical",kwnames
,&obj0
)) goto fail
;
4486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticLine
,
4487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4490 result
= (bool)((wxStaticLine
const *)arg1
)->IsVertical();
4492 wxPyEndAllowThreads(__tstate
);
4493 if (PyErr_Occurred()) SWIG_fail
;
4496 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4504 static PyObject
*_wrap_StaticLine_GetDefaultSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4505 PyObject
*resultobj
;
4511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StaticLine_GetDefaultSize",kwnames
)) goto fail
;
4513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4514 result
= (int)wxStaticLine::GetDefaultSize();
4516 wxPyEndAllowThreads(__tstate
);
4517 if (PyErr_Occurred()) SWIG_fail
;
4519 resultobj
= SWIG_FromInt((int)result
);
4526 static PyObject
* StaticLine_swigregister(PyObject
*, PyObject
*args
) {
4528 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4529 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine
, obj
);
4531 return Py_BuildValue((char *)"");
4533 static PyObject
*_wrap_new_StaticText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4534 PyObject
*resultobj
;
4535 wxWindow
*arg1
= (wxWindow
*) 0 ;
4537 wxString
*arg3
= 0 ;
4538 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4539 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4540 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4541 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4542 long arg6
= (long) 0 ;
4543 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
4544 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4545 wxStaticText
*result
;
4546 bool temp3
= False
;
4549 bool temp7
= False
;
4550 PyObject
* obj0
= 0 ;
4551 PyObject
* obj1
= 0 ;
4552 PyObject
* obj2
= 0 ;
4553 PyObject
* obj3
= 0 ;
4554 PyObject
* obj4
= 0 ;
4555 PyObject
* obj5
= 0 ;
4556 PyObject
* obj6
= 0 ;
4558 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_StaticText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4564 arg2
= (int) SWIG_AsInt(obj1
);
4565 if (PyErr_Occurred()) SWIG_fail
;
4567 arg3
= wxString_in_helper(obj2
);
4568 if (arg3
== NULL
) SWIG_fail
;
4574 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4580 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4584 arg6
= (long) SWIG_AsLong(obj5
);
4585 if (PyErr_Occurred()) SWIG_fail
;
4589 arg7
= wxString_in_helper(obj6
);
4590 if (arg7
== NULL
) SWIG_fail
;
4595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4596 result
= (wxStaticText
*)new wxStaticText(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4598 wxPyEndAllowThreads(__tstate
);
4599 if (PyErr_Occurred()) SWIG_fail
;
4601 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticText
, 1);
4624 static PyObject
*_wrap_new_PreStaticText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4625 PyObject
*resultobj
;
4626 wxStaticText
*result
;
4631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticText",kwnames
)) goto fail
;
4633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4634 result
= (wxStaticText
*)new wxStaticText();
4636 wxPyEndAllowThreads(__tstate
);
4637 if (PyErr_Occurred()) SWIG_fail
;
4639 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticText
, 1);
4646 static PyObject
*_wrap_StaticText_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4647 PyObject
*resultobj
;
4648 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
4649 wxWindow
*arg2
= (wxWindow
*) 0 ;
4651 wxString
*arg4
= 0 ;
4652 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4653 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4654 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4655 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4656 long arg7
= (long) 0 ;
4657 wxString
const &arg8_defvalue
= wxPyStaticTextNameStr
;
4658 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4660 bool temp4
= False
;
4663 bool temp8
= False
;
4664 PyObject
* obj0
= 0 ;
4665 PyObject
* obj1
= 0 ;
4666 PyObject
* obj2
= 0 ;
4667 PyObject
* obj3
= 0 ;
4668 PyObject
* obj4
= 0 ;
4669 PyObject
* obj5
= 0 ;
4670 PyObject
* obj6
= 0 ;
4671 PyObject
* obj7
= 0 ;
4673 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:StaticText_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4677 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticText
,
4678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4679 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4681 arg3
= (int) SWIG_AsInt(obj2
);
4682 if (PyErr_Occurred()) SWIG_fail
;
4684 arg4
= wxString_in_helper(obj3
);
4685 if (arg4
== NULL
) SWIG_fail
;
4691 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4697 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4701 arg7
= (long) SWIG_AsLong(obj6
);
4702 if (PyErr_Occurred()) SWIG_fail
;
4706 arg8
= wxString_in_helper(obj7
);
4707 if (arg8
== NULL
) SWIG_fail
;
4712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4713 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4715 wxPyEndAllowThreads(__tstate
);
4716 if (PyErr_Occurred()) SWIG_fail
;
4719 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4743 static PyObject
* StaticText_swigregister(PyObject
*, PyObject
*args
) {
4745 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4746 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText
, obj
);
4748 return Py_BuildValue((char *)"");
4750 static PyObject
*_wrap_new_StaticBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4751 PyObject
*resultobj
;
4752 wxWindow
*arg1
= (wxWindow
*) 0 ;
4754 wxBitmap
*arg3
= 0 ;
4755 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4756 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4757 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4758 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4759 long arg6
= (long) 0 ;
4760 wxString
const &arg7_defvalue
= wxPyStaticBitmapNameStr
;
4761 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4762 wxStaticBitmap
*result
;
4765 bool temp7
= False
;
4766 PyObject
* obj0
= 0 ;
4767 PyObject
* obj1
= 0 ;
4768 PyObject
* obj2
= 0 ;
4769 PyObject
* obj3
= 0 ;
4770 PyObject
* obj4
= 0 ;
4771 PyObject
* obj5
= 0 ;
4772 PyObject
* obj6
= 0 ;
4774 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_StaticBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4778 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4780 arg2
= (int) SWIG_AsInt(obj1
);
4781 if (PyErr_Occurred()) SWIG_fail
;
4782 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
4783 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4786 PyErr_SetString(PyExc_TypeError
,"null reference");
4792 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4798 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4802 arg6
= (long) SWIG_AsLong(obj5
);
4803 if (PyErr_Occurred()) SWIG_fail
;
4807 arg7
= wxString_in_helper(obj6
);
4808 if (arg7
== NULL
) SWIG_fail
;
4813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4814 result
= (wxStaticBitmap
*)new wxStaticBitmap(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4816 wxPyEndAllowThreads(__tstate
);
4817 if (PyErr_Occurred()) SWIG_fail
;
4819 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBitmap
, 1);
4834 static PyObject
*_wrap_new_PreStaticBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4835 PyObject
*resultobj
;
4836 wxStaticBitmap
*result
;
4841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBitmap",kwnames
)) goto fail
;
4843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4844 result
= (wxStaticBitmap
*)new wxStaticBitmap();
4846 wxPyEndAllowThreads(__tstate
);
4847 if (PyErr_Occurred()) SWIG_fail
;
4849 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBitmap
, 1);
4856 static PyObject
*_wrap_StaticBitmap_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4857 PyObject
*resultobj
;
4858 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
4859 wxWindow
*arg2
= (wxWindow
*) 0 ;
4861 wxBitmap
*arg4
= 0 ;
4862 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4863 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4864 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4865 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4866 long arg7
= (long) 0 ;
4867 wxString
const &arg8_defvalue
= wxPyStaticBitmapNameStr
;
4868 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4872 bool temp8
= False
;
4873 PyObject
* obj0
= 0 ;
4874 PyObject
* obj1
= 0 ;
4875 PyObject
* obj2
= 0 ;
4876 PyObject
* obj3
= 0 ;
4877 PyObject
* obj4
= 0 ;
4878 PyObject
* obj5
= 0 ;
4879 PyObject
* obj6
= 0 ;
4880 PyObject
* obj7
= 0 ;
4882 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:StaticBitmap_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4886 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
4887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4888 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4890 arg3
= (int) SWIG_AsInt(obj2
);
4891 if (PyErr_Occurred()) SWIG_fail
;
4892 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
4893 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4896 PyErr_SetString(PyExc_TypeError
,"null reference");
4902 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4908 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4912 arg7
= (long) SWIG_AsLong(obj6
);
4913 if (PyErr_Occurred()) SWIG_fail
;
4917 arg8
= wxString_in_helper(obj7
);
4918 if (arg8
== NULL
) SWIG_fail
;
4923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4924 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4926 wxPyEndAllowThreads(__tstate
);
4927 if (PyErr_Occurred()) SWIG_fail
;
4930 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4946 static PyObject
*_wrap_StaticBitmap_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4947 PyObject
*resultobj
;
4948 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
4950 PyObject
* obj0
= 0 ;
4952 (char *) "self", NULL
4955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBitmap_GetBitmap",kwnames
,&obj0
)) goto fail
;
4956 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
4957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4960 result
= (arg1
)->GetBitmap();
4962 wxPyEndAllowThreads(__tstate
);
4963 if (PyErr_Occurred()) SWIG_fail
;
4966 wxBitmap
* resultptr
;
4967 resultptr
= new wxBitmap((wxBitmap
&) result
);
4968 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
4976 static PyObject
*_wrap_StaticBitmap_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4977 PyObject
*resultobj
;
4978 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
4979 wxBitmap
*arg2
= 0 ;
4980 PyObject
* obj0
= 0 ;
4981 PyObject
* obj1
= 0 ;
4983 (char *) "self",(char *) "bitmap", NULL
4986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
4987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
4988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4989 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
4990 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4993 PyErr_SetString(PyExc_TypeError
,"null reference");
4997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4998 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
5000 wxPyEndAllowThreads(__tstate
);
5001 if (PyErr_Occurred()) SWIG_fail
;
5003 Py_INCREF(Py_None
); resultobj
= Py_None
;
5010 static PyObject
*_wrap_StaticBitmap_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5011 PyObject
*resultobj
;
5012 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
5014 PyObject
* obj0
= 0 ;
5015 PyObject
* obj1
= 0 ;
5017 (char *) "self",(char *) "icon", NULL
5020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
5021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
5022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5023 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
5024 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5027 PyErr_SetString(PyExc_TypeError
,"null reference");
5031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5032 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
5034 wxPyEndAllowThreads(__tstate
);
5035 if (PyErr_Occurred()) SWIG_fail
;
5037 Py_INCREF(Py_None
); resultobj
= Py_None
;
5044 static PyObject
* StaticBitmap_swigregister(PyObject
*, PyObject
*args
) {
5046 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5047 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap
, obj
);
5049 return Py_BuildValue((char *)"");
5051 static int _wrap_ListBoxNameStr_set(PyObject
*) {
5052 PyErr_SetString(PyExc_TypeError
,"Variable ListBoxNameStr is read-only.");
5057 static PyObject
*_wrap_ListBoxNameStr_get() {
5062 pyobj
= PyUnicode_FromWideChar((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
5064 pyobj
= PyString_FromStringAndSize((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
5071 static PyObject
*_wrap_new_ListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5072 PyObject
*resultobj
;
5073 wxWindow
*arg1
= (wxWindow
*) 0 ;
5075 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5076 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5077 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5078 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5079 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
5080 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
5081 long arg6
= (long) 0 ;
5082 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
5083 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
5084 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
5085 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5089 bool temp5
= False
;
5090 bool temp8
= False
;
5091 PyObject
* obj0
= 0 ;
5092 PyObject
* obj1
= 0 ;
5093 PyObject
* obj2
= 0 ;
5094 PyObject
* obj3
= 0 ;
5095 PyObject
* obj4
= 0 ;
5096 PyObject
* obj5
= 0 ;
5097 PyObject
* obj6
= 0 ;
5098 PyObject
* obj7
= 0 ;
5100 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:new_ListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5104 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5106 arg2
= (int) SWIG_AsInt(obj1
);
5107 if (PyErr_Occurred()) SWIG_fail
;
5111 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5117 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5122 if (! PySequence_Check(obj4
)) {
5123 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5126 arg5
= new wxArrayString
;
5128 int i
, len
=PySequence_Length(obj4
);
5129 for (i
=0; i
<len
; i
++) {
5130 PyObject
* item
= PySequence_GetItem(obj4
, i
);
5132 PyObject
* str
= PyObject_Unicode(item
);
5134 PyObject
* str
= PyObject_Str(item
);
5136 if (PyErr_Occurred()) SWIG_fail
;
5137 arg5
->Add(Py2wxString(str
));
5144 arg6
= (long) SWIG_AsLong(obj5
);
5145 if (PyErr_Occurred()) SWIG_fail
;
5148 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
5149 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5152 PyErr_SetString(PyExc_TypeError
,"null reference");
5158 arg8
= wxString_in_helper(obj7
);
5159 if (arg8
== NULL
) SWIG_fail
;
5164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5165 result
= (wxListBox
*)new wxListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
5167 wxPyEndAllowThreads(__tstate
);
5168 if (PyErr_Occurred()) SWIG_fail
;
5170 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListBox
, 1);
5172 if (temp5
) delete arg5
;
5181 if (temp5
) delete arg5
;
5191 static PyObject
*_wrap_new_PreListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5192 PyObject
*resultobj
;
5198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListBox",kwnames
)) goto fail
;
5200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5201 result
= (wxListBox
*)new wxListBox();
5203 wxPyEndAllowThreads(__tstate
);
5204 if (PyErr_Occurred()) SWIG_fail
;
5206 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListBox
, 1);
5213 static PyObject
*_wrap_ListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5214 PyObject
*resultobj
;
5215 wxListBox
*arg1
= (wxListBox
*) 0 ;
5216 wxWindow
*arg2
= (wxWindow
*) 0 ;
5218 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5219 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5220 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5221 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5222 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
5223 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
5224 long arg7
= (long) 0 ;
5225 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5226 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5227 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
5228 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5232 bool temp6
= False
;
5233 bool temp9
= False
;
5234 PyObject
* obj0
= 0 ;
5235 PyObject
* obj1
= 0 ;
5236 PyObject
* obj2
= 0 ;
5237 PyObject
* obj3
= 0 ;
5238 PyObject
* obj4
= 0 ;
5239 PyObject
* obj5
= 0 ;
5240 PyObject
* obj6
= 0 ;
5241 PyObject
* obj7
= 0 ;
5242 PyObject
* obj8
= 0 ;
5244 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:ListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
5248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5250 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5252 arg3
= (int) SWIG_AsInt(obj2
);
5253 if (PyErr_Occurred()) SWIG_fail
;
5257 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5263 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5268 if (! PySequence_Check(obj5
)) {
5269 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5272 arg6
= new wxArrayString
;
5274 int i
, len
=PySequence_Length(obj5
);
5275 for (i
=0; i
<len
; i
++) {
5276 PyObject
* item
= PySequence_GetItem(obj5
, i
);
5278 PyObject
* str
= PyObject_Unicode(item
);
5280 PyObject
* str
= PyObject_Str(item
);
5282 if (PyErr_Occurred()) SWIG_fail
;
5283 arg6
->Add(Py2wxString(str
));
5290 arg7
= (long) SWIG_AsLong(obj6
);
5291 if (PyErr_Occurred()) SWIG_fail
;
5294 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
5295 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5298 PyErr_SetString(PyExc_TypeError
,"null reference");
5304 arg9
= wxString_in_helper(obj8
);
5305 if (arg9
== NULL
) SWIG_fail
;
5310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5311 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
5313 wxPyEndAllowThreads(__tstate
);
5314 if (PyErr_Occurred()) SWIG_fail
;
5317 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5320 if (temp6
) delete arg6
;
5329 if (temp6
) delete arg6
;
5339 static PyObject
*_wrap_ListBox_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5340 PyObject
*resultobj
;
5341 wxListBox
*arg1
= (wxListBox
*) 0 ;
5342 wxString
*arg2
= 0 ;
5344 PyObject
*arg4
= (PyObject
*) NULL
;
5345 bool temp2
= False
;
5346 PyObject
* obj0
= 0 ;
5347 PyObject
* obj1
= 0 ;
5348 PyObject
* obj2
= 0 ;
5349 PyObject
* obj3
= 0 ;
5351 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
5354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListBox_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5355 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5358 arg2
= wxString_in_helper(obj1
);
5359 if (arg2
== NULL
) SWIG_fail
;
5362 arg3
= (int) SWIG_AsInt(obj2
);
5363 if (PyErr_Occurred()) SWIG_fail
;
5368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5369 wxListBox_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
5371 wxPyEndAllowThreads(__tstate
);
5372 if (PyErr_Occurred()) SWIG_fail
;
5374 Py_INCREF(Py_None
); resultobj
= Py_None
;
5389 static PyObject
*_wrap_ListBox_InsertItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5390 PyObject
*resultobj
;
5391 wxListBox
*arg1
= (wxListBox
*) 0 ;
5392 wxArrayString
*arg2
= 0 ;
5394 bool temp2
= False
;
5395 PyObject
* obj0
= 0 ;
5396 PyObject
* obj1
= 0 ;
5397 PyObject
* obj2
= 0 ;
5399 (char *) "self",(char *) "items",(char *) "pos", NULL
5402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_InsertItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5406 if (! PySequence_Check(obj1
)) {
5407 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5410 arg2
= new wxArrayString
;
5412 int i
, len
=PySequence_Length(obj1
);
5413 for (i
=0; i
<len
; i
++) {
5414 PyObject
* item
= PySequence_GetItem(obj1
, i
);
5416 PyObject
* str
= PyObject_Unicode(item
);
5418 PyObject
* str
= PyObject_Str(item
);
5420 if (PyErr_Occurred()) SWIG_fail
;
5421 arg2
->Add(Py2wxString(str
));
5426 arg3
= (int) SWIG_AsInt(obj2
);
5427 if (PyErr_Occurred()) SWIG_fail
;
5429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5430 (arg1
)->InsertItems((wxArrayString
const &)*arg2
,arg3
);
5432 wxPyEndAllowThreads(__tstate
);
5433 if (PyErr_Occurred()) SWIG_fail
;
5435 Py_INCREF(Py_None
); resultobj
= Py_None
;
5437 if (temp2
) delete arg2
;
5442 if (temp2
) delete arg2
;
5448 static PyObject
*_wrap_ListBox_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5449 PyObject
*resultobj
;
5450 wxListBox
*arg1
= (wxListBox
*) 0 ;
5451 wxArrayString
*arg2
= 0 ;
5452 bool temp2
= False
;
5453 PyObject
* obj0
= 0 ;
5454 PyObject
* obj1
= 0 ;
5456 (char *) "self",(char *) "items", NULL
5459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Set",kwnames
,&obj0
,&obj1
)) goto fail
;
5460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5463 if (! PySequence_Check(obj1
)) {
5464 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5467 arg2
= new wxArrayString
;
5469 int i
, len
=PySequence_Length(obj1
);
5470 for (i
=0; i
<len
; i
++) {
5471 PyObject
* item
= PySequence_GetItem(obj1
, i
);
5473 PyObject
* str
= PyObject_Unicode(item
);
5475 PyObject
* str
= PyObject_Str(item
);
5477 if (PyErr_Occurred()) SWIG_fail
;
5478 arg2
->Add(Py2wxString(str
));
5484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5485 (arg1
)->Set((wxArrayString
const &)*arg2
);
5487 wxPyEndAllowThreads(__tstate
);
5488 if (PyErr_Occurred()) SWIG_fail
;
5490 Py_INCREF(Py_None
); resultobj
= Py_None
;
5492 if (temp2
) delete arg2
;
5497 if (temp2
) delete arg2
;
5503 static PyObject
*_wrap_ListBox_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5504 PyObject
*resultobj
;
5505 wxListBox
*arg1
= (wxListBox
*) 0 ;
5508 PyObject
* obj0
= 0 ;
5509 PyObject
* obj1
= 0 ;
5511 (char *) "self",(char *) "n", NULL
5514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
5515 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5516 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5517 arg2
= (int) SWIG_AsInt(obj1
);
5518 if (PyErr_Occurred()) SWIG_fail
;
5520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5521 result
= (bool)((wxListBox
const *)arg1
)->IsSelected(arg2
);
5523 wxPyEndAllowThreads(__tstate
);
5524 if (PyErr_Occurred()) SWIG_fail
;
5527 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5535 static PyObject
*_wrap_ListBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5536 PyObject
*resultobj
;
5537 wxListBox
*arg1
= (wxListBox
*) 0 ;
5539 bool arg3
= (bool) True
;
5540 PyObject
* obj0
= 0 ;
5541 PyObject
* obj1
= 0 ;
5542 PyObject
* obj2
= 0 ;
5544 (char *) "self",(char *) "n",(char *) "select", NULL
5547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5548 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5549 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5550 arg2
= (int) SWIG_AsInt(obj1
);
5551 if (PyErr_Occurred()) SWIG_fail
;
5553 arg3
= (bool) SWIG_AsBool(obj2
);
5554 if (PyErr_Occurred()) SWIG_fail
;
5557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5558 (arg1
)->SetSelection(arg2
,arg3
);
5560 wxPyEndAllowThreads(__tstate
);
5561 if (PyErr_Occurred()) SWIG_fail
;
5563 Py_INCREF(Py_None
); resultobj
= Py_None
;
5570 static PyObject
*_wrap_ListBox_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5571 PyObject
*resultobj
;
5572 wxListBox
*arg1
= (wxListBox
*) 0 ;
5574 PyObject
* obj0
= 0 ;
5575 PyObject
* obj1
= 0 ;
5577 (char *) "self",(char *) "n", NULL
5580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
5581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5583 arg2
= (int) SWIG_AsInt(obj1
);
5584 if (PyErr_Occurred()) SWIG_fail
;
5586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5587 (arg1
)->Select(arg2
);
5589 wxPyEndAllowThreads(__tstate
);
5590 if (PyErr_Occurred()) SWIG_fail
;
5592 Py_INCREF(Py_None
); resultobj
= Py_None
;
5599 static PyObject
*_wrap_ListBox_Deselect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5600 PyObject
*resultobj
;
5601 wxListBox
*arg1
= (wxListBox
*) 0 ;
5603 PyObject
* obj0
= 0 ;
5604 PyObject
* obj1
= 0 ;
5606 (char *) "self",(char *) "n", NULL
5609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Deselect",kwnames
,&obj0
,&obj1
)) goto fail
;
5610 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5612 arg2
= (int) SWIG_AsInt(obj1
);
5613 if (PyErr_Occurred()) SWIG_fail
;
5615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5616 (arg1
)->Deselect(arg2
);
5618 wxPyEndAllowThreads(__tstate
);
5619 if (PyErr_Occurred()) SWIG_fail
;
5621 Py_INCREF(Py_None
); resultobj
= Py_None
;
5628 static PyObject
*_wrap_ListBox_DeselectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5629 PyObject
*resultobj
;
5630 wxListBox
*arg1
= (wxListBox
*) 0 ;
5631 int arg2
= (int) -1 ;
5632 PyObject
* obj0
= 0 ;
5633 PyObject
* obj1
= 0 ;
5635 (char *) "self",(char *) "itemToLeaveSelected", NULL
5638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListBox_DeselectAll",kwnames
,&obj0
,&obj1
)) goto fail
;
5639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5642 arg2
= (int) SWIG_AsInt(obj1
);
5643 if (PyErr_Occurred()) SWIG_fail
;
5646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5647 (arg1
)->DeselectAll(arg2
);
5649 wxPyEndAllowThreads(__tstate
);
5650 if (PyErr_Occurred()) SWIG_fail
;
5652 Py_INCREF(Py_None
); resultobj
= Py_None
;
5659 static PyObject
*_wrap_ListBox_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5660 PyObject
*resultobj
;
5661 wxListBox
*arg1
= (wxListBox
*) 0 ;
5662 wxString
*arg2
= 0 ;
5663 bool arg3
= (bool) True
;
5665 bool temp2
= False
;
5666 PyObject
* obj0
= 0 ;
5667 PyObject
* obj1
= 0 ;
5668 PyObject
* obj2
= 0 ;
5670 (char *) "self",(char *) "s",(char *) "select", NULL
5673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetStringSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5674 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5677 arg2
= wxString_in_helper(obj1
);
5678 if (arg2
== NULL
) SWIG_fail
;
5682 arg3
= (bool) SWIG_AsBool(obj2
);
5683 if (PyErr_Occurred()) SWIG_fail
;
5686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5687 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
,arg3
);
5689 wxPyEndAllowThreads(__tstate
);
5690 if (PyErr_Occurred()) SWIG_fail
;
5693 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5709 static PyObject
*_wrap_ListBox_GetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5710 PyObject
*resultobj
;
5711 wxListBox
*arg1
= (wxListBox
*) 0 ;
5713 PyObject
* obj0
= 0 ;
5715 (char *) "self", NULL
5718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_GetSelections",kwnames
,&obj0
)) goto fail
;
5719 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5723 result
= (PyObject
*)wxListBox_GetSelections(arg1
);
5725 wxPyEndAllowThreads(__tstate
);
5726 if (PyErr_Occurred()) SWIG_fail
;
5735 static PyObject
*_wrap_ListBox_SetFirstItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5736 PyObject
*resultobj
;
5737 wxListBox
*arg1
= (wxListBox
*) 0 ;
5739 PyObject
* obj0
= 0 ;
5740 PyObject
* obj1
= 0 ;
5742 (char *) "self",(char *) "n", NULL
5745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItem",kwnames
,&obj0
,&obj1
)) goto fail
;
5746 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5748 arg2
= (int) SWIG_AsInt(obj1
);
5749 if (PyErr_Occurred()) SWIG_fail
;
5751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5752 (arg1
)->SetFirstItem(arg2
);
5754 wxPyEndAllowThreads(__tstate
);
5755 if (PyErr_Occurred()) SWIG_fail
;
5757 Py_INCREF(Py_None
); resultobj
= Py_None
;
5764 static PyObject
*_wrap_ListBox_SetFirstItemStr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5765 PyObject
*resultobj
;
5766 wxListBox
*arg1
= (wxListBox
*) 0 ;
5767 wxString
*arg2
= 0 ;
5768 bool temp2
= False
;
5769 PyObject
* obj0
= 0 ;
5770 PyObject
* obj1
= 0 ;
5772 (char *) "self",(char *) "s", NULL
5775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItemStr",kwnames
,&obj0
,&obj1
)) goto fail
;
5776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5779 arg2
= wxString_in_helper(obj1
);
5780 if (arg2
== NULL
) SWIG_fail
;
5784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5785 (arg1
)->SetFirstItem((wxString
const &)*arg2
);
5787 wxPyEndAllowThreads(__tstate
);
5788 if (PyErr_Occurred()) SWIG_fail
;
5790 Py_INCREF(Py_None
); resultobj
= Py_None
;
5805 static PyObject
*_wrap_ListBox_EnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5806 PyObject
*resultobj
;
5807 wxListBox
*arg1
= (wxListBox
*) 0 ;
5809 PyObject
* obj0
= 0 ;
5810 PyObject
* obj1
= 0 ;
5812 (char *) "self",(char *) "n", NULL
5815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
5816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5818 arg2
= (int) SWIG_AsInt(obj1
);
5819 if (PyErr_Occurred()) SWIG_fail
;
5821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5822 (arg1
)->EnsureVisible(arg2
);
5824 wxPyEndAllowThreads(__tstate
);
5825 if (PyErr_Occurred()) SWIG_fail
;
5827 Py_INCREF(Py_None
); resultobj
= Py_None
;
5834 static PyObject
*_wrap_ListBox_AppendAndEnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5835 PyObject
*resultobj
;
5836 wxListBox
*arg1
= (wxListBox
*) 0 ;
5837 wxString
*arg2
= 0 ;
5838 bool temp2
= False
;
5839 PyObject
* obj0
= 0 ;
5840 PyObject
* obj1
= 0 ;
5842 (char *) "self",(char *) "s", NULL
5845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
5846 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5849 arg2
= wxString_in_helper(obj1
);
5850 if (arg2
== NULL
) SWIG_fail
;
5854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5855 (arg1
)->AppendAndEnsureVisible((wxString
const &)*arg2
);
5857 wxPyEndAllowThreads(__tstate
);
5858 if (PyErr_Occurred()) SWIG_fail
;
5860 Py_INCREF(Py_None
); resultobj
= Py_None
;
5875 static PyObject
*_wrap_ListBox_IsSorted(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5876 PyObject
*resultobj
;
5877 wxListBox
*arg1
= (wxListBox
*) 0 ;
5879 PyObject
* obj0
= 0 ;
5881 (char *) "self", NULL
5884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_IsSorted",kwnames
,&obj0
)) goto fail
;
5885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5889 result
= (bool)((wxListBox
const *)arg1
)->IsSorted();
5891 wxPyEndAllowThreads(__tstate
);
5892 if (PyErr_Occurred()) SWIG_fail
;
5895 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5903 static PyObject
*_wrap_ListBox_SetItemForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5904 PyObject
*resultobj
;
5905 wxListBox
*arg1
= (wxListBox
*) 0 ;
5907 wxColour
*arg3
= 0 ;
5909 PyObject
* obj0
= 0 ;
5910 PyObject
* obj1
= 0 ;
5911 PyObject
* obj2
= 0 ;
5913 (char *) "self",(char *) "item",(char *) "c", NULL
5916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5919 arg2
= (int) SWIG_AsInt(obj1
);
5920 if (PyErr_Occurred()) SWIG_fail
;
5923 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
5926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5927 wxListBox_SetItemForegroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
5929 wxPyEndAllowThreads(__tstate
);
5930 if (PyErr_Occurred()) SWIG_fail
;
5932 Py_INCREF(Py_None
); resultobj
= Py_None
;
5939 static PyObject
*_wrap_ListBox_SetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5940 PyObject
*resultobj
;
5941 wxListBox
*arg1
= (wxListBox
*) 0 ;
5943 wxColour
*arg3
= 0 ;
5945 PyObject
* obj0
= 0 ;
5946 PyObject
* obj1
= 0 ;
5947 PyObject
* obj2
= 0 ;
5949 (char *) "self",(char *) "item",(char *) "c", NULL
5952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5953 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5955 arg2
= (int) SWIG_AsInt(obj1
);
5956 if (PyErr_Occurred()) SWIG_fail
;
5959 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
5962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5963 wxListBox_SetItemBackgroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
5965 wxPyEndAllowThreads(__tstate
);
5966 if (PyErr_Occurred()) SWIG_fail
;
5968 Py_INCREF(Py_None
); resultobj
= Py_None
;
5975 static PyObject
*_wrap_ListBox_SetItemFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5976 PyObject
*resultobj
;
5977 wxListBox
*arg1
= (wxListBox
*) 0 ;
5980 PyObject
* obj0
= 0 ;
5981 PyObject
* obj1
= 0 ;
5982 PyObject
* obj2
= 0 ;
5984 (char *) "self",(char *) "item",(char *) "f", NULL
5987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5990 arg2
= (int) SWIG_AsInt(obj1
);
5991 if (PyErr_Occurred()) SWIG_fail
;
5992 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
5993 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5996 PyErr_SetString(PyExc_TypeError
,"null reference");
6000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6001 wxListBox_SetItemFont(arg1
,arg2
,(wxFont
const &)*arg3
);
6003 wxPyEndAllowThreads(__tstate
);
6004 if (PyErr_Occurred()) SWIG_fail
;
6006 Py_INCREF(Py_None
); resultobj
= Py_None
;
6013 static PyObject
*_wrap_ListBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6014 PyObject
*resultobj
;
6015 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
6016 wxVisualAttributes result
;
6017 PyObject
* obj0
= 0 ;
6019 (char *) "variant", NULL
6022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6024 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
6025 if (PyErr_Occurred()) SWIG_fail
;
6028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6029 result
= wxListBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
6031 wxPyEndAllowThreads(__tstate
);
6032 if (PyErr_Occurred()) SWIG_fail
;
6035 wxVisualAttributes
* resultptr
;
6036 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
6037 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6045 static PyObject
* ListBox_swigregister(PyObject
*, PyObject
*args
) {
6047 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6048 SWIG_TypeClientData(SWIGTYPE_p_wxListBox
, obj
);
6050 return Py_BuildValue((char *)"");
6052 static PyObject
*_wrap_new_CheckListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6053 PyObject
*resultobj
;
6054 wxWindow
*arg1
= (wxWindow
*) 0 ;
6056 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
6057 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
6058 wxSize
const &arg4_defvalue
= wxDefaultSize
;
6059 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
6060 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
6061 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
6062 long arg6
= (long) 0 ;
6063 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
6064 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
6065 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
6066 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6067 wxCheckListBox
*result
;
6070 bool temp5
= False
;
6071 bool temp8
= False
;
6072 PyObject
* obj0
= 0 ;
6073 PyObject
* obj1
= 0 ;
6074 PyObject
* obj2
= 0 ;
6075 PyObject
* obj3
= 0 ;
6076 PyObject
* obj4
= 0 ;
6077 PyObject
* obj5
= 0 ;
6078 PyObject
* obj6
= 0 ;
6079 PyObject
* obj7
= 0 ;
6081 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
6084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:new_CheckListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6085 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
6086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6087 arg2
= (int) SWIG_AsInt(obj1
);
6088 if (PyErr_Occurred()) SWIG_fail
;
6092 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
6098 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
6103 if (! PySequence_Check(obj4
)) {
6104 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
6107 arg5
= new wxArrayString
;
6109 int i
, len
=PySequence_Length(obj4
);
6110 for (i
=0; i
<len
; i
++) {
6111 PyObject
* item
= PySequence_GetItem(obj4
, i
);
6113 PyObject
* str
= PyObject_Unicode(item
);
6115 PyObject
* str
= PyObject_Str(item
);
6117 if (PyErr_Occurred()) SWIG_fail
;
6118 arg5
->Add(Py2wxString(str
));
6125 arg6
= (long) SWIG_AsLong(obj5
);
6126 if (PyErr_Occurred()) SWIG_fail
;
6129 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
6130 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6133 PyErr_SetString(PyExc_TypeError
,"null reference");
6139 arg8
= wxString_in_helper(obj7
);
6140 if (arg8
== NULL
) SWIG_fail
;
6145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6146 result
= (wxCheckListBox
*)new wxCheckListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
6148 wxPyEndAllowThreads(__tstate
);
6149 if (PyErr_Occurred()) SWIG_fail
;
6151 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckListBox
, 1);
6153 if (temp5
) delete arg5
;
6162 if (temp5
) delete arg5
;
6172 static PyObject
*_wrap_new_PreCheckListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6173 PyObject
*resultobj
;
6174 wxCheckListBox
*result
;
6179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckListBox",kwnames
)) goto fail
;
6181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6182 result
= (wxCheckListBox
*)new wxCheckListBox();
6184 wxPyEndAllowThreads(__tstate
);
6185 if (PyErr_Occurred()) SWIG_fail
;
6187 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckListBox
, 1);
6194 static PyObject
*_wrap_CheckListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6195 PyObject
*resultobj
;
6196 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6197 wxWindow
*arg2
= (wxWindow
*) 0 ;
6199 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6200 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6201 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6202 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6203 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
6204 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
6205 long arg7
= (long) 0 ;
6206 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
6207 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
6208 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
6209 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
6213 bool temp6
= False
;
6214 bool temp9
= False
;
6215 PyObject
* obj0
= 0 ;
6216 PyObject
* obj1
= 0 ;
6217 PyObject
* obj2
= 0 ;
6218 PyObject
* obj3
= 0 ;
6219 PyObject
* obj4
= 0 ;
6220 PyObject
* obj5
= 0 ;
6221 PyObject
* obj6
= 0 ;
6222 PyObject
* obj7
= 0 ;
6223 PyObject
* obj8
= 0 ;
6225 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
6228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:CheckListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
6229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6231 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6233 arg3
= (int) SWIG_AsInt(obj2
);
6234 if (PyErr_Occurred()) SWIG_fail
;
6238 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6244 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6249 if (! PySequence_Check(obj5
)) {
6250 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
6253 arg6
= new wxArrayString
;
6255 int i
, len
=PySequence_Length(obj5
);
6256 for (i
=0; i
<len
; i
++) {
6257 PyObject
* item
= PySequence_GetItem(obj5
, i
);
6259 PyObject
* str
= PyObject_Unicode(item
);
6261 PyObject
* str
= PyObject_Str(item
);
6263 if (PyErr_Occurred()) SWIG_fail
;
6264 arg6
->Add(Py2wxString(str
));
6271 arg7
= (long) SWIG_AsLong(obj6
);
6272 if (PyErr_Occurred()) SWIG_fail
;
6275 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
6276 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6279 PyErr_SetString(PyExc_TypeError
,"null reference");
6285 arg9
= wxString_in_helper(obj8
);
6286 if (arg9
== NULL
) SWIG_fail
;
6291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6292 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
6294 wxPyEndAllowThreads(__tstate
);
6295 if (PyErr_Occurred()) SWIG_fail
;
6298 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6301 if (temp6
) delete arg6
;
6310 if (temp6
) delete arg6
;
6320 static PyObject
*_wrap_CheckListBox_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6321 PyObject
*resultobj
;
6322 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6325 PyObject
* obj0
= 0 ;
6326 PyObject
* obj1
= 0 ;
6328 (char *) "self",(char *) "index", NULL
6331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
6332 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6334 arg2
= (int) SWIG_AsInt(obj1
);
6335 if (PyErr_Occurred()) SWIG_fail
;
6337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6338 result
= (bool)(arg1
)->IsChecked(arg2
);
6340 wxPyEndAllowThreads(__tstate
);
6341 if (PyErr_Occurred()) SWIG_fail
;
6344 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6352 static PyObject
*_wrap_CheckListBox_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6353 PyObject
*resultobj
;
6354 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6356 int arg3
= (int) True
;
6357 PyObject
* obj0
= 0 ;
6358 PyObject
* obj1
= 0 ;
6359 PyObject
* obj2
= 0 ;
6361 (char *) "self",(char *) "index",(char *) "check", NULL
6364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:CheckListBox_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6367 arg2
= (int) SWIG_AsInt(obj1
);
6368 if (PyErr_Occurred()) SWIG_fail
;
6370 arg3
= (int) SWIG_AsInt(obj2
);
6371 if (PyErr_Occurred()) SWIG_fail
;
6374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6375 (arg1
)->Check(arg2
,arg3
);
6377 wxPyEndAllowThreads(__tstate
);
6378 if (PyErr_Occurred()) SWIG_fail
;
6380 Py_INCREF(Py_None
); resultobj
= Py_None
;
6387 static PyObject
*_wrap_CheckListBox_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6388 PyObject
*resultobj
;
6389 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6393 PyObject
* obj0
= 0 ;
6394 PyObject
* obj1
= 0 ;
6396 (char *) "self",(char *) "pt", NULL
6399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
6400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6404 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6408 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
6410 wxPyEndAllowThreads(__tstate
);
6411 if (PyErr_Occurred()) SWIG_fail
;
6413 resultobj
= SWIG_FromInt((int)result
);
6420 static PyObject
*_wrap_CheckListBox_HitTestXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6421 PyObject
*resultobj
;
6422 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6426 PyObject
* obj0
= 0 ;
6427 PyObject
* obj1
= 0 ;
6428 PyObject
* obj2
= 0 ;
6430 (char *) "self",(char *) "x",(char *) "y", NULL
6433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:CheckListBox_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6434 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6436 arg2
= (int) SWIG_AsInt(obj1
);
6437 if (PyErr_Occurred()) SWIG_fail
;
6438 arg3
= (int) SWIG_AsInt(obj2
);
6439 if (PyErr_Occurred()) SWIG_fail
;
6441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6442 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest(arg2
,arg3
);
6444 wxPyEndAllowThreads(__tstate
);
6445 if (PyErr_Occurred()) SWIG_fail
;
6447 resultobj
= SWIG_FromInt((int)result
);
6454 static PyObject
* CheckListBox_swigregister(PyObject
*, PyObject
*args
) {
6456 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6457 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox
, obj
);
6459 return Py_BuildValue((char *)"");
6461 static int _wrap_TextCtrlNameStr_set(PyObject
*) {
6462 PyErr_SetString(PyExc_TypeError
,"Variable TextCtrlNameStr is read-only.");
6467 static PyObject
*_wrap_TextCtrlNameStr_get() {
6472 pyobj
= PyUnicode_FromWideChar((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
6474 pyobj
= PyString_FromStringAndSize((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
6481 static PyObject
*_wrap_new_TextAttr__SWIG_0(PyObject
*, PyObject
*args
) {
6482 PyObject
*resultobj
;
6485 if(!PyArg_ParseTuple(args
,(char *)":new_TextAttr")) goto fail
;
6487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6488 result
= (wxTextAttr
*)new wxTextAttr();
6490 wxPyEndAllowThreads(__tstate
);
6491 if (PyErr_Occurred()) SWIG_fail
;
6493 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 1);
6500 static PyObject
*_wrap_new_TextAttr__SWIG_1(PyObject
*, PyObject
*args
) {
6501 PyObject
*resultobj
;
6502 wxColour
*arg1
= 0 ;
6503 wxColour
const &arg2_defvalue
= wxNullColour
;
6504 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
6505 wxFont
const &arg3_defvalue
= wxNullFont
;
6506 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
6507 int arg4
= (int) wxTEXT_ALIGNMENT_DEFAULT
;
6511 PyObject
* obj0
= 0 ;
6512 PyObject
* obj1
= 0 ;
6513 PyObject
* obj2
= 0 ;
6514 PyObject
* obj3
= 0 ;
6516 if(!PyArg_ParseTuple(args
,(char *)"O|OOO:new_TextAttr",&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6519 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
6524 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6528 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
6529 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6532 PyErr_SetString(PyExc_TypeError
,"null reference");
6537 arg4
= (wxTextAttrAlignment
) SWIG_AsInt(obj3
);
6538 if (PyErr_Occurred()) SWIG_fail
;
6541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6542 result
= (wxTextAttr
*)new wxTextAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
,(wxTextAttrAlignment
)arg4
);
6544 wxPyEndAllowThreads(__tstate
);
6545 if (PyErr_Occurred()) SWIG_fail
;
6547 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 1);
6554 static PyObject
*_wrap_new_TextAttr(PyObject
*self
, PyObject
*args
) {
6559 argc
= PyObject_Length(args
);
6560 for (ii
= 0; (ii
< argc
) && (ii
< 4); ii
++) {
6561 argv
[ii
] = PyTuple_GetItem(args
,ii
);
6564 return _wrap_new_TextAttr__SWIG_0(self
,args
);
6566 if ((argc
>= 1) && (argc
<= 4)) {
6569 _v
= wxColour_typecheck(argv
[0]);
6573 return _wrap_new_TextAttr__SWIG_1(self
,args
);
6576 _v
= wxColour_typecheck(argv
[1]);
6580 return _wrap_new_TextAttr__SWIG_1(self
,args
);
6584 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxFont
, 0) == -1) {
6593 return _wrap_new_TextAttr__SWIG_1(self
,args
);
6595 _v
= SWIG_CheckInt(argv
[3]);
6597 return _wrap_new_TextAttr__SWIG_1(self
,args
);
6604 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_TextAttr'");
6609 static PyObject
*_wrap_delete_TextAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6610 PyObject
*resultobj
;
6611 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6612 PyObject
* obj0
= 0 ;
6614 (char *) "self", NULL
6617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TextAttr",kwnames
,&obj0
)) goto fail
;
6618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6624 wxPyEndAllowThreads(__tstate
);
6625 if (PyErr_Occurred()) SWIG_fail
;
6627 Py_INCREF(Py_None
); resultobj
= Py_None
;
6634 static PyObject
*_wrap_TextAttr_Init(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6635 PyObject
*resultobj
;
6636 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6637 PyObject
* obj0
= 0 ;
6639 (char *) "self", NULL
6642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_Init",kwnames
,&obj0
)) goto fail
;
6643 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6644 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6649 wxPyEndAllowThreads(__tstate
);
6650 if (PyErr_Occurred()) SWIG_fail
;
6652 Py_INCREF(Py_None
); resultobj
= Py_None
;
6659 static PyObject
*_wrap_TextAttr_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6660 PyObject
*resultobj
;
6661 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6662 wxColour
*arg2
= 0 ;
6664 PyObject
* obj0
= 0 ;
6665 PyObject
* obj1
= 0 ;
6667 (char *) "self",(char *) "colText", NULL
6670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
6671 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6675 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6679 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
6681 wxPyEndAllowThreads(__tstate
);
6682 if (PyErr_Occurred()) SWIG_fail
;
6684 Py_INCREF(Py_None
); resultobj
= Py_None
;
6691 static PyObject
*_wrap_TextAttr_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6692 PyObject
*resultobj
;
6693 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6694 wxColour
*arg2
= 0 ;
6696 PyObject
* obj0
= 0 ;
6697 PyObject
* obj1
= 0 ;
6699 (char *) "self",(char *) "colBack", NULL
6702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
6703 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6707 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6711 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
6713 wxPyEndAllowThreads(__tstate
);
6714 if (PyErr_Occurred()) SWIG_fail
;
6716 Py_INCREF(Py_None
); resultobj
= Py_None
;
6723 static PyObject
*_wrap_TextAttr_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6724 PyObject
*resultobj
;
6725 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6727 long arg3
= (long) wxTEXT_ATTR_FONT
;
6728 PyObject
* obj0
= 0 ;
6729 PyObject
* obj1
= 0 ;
6730 PyObject
* obj2
= 0 ;
6732 (char *) "self",(char *) "font",(char *) "flags", NULL
6735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6736 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6738 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
6739 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6742 PyErr_SetString(PyExc_TypeError
,"null reference");
6746 arg3
= (long) SWIG_AsLong(obj2
);
6747 if (PyErr_Occurred()) SWIG_fail
;
6750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6751 (arg1
)->SetFont((wxFont
const &)*arg2
,arg3
);
6753 wxPyEndAllowThreads(__tstate
);
6754 if (PyErr_Occurred()) SWIG_fail
;
6756 Py_INCREF(Py_None
); resultobj
= Py_None
;
6763 static PyObject
*_wrap_TextAttr_SetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6764 PyObject
*resultobj
;
6765 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6767 PyObject
* obj0
= 0 ;
6768 PyObject
* obj1
= 0 ;
6770 (char *) "self",(char *) "alignment", NULL
6773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
6774 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6776 arg2
= (wxTextAttrAlignment
) SWIG_AsInt(obj1
);
6777 if (PyErr_Occurred()) SWIG_fail
;
6779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6780 (arg1
)->SetAlignment((wxTextAttrAlignment
)arg2
);
6782 wxPyEndAllowThreads(__tstate
);
6783 if (PyErr_Occurred()) SWIG_fail
;
6785 Py_INCREF(Py_None
); resultobj
= Py_None
;
6792 static PyObject
*_wrap_TextAttr_SetTabs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6793 PyObject
*resultobj
;
6794 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6795 wxArrayInt
*arg2
= 0 ;
6796 bool temp2
= False
;
6797 PyObject
* obj0
= 0 ;
6798 PyObject
* obj1
= 0 ;
6800 (char *) "self",(char *) "tabs", NULL
6803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) goto fail
;
6804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6807 if (! PySequence_Check(obj1
)) {
6808 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
6811 arg2
= new wxArrayInt
;
6813 int i
, len
=PySequence_Length(obj1
);
6814 for (i
=0; i
<len
; i
++) {
6815 PyObject
* item
= PySequence_GetItem(obj1
, i
);
6816 PyObject
* number
= PyNumber_Int(item
);
6817 arg2
->Add(PyInt_AS_LONG(number
));
6823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6824 (arg1
)->SetTabs((wxArrayInt
const &)*arg2
);
6826 wxPyEndAllowThreads(__tstate
);
6827 if (PyErr_Occurred()) SWIG_fail
;
6829 Py_INCREF(Py_None
); resultobj
= Py_None
;
6831 if (temp2
) delete arg2
;
6836 if (temp2
) delete arg2
;
6842 static PyObject
*_wrap_TextAttr_SetLeftIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6843 PyObject
*resultobj
;
6844 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6846 PyObject
* obj0
= 0 ;
6847 PyObject
* obj1
= 0 ;
6849 (char *) "self",(char *) "indent", NULL
6852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetLeftIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
6853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6855 arg2
= (int) SWIG_AsInt(obj1
);
6856 if (PyErr_Occurred()) SWIG_fail
;
6858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6859 (arg1
)->SetLeftIndent(arg2
);
6861 wxPyEndAllowThreads(__tstate
);
6862 if (PyErr_Occurred()) SWIG_fail
;
6864 Py_INCREF(Py_None
); resultobj
= Py_None
;
6871 static PyObject
*_wrap_TextAttr_SetRightIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6872 PyObject
*resultobj
;
6873 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6875 PyObject
* obj0
= 0 ;
6876 PyObject
* obj1
= 0 ;
6878 (char *) "self",(char *) "indent", NULL
6881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetRightIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
6882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6884 arg2
= (int) SWIG_AsInt(obj1
);
6885 if (PyErr_Occurred()) SWIG_fail
;
6887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6888 (arg1
)->SetRightIndent(arg2
);
6890 wxPyEndAllowThreads(__tstate
);
6891 if (PyErr_Occurred()) SWIG_fail
;
6893 Py_INCREF(Py_None
); resultobj
= Py_None
;
6900 static PyObject
*_wrap_TextAttr_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6901 PyObject
*resultobj
;
6902 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6904 PyObject
* obj0
= 0 ;
6905 PyObject
* obj1
= 0 ;
6907 (char *) "self",(char *) "flags", NULL
6910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
6911 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6913 arg2
= (long) SWIG_AsLong(obj1
);
6914 if (PyErr_Occurred()) SWIG_fail
;
6916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6917 (arg1
)->SetFlags(arg2
);
6919 wxPyEndAllowThreads(__tstate
);
6920 if (PyErr_Occurred()) SWIG_fail
;
6922 Py_INCREF(Py_None
); resultobj
= Py_None
;
6929 static PyObject
*_wrap_TextAttr_HasTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6930 PyObject
*resultobj
;
6931 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6933 PyObject
* obj0
= 0 ;
6935 (char *) "self", NULL
6938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
6939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6943 result
= (bool)((wxTextAttr
const *)arg1
)->HasTextColour();
6945 wxPyEndAllowThreads(__tstate
);
6946 if (PyErr_Occurred()) SWIG_fail
;
6949 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6957 static PyObject
*_wrap_TextAttr_HasBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6958 PyObject
*resultobj
;
6959 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6961 PyObject
* obj0
= 0 ;
6963 (char *) "self", NULL
6966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
6967 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6971 result
= (bool)((wxTextAttr
const *)arg1
)->HasBackgroundColour();
6973 wxPyEndAllowThreads(__tstate
);
6974 if (PyErr_Occurred()) SWIG_fail
;
6977 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6985 static PyObject
*_wrap_TextAttr_HasFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6986 PyObject
*resultobj
;
6987 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6989 PyObject
* obj0
= 0 ;
6991 (char *) "self", NULL
6994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasFont",kwnames
,&obj0
)) goto fail
;
6995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6999 result
= (bool)((wxTextAttr
const *)arg1
)->HasFont();
7001 wxPyEndAllowThreads(__tstate
);
7002 if (PyErr_Occurred()) SWIG_fail
;
7005 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7013 static PyObject
*_wrap_TextAttr_HasAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7014 PyObject
*resultobj
;
7015 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7017 PyObject
* obj0
= 0 ;
7019 (char *) "self", NULL
7022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasAlignment",kwnames
,&obj0
)) goto fail
;
7023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7027 result
= (bool)((wxTextAttr
const *)arg1
)->HasAlignment();
7029 wxPyEndAllowThreads(__tstate
);
7030 if (PyErr_Occurred()) SWIG_fail
;
7033 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7041 static PyObject
*_wrap_TextAttr_HasTabs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7042 PyObject
*resultobj
;
7043 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7045 PyObject
* obj0
= 0 ;
7047 (char *) "self", NULL
7050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTabs",kwnames
,&obj0
)) goto fail
;
7051 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7055 result
= (bool)((wxTextAttr
const *)arg1
)->HasTabs();
7057 wxPyEndAllowThreads(__tstate
);
7058 if (PyErr_Occurred()) SWIG_fail
;
7061 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7069 static PyObject
*_wrap_TextAttr_HasLeftIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7070 PyObject
*resultobj
;
7071 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7073 PyObject
* obj0
= 0 ;
7075 (char *) "self", NULL
7078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasLeftIndent",kwnames
,&obj0
)) goto fail
;
7079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7083 result
= (bool)((wxTextAttr
const *)arg1
)->HasLeftIndent();
7085 wxPyEndAllowThreads(__tstate
);
7086 if (PyErr_Occurred()) SWIG_fail
;
7089 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7097 static PyObject
*_wrap_TextAttr_HasRightIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7098 PyObject
*resultobj
;
7099 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7101 PyObject
* obj0
= 0 ;
7103 (char *) "self", NULL
7106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasRightIndent",kwnames
,&obj0
)) goto fail
;
7107 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7108 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7111 result
= (bool)((wxTextAttr
const *)arg1
)->HasRightIndent();
7113 wxPyEndAllowThreads(__tstate
);
7114 if (PyErr_Occurred()) SWIG_fail
;
7117 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7125 static PyObject
*_wrap_TextAttr_HasFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7126 PyObject
*resultobj
;
7127 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7130 PyObject
* obj0
= 0 ;
7131 PyObject
* obj1
= 0 ;
7133 (char *) "self",(char *) "flag", NULL
7136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
7137 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7139 arg2
= (long) SWIG_AsLong(obj1
);
7140 if (PyErr_Occurred()) SWIG_fail
;
7142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7143 result
= (bool)((wxTextAttr
const *)arg1
)->HasFlag(arg2
);
7145 wxPyEndAllowThreads(__tstate
);
7146 if (PyErr_Occurred()) SWIG_fail
;
7149 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7157 static PyObject
*_wrap_TextAttr_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7158 PyObject
*resultobj
;
7159 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7161 PyObject
* obj0
= 0 ;
7163 (char *) "self", NULL
7166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
7167 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7172 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTextColour();
7173 result
= (wxColour
*) &_result_ref
;
7176 wxPyEndAllowThreads(__tstate
);
7177 if (PyErr_Occurred()) SWIG_fail
;
7179 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
7186 static PyObject
*_wrap_TextAttr_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7187 PyObject
*resultobj
;
7188 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7190 PyObject
* obj0
= 0 ;
7192 (char *) "self", NULL
7195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
7196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7201 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetBackgroundColour();
7202 result
= (wxColour
*) &_result_ref
;
7205 wxPyEndAllowThreads(__tstate
);
7206 if (PyErr_Occurred()) SWIG_fail
;
7208 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
7215 static PyObject
*_wrap_TextAttr_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7216 PyObject
*resultobj
;
7217 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7219 PyObject
* obj0
= 0 ;
7221 (char *) "self", NULL
7224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFont",kwnames
,&obj0
)) goto fail
;
7225 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7226 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7230 wxFont
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetFont();
7231 result
= (wxFont
*) &_result_ref
;
7234 wxPyEndAllowThreads(__tstate
);
7235 if (PyErr_Occurred()) SWIG_fail
;
7238 wxFont
* resultptr
= new wxFont(*result
);
7239 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
7247 static PyObject
*_wrap_TextAttr_GetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7248 PyObject
*resultobj
;
7249 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7251 PyObject
* obj0
= 0 ;
7253 (char *) "self", NULL
7256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetAlignment",kwnames
,&obj0
)) goto fail
;
7257 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7261 result
= (int)((wxTextAttr
const *)arg1
)->GetAlignment();
7263 wxPyEndAllowThreads(__tstate
);
7264 if (PyErr_Occurred()) SWIG_fail
;
7266 resultobj
= SWIG_FromInt((int)result
);
7273 static PyObject
*_wrap_TextAttr_GetTabs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7274 PyObject
*resultobj
;
7275 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7277 PyObject
* obj0
= 0 ;
7279 (char *) "self", NULL
7282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTabs",kwnames
,&obj0
)) goto fail
;
7283 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7288 wxArrayInt
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTabs();
7289 result
= (wxArrayInt
*) &_result_ref
;
7292 wxPyEndAllowThreads(__tstate
);
7293 if (PyErr_Occurred()) SWIG_fail
;
7296 resultobj
= PyList_New(0);
7298 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
7299 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
7300 PyList_Append(resultobj
, val
);
7310 static PyObject
*_wrap_TextAttr_GetLeftIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7311 PyObject
*resultobj
;
7312 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7314 PyObject
* obj0
= 0 ;
7316 (char *) "self", NULL
7319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetLeftIndent",kwnames
,&obj0
)) goto fail
;
7320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7324 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftIndent();
7326 wxPyEndAllowThreads(__tstate
);
7327 if (PyErr_Occurred()) SWIG_fail
;
7329 resultobj
= SWIG_FromLong((long)result
);
7336 static PyObject
*_wrap_TextAttr_GetRightIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7337 PyObject
*resultobj
;
7338 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7340 PyObject
* obj0
= 0 ;
7342 (char *) "self", NULL
7345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetRightIndent",kwnames
,&obj0
)) goto fail
;
7346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7350 result
= (long)((wxTextAttr
const *)arg1
)->GetRightIndent();
7352 wxPyEndAllowThreads(__tstate
);
7353 if (PyErr_Occurred()) SWIG_fail
;
7355 resultobj
= SWIG_FromLong((long)result
);
7362 static PyObject
*_wrap_TextAttr_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7363 PyObject
*resultobj
;
7364 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7366 PyObject
* obj0
= 0 ;
7368 (char *) "self", NULL
7371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFlags",kwnames
,&obj0
)) goto fail
;
7372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7376 result
= (long)((wxTextAttr
const *)arg1
)->GetFlags();
7378 wxPyEndAllowThreads(__tstate
);
7379 if (PyErr_Occurred()) SWIG_fail
;
7381 resultobj
= SWIG_FromLong((long)result
);
7388 static PyObject
*_wrap_TextAttr_IsDefault(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7389 PyObject
*resultobj
;
7390 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7392 PyObject
* obj0
= 0 ;
7394 (char *) "self", NULL
7397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_IsDefault",kwnames
,&obj0
)) goto fail
;
7398 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7402 result
= (bool)((wxTextAttr
const *)arg1
)->IsDefault();
7404 wxPyEndAllowThreads(__tstate
);
7405 if (PyErr_Occurred()) SWIG_fail
;
7408 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7416 static PyObject
*_wrap_TextAttr_Combine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7417 PyObject
*resultobj
;
7418 wxTextAttr
*arg1
= 0 ;
7419 wxTextAttr
*arg2
= 0 ;
7420 wxTextCtrl
*arg3
= (wxTextCtrl
*) 0 ;
7422 PyObject
* obj0
= 0 ;
7423 PyObject
* obj1
= 0 ;
7424 PyObject
* obj2
= 0 ;
7426 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
7429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextAttr_Combine",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7430 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7431 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7434 PyErr_SetString(PyExc_TypeError
,"null reference");
7437 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTextAttr
,
7438 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7441 PyErr_SetString(PyExc_TypeError
,"null reference");
7444 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTextCtrl
,
7445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7448 result
= wxTextAttr::Combine((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
,(wxTextCtrl
const *)arg3
);
7450 wxPyEndAllowThreads(__tstate
);
7451 if (PyErr_Occurred()) SWIG_fail
;
7454 wxTextAttr
* resultptr
;
7455 resultptr
= new wxTextAttr((wxTextAttr
&) result
);
7456 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTextAttr
, 1);
7464 static PyObject
* TextAttr_swigregister(PyObject
*, PyObject
*args
) {
7466 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7467 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr
, obj
);
7469 return Py_BuildValue((char *)"");
7471 static PyObject
*_wrap_new_TextCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7472 PyObject
*resultobj
;
7473 wxWindow
*arg1
= (wxWindow
*) 0 ;
7475 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7476 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7477 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7478 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7479 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7480 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7481 long arg6
= (long) 0 ;
7482 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
7483 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
7484 wxString
const &arg8_defvalue
= wxPyTextCtrlNameStr
;
7485 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7487 bool temp3
= False
;
7490 bool temp8
= False
;
7491 PyObject
* obj0
= 0 ;
7492 PyObject
* obj1
= 0 ;
7493 PyObject
* obj2
= 0 ;
7494 PyObject
* obj3
= 0 ;
7495 PyObject
* obj4
= 0 ;
7496 PyObject
* obj5
= 0 ;
7497 PyObject
* obj6
= 0 ;
7498 PyObject
* obj7
= 0 ;
7500 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
7503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:new_TextCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
7504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
7505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7506 arg2
= (int) SWIG_AsInt(obj1
);
7507 if (PyErr_Occurred()) SWIG_fail
;
7510 arg3
= wxString_in_helper(obj2
);
7511 if (arg3
== NULL
) SWIG_fail
;
7518 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7524 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7528 arg6
= (long) SWIG_AsLong(obj5
);
7529 if (PyErr_Occurred()) SWIG_fail
;
7532 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
7533 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7536 PyErr_SetString(PyExc_TypeError
,"null reference");
7542 arg8
= wxString_in_helper(obj7
);
7543 if (arg8
== NULL
) SWIG_fail
;
7548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7549 result
= (wxTextCtrl
*)new wxTextCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
7551 wxPyEndAllowThreads(__tstate
);
7552 if (PyErr_Occurred()) SWIG_fail
;
7555 resultobj
= wxPyMake_wxObject(result
);
7579 static PyObject
*_wrap_new_PreTextCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7580 PyObject
*resultobj
;
7586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTextCtrl",kwnames
)) goto fail
;
7588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7589 result
= (wxTextCtrl
*)new wxTextCtrl();
7591 wxPyEndAllowThreads(__tstate
);
7592 if (PyErr_Occurred()) SWIG_fail
;
7595 resultobj
= wxPyMake_wxObject(result
);
7603 static PyObject
*_wrap_TextCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7604 PyObject
*resultobj
;
7605 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7606 wxWindow
*arg2
= (wxWindow
*) 0 ;
7608 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7609 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7610 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
7611 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
7612 wxSize
const &arg6_defvalue
= wxDefaultSize
;
7613 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
7614 long arg7
= (long) 0 ;
7615 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
7616 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
7617 wxString
const &arg9_defvalue
= wxPyTextCtrlNameStr
;
7618 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
7620 bool temp4
= False
;
7623 bool temp9
= False
;
7624 PyObject
* obj0
= 0 ;
7625 PyObject
* obj1
= 0 ;
7626 PyObject
* obj2
= 0 ;
7627 PyObject
* obj3
= 0 ;
7628 PyObject
* obj4
= 0 ;
7629 PyObject
* obj5
= 0 ;
7630 PyObject
* obj6
= 0 ;
7631 PyObject
* obj7
= 0 ;
7632 PyObject
* obj8
= 0 ;
7634 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
7637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:TextCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
7638 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7639 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7640 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
7641 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7642 arg3
= (int) SWIG_AsInt(obj2
);
7643 if (PyErr_Occurred()) SWIG_fail
;
7646 arg4
= wxString_in_helper(obj3
);
7647 if (arg4
== NULL
) SWIG_fail
;
7654 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7660 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
7664 arg7
= (long) SWIG_AsLong(obj6
);
7665 if (PyErr_Occurred()) SWIG_fail
;
7668 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
7669 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7672 PyErr_SetString(PyExc_TypeError
,"null reference");
7678 arg9
= wxString_in_helper(obj8
);
7679 if (arg9
== NULL
) SWIG_fail
;
7684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7685 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
7687 wxPyEndAllowThreads(__tstate
);
7688 if (PyErr_Occurred()) SWIG_fail
;
7691 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7715 static PyObject
*_wrap_TextCtrl_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7716 PyObject
*resultobj
;
7717 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7719 PyObject
* obj0
= 0 ;
7721 (char *) "self", NULL
7724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
7725 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7729 result
= ((wxTextCtrl
const *)arg1
)->GetValue();
7731 wxPyEndAllowThreads(__tstate
);
7732 if (PyErr_Occurred()) SWIG_fail
;
7736 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7738 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7747 static PyObject
*_wrap_TextCtrl_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7748 PyObject
*resultobj
;
7749 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7750 wxString
*arg2
= 0 ;
7751 bool temp2
= False
;
7752 PyObject
* obj0
= 0 ;
7753 PyObject
* obj1
= 0 ;
7755 (char *) "self",(char *) "value", NULL
7758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
7759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7762 arg2
= wxString_in_helper(obj1
);
7763 if (arg2
== NULL
) SWIG_fail
;
7767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7768 (arg1
)->SetValue((wxString
const &)*arg2
);
7770 wxPyEndAllowThreads(__tstate
);
7771 if (PyErr_Occurred()) SWIG_fail
;
7773 Py_INCREF(Py_None
); resultobj
= Py_None
;
7788 static PyObject
*_wrap_TextCtrl_GetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7789 PyObject
*resultobj
;
7790 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7794 PyObject
* obj0
= 0 ;
7795 PyObject
* obj1
= 0 ;
7796 PyObject
* obj2
= 0 ;
7798 (char *) "self",(char *) "from",(char *) "to", NULL
7801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7802 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7804 arg2
= (long) SWIG_AsLong(obj1
);
7805 if (PyErr_Occurred()) SWIG_fail
;
7806 arg3
= (long) SWIG_AsLong(obj2
);
7807 if (PyErr_Occurred()) SWIG_fail
;
7809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7810 result
= ((wxTextCtrl
const *)arg1
)->GetRange(arg2
,arg3
);
7812 wxPyEndAllowThreads(__tstate
);
7813 if (PyErr_Occurred()) SWIG_fail
;
7817 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7819 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7828 static PyObject
*_wrap_TextCtrl_GetLineLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7829 PyObject
*resultobj
;
7830 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7833 PyObject
* obj0
= 0 ;
7834 PyObject
* obj1
= 0 ;
7836 (char *) "self",(char *) "lineNo", NULL
7839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineLength",kwnames
,&obj0
,&obj1
)) goto fail
;
7840 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7842 arg2
= (long) SWIG_AsLong(obj1
);
7843 if (PyErr_Occurred()) SWIG_fail
;
7845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7846 result
= (int)((wxTextCtrl
const *)arg1
)->GetLineLength(arg2
);
7848 wxPyEndAllowThreads(__tstate
);
7849 if (PyErr_Occurred()) SWIG_fail
;
7851 resultobj
= SWIG_FromInt((int)result
);
7858 static PyObject
*_wrap_TextCtrl_GetLineText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7859 PyObject
*resultobj
;
7860 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7863 PyObject
* obj0
= 0 ;
7864 PyObject
* obj1
= 0 ;
7866 (char *) "self",(char *) "lineNo", NULL
7869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineText",kwnames
,&obj0
,&obj1
)) goto fail
;
7870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7872 arg2
= (long) SWIG_AsLong(obj1
);
7873 if (PyErr_Occurred()) SWIG_fail
;
7875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7876 result
= ((wxTextCtrl
const *)arg1
)->GetLineText(arg2
);
7878 wxPyEndAllowThreads(__tstate
);
7879 if (PyErr_Occurred()) SWIG_fail
;
7883 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7885 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7894 static PyObject
*_wrap_TextCtrl_GetNumberOfLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7895 PyObject
*resultobj
;
7896 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7898 PyObject
* obj0
= 0 ;
7900 (char *) "self", NULL
7903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetNumberOfLines",kwnames
,&obj0
)) goto fail
;
7904 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7908 result
= (int)((wxTextCtrl
const *)arg1
)->GetNumberOfLines();
7910 wxPyEndAllowThreads(__tstate
);
7911 if (PyErr_Occurred()) SWIG_fail
;
7913 resultobj
= SWIG_FromInt((int)result
);
7920 static PyObject
*_wrap_TextCtrl_IsModified(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7921 PyObject
*resultobj
;
7922 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7924 PyObject
* obj0
= 0 ;
7926 (char *) "self", NULL
7929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsModified",kwnames
,&obj0
)) goto fail
;
7930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7934 result
= (bool)((wxTextCtrl
const *)arg1
)->IsModified();
7936 wxPyEndAllowThreads(__tstate
);
7937 if (PyErr_Occurred()) SWIG_fail
;
7940 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7948 static PyObject
*_wrap_TextCtrl_IsEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7949 PyObject
*resultobj
;
7950 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7952 PyObject
* obj0
= 0 ;
7954 (char *) "self", NULL
7957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsEditable",kwnames
,&obj0
)) goto fail
;
7958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7962 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEditable();
7964 wxPyEndAllowThreads(__tstate
);
7965 if (PyErr_Occurred()) SWIG_fail
;
7968 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7976 static PyObject
*_wrap_TextCtrl_IsSingleLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7977 PyObject
*resultobj
;
7978 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7980 PyObject
* obj0
= 0 ;
7982 (char *) "self", NULL
7985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsSingleLine",kwnames
,&obj0
)) goto fail
;
7986 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7990 result
= (bool)((wxTextCtrl
const *)arg1
)->IsSingleLine();
7992 wxPyEndAllowThreads(__tstate
);
7993 if (PyErr_Occurred()) SWIG_fail
;
7996 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8004 static PyObject
*_wrap_TextCtrl_IsMultiLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8005 PyObject
*resultobj
;
8006 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8008 PyObject
* obj0
= 0 ;
8010 (char *) "self", NULL
8013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsMultiLine",kwnames
,&obj0
)) goto fail
;
8014 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8018 result
= (bool)((wxTextCtrl
const *)arg1
)->IsMultiLine();
8020 wxPyEndAllowThreads(__tstate
);
8021 if (PyErr_Occurred()) SWIG_fail
;
8024 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8032 static PyObject
*_wrap_TextCtrl_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8033 PyObject
*resultobj
;
8034 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8035 long *arg2
= (long *) 0 ;
8036 long *arg3
= (long *) 0 ;
8039 PyObject
* obj0
= 0 ;
8041 (char *) "self", NULL
8046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
8047 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8048 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8051 ((wxTextCtrl
const *)arg1
)->GetSelection(arg2
,arg3
);
8053 wxPyEndAllowThreads(__tstate
);
8054 if (PyErr_Occurred()) SWIG_fail
;
8056 Py_INCREF(Py_None
); resultobj
= Py_None
;
8058 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
8059 resultobj
= t_output_helper(resultobj
,o
);
8062 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
8063 resultobj
= t_output_helper(resultobj
,o
);
8071 static PyObject
*_wrap_TextCtrl_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8072 PyObject
*resultobj
;
8073 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8075 PyObject
* obj0
= 0 ;
8077 (char *) "self", NULL
8080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetStringSelection",kwnames
,&obj0
)) goto fail
;
8081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8085 result
= ((wxTextCtrl
const *)arg1
)->GetStringSelection();
8087 wxPyEndAllowThreads(__tstate
);
8088 if (PyErr_Occurred()) SWIG_fail
;
8092 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8094 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8103 static PyObject
*_wrap_TextCtrl_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8104 PyObject
*resultobj
;
8105 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8106 PyObject
* obj0
= 0 ;
8108 (char *) "self", NULL
8111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Clear",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();
8118 wxPyEndAllowThreads(__tstate
);
8119 if (PyErr_Occurred()) SWIG_fail
;
8121 Py_INCREF(Py_None
); resultobj
= Py_None
;
8128 static PyObject
*_wrap_TextCtrl_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8129 PyObject
*resultobj
;
8130 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8133 wxString
*arg4
= 0 ;
8134 bool temp4
= False
;
8135 PyObject
* obj0
= 0 ;
8136 PyObject
* obj1
= 0 ;
8137 PyObject
* obj2
= 0 ;
8138 PyObject
* obj3
= 0 ;
8140 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
8143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8144 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8146 arg2
= (long) SWIG_AsLong(obj1
);
8147 if (PyErr_Occurred()) SWIG_fail
;
8148 arg3
= (long) SWIG_AsLong(obj2
);
8149 if (PyErr_Occurred()) SWIG_fail
;
8151 arg4
= wxString_in_helper(obj3
);
8152 if (arg4
== NULL
) SWIG_fail
;
8156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8157 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
8159 wxPyEndAllowThreads(__tstate
);
8160 if (PyErr_Occurred()) SWIG_fail
;
8162 Py_INCREF(Py_None
); resultobj
= Py_None
;
8177 static PyObject
*_wrap_TextCtrl_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8178 PyObject
*resultobj
;
8179 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8182 PyObject
* obj0
= 0 ;
8183 PyObject
* obj1
= 0 ;
8184 PyObject
* obj2
= 0 ;
8186 (char *) "self",(char *) "from",(char *) "to", NULL
8189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8192 arg2
= (long) SWIG_AsLong(obj1
);
8193 if (PyErr_Occurred()) SWIG_fail
;
8194 arg3
= (long) SWIG_AsLong(obj2
);
8195 if (PyErr_Occurred()) SWIG_fail
;
8197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8198 (arg1
)->Remove(arg2
,arg3
);
8200 wxPyEndAllowThreads(__tstate
);
8201 if (PyErr_Occurred()) SWIG_fail
;
8203 Py_INCREF(Py_None
); resultobj
= Py_None
;
8210 static PyObject
*_wrap_TextCtrl_LoadFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8211 PyObject
*resultobj
;
8212 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8213 wxString
*arg2
= 0 ;
8215 bool temp2
= False
;
8216 PyObject
* obj0
= 0 ;
8217 PyObject
* obj1
= 0 ;
8219 (char *) "self",(char *) "file", NULL
8222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_LoadFile",kwnames
,&obj0
,&obj1
)) goto fail
;
8223 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8226 arg2
= wxString_in_helper(obj1
);
8227 if (arg2
== NULL
) SWIG_fail
;
8231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8232 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
);
8234 wxPyEndAllowThreads(__tstate
);
8235 if (PyErr_Occurred()) SWIG_fail
;
8238 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8254 static PyObject
*_wrap_TextCtrl_SaveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8255 PyObject
*resultobj
;
8256 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8257 wxString
const &arg2_defvalue
= wxPyEmptyString
;
8258 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
8260 bool temp2
= False
;
8261 PyObject
* obj0
= 0 ;
8262 PyObject
* obj1
= 0 ;
8264 (char *) "self",(char *) "file", NULL
8267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_SaveFile",kwnames
,&obj0
,&obj1
)) goto fail
;
8268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8272 arg2
= wxString_in_helper(obj1
);
8273 if (arg2
== NULL
) SWIG_fail
;
8278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8279 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
);
8281 wxPyEndAllowThreads(__tstate
);
8282 if (PyErr_Occurred()) SWIG_fail
;
8285 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8301 static PyObject
*_wrap_TextCtrl_MarkDirty(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8302 PyObject
*resultobj
;
8303 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8304 PyObject
* obj0
= 0 ;
8306 (char *) "self", NULL
8309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_MarkDirty",kwnames
,&obj0
)) goto fail
;
8310 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8314 (arg1
)->MarkDirty();
8316 wxPyEndAllowThreads(__tstate
);
8317 if (PyErr_Occurred()) SWIG_fail
;
8319 Py_INCREF(Py_None
); resultobj
= Py_None
;
8326 static PyObject
*_wrap_TextCtrl_DiscardEdits(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8327 PyObject
*resultobj
;
8328 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8329 PyObject
* obj0
= 0 ;
8331 (char *) "self", NULL
8334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_DiscardEdits",kwnames
,&obj0
)) goto fail
;
8335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8339 (arg1
)->DiscardEdits();
8341 wxPyEndAllowThreads(__tstate
);
8342 if (PyErr_Occurred()) SWIG_fail
;
8344 Py_INCREF(Py_None
); resultobj
= Py_None
;
8351 static PyObject
*_wrap_TextCtrl_SetMaxLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8352 PyObject
*resultobj
;
8353 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8354 unsigned long arg2
;
8355 PyObject
* obj0
= 0 ;
8356 PyObject
* obj1
= 0 ;
8358 (char *) "self",(char *) "len", NULL
8361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) goto fail
;
8362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8364 arg2
= (unsigned long) SWIG_AsUnsignedLong(obj1
);
8365 if (PyErr_Occurred()) SWIG_fail
;
8367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8368 (arg1
)->SetMaxLength(arg2
);
8370 wxPyEndAllowThreads(__tstate
);
8371 if (PyErr_Occurred()) SWIG_fail
;
8373 Py_INCREF(Py_None
); resultobj
= Py_None
;
8380 static PyObject
*_wrap_TextCtrl_WriteText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8381 PyObject
*resultobj
;
8382 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8383 wxString
*arg2
= 0 ;
8384 bool temp2
= False
;
8385 PyObject
* obj0
= 0 ;
8386 PyObject
* obj1
= 0 ;
8388 (char *) "self",(char *) "text", NULL
8391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) goto fail
;
8392 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8395 arg2
= wxString_in_helper(obj1
);
8396 if (arg2
== NULL
) SWIG_fail
;
8400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8401 (arg1
)->WriteText((wxString
const &)*arg2
);
8403 wxPyEndAllowThreads(__tstate
);
8404 if (PyErr_Occurred()) SWIG_fail
;
8406 Py_INCREF(Py_None
); resultobj
= Py_None
;
8421 static PyObject
*_wrap_TextCtrl_AppendText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8422 PyObject
*resultobj
;
8423 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8424 wxString
*arg2
= 0 ;
8425 bool temp2
= False
;
8426 PyObject
* obj0
= 0 ;
8427 PyObject
* obj1
= 0 ;
8429 (char *) "self",(char *) "text", NULL
8432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) goto fail
;
8433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8436 arg2
= wxString_in_helper(obj1
);
8437 if (arg2
== NULL
) SWIG_fail
;
8441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8442 (arg1
)->AppendText((wxString
const &)*arg2
);
8444 wxPyEndAllowThreads(__tstate
);
8445 if (PyErr_Occurred()) SWIG_fail
;
8447 Py_INCREF(Py_None
); resultobj
= Py_None
;
8462 static PyObject
*_wrap_TextCtrl_EmulateKeyPress(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8463 PyObject
*resultobj
;
8464 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8465 wxKeyEvent
*arg2
= 0 ;
8467 PyObject
* obj0
= 0 ;
8468 PyObject
* obj1
= 0 ;
8470 (char *) "self",(char *) "event", NULL
8473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames
,&obj0
,&obj1
)) goto fail
;
8474 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8476 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxKeyEvent
,
8477 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8480 PyErr_SetString(PyExc_TypeError
,"null reference");
8484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8485 result
= (bool)(arg1
)->EmulateKeyPress((wxKeyEvent
const &)*arg2
);
8487 wxPyEndAllowThreads(__tstate
);
8488 if (PyErr_Occurred()) SWIG_fail
;
8491 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8499 static PyObject
*_wrap_TextCtrl_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8500 PyObject
*resultobj
;
8501 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8504 wxTextAttr
*arg4
= 0 ;
8506 PyObject
* obj0
= 0 ;
8507 PyObject
* obj1
= 0 ;
8508 PyObject
* obj2
= 0 ;
8509 PyObject
* obj3
= 0 ;
8511 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
8514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_SetStyle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8515 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8516 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8517 arg2
= (long) SWIG_AsLong(obj1
);
8518 if (PyErr_Occurred()) SWIG_fail
;
8519 arg3
= (long) SWIG_AsLong(obj2
);
8520 if (PyErr_Occurred()) SWIG_fail
;
8521 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxTextAttr
,
8522 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8525 PyErr_SetString(PyExc_TypeError
,"null reference");
8529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8530 result
= (bool)(arg1
)->SetStyle(arg2
,arg3
,(wxTextAttr
const &)*arg4
);
8532 wxPyEndAllowThreads(__tstate
);
8533 if (PyErr_Occurred()) SWIG_fail
;
8536 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8544 static PyObject
*_wrap_TextCtrl_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8545 PyObject
*resultobj
;
8546 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8548 wxTextAttr
*arg3
= 0 ;
8550 PyObject
* obj0
= 0 ;
8551 PyObject
* obj1
= 0 ;
8552 PyObject
* obj2
= 0 ;
8554 (char *) "self",(char *) "position",(char *) "style", NULL
8557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8560 arg2
= (long) SWIG_AsLong(obj1
);
8561 if (PyErr_Occurred()) SWIG_fail
;
8562 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTextAttr
,
8563 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8566 PyErr_SetString(PyExc_TypeError
,"null reference");
8570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8571 result
= (bool)(arg1
)->GetStyle(arg2
,*arg3
);
8573 wxPyEndAllowThreads(__tstate
);
8574 if (PyErr_Occurred()) SWIG_fail
;
8577 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8585 static PyObject
*_wrap_TextCtrl_SetDefaultStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8586 PyObject
*resultobj
;
8587 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8588 wxTextAttr
*arg2
= 0 ;
8590 PyObject
* obj0
= 0 ;
8591 PyObject
* obj1
= 0 ;
8593 (char *) "self",(char *) "style", NULL
8596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
8597 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8599 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTextAttr
,
8600 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8603 PyErr_SetString(PyExc_TypeError
,"null reference");
8607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8608 result
= (bool)(arg1
)->SetDefaultStyle((wxTextAttr
const &)*arg2
);
8610 wxPyEndAllowThreads(__tstate
);
8611 if (PyErr_Occurred()) SWIG_fail
;
8614 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8622 static PyObject
*_wrap_TextCtrl_GetDefaultStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8623 PyObject
*resultobj
;
8624 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8626 PyObject
* obj0
= 0 ;
8628 (char *) "self", NULL
8631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetDefaultStyle",kwnames
,&obj0
)) goto fail
;
8632 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8633 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8637 wxTextAttr
const &_result_ref
= ((wxTextCtrl
const *)arg1
)->GetDefaultStyle();
8638 result
= (wxTextAttr
*) &_result_ref
;
8641 wxPyEndAllowThreads(__tstate
);
8642 if (PyErr_Occurred()) SWIG_fail
;
8644 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 0);
8651 static PyObject
*_wrap_TextCtrl_XYToPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8652 PyObject
*resultobj
;
8653 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8657 PyObject
* obj0
= 0 ;
8658 PyObject
* obj1
= 0 ;
8659 PyObject
* obj2
= 0 ;
8661 (char *) "self",(char *) "x",(char *) "y", NULL
8664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_XYToPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8665 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8667 arg2
= (long) SWIG_AsLong(obj1
);
8668 if (PyErr_Occurred()) SWIG_fail
;
8669 arg3
= (long) SWIG_AsLong(obj2
);
8670 if (PyErr_Occurred()) SWIG_fail
;
8672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8673 result
= (long)((wxTextCtrl
const *)arg1
)->XYToPosition(arg2
,arg3
);
8675 wxPyEndAllowThreads(__tstate
);
8676 if (PyErr_Occurred()) SWIG_fail
;
8678 resultobj
= SWIG_FromLong((long)result
);
8685 static PyObject
*_wrap_TextCtrl_PositionToXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8686 PyObject
*resultobj
;
8687 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8689 long *arg3
= (long *) 0 ;
8690 long *arg4
= (long *) 0 ;
8693 PyObject
* obj0
= 0 ;
8694 PyObject
* obj1
= 0 ;
8696 (char *) "self",(char *) "pos", NULL
8701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_PositionToXY",kwnames
,&obj0
,&obj1
)) goto fail
;
8702 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8704 arg2
= (long) SWIG_AsLong(obj1
);
8705 if (PyErr_Occurred()) SWIG_fail
;
8707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8708 ((wxTextCtrl
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
);
8710 wxPyEndAllowThreads(__tstate
);
8711 if (PyErr_Occurred()) SWIG_fail
;
8713 Py_INCREF(Py_None
); resultobj
= Py_None
;
8715 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
8716 resultobj
= t_output_helper(resultobj
,o
);
8719 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
8720 resultobj
= t_output_helper(resultobj
,o
);
8728 static PyObject
*_wrap_TextCtrl_ShowPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8729 PyObject
*resultobj
;
8730 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8732 PyObject
* obj0
= 0 ;
8733 PyObject
* obj1
= 0 ;
8735 (char *) "self",(char *) "pos", NULL
8738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ShowPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
8739 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8741 arg2
= (long) SWIG_AsLong(obj1
);
8742 if (PyErr_Occurred()) SWIG_fail
;
8744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8745 (arg1
)->ShowPosition(arg2
);
8747 wxPyEndAllowThreads(__tstate
);
8748 if (PyErr_Occurred()) SWIG_fail
;
8750 Py_INCREF(Py_None
); resultobj
= Py_None
;
8757 static PyObject
*_wrap_TextCtrl_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8758 PyObject
*resultobj
;
8759 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8761 long *arg3
= (long *) 0 ;
8762 long *arg4
= (long *) 0 ;
8767 PyObject
* obj0
= 0 ;
8768 PyObject
* obj1
= 0 ;
8770 (char *) "self",(char *) "pt", NULL
8775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
8776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8780 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
8783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8784 result
= (int)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
,arg4
);
8786 wxPyEndAllowThreads(__tstate
);
8787 if (PyErr_Occurred()) SWIG_fail
;
8789 resultobj
= SWIG_FromInt((int)result
);
8791 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
8792 resultobj
= t_output_helper(resultobj
,o
);
8795 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
8796 resultobj
= t_output_helper(resultobj
,o
);
8804 static PyObject
*_wrap_TextCtrl_Copy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8805 PyObject
*resultobj
;
8806 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8807 PyObject
* obj0
= 0 ;
8809 (char *) "self", NULL
8812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Copy",kwnames
,&obj0
)) goto fail
;
8813 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8819 wxPyEndAllowThreads(__tstate
);
8820 if (PyErr_Occurred()) SWIG_fail
;
8822 Py_INCREF(Py_None
); resultobj
= Py_None
;
8829 static PyObject
*_wrap_TextCtrl_Cut(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8830 PyObject
*resultobj
;
8831 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8832 PyObject
* obj0
= 0 ;
8834 (char *) "self", NULL
8837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Cut",kwnames
,&obj0
)) goto fail
;
8838 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8844 wxPyEndAllowThreads(__tstate
);
8845 if (PyErr_Occurred()) SWIG_fail
;
8847 Py_INCREF(Py_None
); resultobj
= Py_None
;
8854 static PyObject
*_wrap_TextCtrl_Paste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8855 PyObject
*resultobj
;
8856 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8857 PyObject
* obj0
= 0 ;
8859 (char *) "self", NULL
8862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Paste",kwnames
,&obj0
)) goto fail
;
8863 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8864 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8869 wxPyEndAllowThreads(__tstate
);
8870 if (PyErr_Occurred()) SWIG_fail
;
8872 Py_INCREF(Py_None
); resultobj
= Py_None
;
8879 static PyObject
*_wrap_TextCtrl_CanCopy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8880 PyObject
*resultobj
;
8881 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8883 PyObject
* obj0
= 0 ;
8885 (char *) "self", NULL
8888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCopy",kwnames
,&obj0
)) goto fail
;
8889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8893 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCopy();
8895 wxPyEndAllowThreads(__tstate
);
8896 if (PyErr_Occurred()) SWIG_fail
;
8899 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8907 static PyObject
*_wrap_TextCtrl_CanCut(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8908 PyObject
*resultobj
;
8909 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8911 PyObject
* obj0
= 0 ;
8913 (char *) "self", NULL
8916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCut",kwnames
,&obj0
)) goto fail
;
8917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8921 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCut();
8923 wxPyEndAllowThreads(__tstate
);
8924 if (PyErr_Occurred()) SWIG_fail
;
8927 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8935 static PyObject
*_wrap_TextCtrl_CanPaste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8936 PyObject
*resultobj
;
8937 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8939 PyObject
* obj0
= 0 ;
8941 (char *) "self", NULL
8944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanPaste",kwnames
,&obj0
)) goto fail
;
8945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8949 result
= (bool)((wxTextCtrl
const *)arg1
)->CanPaste();
8951 wxPyEndAllowThreads(__tstate
);
8952 if (PyErr_Occurred()) SWIG_fail
;
8955 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8963 static PyObject
*_wrap_TextCtrl_Undo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8964 PyObject
*resultobj
;
8965 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8966 PyObject
* obj0
= 0 ;
8968 (char *) "self", NULL
8971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Undo",kwnames
,&obj0
)) goto fail
;
8972 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8978 wxPyEndAllowThreads(__tstate
);
8979 if (PyErr_Occurred()) SWIG_fail
;
8981 Py_INCREF(Py_None
); resultobj
= Py_None
;
8988 static PyObject
*_wrap_TextCtrl_Redo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8989 PyObject
*resultobj
;
8990 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8991 PyObject
* obj0
= 0 ;
8993 (char *) "self", NULL
8996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Redo",kwnames
,&obj0
)) goto fail
;
8997 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9003 wxPyEndAllowThreads(__tstate
);
9004 if (PyErr_Occurred()) SWIG_fail
;
9006 Py_INCREF(Py_None
); resultobj
= Py_None
;
9013 static PyObject
*_wrap_TextCtrl_CanUndo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9014 PyObject
*resultobj
;
9015 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9017 PyObject
* obj0
= 0 ;
9019 (char *) "self", NULL
9022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanUndo",kwnames
,&obj0
)) goto fail
;
9023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9027 result
= (bool)((wxTextCtrl
const *)arg1
)->CanUndo();
9029 wxPyEndAllowThreads(__tstate
);
9030 if (PyErr_Occurred()) SWIG_fail
;
9033 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9041 static PyObject
*_wrap_TextCtrl_CanRedo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9042 PyObject
*resultobj
;
9043 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9045 PyObject
* obj0
= 0 ;
9047 (char *) "self", NULL
9050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanRedo",kwnames
,&obj0
)) goto fail
;
9051 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9055 result
= (bool)((wxTextCtrl
const *)arg1
)->CanRedo();
9057 wxPyEndAllowThreads(__tstate
);
9058 if (PyErr_Occurred()) SWIG_fail
;
9061 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9069 static PyObject
*_wrap_TextCtrl_SetInsertionPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9070 PyObject
*resultobj
;
9071 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9073 PyObject
* obj0
= 0 ;
9074 PyObject
* obj1
= 0 ;
9076 (char *) "self",(char *) "pos", NULL
9079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
9080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9082 arg2
= (long) SWIG_AsLong(obj1
);
9083 if (PyErr_Occurred()) SWIG_fail
;
9085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9086 (arg1
)->SetInsertionPoint(arg2
);
9088 wxPyEndAllowThreads(__tstate
);
9089 if (PyErr_Occurred()) SWIG_fail
;
9091 Py_INCREF(Py_None
); resultobj
= Py_None
;
9098 static PyObject
*_wrap_TextCtrl_SetInsertionPointEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9099 PyObject
*resultobj
;
9100 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9101 PyObject
* obj0
= 0 ;
9103 (char *) "self", NULL
9106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
9107 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9108 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9111 (arg1
)->SetInsertionPointEnd();
9113 wxPyEndAllowThreads(__tstate
);
9114 if (PyErr_Occurred()) SWIG_fail
;
9116 Py_INCREF(Py_None
); resultobj
= Py_None
;
9123 static PyObject
*_wrap_TextCtrl_GetInsertionPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9124 PyObject
*resultobj
;
9125 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9127 PyObject
* obj0
= 0 ;
9129 (char *) "self", NULL
9132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
9133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9137 result
= (long)((wxTextCtrl
const *)arg1
)->GetInsertionPoint();
9139 wxPyEndAllowThreads(__tstate
);
9140 if (PyErr_Occurred()) SWIG_fail
;
9142 resultobj
= SWIG_FromLong((long)result
);
9149 static PyObject
*_wrap_TextCtrl_GetLastPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9150 PyObject
*resultobj
;
9151 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9153 PyObject
* obj0
= 0 ;
9155 (char *) "self", NULL
9158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetLastPosition",kwnames
,&obj0
)) goto fail
;
9159 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9160 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9163 result
= (long)((wxTextCtrl
const *)arg1
)->GetLastPosition();
9165 wxPyEndAllowThreads(__tstate
);
9166 if (PyErr_Occurred()) SWIG_fail
;
9168 resultobj
= SWIG_FromLong((long)result
);
9175 static PyObject
*_wrap_TextCtrl_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9176 PyObject
*resultobj
;
9177 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9180 PyObject
* obj0
= 0 ;
9181 PyObject
* obj1
= 0 ;
9182 PyObject
* obj2
= 0 ;
9184 (char *) "self",(char *) "from",(char *) "to", NULL
9187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9190 arg2
= (long) SWIG_AsLong(obj1
);
9191 if (PyErr_Occurred()) SWIG_fail
;
9192 arg3
= (long) SWIG_AsLong(obj2
);
9193 if (PyErr_Occurred()) SWIG_fail
;
9195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9196 (arg1
)->SetSelection(arg2
,arg3
);
9198 wxPyEndAllowThreads(__tstate
);
9199 if (PyErr_Occurred()) SWIG_fail
;
9201 Py_INCREF(Py_None
); resultobj
= Py_None
;
9208 static PyObject
*_wrap_TextCtrl_SelectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9209 PyObject
*resultobj
;
9210 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9211 PyObject
* obj0
= 0 ;
9213 (char *) "self", NULL
9216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SelectAll",kwnames
,&obj0
)) goto fail
;
9217 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9218 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9221 (arg1
)->SelectAll();
9223 wxPyEndAllowThreads(__tstate
);
9224 if (PyErr_Occurred()) SWIG_fail
;
9226 Py_INCREF(Py_None
); resultobj
= Py_None
;
9233 static PyObject
*_wrap_TextCtrl_SetEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9234 PyObject
*resultobj
;
9235 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9237 PyObject
* obj0
= 0 ;
9238 PyObject
* obj1
= 0 ;
9240 (char *) "self",(char *) "editable", NULL
9243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
9244 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9245 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9246 arg2
= (bool) SWIG_AsBool(obj1
);
9247 if (PyErr_Occurred()) SWIG_fail
;
9249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9250 (arg1
)->SetEditable(arg2
);
9252 wxPyEndAllowThreads(__tstate
);
9253 if (PyErr_Occurred()) SWIG_fail
;
9255 Py_INCREF(Py_None
); resultobj
= Py_None
;
9262 static PyObject
*_wrap_TextCtrl_write(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9263 PyObject
*resultobj
;
9264 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9265 wxString
*arg2
= 0 ;
9266 bool temp2
= False
;
9267 PyObject
* obj0
= 0 ;
9268 PyObject
* obj1
= 0 ;
9270 (char *) "self",(char *) "text", NULL
9273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_write",kwnames
,&obj0
,&obj1
)) goto fail
;
9274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9277 arg2
= wxString_in_helper(obj1
);
9278 if (arg2
== NULL
) SWIG_fail
;
9282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9283 wxTextCtrl_write(arg1
,(wxString
const &)*arg2
);
9285 wxPyEndAllowThreads(__tstate
);
9286 if (PyErr_Occurred()) SWIG_fail
;
9288 Py_INCREF(Py_None
); resultobj
= Py_None
;
9303 static PyObject
*_wrap_TextCtrl_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9304 PyObject
*resultobj
;
9305 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9309 PyObject
* obj0
= 0 ;
9310 PyObject
* obj1
= 0 ;
9311 PyObject
* obj2
= 0 ;
9313 (char *) "self",(char *) "from",(char *) "to", NULL
9316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9319 arg2
= (long) SWIG_AsLong(obj1
);
9320 if (PyErr_Occurred()) SWIG_fail
;
9321 arg3
= (long) SWIG_AsLong(obj2
);
9322 if (PyErr_Occurred()) SWIG_fail
;
9324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9325 result
= wxTextCtrl_GetString(arg1
,arg2
,arg3
);
9327 wxPyEndAllowThreads(__tstate
);
9328 if (PyErr_Occurred()) SWIG_fail
;
9332 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9334 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9343 static PyObject
* TextCtrl_swigregister(PyObject
*, PyObject
*args
) {
9345 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9346 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl
, obj
);
9348 return Py_BuildValue((char *)"");
9350 static PyObject
*_wrap_new_TextUrlEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9351 PyObject
*resultobj
;
9353 wxMouseEvent
*arg2
= 0 ;
9356 wxTextUrlEvent
*result
;
9357 PyObject
* obj0
= 0 ;
9358 PyObject
* obj1
= 0 ;
9359 PyObject
* obj2
= 0 ;
9360 PyObject
* obj3
= 0 ;
9362 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
9365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_TextUrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9366 arg1
= (int) SWIG_AsInt(obj0
);
9367 if (PyErr_Occurred()) SWIG_fail
;
9368 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMouseEvent
,
9369 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9372 PyErr_SetString(PyExc_TypeError
,"null reference");
9375 arg3
= (long) SWIG_AsLong(obj2
);
9376 if (PyErr_Occurred()) SWIG_fail
;
9377 arg4
= (long) SWIG_AsLong(obj3
);
9378 if (PyErr_Occurred()) SWIG_fail
;
9380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9381 result
= (wxTextUrlEvent
*)new wxTextUrlEvent(arg1
,(wxMouseEvent
const &)*arg2
,arg3
,arg4
);
9383 wxPyEndAllowThreads(__tstate
);
9384 if (PyErr_Occurred()) SWIG_fail
;
9386 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextUrlEvent
, 1);
9393 static PyObject
*_wrap_TextUrlEvent_GetMouseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9394 PyObject
*resultobj
;
9395 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
9396 wxMouseEvent
*result
;
9397 PyObject
* obj0
= 0 ;
9399 (char *) "self", NULL
9402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames
,&obj0
)) goto fail
;
9403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextUrlEvent
,
9404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9408 wxMouseEvent
const &_result_ref
= (arg1
)->GetMouseEvent();
9409 result
= (wxMouseEvent
*) &_result_ref
;
9412 wxPyEndAllowThreads(__tstate
);
9413 if (PyErr_Occurred()) SWIG_fail
;
9415 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseEvent
, 0);
9422 static PyObject
*_wrap_TextUrlEvent_GetURLStart(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9423 PyObject
*resultobj
;
9424 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
9426 PyObject
* obj0
= 0 ;
9428 (char *) "self", NULL
9431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLStart",kwnames
,&obj0
)) goto fail
;
9432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextUrlEvent
,
9433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9436 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLStart();
9438 wxPyEndAllowThreads(__tstate
);
9439 if (PyErr_Occurred()) SWIG_fail
;
9441 resultobj
= SWIG_FromLong((long)result
);
9448 static PyObject
*_wrap_TextUrlEvent_GetURLEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9449 PyObject
*resultobj
;
9450 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
9452 PyObject
* obj0
= 0 ;
9454 (char *) "self", NULL
9457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLEnd",kwnames
,&obj0
)) goto fail
;
9458 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextUrlEvent
,
9459 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9462 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLEnd();
9464 wxPyEndAllowThreads(__tstate
);
9465 if (PyErr_Occurred()) SWIG_fail
;
9467 resultobj
= SWIG_FromLong((long)result
);
9474 static PyObject
* TextUrlEvent_swigregister(PyObject
*, PyObject
*args
) {
9476 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9477 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent
, obj
);
9479 return Py_BuildValue((char *)"");
9481 static int _wrap_ScrollBarNameStr_set(PyObject
*) {
9482 PyErr_SetString(PyExc_TypeError
,"Variable ScrollBarNameStr is read-only.");
9487 static PyObject
*_wrap_ScrollBarNameStr_get() {
9492 pyobj
= PyUnicode_FromWideChar((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
9494 pyobj
= PyString_FromStringAndSize((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
9501 static PyObject
*_wrap_new_ScrollBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9502 PyObject
*resultobj
;
9503 wxWindow
*arg1
= (wxWindow
*) 0 ;
9504 int arg2
= (int) -1 ;
9505 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9506 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9507 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9508 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9509 long arg5
= (long) wxSB_HORIZONTAL
;
9510 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
9511 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
9512 wxString
const &arg7_defvalue
= wxPyScrollBarNameStr
;
9513 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9514 wxScrollBar
*result
;
9517 bool temp7
= False
;
9518 PyObject
* obj0
= 0 ;
9519 PyObject
* obj1
= 0 ;
9520 PyObject
* obj2
= 0 ;
9521 PyObject
* obj3
= 0 ;
9522 PyObject
* obj4
= 0 ;
9523 PyObject
* obj5
= 0 ;
9524 PyObject
* obj6
= 0 ;
9526 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ScrollBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
9530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
9531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9533 arg2
= (int) SWIG_AsInt(obj1
);
9534 if (PyErr_Occurred()) SWIG_fail
;
9539 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9545 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9549 arg5
= (long) SWIG_AsLong(obj4
);
9550 if (PyErr_Occurred()) SWIG_fail
;
9553 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
9554 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9557 PyErr_SetString(PyExc_TypeError
,"null reference");
9563 arg7
= wxString_in_helper(obj6
);
9564 if (arg7
== NULL
) SWIG_fail
;
9569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9570 result
= (wxScrollBar
*)new wxScrollBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
9572 wxPyEndAllowThreads(__tstate
);
9573 if (PyErr_Occurred()) SWIG_fail
;
9575 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollBar
, 1);
9590 static PyObject
*_wrap_new_PreScrollBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9591 PyObject
*resultobj
;
9592 wxScrollBar
*result
;
9597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrollBar",kwnames
)) goto fail
;
9599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9600 result
= (wxScrollBar
*)new wxScrollBar();
9602 wxPyEndAllowThreads(__tstate
);
9603 if (PyErr_Occurred()) SWIG_fail
;
9605 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollBar
, 1);
9612 static PyObject
*_wrap_ScrollBar_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9613 PyObject
*resultobj
;
9614 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9615 wxWindow
*arg2
= (wxWindow
*) 0 ;
9616 int arg3
= (int) -1 ;
9617 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9618 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9619 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9620 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9621 long arg6
= (long) wxSB_HORIZONTAL
;
9622 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
9623 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
9624 wxString
const &arg8_defvalue
= wxPyScrollBarNameStr
;
9625 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
9629 bool temp8
= False
;
9630 PyObject
* obj0
= 0 ;
9631 PyObject
* obj1
= 0 ;
9632 PyObject
* obj2
= 0 ;
9633 PyObject
* obj3
= 0 ;
9634 PyObject
* obj4
= 0 ;
9635 PyObject
* obj5
= 0 ;
9636 PyObject
* obj6
= 0 ;
9637 PyObject
* obj7
= 0 ;
9639 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
9643 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
9644 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9645 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
9646 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9648 arg3
= (int) SWIG_AsInt(obj2
);
9649 if (PyErr_Occurred()) SWIG_fail
;
9654 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9660 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9664 arg6
= (long) SWIG_AsLong(obj5
);
9665 if (PyErr_Occurred()) SWIG_fail
;
9668 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
9669 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9672 PyErr_SetString(PyExc_TypeError
,"null reference");
9678 arg8
= wxString_in_helper(obj7
);
9679 if (arg8
== NULL
) SWIG_fail
;
9684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9685 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
9687 wxPyEndAllowThreads(__tstate
);
9688 if (PyErr_Occurred()) SWIG_fail
;
9691 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9707 static PyObject
*_wrap_ScrollBar_GetThumbPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9708 PyObject
*resultobj
;
9709 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9711 PyObject
* obj0
= 0 ;
9713 (char *) "self", NULL
9716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbPosition",kwnames
,&obj0
)) goto fail
;
9717 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
9718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9721 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbPosition();
9723 wxPyEndAllowThreads(__tstate
);
9724 if (PyErr_Occurred()) SWIG_fail
;
9726 resultobj
= SWIG_FromInt((int)result
);
9733 static PyObject
*_wrap_ScrollBar_GetThumbSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9734 PyObject
*resultobj
;
9735 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9737 PyObject
* obj0
= 0 ;
9739 (char *) "self", NULL
9742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbSize",kwnames
,&obj0
)) goto fail
;
9743 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
9744 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9747 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbSize();
9749 wxPyEndAllowThreads(__tstate
);
9750 if (PyErr_Occurred()) SWIG_fail
;
9752 resultobj
= SWIG_FromInt((int)result
);
9759 static PyObject
*_wrap_ScrollBar_GetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9760 PyObject
*resultobj
;
9761 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9763 PyObject
* obj0
= 0 ;
9765 (char *) "self", NULL
9768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetPageSize",kwnames
,&obj0
)) goto fail
;
9769 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
9770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9773 result
= (int)((wxScrollBar
const *)arg1
)->GetPageSize();
9775 wxPyEndAllowThreads(__tstate
);
9776 if (PyErr_Occurred()) SWIG_fail
;
9778 resultobj
= SWIG_FromInt((int)result
);
9785 static PyObject
*_wrap_ScrollBar_GetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9786 PyObject
*resultobj
;
9787 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9789 PyObject
* obj0
= 0 ;
9791 (char *) "self", NULL
9794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetRange",kwnames
,&obj0
)) goto fail
;
9795 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
9796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9799 result
= (int)((wxScrollBar
const *)arg1
)->GetRange();
9801 wxPyEndAllowThreads(__tstate
);
9802 if (PyErr_Occurred()) SWIG_fail
;
9804 resultobj
= SWIG_FromInt((int)result
);
9811 static PyObject
*_wrap_ScrollBar_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9812 PyObject
*resultobj
;
9813 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9815 PyObject
* obj0
= 0 ;
9817 (char *) "self", NULL
9820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_IsVertical",kwnames
,&obj0
)) goto fail
;
9821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
9822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9825 result
= (bool)((wxScrollBar
const *)arg1
)->IsVertical();
9827 wxPyEndAllowThreads(__tstate
);
9828 if (PyErr_Occurred()) SWIG_fail
;
9831 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9839 static PyObject
*_wrap_ScrollBar_SetThumbPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9840 PyObject
*resultobj
;
9841 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9843 PyObject
* obj0
= 0 ;
9844 PyObject
* obj1
= 0 ;
9846 (char *) "self",(char *) "viewStart", NULL
9849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollBar_SetThumbPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
9850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
9851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9852 arg2
= (int) SWIG_AsInt(obj1
);
9853 if (PyErr_Occurred()) SWIG_fail
;
9855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9856 (arg1
)->SetThumbPosition(arg2
);
9858 wxPyEndAllowThreads(__tstate
);
9859 if (PyErr_Occurred()) SWIG_fail
;
9861 Py_INCREF(Py_None
); resultobj
= Py_None
;
9868 static PyObject
*_wrap_ScrollBar_SetScrollbar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9869 PyObject
*resultobj
;
9870 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9875 bool arg6
= (bool) True
;
9876 PyObject
* obj0
= 0 ;
9877 PyObject
* obj1
= 0 ;
9878 PyObject
* obj2
= 0 ;
9879 PyObject
* obj3
= 0 ;
9880 PyObject
* obj4
= 0 ;
9881 PyObject
* obj5
= 0 ;
9883 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
9886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:ScrollBar_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
9888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9889 arg2
= (int) SWIG_AsInt(obj1
);
9890 if (PyErr_Occurred()) SWIG_fail
;
9891 arg3
= (int) SWIG_AsInt(obj2
);
9892 if (PyErr_Occurred()) SWIG_fail
;
9893 arg4
= (int) SWIG_AsInt(obj3
);
9894 if (PyErr_Occurred()) SWIG_fail
;
9895 arg5
= (int) SWIG_AsInt(obj4
);
9896 if (PyErr_Occurred()) SWIG_fail
;
9898 arg6
= (bool) SWIG_AsBool(obj5
);
9899 if (PyErr_Occurred()) SWIG_fail
;
9902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9903 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
9905 wxPyEndAllowThreads(__tstate
);
9906 if (PyErr_Occurred()) SWIG_fail
;
9908 Py_INCREF(Py_None
); resultobj
= Py_None
;
9915 static PyObject
* ScrollBar_swigregister(PyObject
*, PyObject
*args
) {
9917 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9918 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar
, obj
);
9920 return Py_BuildValue((char *)"");
9922 static int _wrap_SPIN_BUTTON_NAME_set(PyObject
*) {
9923 PyErr_SetString(PyExc_TypeError
,"Variable SPIN_BUTTON_NAME is read-only.");
9928 static PyObject
*_wrap_SPIN_BUTTON_NAME_get() {
9933 pyobj
= PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
9935 pyobj
= PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
9942 static int _wrap_SpinCtrlNameStr_set(PyObject
*) {
9943 PyErr_SetString(PyExc_TypeError
,"Variable SpinCtrlNameStr is read-only.");
9948 static PyObject
*_wrap_SpinCtrlNameStr_get() {
9953 pyobj
= PyUnicode_FromWideChar((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
9955 pyobj
= PyString_FromStringAndSize((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
9962 static PyObject
*_wrap_new_SpinButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9963 PyObject
*resultobj
;
9964 wxWindow
*arg1
= (wxWindow
*) 0 ;
9965 int arg2
= (int) -1 ;
9966 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9967 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9968 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9969 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9970 long arg5
= (long) wxSP_HORIZONTAL
;
9971 wxString
const &arg6_defvalue
= wxPySPIN_BUTTON_NAME
;
9972 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9973 wxSpinButton
*result
;
9976 bool temp6
= False
;
9977 PyObject
* obj0
= 0 ;
9978 PyObject
* obj1
= 0 ;
9979 PyObject
* obj2
= 0 ;
9980 PyObject
* obj3
= 0 ;
9981 PyObject
* obj4
= 0 ;
9982 PyObject
* obj5
= 0 ;
9984 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SpinButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
9989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9991 arg2
= (int) SWIG_AsInt(obj1
);
9992 if (PyErr_Occurred()) SWIG_fail
;
9997 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10003 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10007 arg5
= (long) SWIG_AsLong(obj4
);
10008 if (PyErr_Occurred()) SWIG_fail
;
10012 arg6
= wxString_in_helper(obj5
);
10013 if (arg6
== NULL
) SWIG_fail
;
10018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10019 result
= (wxSpinButton
*)new wxSpinButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10021 wxPyEndAllowThreads(__tstate
);
10022 if (PyErr_Occurred()) SWIG_fail
;
10024 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinButton
, 1);
10039 static PyObject
*_wrap_new_PreSpinButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10040 PyObject
*resultobj
;
10041 wxSpinButton
*result
;
10042 char *kwnames
[] = {
10046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinButton",kwnames
)) goto fail
;
10048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10049 result
= (wxSpinButton
*)new wxSpinButton();
10051 wxPyEndAllowThreads(__tstate
);
10052 if (PyErr_Occurred()) SWIG_fail
;
10054 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinButton
, 1);
10061 static PyObject
*_wrap_SpinButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10062 PyObject
*resultobj
;
10063 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10064 wxWindow
*arg2
= (wxWindow
*) 0 ;
10065 int arg3
= (int) -1 ;
10066 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10067 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10068 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10069 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10070 long arg6
= (long) wxSP_HORIZONTAL
;
10071 wxString
const &arg7_defvalue
= wxPySPIN_BUTTON_NAME
;
10072 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10076 bool temp7
= False
;
10077 PyObject
* obj0
= 0 ;
10078 PyObject
* obj1
= 0 ;
10079 PyObject
* obj2
= 0 ;
10080 PyObject
* obj3
= 0 ;
10081 PyObject
* obj4
= 0 ;
10082 PyObject
* obj5
= 0 ;
10083 PyObject
* obj6
= 0 ;
10084 char *kwnames
[] = {
10085 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SpinButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10089 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10091 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10094 arg3
= (int) SWIG_AsInt(obj2
);
10095 if (PyErr_Occurred()) SWIG_fail
;
10100 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10106 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10110 arg6
= (long) SWIG_AsLong(obj5
);
10111 if (PyErr_Occurred()) SWIG_fail
;
10115 arg7
= wxString_in_helper(obj6
);
10116 if (arg7
== NULL
) SWIG_fail
;
10121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10122 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
10124 wxPyEndAllowThreads(__tstate
);
10125 if (PyErr_Occurred()) SWIG_fail
;
10128 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10144 static PyObject
*_wrap_SpinButton_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10145 PyObject
*resultobj
;
10146 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10148 PyObject
* obj0
= 0 ;
10149 char *kwnames
[] = {
10150 (char *) "self", NULL
10153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetValue",kwnames
,&obj0
)) goto fail
;
10154 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10158 result
= (int)((wxSpinButton
const *)arg1
)->GetValue();
10160 wxPyEndAllowThreads(__tstate
);
10161 if (PyErr_Occurred()) SWIG_fail
;
10163 resultobj
= SWIG_FromInt((int)result
);
10170 static PyObject
*_wrap_SpinButton_GetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10171 PyObject
*resultobj
;
10172 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10174 PyObject
* obj0
= 0 ;
10175 char *kwnames
[] = {
10176 (char *) "self", NULL
10179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMin",kwnames
,&obj0
)) goto fail
;
10180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10184 result
= (int)((wxSpinButton
const *)arg1
)->GetMin();
10186 wxPyEndAllowThreads(__tstate
);
10187 if (PyErr_Occurred()) SWIG_fail
;
10189 resultobj
= SWIG_FromInt((int)result
);
10196 static PyObject
*_wrap_SpinButton_GetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10197 PyObject
*resultobj
;
10198 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10200 PyObject
* obj0
= 0 ;
10201 char *kwnames
[] = {
10202 (char *) "self", NULL
10205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMax",kwnames
,&obj0
)) goto fail
;
10206 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10210 result
= (int)((wxSpinButton
const *)arg1
)->GetMax();
10212 wxPyEndAllowThreads(__tstate
);
10213 if (PyErr_Occurred()) SWIG_fail
;
10215 resultobj
= SWIG_FromInt((int)result
);
10222 static PyObject
*_wrap_SpinButton_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10223 PyObject
*resultobj
;
10224 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10226 PyObject
* obj0
= 0 ;
10227 PyObject
* obj1
= 0 ;
10228 char *kwnames
[] = {
10229 (char *) "self",(char *) "val", NULL
10232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
10233 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10235 arg2
= (int) SWIG_AsInt(obj1
);
10236 if (PyErr_Occurred()) SWIG_fail
;
10238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10239 (arg1
)->SetValue(arg2
);
10241 wxPyEndAllowThreads(__tstate
);
10242 if (PyErr_Occurred()) SWIG_fail
;
10244 Py_INCREF(Py_None
); resultobj
= Py_None
;
10251 static PyObject
*_wrap_SpinButton_SetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10252 PyObject
*resultobj
;
10253 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10255 PyObject
* obj0
= 0 ;
10256 PyObject
* obj1
= 0 ;
10257 char *kwnames
[] = {
10258 (char *) "self",(char *) "minVal", NULL
10261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
10262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10264 arg2
= (int) SWIG_AsInt(obj1
);
10265 if (PyErr_Occurred()) SWIG_fail
;
10267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10268 (arg1
)->SetMin(arg2
);
10270 wxPyEndAllowThreads(__tstate
);
10271 if (PyErr_Occurred()) SWIG_fail
;
10273 Py_INCREF(Py_None
); resultobj
= Py_None
;
10280 static PyObject
*_wrap_SpinButton_SetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10281 PyObject
*resultobj
;
10282 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10284 PyObject
* obj0
= 0 ;
10285 PyObject
* obj1
= 0 ;
10286 char *kwnames
[] = {
10287 (char *) "self",(char *) "maxVal", NULL
10290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
10291 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10293 arg2
= (int) SWIG_AsInt(obj1
);
10294 if (PyErr_Occurred()) SWIG_fail
;
10296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10297 (arg1
)->SetMax(arg2
);
10299 wxPyEndAllowThreads(__tstate
);
10300 if (PyErr_Occurred()) SWIG_fail
;
10302 Py_INCREF(Py_None
); resultobj
= Py_None
;
10309 static PyObject
*_wrap_SpinButton_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10310 PyObject
*resultobj
;
10311 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10314 PyObject
* obj0
= 0 ;
10315 PyObject
* obj1
= 0 ;
10316 PyObject
* obj2
= 0 ;
10317 char *kwnames
[] = {
10318 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
10321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinButton_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10324 arg2
= (int) SWIG_AsInt(obj1
);
10325 if (PyErr_Occurred()) SWIG_fail
;
10326 arg3
= (int) SWIG_AsInt(obj2
);
10327 if (PyErr_Occurred()) SWIG_fail
;
10329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10330 (arg1
)->SetRange(arg2
,arg3
);
10332 wxPyEndAllowThreads(__tstate
);
10333 if (PyErr_Occurred()) SWIG_fail
;
10335 Py_INCREF(Py_None
); resultobj
= Py_None
;
10342 static PyObject
*_wrap_SpinButton_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10343 PyObject
*resultobj
;
10344 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10346 PyObject
* obj0
= 0 ;
10347 char *kwnames
[] = {
10348 (char *) "self", NULL
10351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_IsVertical",kwnames
,&obj0
)) goto fail
;
10352 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10356 result
= (bool)((wxSpinButton
const *)arg1
)->IsVertical();
10358 wxPyEndAllowThreads(__tstate
);
10359 if (PyErr_Occurred()) SWIG_fail
;
10362 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10370 static PyObject
* SpinButton_swigregister(PyObject
*, PyObject
*args
) {
10372 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10373 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton
, obj
);
10375 return Py_BuildValue((char *)"");
10377 static PyObject
*_wrap_new_SpinCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10378 PyObject
*resultobj
;
10379 wxWindow
*arg1
= (wxWindow
*) 0 ;
10380 int arg2
= (int) -1 ;
10381 wxString
const &arg3_defvalue
= wxPyEmptyString
;
10382 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
10383 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10384 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10385 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10386 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10387 long arg6
= (long) wxSP_ARROW_KEYS
;
10388 int arg7
= (int) 0 ;
10389 int arg8
= (int) 100 ;
10390 int arg9
= (int) 0 ;
10391 wxString
const &arg10_defvalue
= wxPySpinCtrlNameStr
;
10392 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
10393 wxSpinCtrl
*result
;
10394 bool temp3
= False
;
10397 bool temp10
= False
;
10398 PyObject
* obj0
= 0 ;
10399 PyObject
* obj1
= 0 ;
10400 PyObject
* obj2
= 0 ;
10401 PyObject
* obj3
= 0 ;
10402 PyObject
* obj4
= 0 ;
10403 PyObject
* obj5
= 0 ;
10404 PyObject
* obj6
= 0 ;
10405 PyObject
* obj7
= 0 ;
10406 PyObject
* obj8
= 0 ;
10407 PyObject
* obj9
= 0 ;
10408 char *kwnames
[] = {
10409 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
10412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
10413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10416 arg2
= (int) SWIG_AsInt(obj1
);
10417 if (PyErr_Occurred()) SWIG_fail
;
10421 arg3
= wxString_in_helper(obj2
);
10422 if (arg3
== NULL
) SWIG_fail
;
10429 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10435 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10439 arg6
= (long) SWIG_AsLong(obj5
);
10440 if (PyErr_Occurred()) SWIG_fail
;
10443 arg7
= (int) SWIG_AsInt(obj6
);
10444 if (PyErr_Occurred()) SWIG_fail
;
10447 arg8
= (int) SWIG_AsInt(obj7
);
10448 if (PyErr_Occurred()) SWIG_fail
;
10451 arg9
= (int) SWIG_AsInt(obj8
);
10452 if (PyErr_Occurred()) SWIG_fail
;
10456 arg10
= wxString_in_helper(obj9
);
10457 if (arg10
== NULL
) SWIG_fail
;
10462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10463 result
= (wxSpinCtrl
*)new wxSpinCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,(wxString
const &)*arg10
);
10465 wxPyEndAllowThreads(__tstate
);
10466 if (PyErr_Occurred()) SWIG_fail
;
10468 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinCtrl
, 1);
10491 static PyObject
*_wrap_new_PreSpinCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10492 PyObject
*resultobj
;
10493 wxSpinCtrl
*result
;
10494 char *kwnames
[] = {
10498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinCtrl",kwnames
)) goto fail
;
10500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10501 result
= (wxSpinCtrl
*)new wxSpinCtrl();
10503 wxPyEndAllowThreads(__tstate
);
10504 if (PyErr_Occurred()) SWIG_fail
;
10506 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinCtrl
, 1);
10513 static PyObject
*_wrap_SpinCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10514 PyObject
*resultobj
;
10515 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10516 wxWindow
*arg2
= (wxWindow
*) 0 ;
10517 int arg3
= (int) -1 ;
10518 wxString
const &arg4_defvalue
= wxPyEmptyString
;
10519 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
10520 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
10521 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
10522 wxSize
const &arg6_defvalue
= wxDefaultSize
;
10523 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
10524 long arg7
= (long) wxSP_ARROW_KEYS
;
10525 int arg8
= (int) 0 ;
10526 int arg9
= (int) 100 ;
10527 int arg10
= (int) 0 ;
10528 wxString
const &arg11_defvalue
= wxPySpinCtrlNameStr
;
10529 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
10531 bool temp4
= False
;
10534 bool temp11
= False
;
10535 PyObject
* obj0
= 0 ;
10536 PyObject
* obj1
= 0 ;
10537 PyObject
* obj2
= 0 ;
10538 PyObject
* obj3
= 0 ;
10539 PyObject
* obj4
= 0 ;
10540 PyObject
* obj5
= 0 ;
10541 PyObject
* obj6
= 0 ;
10542 PyObject
* obj7
= 0 ;
10543 PyObject
* obj8
= 0 ;
10544 PyObject
* obj9
= 0 ;
10545 PyObject
* obj10
= 0 ;
10546 char *kwnames
[] = {
10547 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
10550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
10551 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
10552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10553 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10556 arg3
= (int) SWIG_AsInt(obj2
);
10557 if (PyErr_Occurred()) SWIG_fail
;
10561 arg4
= wxString_in_helper(obj3
);
10562 if (arg4
== NULL
) SWIG_fail
;
10569 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
10575 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
10579 arg7
= (long) SWIG_AsLong(obj6
);
10580 if (PyErr_Occurred()) SWIG_fail
;
10583 arg8
= (int) SWIG_AsInt(obj7
);
10584 if (PyErr_Occurred()) SWIG_fail
;
10587 arg9
= (int) SWIG_AsInt(obj8
);
10588 if (PyErr_Occurred()) SWIG_fail
;
10591 arg10
= (int) SWIG_AsInt(obj9
);
10592 if (PyErr_Occurred()) SWIG_fail
;
10596 arg11
= wxString_in_helper(obj10
);
10597 if (arg11
== NULL
) SWIG_fail
;
10602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10603 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,arg10
,(wxString
const &)*arg11
);
10605 wxPyEndAllowThreads(__tstate
);
10606 if (PyErr_Occurred()) SWIG_fail
;
10609 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10633 static PyObject
*_wrap_SpinCtrl_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10634 PyObject
*resultobj
;
10635 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10637 PyObject
* obj0
= 0 ;
10638 char *kwnames
[] = {
10639 (char *) "self", NULL
10642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
10643 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
10644 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10647 result
= (int)((wxSpinCtrl
const *)arg1
)->GetValue();
10649 wxPyEndAllowThreads(__tstate
);
10650 if (PyErr_Occurred()) SWIG_fail
;
10652 resultobj
= SWIG_FromInt((int)result
);
10659 static PyObject
*_wrap_SpinCtrl_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10660 PyObject
*resultobj
;
10661 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10663 PyObject
* obj0
= 0 ;
10664 PyObject
* obj1
= 0 ;
10665 char *kwnames
[] = {
10666 (char *) "self",(char *) "value", NULL
10669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
10670 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
10671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10672 arg2
= (int) SWIG_AsInt(obj1
);
10673 if (PyErr_Occurred()) SWIG_fail
;
10675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10676 (arg1
)->SetValue(arg2
);
10678 wxPyEndAllowThreads(__tstate
);
10679 if (PyErr_Occurred()) SWIG_fail
;
10681 Py_INCREF(Py_None
); resultobj
= Py_None
;
10688 static PyObject
*_wrap_SpinCtrl_SetValueString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10689 PyObject
*resultobj
;
10690 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10691 wxString
*arg2
= 0 ;
10692 bool temp2
= False
;
10693 PyObject
* obj0
= 0 ;
10694 PyObject
* obj1
= 0 ;
10695 char *kwnames
[] = {
10696 (char *) "self",(char *) "text", NULL
10699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValueString",kwnames
,&obj0
,&obj1
)) goto fail
;
10700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
10701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10703 arg2
= wxString_in_helper(obj1
);
10704 if (arg2
== NULL
) SWIG_fail
;
10708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10709 (arg1
)->SetValue((wxString
const &)*arg2
);
10711 wxPyEndAllowThreads(__tstate
);
10712 if (PyErr_Occurred()) SWIG_fail
;
10714 Py_INCREF(Py_None
); resultobj
= Py_None
;
10729 static PyObject
*_wrap_SpinCtrl_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10730 PyObject
*resultobj
;
10731 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10734 PyObject
* obj0
= 0 ;
10735 PyObject
* obj1
= 0 ;
10736 PyObject
* obj2
= 0 ;
10737 char *kwnames
[] = {
10738 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
10741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10742 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
10743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10744 arg2
= (int) SWIG_AsInt(obj1
);
10745 if (PyErr_Occurred()) SWIG_fail
;
10746 arg3
= (int) SWIG_AsInt(obj2
);
10747 if (PyErr_Occurred()) SWIG_fail
;
10749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10750 (arg1
)->SetRange(arg2
,arg3
);
10752 wxPyEndAllowThreads(__tstate
);
10753 if (PyErr_Occurred()) SWIG_fail
;
10755 Py_INCREF(Py_None
); resultobj
= Py_None
;
10762 static PyObject
*_wrap_SpinCtrl_GetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10763 PyObject
*resultobj
;
10764 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10766 PyObject
* obj0
= 0 ;
10767 char *kwnames
[] = {
10768 (char *) "self", NULL
10771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMin",kwnames
,&obj0
)) goto fail
;
10772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
10773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10776 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMin();
10778 wxPyEndAllowThreads(__tstate
);
10779 if (PyErr_Occurred()) SWIG_fail
;
10781 resultobj
= SWIG_FromInt((int)result
);
10788 static PyObject
*_wrap_SpinCtrl_GetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10789 PyObject
*resultobj
;
10790 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10792 PyObject
* obj0
= 0 ;
10793 char *kwnames
[] = {
10794 (char *) "self", NULL
10797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMax",kwnames
,&obj0
)) goto fail
;
10798 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
10799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10802 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMax();
10804 wxPyEndAllowThreads(__tstate
);
10805 if (PyErr_Occurred()) SWIG_fail
;
10807 resultobj
= SWIG_FromInt((int)result
);
10814 static PyObject
*_wrap_SpinCtrl_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10815 PyObject
*resultobj
;
10816 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10819 PyObject
* obj0
= 0 ;
10820 PyObject
* obj1
= 0 ;
10821 PyObject
* obj2
= 0 ;
10822 char *kwnames
[] = {
10823 (char *) "self",(char *) "from",(char *) "to", NULL
10826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10827 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
10828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10829 arg2
= (long) SWIG_AsLong(obj1
);
10830 if (PyErr_Occurred()) SWIG_fail
;
10831 arg3
= (long) SWIG_AsLong(obj2
);
10832 if (PyErr_Occurred()) SWIG_fail
;
10834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10835 (arg1
)->SetSelection(arg2
,arg3
);
10837 wxPyEndAllowThreads(__tstate
);
10838 if (PyErr_Occurred()) SWIG_fail
;
10840 Py_INCREF(Py_None
); resultobj
= Py_None
;
10847 static PyObject
* SpinCtrl_swigregister(PyObject
*, PyObject
*args
) {
10849 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10850 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl
, obj
);
10852 return Py_BuildValue((char *)"");
10854 static PyObject
*_wrap_new_SpinEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10855 PyObject
*resultobj
;
10856 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
10857 int arg2
= (int) 0 ;
10858 wxSpinEvent
*result
;
10859 PyObject
* obj0
= 0 ;
10860 PyObject
* obj1
= 0 ;
10861 char *kwnames
[] = {
10862 (char *) "commandType",(char *) "winid", NULL
10865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SpinEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
10867 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
10868 if (PyErr_Occurred()) SWIG_fail
;
10871 arg2
= (int) SWIG_AsInt(obj1
);
10872 if (PyErr_Occurred()) SWIG_fail
;
10875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10876 result
= (wxSpinEvent
*)new wxSpinEvent(arg1
,arg2
);
10878 wxPyEndAllowThreads(__tstate
);
10879 if (PyErr_Occurred()) SWIG_fail
;
10881 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinEvent
, 1);
10888 static PyObject
*_wrap_SpinEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10889 PyObject
*resultobj
;
10890 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
10892 PyObject
* obj0
= 0 ;
10893 char *kwnames
[] = {
10894 (char *) "self", NULL
10897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
10898 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinEvent
,
10899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10902 result
= (int)((wxSpinEvent
const *)arg1
)->GetPosition();
10904 wxPyEndAllowThreads(__tstate
);
10905 if (PyErr_Occurred()) SWIG_fail
;
10907 resultobj
= SWIG_FromInt((int)result
);
10914 static PyObject
*_wrap_SpinEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10915 PyObject
*resultobj
;
10916 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
10918 PyObject
* obj0
= 0 ;
10919 PyObject
* obj1
= 0 ;
10920 char *kwnames
[] = {
10921 (char *) "self",(char *) "pos", NULL
10924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
10925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinEvent
,
10926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10927 arg2
= (int) SWIG_AsInt(obj1
);
10928 if (PyErr_Occurred()) SWIG_fail
;
10930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10931 (arg1
)->SetPosition(arg2
);
10933 wxPyEndAllowThreads(__tstate
);
10934 if (PyErr_Occurred()) SWIG_fail
;
10936 Py_INCREF(Py_None
); resultobj
= Py_None
;
10943 static PyObject
* SpinEvent_swigregister(PyObject
*, PyObject
*args
) {
10945 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10946 SWIG_TypeClientData(SWIGTYPE_p_wxSpinEvent
, obj
);
10948 return Py_BuildValue((char *)"");
10950 static int _wrap_RadioBoxNameStr_set(PyObject
*) {
10951 PyErr_SetString(PyExc_TypeError
,"Variable RadioBoxNameStr is read-only.");
10956 static PyObject
*_wrap_RadioBoxNameStr_get() {
10961 pyobj
= PyUnicode_FromWideChar((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
10963 pyobj
= PyString_FromStringAndSize((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
10970 static int _wrap_RadioButtonNameStr_set(PyObject
*) {
10971 PyErr_SetString(PyExc_TypeError
,"Variable RadioButtonNameStr is read-only.");
10976 static PyObject
*_wrap_RadioButtonNameStr_get() {
10981 pyobj
= PyUnicode_FromWideChar((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
10983 pyobj
= PyString_FromStringAndSize((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
10990 static PyObject
*_wrap_new_RadioBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10991 PyObject
*resultobj
;
10992 wxWindow
*arg1
= (wxWindow
*) 0 ;
10994 wxString
*arg3
= 0 ;
10995 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10996 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10997 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10998 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10999 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
11000 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
11001 int arg7
= (int) 0 ;
11002 long arg8
= (long) wxRA_HORIZONTAL
;
11003 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
11004 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
11005 wxString
const &arg10_defvalue
= wxPyRadioBoxNameStr
;
11006 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
11007 wxRadioBox
*result
;
11008 bool temp3
= False
;
11011 bool temp6
= False
;
11012 bool temp10
= False
;
11013 PyObject
* obj0
= 0 ;
11014 PyObject
* obj1
= 0 ;
11015 PyObject
* obj2
= 0 ;
11016 PyObject
* obj3
= 0 ;
11017 PyObject
* obj4
= 0 ;
11018 PyObject
* obj5
= 0 ;
11019 PyObject
* obj6
= 0 ;
11020 PyObject
* obj7
= 0 ;
11021 PyObject
* obj8
= 0 ;
11022 PyObject
* obj9
= 0 ;
11023 char *kwnames
[] = {
11024 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
11027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOOO:new_RadioBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
11028 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11030 arg2
= (int) SWIG_AsInt(obj1
);
11031 if (PyErr_Occurred()) SWIG_fail
;
11033 arg3
= wxString_in_helper(obj2
);
11034 if (arg3
== NULL
) SWIG_fail
;
11040 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11046 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11051 if (! PySequence_Check(obj5
)) {
11052 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
11055 arg6
= new wxArrayString
;
11057 int i
, len
=PySequence_Length(obj5
);
11058 for (i
=0; i
<len
; i
++) {
11059 PyObject
* item
= PySequence_GetItem(obj5
, i
);
11061 PyObject
* str
= PyObject_Unicode(item
);
11063 PyObject
* str
= PyObject_Str(item
);
11065 if (PyErr_Occurred()) SWIG_fail
;
11066 arg6
->Add(Py2wxString(str
));
11073 arg7
= (int) SWIG_AsInt(obj6
);
11074 if (PyErr_Occurred()) SWIG_fail
;
11077 arg8
= (long) SWIG_AsLong(obj7
);
11078 if (PyErr_Occurred()) SWIG_fail
;
11081 if ((SWIG_ConvertPtr(obj8
,(void **)(&arg9
),SWIGTYPE_p_wxValidator
,
11082 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11084 if (arg9
== NULL
) {
11085 PyErr_SetString(PyExc_TypeError
,"null reference");
11091 arg10
= wxString_in_helper(obj9
);
11092 if (arg10
== NULL
) SWIG_fail
;
11097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11098 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
);
11100 wxPyEndAllowThreads(__tstate
);
11101 if (PyErr_Occurred()) SWIG_fail
;
11103 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioBox
, 1);
11109 if (temp6
) delete arg6
;
11122 if (temp6
) delete arg6
;
11132 static PyObject
*_wrap_new_PreRadioBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11133 PyObject
*resultobj
;
11134 wxRadioBox
*result
;
11135 char *kwnames
[] = {
11139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioBox",kwnames
)) goto fail
;
11141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11142 result
= (wxRadioBox
*)new wxRadioBox();
11144 wxPyEndAllowThreads(__tstate
);
11145 if (PyErr_Occurred()) SWIG_fail
;
11147 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioBox
, 1);
11154 static PyObject
*_wrap_RadioBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11155 PyObject
*resultobj
;
11156 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11157 wxWindow
*arg2
= (wxWindow
*) 0 ;
11159 wxString
*arg4
= 0 ;
11160 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11161 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11162 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11163 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11164 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
11165 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
11166 int arg8
= (int) 0 ;
11167 long arg9
= (long) wxRA_HORIZONTAL
;
11168 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
11169 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
11170 wxString
const &arg11_defvalue
= wxPyRadioBoxNameStr
;
11171 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
11173 bool temp4
= False
;
11176 bool temp7
= False
;
11177 bool temp11
= False
;
11178 PyObject
* obj0
= 0 ;
11179 PyObject
* obj1
= 0 ;
11180 PyObject
* obj2
= 0 ;
11181 PyObject
* obj3
= 0 ;
11182 PyObject
* obj4
= 0 ;
11183 PyObject
* obj5
= 0 ;
11184 PyObject
* obj6
= 0 ;
11185 PyObject
* obj7
= 0 ;
11186 PyObject
* obj8
= 0 ;
11187 PyObject
* obj9
= 0 ;
11188 PyObject
* obj10
= 0 ;
11189 char *kwnames
[] = {
11190 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
11193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOOOO:RadioBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
11194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11196 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
11197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11198 arg3
= (int) SWIG_AsInt(obj2
);
11199 if (PyErr_Occurred()) SWIG_fail
;
11201 arg4
= wxString_in_helper(obj3
);
11202 if (arg4
== NULL
) SWIG_fail
;
11208 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11214 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11219 if (! PySequence_Check(obj6
)) {
11220 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
11223 arg7
= new wxArrayString
;
11225 int i
, len
=PySequence_Length(obj6
);
11226 for (i
=0; i
<len
; i
++) {
11227 PyObject
* item
= PySequence_GetItem(obj6
, i
);
11229 PyObject
* str
= PyObject_Unicode(item
);
11231 PyObject
* str
= PyObject_Str(item
);
11233 if (PyErr_Occurred()) SWIG_fail
;
11234 arg7
->Add(Py2wxString(str
));
11241 arg8
= (int) SWIG_AsInt(obj7
);
11242 if (PyErr_Occurred()) SWIG_fail
;
11245 arg9
= (long) SWIG_AsLong(obj8
);
11246 if (PyErr_Occurred()) SWIG_fail
;
11249 if ((SWIG_ConvertPtr(obj9
,(void **)(&arg10
),SWIGTYPE_p_wxValidator
,
11250 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11252 if (arg10
== NULL
) {
11253 PyErr_SetString(PyExc_TypeError
,"null reference");
11259 arg11
= wxString_in_helper(obj10
);
11260 if (arg11
== NULL
) SWIG_fail
;
11265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11266 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
);
11268 wxPyEndAllowThreads(__tstate
);
11269 if (PyErr_Occurred()) SWIG_fail
;
11272 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11279 if (temp7
) delete arg7
;
11292 if (temp7
) delete arg7
;
11302 static PyObject
*_wrap_RadioBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11303 PyObject
*resultobj
;
11304 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11306 PyObject
* obj0
= 0 ;
11307 PyObject
* obj1
= 0 ;
11308 char *kwnames
[] = {
11309 (char *) "self",(char *) "n", NULL
11312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
11313 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11315 arg2
= (int) SWIG_AsInt(obj1
);
11316 if (PyErr_Occurred()) SWIG_fail
;
11318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11319 (arg1
)->SetSelection(arg2
);
11321 wxPyEndAllowThreads(__tstate
);
11322 if (PyErr_Occurred()) SWIG_fail
;
11324 Py_INCREF(Py_None
); resultobj
= Py_None
;
11331 static PyObject
*_wrap_RadioBox_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11332 PyObject
*resultobj
;
11333 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11335 PyObject
* obj0
= 0 ;
11336 char *kwnames
[] = {
11337 (char *) "self", NULL
11340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetSelection",kwnames
,&obj0
)) goto fail
;
11341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11345 result
= (int)((wxRadioBox
const *)arg1
)->GetSelection();
11347 wxPyEndAllowThreads(__tstate
);
11348 if (PyErr_Occurred()) SWIG_fail
;
11350 resultobj
= SWIG_FromInt((int)result
);
11357 static PyObject
*_wrap_RadioBox_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11358 PyObject
*resultobj
;
11359 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11361 PyObject
* obj0
= 0 ;
11362 char *kwnames
[] = {
11363 (char *) "self", NULL
11366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetStringSelection",kwnames
,&obj0
)) goto fail
;
11367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11371 result
= ((wxRadioBox
const *)arg1
)->GetStringSelection();
11373 wxPyEndAllowThreads(__tstate
);
11374 if (PyErr_Occurred()) SWIG_fail
;
11378 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11380 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11389 static PyObject
*_wrap_RadioBox_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11390 PyObject
*resultobj
;
11391 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11392 wxString
*arg2
= 0 ;
11394 bool temp2
= False
;
11395 PyObject
* obj0
= 0 ;
11396 PyObject
* obj1
= 0 ;
11397 char *kwnames
[] = {
11398 (char *) "self",(char *) "s", NULL
11401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
11402 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11405 arg2
= wxString_in_helper(obj1
);
11406 if (arg2
== NULL
) SWIG_fail
;
11410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11411 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
11413 wxPyEndAllowThreads(__tstate
);
11414 if (PyErr_Occurred()) SWIG_fail
;
11417 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11433 static PyObject
*_wrap_RadioBox_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11434 PyObject
*resultobj
;
11435 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11437 PyObject
* obj0
= 0 ;
11438 char *kwnames
[] = {
11439 (char *) "self", NULL
11442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetCount",kwnames
,&obj0
)) goto fail
;
11443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11447 result
= (int)((wxRadioBox
const *)arg1
)->GetCount();
11449 wxPyEndAllowThreads(__tstate
);
11450 if (PyErr_Occurred()) SWIG_fail
;
11452 resultobj
= SWIG_FromInt((int)result
);
11459 static PyObject
*_wrap_RadioBox_FindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11460 PyObject
*resultobj
;
11461 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11462 wxString
*arg2
= 0 ;
11464 bool temp2
= False
;
11465 PyObject
* obj0
= 0 ;
11466 PyObject
* obj1
= 0 ;
11467 char *kwnames
[] = {
11468 (char *) "self",(char *) "s", NULL
11471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
11472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11475 arg2
= wxString_in_helper(obj1
);
11476 if (arg2
== NULL
) SWIG_fail
;
11480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11481 result
= (int)((wxRadioBox
const *)arg1
)->FindString((wxString
const &)*arg2
);
11483 wxPyEndAllowThreads(__tstate
);
11484 if (PyErr_Occurred()) SWIG_fail
;
11486 resultobj
= SWIG_FromInt((int)result
);
11501 static PyObject
*_wrap_RadioBox_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11502 PyObject
*resultobj
;
11503 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11506 PyObject
* obj0
= 0 ;
11507 PyObject
* obj1
= 0 ;
11508 char *kwnames
[] = {
11509 (char *) "self",(char *) "n", NULL
11512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
11513 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11514 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11515 arg2
= (int) SWIG_AsInt(obj1
);
11516 if (PyErr_Occurred()) SWIG_fail
;
11518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11519 result
= ((wxRadioBox
const *)arg1
)->GetString(arg2
);
11521 wxPyEndAllowThreads(__tstate
);
11522 if (PyErr_Occurred()) SWIG_fail
;
11526 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11528 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11537 static PyObject
*_wrap_RadioBox_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11538 PyObject
*resultobj
;
11539 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11541 wxString
*arg3
= 0 ;
11542 bool temp3
= False
;
11543 PyObject
* obj0
= 0 ;
11544 PyObject
* obj1
= 0 ;
11545 PyObject
* obj2
= 0 ;
11546 char *kwnames
[] = {
11547 (char *) "self",(char *) "n",(char *) "label", NULL
11550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11551 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11553 arg2
= (int) SWIG_AsInt(obj1
);
11554 if (PyErr_Occurred()) SWIG_fail
;
11556 arg3
= wxString_in_helper(obj2
);
11557 if (arg3
== NULL
) SWIG_fail
;
11561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11562 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
11564 wxPyEndAllowThreads(__tstate
);
11565 if (PyErr_Occurred()) SWIG_fail
;
11567 Py_INCREF(Py_None
); resultobj
= Py_None
;
11582 static PyObject
*_wrap_RadioBox_EnableItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11583 PyObject
*resultobj
;
11584 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11586 bool arg3
= (bool) True
;
11587 PyObject
* obj0
= 0 ;
11588 PyObject
* obj1
= 0 ;
11589 PyObject
* obj2
= 0 ;
11590 char *kwnames
[] = {
11591 (char *) "self",(char *) "n",(char *) "enable", NULL
11594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_EnableItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11595 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11597 arg2
= (int) SWIG_AsInt(obj1
);
11598 if (PyErr_Occurred()) SWIG_fail
;
11600 arg3
= (bool) SWIG_AsBool(obj2
);
11601 if (PyErr_Occurred()) SWIG_fail
;
11604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11605 (arg1
)->Enable(arg2
,arg3
);
11607 wxPyEndAllowThreads(__tstate
);
11608 if (PyErr_Occurred()) SWIG_fail
;
11610 Py_INCREF(Py_None
); resultobj
= Py_None
;
11617 static PyObject
*_wrap_RadioBox_ShowItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11618 PyObject
*resultobj
;
11619 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11621 bool arg3
= (bool) True
;
11622 PyObject
* obj0
= 0 ;
11623 PyObject
* obj1
= 0 ;
11624 PyObject
* obj2
= 0 ;
11625 char *kwnames
[] = {
11626 (char *) "self",(char *) "n",(char *) "show", NULL
11629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_ShowItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11630 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11632 arg2
= (int) SWIG_AsInt(obj1
);
11633 if (PyErr_Occurred()) SWIG_fail
;
11635 arg3
= (bool) SWIG_AsBool(obj2
);
11636 if (PyErr_Occurred()) SWIG_fail
;
11639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11640 (arg1
)->Show(arg2
,arg3
);
11642 wxPyEndAllowThreads(__tstate
);
11643 if (PyErr_Occurred()) SWIG_fail
;
11645 Py_INCREF(Py_None
); resultobj
= Py_None
;
11652 static PyObject
*_wrap_RadioBox_GetColumnCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11653 PyObject
*resultobj
;
11654 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11656 PyObject
* obj0
= 0 ;
11657 char *kwnames
[] = {
11658 (char *) "self", NULL
11661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetColumnCount",kwnames
,&obj0
)) goto fail
;
11662 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11663 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11666 result
= (int)((wxRadioBox
const *)arg1
)->GetColumnCount();
11668 wxPyEndAllowThreads(__tstate
);
11669 if (PyErr_Occurred()) SWIG_fail
;
11671 resultobj
= SWIG_FromInt((int)result
);
11678 static PyObject
*_wrap_RadioBox_GetRowCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11679 PyObject
*resultobj
;
11680 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11682 PyObject
* obj0
= 0 ;
11683 char *kwnames
[] = {
11684 (char *) "self", NULL
11687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetRowCount",kwnames
,&obj0
)) goto fail
;
11688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11692 result
= (int)((wxRadioBox
const *)arg1
)->GetRowCount();
11694 wxPyEndAllowThreads(__tstate
);
11695 if (PyErr_Occurred()) SWIG_fail
;
11697 resultobj
= SWIG_FromInt((int)result
);
11704 static PyObject
*_wrap_RadioBox_GetNextItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11705 PyObject
*resultobj
;
11706 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11711 PyObject
* obj0
= 0 ;
11712 PyObject
* obj1
= 0 ;
11713 PyObject
* obj2
= 0 ;
11714 PyObject
* obj3
= 0 ;
11715 char *kwnames
[] = {
11716 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
11719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RadioBox_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11720 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11722 arg2
= (int) SWIG_AsInt(obj1
);
11723 if (PyErr_Occurred()) SWIG_fail
;
11724 arg3
= (wxDirection
) SWIG_AsInt(obj2
);
11725 if (PyErr_Occurred()) SWIG_fail
;
11726 arg4
= (long) SWIG_AsLong(obj3
);
11727 if (PyErr_Occurred()) SWIG_fail
;
11729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11730 result
= (int)((wxRadioBox
const *)arg1
)->GetNextItem(arg2
,(wxDirection
)arg3
,arg4
);
11732 wxPyEndAllowThreads(__tstate
);
11733 if (PyErr_Occurred()) SWIG_fail
;
11735 resultobj
= SWIG_FromInt((int)result
);
11742 static PyObject
* RadioBox_swigregister(PyObject
*, PyObject
*args
) {
11744 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11745 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox
, obj
);
11747 return Py_BuildValue((char *)"");
11749 static PyObject
*_wrap_new_RadioButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11750 PyObject
*resultobj
;
11751 wxWindow
*arg1
= (wxWindow
*) 0 ;
11753 wxString
*arg3
= 0 ;
11754 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11755 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11756 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11757 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11758 long arg6
= (long) 0 ;
11759 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
11760 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
11761 wxString
const &arg8_defvalue
= wxPyRadioButtonNameStr
;
11762 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
11763 wxRadioButton
*result
;
11764 bool temp3
= False
;
11767 bool temp8
= False
;
11768 PyObject
* obj0
= 0 ;
11769 PyObject
* obj1
= 0 ;
11770 PyObject
* obj2
= 0 ;
11771 PyObject
* obj3
= 0 ;
11772 PyObject
* obj4
= 0 ;
11773 PyObject
* obj5
= 0 ;
11774 PyObject
* obj6
= 0 ;
11775 PyObject
* obj7
= 0 ;
11776 char *kwnames
[] = {
11777 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_RadioButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
11781 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11783 arg2
= (int) SWIG_AsInt(obj1
);
11784 if (PyErr_Occurred()) SWIG_fail
;
11786 arg3
= wxString_in_helper(obj2
);
11787 if (arg3
== NULL
) SWIG_fail
;
11793 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11799 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11803 arg6
= (long) SWIG_AsLong(obj5
);
11804 if (PyErr_Occurred()) SWIG_fail
;
11807 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
11808 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11810 if (arg7
== NULL
) {
11811 PyErr_SetString(PyExc_TypeError
,"null reference");
11817 arg8
= wxString_in_helper(obj7
);
11818 if (arg8
== NULL
) SWIG_fail
;
11823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11824 result
= (wxRadioButton
*)new wxRadioButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
11826 wxPyEndAllowThreads(__tstate
);
11827 if (PyErr_Occurred()) SWIG_fail
;
11829 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioButton
, 1);
11852 static PyObject
*_wrap_new_PreRadioButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11853 PyObject
*resultobj
;
11854 wxRadioButton
*result
;
11855 char *kwnames
[] = {
11859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioButton",kwnames
)) goto fail
;
11861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11862 result
= (wxRadioButton
*)new wxRadioButton();
11864 wxPyEndAllowThreads(__tstate
);
11865 if (PyErr_Occurred()) SWIG_fail
;
11867 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioButton
, 1);
11874 static PyObject
*_wrap_RadioButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11875 PyObject
*resultobj
;
11876 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
11877 wxWindow
*arg2
= (wxWindow
*) 0 ;
11879 wxString
*arg4
= 0 ;
11880 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11881 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11882 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11883 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11884 long arg7
= (long) 0 ;
11885 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
11886 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
11887 wxString
const &arg9_defvalue
= wxPyRadioButtonNameStr
;
11888 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
11890 bool temp4
= False
;
11893 bool temp9
= False
;
11894 PyObject
* obj0
= 0 ;
11895 PyObject
* obj1
= 0 ;
11896 PyObject
* obj2
= 0 ;
11897 PyObject
* obj3
= 0 ;
11898 PyObject
* obj4
= 0 ;
11899 PyObject
* obj5
= 0 ;
11900 PyObject
* obj6
= 0 ;
11901 PyObject
* obj7
= 0 ;
11902 PyObject
* obj8
= 0 ;
11903 char *kwnames
[] = {
11904 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:RadioButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
11908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioButton
,
11909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11910 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
11911 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11912 arg3
= (int) SWIG_AsInt(obj2
);
11913 if (PyErr_Occurred()) SWIG_fail
;
11915 arg4
= wxString_in_helper(obj3
);
11916 if (arg4
== NULL
) SWIG_fail
;
11922 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11928 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11932 arg7
= (long) SWIG_AsLong(obj6
);
11933 if (PyErr_Occurred()) SWIG_fail
;
11936 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
11937 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11939 if (arg8
== NULL
) {
11940 PyErr_SetString(PyExc_TypeError
,"null reference");
11946 arg9
= wxString_in_helper(obj8
);
11947 if (arg9
== NULL
) SWIG_fail
;
11952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11953 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
11955 wxPyEndAllowThreads(__tstate
);
11956 if (PyErr_Occurred()) SWIG_fail
;
11959 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11983 static PyObject
*_wrap_RadioButton_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11984 PyObject
*resultobj
;
11985 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
11987 PyObject
* obj0
= 0 ;
11988 char *kwnames
[] = {
11989 (char *) "self", NULL
11992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioButton_GetValue",kwnames
,&obj0
)) goto fail
;
11993 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioButton
,
11994 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11997 result
= (bool)(arg1
)->GetValue();
11999 wxPyEndAllowThreads(__tstate
);
12000 if (PyErr_Occurred()) SWIG_fail
;
12003 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12011 static PyObject
*_wrap_RadioButton_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12012 PyObject
*resultobj
;
12013 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
12015 PyObject
* obj0
= 0 ;
12016 PyObject
* obj1
= 0 ;
12017 char *kwnames
[] = {
12018 (char *) "self",(char *) "value", NULL
12021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
12022 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioButton
,
12023 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12024 arg2
= (bool) SWIG_AsBool(obj1
);
12025 if (PyErr_Occurred()) SWIG_fail
;
12027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12028 (arg1
)->SetValue(arg2
);
12030 wxPyEndAllowThreads(__tstate
);
12031 if (PyErr_Occurred()) SWIG_fail
;
12033 Py_INCREF(Py_None
); resultobj
= Py_None
;
12040 static PyObject
* RadioButton_swigregister(PyObject
*, PyObject
*args
) {
12042 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12043 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton
, obj
);
12045 return Py_BuildValue((char *)"");
12047 static int _wrap_SliderNameStr_set(PyObject
*) {
12048 PyErr_SetString(PyExc_TypeError
,"Variable SliderNameStr is read-only.");
12053 static PyObject
*_wrap_SliderNameStr_get() {
12058 pyobj
= PyUnicode_FromWideChar((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
12060 pyobj
= PyString_FromStringAndSize((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
12067 static PyObject
*_wrap_new_Slider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12068 PyObject
*resultobj
;
12069 wxWindow
*arg1
= (wxWindow
*) 0 ;
12074 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
12075 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
12076 wxSize
const &arg7_defvalue
= wxDefaultSize
;
12077 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
12078 long arg8
= (long) wxSL_HORIZONTAL
;
12079 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
12080 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
12081 wxString
const &arg10_defvalue
= wxPySliderNameStr
;
12082 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
12086 bool temp10
= False
;
12087 PyObject
* obj0
= 0 ;
12088 PyObject
* obj1
= 0 ;
12089 PyObject
* obj2
= 0 ;
12090 PyObject
* obj3
= 0 ;
12091 PyObject
* obj4
= 0 ;
12092 PyObject
* obj5
= 0 ;
12093 PyObject
* obj6
= 0 ;
12094 PyObject
* obj7
= 0 ;
12095 PyObject
* obj8
= 0 ;
12096 PyObject
* obj9
= 0 ;
12097 char *kwnames
[] = {
12098 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:new_Slider",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
12102 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12104 arg2
= (int) SWIG_AsInt(obj1
);
12105 if (PyErr_Occurred()) SWIG_fail
;
12106 arg3
= (int) SWIG_AsInt(obj2
);
12107 if (PyErr_Occurred()) SWIG_fail
;
12108 arg4
= (int) SWIG_AsInt(obj3
);
12109 if (PyErr_Occurred()) SWIG_fail
;
12110 arg5
= (int) SWIG_AsInt(obj4
);
12111 if (PyErr_Occurred()) SWIG_fail
;
12115 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
12121 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
12125 arg8
= (long) SWIG_AsLong(obj7
);
12126 if (PyErr_Occurred()) SWIG_fail
;
12129 if ((SWIG_ConvertPtr(obj8
,(void **)(&arg9
),SWIGTYPE_p_wxValidator
,
12130 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12132 if (arg9
== NULL
) {
12133 PyErr_SetString(PyExc_TypeError
,"null reference");
12139 arg10
= wxString_in_helper(obj9
);
12140 if (arg10
== NULL
) SWIG_fail
;
12145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12146 result
= (wxSlider
*)new wxSlider(arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
12148 wxPyEndAllowThreads(__tstate
);
12149 if (PyErr_Occurred()) SWIG_fail
;
12151 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSlider
, 1);
12166 static PyObject
*_wrap_new_PreSlider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12167 PyObject
*resultobj
;
12169 char *kwnames
[] = {
12173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSlider",kwnames
)) goto fail
;
12175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12176 result
= (wxSlider
*)new wxSlider();
12178 wxPyEndAllowThreads(__tstate
);
12179 if (PyErr_Occurred()) SWIG_fail
;
12181 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSlider
, 1);
12188 static PyObject
*_wrap_Slider_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12189 PyObject
*resultobj
;
12190 wxSlider
*arg1
= (wxSlider
*) 0 ;
12191 wxWindow
*arg2
= (wxWindow
*) 0 ;
12196 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
12197 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
12198 wxSize
const &arg8_defvalue
= wxDefaultSize
;
12199 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
12200 long arg9
= (long) wxSL_HORIZONTAL
;
12201 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
12202 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
12203 wxString
const &arg11_defvalue
= wxPySliderNameStr
;
12204 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
12208 bool temp11
= False
;
12209 PyObject
* obj0
= 0 ;
12210 PyObject
* obj1
= 0 ;
12211 PyObject
* obj2
= 0 ;
12212 PyObject
* obj3
= 0 ;
12213 PyObject
* obj4
= 0 ;
12214 PyObject
* obj5
= 0 ;
12215 PyObject
* obj6
= 0 ;
12216 PyObject
* obj7
= 0 ;
12217 PyObject
* obj8
= 0 ;
12218 PyObject
* obj9
= 0 ;
12219 PyObject
* obj10
= 0 ;
12220 char *kwnames
[] = {
12221 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|OOOOO:Slider_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
12225 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12226 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12227 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
12228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12229 arg3
= (int) SWIG_AsInt(obj2
);
12230 if (PyErr_Occurred()) SWIG_fail
;
12231 arg4
= (int) SWIG_AsInt(obj3
);
12232 if (PyErr_Occurred()) SWIG_fail
;
12233 arg5
= (int) SWIG_AsInt(obj4
);
12234 if (PyErr_Occurred()) SWIG_fail
;
12235 arg6
= (int) SWIG_AsInt(obj5
);
12236 if (PyErr_Occurred()) SWIG_fail
;
12240 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
12246 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
12250 arg9
= (long) SWIG_AsLong(obj8
);
12251 if (PyErr_Occurred()) SWIG_fail
;
12254 if ((SWIG_ConvertPtr(obj9
,(void **)(&arg10
),SWIGTYPE_p_wxValidator
,
12255 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12257 if (arg10
== NULL
) {
12258 PyErr_SetString(PyExc_TypeError
,"null reference");
12264 arg11
= wxString_in_helper(obj10
);
12265 if (arg11
== NULL
) SWIG_fail
;
12270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12271 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
,(wxSize
const &)*arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
12273 wxPyEndAllowThreads(__tstate
);
12274 if (PyErr_Occurred()) SWIG_fail
;
12277 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12293 static PyObject
*_wrap_Slider_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12294 PyObject
*resultobj
;
12295 wxSlider
*arg1
= (wxSlider
*) 0 ;
12297 PyObject
* obj0
= 0 ;
12298 char *kwnames
[] = {
12299 (char *) "self", NULL
12302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetValue",kwnames
,&obj0
)) goto fail
;
12303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12307 result
= (int)((wxSlider
const *)arg1
)->GetValue();
12309 wxPyEndAllowThreads(__tstate
);
12310 if (PyErr_Occurred()) SWIG_fail
;
12312 resultobj
= SWIG_FromInt((int)result
);
12319 static PyObject
*_wrap_Slider_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12320 PyObject
*resultobj
;
12321 wxSlider
*arg1
= (wxSlider
*) 0 ;
12323 PyObject
* obj0
= 0 ;
12324 PyObject
* obj1
= 0 ;
12325 char *kwnames
[] = {
12326 (char *) "self",(char *) "value", NULL
12329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
12330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12332 arg2
= (int) SWIG_AsInt(obj1
);
12333 if (PyErr_Occurred()) SWIG_fail
;
12335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12336 (arg1
)->SetValue(arg2
);
12338 wxPyEndAllowThreads(__tstate
);
12339 if (PyErr_Occurred()) SWIG_fail
;
12341 Py_INCREF(Py_None
); resultobj
= Py_None
;
12348 static PyObject
*_wrap_Slider_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12349 PyObject
*resultobj
;
12350 wxSlider
*arg1
= (wxSlider
*) 0 ;
12353 PyObject
* obj0
= 0 ;
12354 PyObject
* obj1
= 0 ;
12355 PyObject
* obj2
= 0 ;
12356 char *kwnames
[] = {
12357 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
12360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12361 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12363 arg2
= (int) SWIG_AsInt(obj1
);
12364 if (PyErr_Occurred()) SWIG_fail
;
12365 arg3
= (int) SWIG_AsInt(obj2
);
12366 if (PyErr_Occurred()) SWIG_fail
;
12368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12369 (arg1
)->SetRange(arg2
,arg3
);
12371 wxPyEndAllowThreads(__tstate
);
12372 if (PyErr_Occurred()) SWIG_fail
;
12374 Py_INCREF(Py_None
); resultobj
= Py_None
;
12381 static PyObject
*_wrap_Slider_GetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12382 PyObject
*resultobj
;
12383 wxSlider
*arg1
= (wxSlider
*) 0 ;
12385 PyObject
* obj0
= 0 ;
12386 char *kwnames
[] = {
12387 (char *) "self", NULL
12390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMin",kwnames
,&obj0
)) goto fail
;
12391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12395 result
= (int)((wxSlider
const *)arg1
)->GetMin();
12397 wxPyEndAllowThreads(__tstate
);
12398 if (PyErr_Occurred()) SWIG_fail
;
12400 resultobj
= SWIG_FromInt((int)result
);
12407 static PyObject
*_wrap_Slider_GetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12408 PyObject
*resultobj
;
12409 wxSlider
*arg1
= (wxSlider
*) 0 ;
12411 PyObject
* obj0
= 0 ;
12412 char *kwnames
[] = {
12413 (char *) "self", NULL
12416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMax",kwnames
,&obj0
)) goto fail
;
12417 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12421 result
= (int)((wxSlider
const *)arg1
)->GetMax();
12423 wxPyEndAllowThreads(__tstate
);
12424 if (PyErr_Occurred()) SWIG_fail
;
12426 resultobj
= SWIG_FromInt((int)result
);
12433 static PyObject
*_wrap_Slider_SetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12434 PyObject
*resultobj
;
12435 wxSlider
*arg1
= (wxSlider
*) 0 ;
12437 PyObject
* obj0
= 0 ;
12438 PyObject
* obj1
= 0 ;
12439 char *kwnames
[] = {
12440 (char *) "self",(char *) "minValue", NULL
12443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
12444 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12446 arg2
= (int) SWIG_AsInt(obj1
);
12447 if (PyErr_Occurred()) SWIG_fail
;
12449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12450 (arg1
)->SetMin(arg2
);
12452 wxPyEndAllowThreads(__tstate
);
12453 if (PyErr_Occurred()) SWIG_fail
;
12455 Py_INCREF(Py_None
); resultobj
= Py_None
;
12462 static PyObject
*_wrap_Slider_SetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12463 PyObject
*resultobj
;
12464 wxSlider
*arg1
= (wxSlider
*) 0 ;
12466 PyObject
* obj0
= 0 ;
12467 PyObject
* obj1
= 0 ;
12468 char *kwnames
[] = {
12469 (char *) "self",(char *) "maxValue", NULL
12472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
12473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12475 arg2
= (int) SWIG_AsInt(obj1
);
12476 if (PyErr_Occurred()) SWIG_fail
;
12478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12479 (arg1
)->SetMax(arg2
);
12481 wxPyEndAllowThreads(__tstate
);
12482 if (PyErr_Occurred()) SWIG_fail
;
12484 Py_INCREF(Py_None
); resultobj
= Py_None
;
12491 static PyObject
*_wrap_Slider_SetLineSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12492 PyObject
*resultobj
;
12493 wxSlider
*arg1
= (wxSlider
*) 0 ;
12495 PyObject
* obj0
= 0 ;
12496 PyObject
* obj1
= 0 ;
12497 char *kwnames
[] = {
12498 (char *) "self",(char *) "lineSize", NULL
12501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetLineSize",kwnames
,&obj0
,&obj1
)) goto fail
;
12502 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12503 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12504 arg2
= (int) SWIG_AsInt(obj1
);
12505 if (PyErr_Occurred()) SWIG_fail
;
12507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12508 (arg1
)->SetLineSize(arg2
);
12510 wxPyEndAllowThreads(__tstate
);
12511 if (PyErr_Occurred()) SWIG_fail
;
12513 Py_INCREF(Py_None
); resultobj
= Py_None
;
12520 static PyObject
*_wrap_Slider_SetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12521 PyObject
*resultobj
;
12522 wxSlider
*arg1
= (wxSlider
*) 0 ;
12524 PyObject
* obj0
= 0 ;
12525 PyObject
* obj1
= 0 ;
12526 char *kwnames
[] = {
12527 (char *) "self",(char *) "pageSize", NULL
12530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
12531 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12533 arg2
= (int) SWIG_AsInt(obj1
);
12534 if (PyErr_Occurred()) SWIG_fail
;
12536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12537 (arg1
)->SetPageSize(arg2
);
12539 wxPyEndAllowThreads(__tstate
);
12540 if (PyErr_Occurred()) SWIG_fail
;
12542 Py_INCREF(Py_None
); resultobj
= Py_None
;
12549 static PyObject
*_wrap_Slider_GetLineSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12550 PyObject
*resultobj
;
12551 wxSlider
*arg1
= (wxSlider
*) 0 ;
12553 PyObject
* obj0
= 0 ;
12554 char *kwnames
[] = {
12555 (char *) "self", NULL
12558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetLineSize",kwnames
,&obj0
)) goto fail
;
12559 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12560 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12563 result
= (int)((wxSlider
const *)arg1
)->GetLineSize();
12565 wxPyEndAllowThreads(__tstate
);
12566 if (PyErr_Occurred()) SWIG_fail
;
12568 resultobj
= SWIG_FromInt((int)result
);
12575 static PyObject
*_wrap_Slider_GetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12576 PyObject
*resultobj
;
12577 wxSlider
*arg1
= (wxSlider
*) 0 ;
12579 PyObject
* obj0
= 0 ;
12580 char *kwnames
[] = {
12581 (char *) "self", NULL
12584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetPageSize",kwnames
,&obj0
)) goto fail
;
12585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12589 result
= (int)((wxSlider
const *)arg1
)->GetPageSize();
12591 wxPyEndAllowThreads(__tstate
);
12592 if (PyErr_Occurred()) SWIG_fail
;
12594 resultobj
= SWIG_FromInt((int)result
);
12601 static PyObject
*_wrap_Slider_SetThumbLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12602 PyObject
*resultobj
;
12603 wxSlider
*arg1
= (wxSlider
*) 0 ;
12605 PyObject
* obj0
= 0 ;
12606 PyObject
* obj1
= 0 ;
12607 char *kwnames
[] = {
12608 (char *) "self",(char *) "lenPixels", NULL
12611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetThumbLength",kwnames
,&obj0
,&obj1
)) goto fail
;
12612 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12614 arg2
= (int) SWIG_AsInt(obj1
);
12615 if (PyErr_Occurred()) SWIG_fail
;
12617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12618 (arg1
)->SetThumbLength(arg2
);
12620 wxPyEndAllowThreads(__tstate
);
12621 if (PyErr_Occurred()) SWIG_fail
;
12623 Py_INCREF(Py_None
); resultobj
= Py_None
;
12630 static PyObject
*_wrap_Slider_GetThumbLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12631 PyObject
*resultobj
;
12632 wxSlider
*arg1
= (wxSlider
*) 0 ;
12634 PyObject
* obj0
= 0 ;
12635 char *kwnames
[] = {
12636 (char *) "self", NULL
12639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetThumbLength",kwnames
,&obj0
)) goto fail
;
12640 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12641 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12644 result
= (int)((wxSlider
const *)arg1
)->GetThumbLength();
12646 wxPyEndAllowThreads(__tstate
);
12647 if (PyErr_Occurred()) SWIG_fail
;
12649 resultobj
= SWIG_FromInt((int)result
);
12656 static PyObject
*_wrap_Slider_SetTickFreq(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12657 PyObject
*resultobj
;
12658 wxSlider
*arg1
= (wxSlider
*) 0 ;
12660 int arg3
= (int) 1 ;
12661 PyObject
* obj0
= 0 ;
12662 PyObject
* obj1
= 0 ;
12663 PyObject
* obj2
= 0 ;
12664 char *kwnames
[] = {
12665 (char *) "self",(char *) "n",(char *) "pos", NULL
12668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Slider_SetTickFreq",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12669 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12671 arg2
= (int) SWIG_AsInt(obj1
);
12672 if (PyErr_Occurred()) SWIG_fail
;
12674 arg3
= (int) SWIG_AsInt(obj2
);
12675 if (PyErr_Occurred()) SWIG_fail
;
12678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12679 (arg1
)->SetTickFreq(arg2
,arg3
);
12681 wxPyEndAllowThreads(__tstate
);
12682 if (PyErr_Occurred()) SWIG_fail
;
12684 Py_INCREF(Py_None
); resultobj
= Py_None
;
12691 static PyObject
*_wrap_Slider_GetTickFreq(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12692 PyObject
*resultobj
;
12693 wxSlider
*arg1
= (wxSlider
*) 0 ;
12695 PyObject
* obj0
= 0 ;
12696 char *kwnames
[] = {
12697 (char *) "self", NULL
12700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetTickFreq",kwnames
,&obj0
)) goto fail
;
12701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12705 result
= (int)((wxSlider
const *)arg1
)->GetTickFreq();
12707 wxPyEndAllowThreads(__tstate
);
12708 if (PyErr_Occurred()) SWIG_fail
;
12710 resultobj
= SWIG_FromInt((int)result
);
12717 static PyObject
*_wrap_Slider_ClearTicks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12718 PyObject
*resultobj
;
12719 wxSlider
*arg1
= (wxSlider
*) 0 ;
12720 PyObject
* obj0
= 0 ;
12721 char *kwnames
[] = {
12722 (char *) "self", NULL
12725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearTicks",kwnames
,&obj0
)) goto fail
;
12726 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12730 (arg1
)->ClearTicks();
12732 wxPyEndAllowThreads(__tstate
);
12733 if (PyErr_Occurred()) SWIG_fail
;
12735 Py_INCREF(Py_None
); resultobj
= Py_None
;
12742 static PyObject
*_wrap_Slider_SetTick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12743 PyObject
*resultobj
;
12744 wxSlider
*arg1
= (wxSlider
*) 0 ;
12746 PyObject
* obj0
= 0 ;
12747 PyObject
* obj1
= 0 ;
12748 char *kwnames
[] = {
12749 (char *) "self",(char *) "tickPos", NULL
12752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetTick",kwnames
,&obj0
,&obj1
)) goto fail
;
12753 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12755 arg2
= (int) SWIG_AsInt(obj1
);
12756 if (PyErr_Occurred()) SWIG_fail
;
12758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12759 (arg1
)->SetTick(arg2
);
12761 wxPyEndAllowThreads(__tstate
);
12762 if (PyErr_Occurred()) SWIG_fail
;
12764 Py_INCREF(Py_None
); resultobj
= Py_None
;
12771 static PyObject
*_wrap_Slider_ClearSel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12772 PyObject
*resultobj
;
12773 wxSlider
*arg1
= (wxSlider
*) 0 ;
12774 PyObject
* obj0
= 0 ;
12775 char *kwnames
[] = {
12776 (char *) "self", NULL
12779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearSel",kwnames
,&obj0
)) goto fail
;
12780 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12784 (arg1
)->ClearSel();
12786 wxPyEndAllowThreads(__tstate
);
12787 if (PyErr_Occurred()) SWIG_fail
;
12789 Py_INCREF(Py_None
); resultobj
= Py_None
;
12796 static PyObject
*_wrap_Slider_GetSelEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12797 PyObject
*resultobj
;
12798 wxSlider
*arg1
= (wxSlider
*) 0 ;
12800 PyObject
* obj0
= 0 ;
12801 char *kwnames
[] = {
12802 (char *) "self", NULL
12805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelEnd",kwnames
,&obj0
)) goto fail
;
12806 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12807 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12810 result
= (int)((wxSlider
const *)arg1
)->GetSelEnd();
12812 wxPyEndAllowThreads(__tstate
);
12813 if (PyErr_Occurred()) SWIG_fail
;
12815 resultobj
= SWIG_FromInt((int)result
);
12822 static PyObject
*_wrap_Slider_GetSelStart(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12823 PyObject
*resultobj
;
12824 wxSlider
*arg1
= (wxSlider
*) 0 ;
12826 PyObject
* obj0
= 0 ;
12827 char *kwnames
[] = {
12828 (char *) "self", NULL
12831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelStart",kwnames
,&obj0
)) goto fail
;
12832 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12833 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12836 result
= (int)((wxSlider
const *)arg1
)->GetSelStart();
12838 wxPyEndAllowThreads(__tstate
);
12839 if (PyErr_Occurred()) SWIG_fail
;
12841 resultobj
= SWIG_FromInt((int)result
);
12848 static PyObject
*_wrap_Slider_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12849 PyObject
*resultobj
;
12850 wxSlider
*arg1
= (wxSlider
*) 0 ;
12853 PyObject
* obj0
= 0 ;
12854 PyObject
* obj1
= 0 ;
12855 PyObject
* obj2
= 0 ;
12856 char *kwnames
[] = {
12857 (char *) "self",(char *) "min",(char *) "max", NULL
12860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12861 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12862 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12863 arg2
= (int) SWIG_AsInt(obj1
);
12864 if (PyErr_Occurred()) SWIG_fail
;
12865 arg3
= (int) SWIG_AsInt(obj2
);
12866 if (PyErr_Occurred()) SWIG_fail
;
12868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12869 (arg1
)->SetSelection(arg2
,arg3
);
12871 wxPyEndAllowThreads(__tstate
);
12872 if (PyErr_Occurred()) SWIG_fail
;
12874 Py_INCREF(Py_None
); resultobj
= Py_None
;
12881 static PyObject
* Slider_swigregister(PyObject
*, PyObject
*args
) {
12883 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12884 SWIG_TypeClientData(SWIGTYPE_p_wxSlider
, obj
);
12886 return Py_BuildValue((char *)"");
12888 static int _wrap_ToggleButtonNameStr_set(PyObject
*) {
12889 PyErr_SetString(PyExc_TypeError
,"Variable ToggleButtonNameStr is read-only.");
12894 static PyObject
*_wrap_ToggleButtonNameStr_get() {
12899 pyobj
= PyUnicode_FromWideChar((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
12901 pyobj
= PyString_FromStringAndSize((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
12908 static PyObject
*_wrap_new_ToggleButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12909 PyObject
*resultobj
;
12910 wxWindow
*arg1
= (wxWindow
*) 0 ;
12912 wxString
*arg3
= 0 ;
12913 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12914 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12915 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12916 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12917 long arg6
= (long) 0 ;
12918 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
12919 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
12920 wxString
const &arg8_defvalue
= wxPyToggleButtonNameStr
;
12921 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
12922 wxToggleButton
*result
;
12923 bool temp3
= False
;
12926 bool temp8
= False
;
12927 PyObject
* obj0
= 0 ;
12928 PyObject
* obj1
= 0 ;
12929 PyObject
* obj2
= 0 ;
12930 PyObject
* obj3
= 0 ;
12931 PyObject
* obj4
= 0 ;
12932 PyObject
* obj5
= 0 ;
12933 PyObject
* obj6
= 0 ;
12934 PyObject
* obj7
= 0 ;
12935 char *kwnames
[] = {
12936 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_ToggleButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
12940 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12942 arg2
= (int) SWIG_AsInt(obj1
);
12943 if (PyErr_Occurred()) SWIG_fail
;
12945 arg3
= wxString_in_helper(obj2
);
12946 if (arg3
== NULL
) SWIG_fail
;
12952 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12958 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12962 arg6
= (long) SWIG_AsLong(obj5
);
12963 if (PyErr_Occurred()) SWIG_fail
;
12966 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
12967 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12969 if (arg7
== NULL
) {
12970 PyErr_SetString(PyExc_TypeError
,"null reference");
12976 arg8
= wxString_in_helper(obj7
);
12977 if (arg8
== NULL
) SWIG_fail
;
12982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12983 result
= (wxToggleButton
*)new wxToggleButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
12985 wxPyEndAllowThreads(__tstate
);
12986 if (PyErr_Occurred()) SWIG_fail
;
12988 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToggleButton
, 1);
13011 static PyObject
*_wrap_new_PreToggleButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13012 PyObject
*resultobj
;
13013 wxToggleButton
*result
;
13014 char *kwnames
[] = {
13018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToggleButton",kwnames
)) goto fail
;
13020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13021 result
= (wxToggleButton
*)new wxToggleButton();
13023 wxPyEndAllowThreads(__tstate
);
13024 if (PyErr_Occurred()) SWIG_fail
;
13026 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToggleButton
, 1);
13033 static PyObject
* ToggleButton_swigregister(PyObject
*, PyObject
*args
) {
13035 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13036 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton
, obj
);
13038 return Py_BuildValue((char *)"");
13040 static int _wrap_NOTEBOOK_NAME_set(PyObject
*) {
13041 PyErr_SetString(PyExc_TypeError
,"Variable NOTEBOOK_NAME is read-only.");
13046 static PyObject
*_wrap_NOTEBOOK_NAME_get() {
13051 pyobj
= PyUnicode_FromWideChar((&wxPyNOTEBOOK_NAME
)->c_str(), (&wxPyNOTEBOOK_NAME
)->Len());
13053 pyobj
= PyString_FromStringAndSize((&wxPyNOTEBOOK_NAME
)->c_str(), (&wxPyNOTEBOOK_NAME
)->Len());
13060 static PyObject
*_wrap_BookCtrl_GetPageCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13061 PyObject
*resultobj
;
13062 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13064 PyObject
* obj0
= 0 ;
13065 char *kwnames
[] = {
13066 (char *) "self", NULL
13069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetPageCount",kwnames
,&obj0
)) goto fail
;
13070 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13074 result
= (size_t)((wxBookCtrl
const *)arg1
)->GetPageCount();
13076 wxPyEndAllowThreads(__tstate
);
13077 if (PyErr_Occurred()) SWIG_fail
;
13079 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
13086 static PyObject
*_wrap_BookCtrl_GetPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13087 PyObject
*resultobj
;
13088 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13091 PyObject
* obj0
= 0 ;
13092 PyObject
* obj1
= 0 ;
13093 char *kwnames
[] = {
13094 (char *) "self",(char *) "n", NULL
13097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPage",kwnames
,&obj0
,&obj1
)) goto fail
;
13098 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13100 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13101 if (PyErr_Occurred()) SWIG_fail
;
13103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13104 result
= (wxWindow
*)(arg1
)->GetPage(arg2
);
13106 wxPyEndAllowThreads(__tstate
);
13107 if (PyErr_Occurred()) SWIG_fail
;
13110 resultobj
= wxPyMake_wxObject(result
);
13118 static PyObject
*_wrap_BookCtrl_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13119 PyObject
*resultobj
;
13120 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13122 PyObject
* obj0
= 0 ;
13123 char *kwnames
[] = {
13124 (char *) "self", NULL
13127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
13128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13132 result
= (int)((wxBookCtrl
const *)arg1
)->GetSelection();
13134 wxPyEndAllowThreads(__tstate
);
13135 if (PyErr_Occurred()) SWIG_fail
;
13137 resultobj
= SWIG_FromInt((int)result
);
13144 static PyObject
*_wrap_BookCtrl_SetPageText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13145 PyObject
*resultobj
;
13146 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13148 wxString
*arg3
= 0 ;
13150 bool temp3
= False
;
13151 PyObject
* obj0
= 0 ;
13152 PyObject
* obj1
= 0 ;
13153 PyObject
* obj2
= 0 ;
13154 char *kwnames
[] = {
13155 (char *) "self",(char *) "n",(char *) "strText", NULL
13158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrl_SetPageText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13159 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13160 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13161 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13162 if (PyErr_Occurred()) SWIG_fail
;
13164 arg3
= wxString_in_helper(obj2
);
13165 if (arg3
== NULL
) SWIG_fail
;
13169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13170 result
= (bool)(arg1
)->SetPageText(arg2
,(wxString
const &)*arg3
);
13172 wxPyEndAllowThreads(__tstate
);
13173 if (PyErr_Occurred()) SWIG_fail
;
13176 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13192 static PyObject
*_wrap_BookCtrl_GetPageText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13193 PyObject
*resultobj
;
13194 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13197 PyObject
* obj0
= 0 ;
13198 PyObject
* obj1
= 0 ;
13199 char *kwnames
[] = {
13200 (char *) "self",(char *) "n", NULL
13203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPageText",kwnames
,&obj0
,&obj1
)) goto fail
;
13204 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13206 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13207 if (PyErr_Occurred()) SWIG_fail
;
13209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13210 result
= ((wxBookCtrl
const *)arg1
)->GetPageText(arg2
);
13212 wxPyEndAllowThreads(__tstate
);
13213 if (PyErr_Occurred()) SWIG_fail
;
13217 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13219 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13228 static PyObject
*_wrap_BookCtrl_SetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13229 PyObject
*resultobj
;
13230 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13231 wxImageList
*arg2
= (wxImageList
*) 0 ;
13232 PyObject
* obj0
= 0 ;
13233 PyObject
* obj1
= 0 ;
13234 char *kwnames
[] = {
13235 (char *) "self",(char *) "imageList", NULL
13238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
13239 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13241 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
13242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13245 (arg1
)->SetImageList(arg2
);
13247 wxPyEndAllowThreads(__tstate
);
13248 if (PyErr_Occurred()) SWIG_fail
;
13250 Py_INCREF(Py_None
); resultobj
= Py_None
;
13257 static PyObject
*_wrap_BookCtrl_AssignImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13258 PyObject
*resultobj
;
13259 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13260 wxImageList
*arg2
= (wxImageList
*) 0 ;
13261 PyObject
* obj0
= 0 ;
13262 PyObject
* obj1
= 0 ;
13263 char *kwnames
[] = {
13264 (char *) "self",(char *) "imageList", NULL
13267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
13268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13270 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
13271 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
13273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13274 (arg1
)->AssignImageList(arg2
);
13276 wxPyEndAllowThreads(__tstate
);
13277 if (PyErr_Occurred()) SWIG_fail
;
13279 Py_INCREF(Py_None
); resultobj
= Py_None
;
13286 static PyObject
*_wrap_BookCtrl_GetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13287 PyObject
*resultobj
;
13288 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13289 wxImageList
*result
;
13290 PyObject
* obj0
= 0 ;
13291 char *kwnames
[] = {
13292 (char *) "self", NULL
13295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
13296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13300 result
= (wxImageList
*)((wxBookCtrl
const *)arg1
)->GetImageList();
13302 wxPyEndAllowThreads(__tstate
);
13303 if (PyErr_Occurred()) SWIG_fail
;
13306 resultobj
= wxPyMake_wxObject(result
);
13314 static PyObject
*_wrap_BookCtrl_GetPageImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13315 PyObject
*resultobj
;
13316 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13319 PyObject
* obj0
= 0 ;
13320 PyObject
* obj1
= 0 ;
13321 char *kwnames
[] = {
13322 (char *) "self",(char *) "n", NULL
13325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPageImage",kwnames
,&obj0
,&obj1
)) goto fail
;
13326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13328 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13329 if (PyErr_Occurred()) SWIG_fail
;
13331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13332 result
= (int)((wxBookCtrl
const *)arg1
)->GetPageImage(arg2
);
13334 wxPyEndAllowThreads(__tstate
);
13335 if (PyErr_Occurred()) SWIG_fail
;
13337 resultobj
= SWIG_FromInt((int)result
);
13344 static PyObject
*_wrap_BookCtrl_SetPageImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13345 PyObject
*resultobj
;
13346 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13350 PyObject
* obj0
= 0 ;
13351 PyObject
* obj1
= 0 ;
13352 PyObject
* obj2
= 0 ;
13353 char *kwnames
[] = {
13354 (char *) "self",(char *) "n",(char *) "imageId", NULL
13357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrl_SetPageImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13360 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13361 if (PyErr_Occurred()) SWIG_fail
;
13362 arg3
= (int) SWIG_AsInt(obj2
);
13363 if (PyErr_Occurred()) SWIG_fail
;
13365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13366 result
= (bool)(arg1
)->SetPageImage(arg2
,arg3
);
13368 wxPyEndAllowThreads(__tstate
);
13369 if (PyErr_Occurred()) SWIG_fail
;
13372 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13380 static PyObject
*_wrap_BookCtrl_SetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13381 PyObject
*resultobj
;
13382 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13385 PyObject
* obj0
= 0 ;
13386 PyObject
* obj1
= 0 ;
13387 char *kwnames
[] = {
13388 (char *) "self",(char *) "size", NULL
13391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
13392 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13396 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
13399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13400 (arg1
)->SetPageSize((wxSize
const &)*arg2
);
13402 wxPyEndAllowThreads(__tstate
);
13403 if (PyErr_Occurred()) SWIG_fail
;
13405 Py_INCREF(Py_None
); resultobj
= Py_None
;
13412 static PyObject
*_wrap_BookCtrl_CalcSizeFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13413 PyObject
*resultobj
;
13414 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13418 PyObject
* obj0
= 0 ;
13419 PyObject
* obj1
= 0 ;
13420 char *kwnames
[] = {
13421 (char *) "self",(char *) "sizePage", NULL
13424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
13425 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13429 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
13432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13433 result
= ((wxBookCtrl
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
13435 wxPyEndAllowThreads(__tstate
);
13436 if (PyErr_Occurred()) SWIG_fail
;
13439 wxSize
* resultptr
;
13440 resultptr
= new wxSize((wxSize
&) result
);
13441 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
13449 static PyObject
*_wrap_BookCtrl_DeletePage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13450 PyObject
*resultobj
;
13451 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13454 PyObject
* obj0
= 0 ;
13455 PyObject
* obj1
= 0 ;
13456 char *kwnames
[] = {
13457 (char *) "self",(char *) "n", NULL
13460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_DeletePage",kwnames
,&obj0
,&obj1
)) goto fail
;
13461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13463 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13464 if (PyErr_Occurred()) SWIG_fail
;
13466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13467 result
= (bool)(arg1
)->DeletePage(arg2
);
13469 wxPyEndAllowThreads(__tstate
);
13470 if (PyErr_Occurred()) SWIG_fail
;
13473 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13481 static PyObject
*_wrap_BookCtrl_RemovePage(PyObject
*, 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_RemovePage",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
= (bool)(arg1
)->RemovePage(arg2
);
13501 wxPyEndAllowThreads(__tstate
);
13502 if (PyErr_Occurred()) SWIG_fail
;
13505 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13513 static PyObject
*_wrap_BookCtrl_DeleteAllPages(PyObject
*, 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_DeleteAllPages",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
= (bool)(arg1
)->DeleteAllPages();
13529 wxPyEndAllowThreads(__tstate
);
13530 if (PyErr_Occurred()) SWIG_fail
;
13533 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13541 static PyObject
*_wrap_BookCtrl_AddPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13542 PyObject
*resultobj
;
13543 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13544 wxWindow
*arg2
= (wxWindow
*) 0 ;
13545 wxString
*arg3
= 0 ;
13546 bool arg4
= (bool) False
;
13547 int arg5
= (int) -1 ;
13549 bool temp3
= False
;
13550 PyObject
* obj0
= 0 ;
13551 PyObject
* obj1
= 0 ;
13552 PyObject
* obj2
= 0 ;
13553 PyObject
* obj3
= 0 ;
13554 PyObject
* obj4
= 0 ;
13555 char *kwnames
[] = {
13556 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
13559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:BookCtrl_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13560 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13562 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
13563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13565 arg3
= wxString_in_helper(obj2
);
13566 if (arg3
== NULL
) SWIG_fail
;
13570 arg4
= (bool) SWIG_AsBool(obj3
);
13571 if (PyErr_Occurred()) SWIG_fail
;
13574 arg5
= (int) SWIG_AsInt(obj4
);
13575 if (PyErr_Occurred()) SWIG_fail
;
13578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13579 result
= (bool)(arg1
)->AddPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
13581 wxPyEndAllowThreads(__tstate
);
13582 if (PyErr_Occurred()) SWIG_fail
;
13585 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13601 static PyObject
*_wrap_BookCtrl_InsertPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13602 PyObject
*resultobj
;
13603 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13605 wxWindow
*arg3
= (wxWindow
*) 0 ;
13606 wxString
*arg4
= 0 ;
13607 bool arg5
= (bool) False
;
13608 int arg6
= (int) -1 ;
13610 bool temp4
= False
;
13611 PyObject
* obj0
= 0 ;
13612 PyObject
* obj1
= 0 ;
13613 PyObject
* obj2
= 0 ;
13614 PyObject
* obj3
= 0 ;
13615 PyObject
* obj4
= 0 ;
13616 PyObject
* obj5
= 0 ;
13617 char *kwnames
[] = {
13618 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
13621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:BookCtrl_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
13622 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13624 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13625 if (PyErr_Occurred()) SWIG_fail
;
13626 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
13627 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13629 arg4
= wxString_in_helper(obj3
);
13630 if (arg4
== NULL
) SWIG_fail
;
13634 arg5
= (bool) SWIG_AsBool(obj4
);
13635 if (PyErr_Occurred()) SWIG_fail
;
13638 arg6
= (int) SWIG_AsInt(obj5
);
13639 if (PyErr_Occurred()) SWIG_fail
;
13642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13643 result
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
13645 wxPyEndAllowThreads(__tstate
);
13646 if (PyErr_Occurred()) SWIG_fail
;
13649 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13665 static PyObject
*_wrap_BookCtrl_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13666 PyObject
*resultobj
;
13667 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13670 PyObject
* obj0
= 0 ;
13671 PyObject
* obj1
= 0 ;
13672 char *kwnames
[] = {
13673 (char *) "self",(char *) "n", NULL
13676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
13677 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13679 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13680 if (PyErr_Occurred()) SWIG_fail
;
13682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13683 result
= (int)(arg1
)->SetSelection(arg2
);
13685 wxPyEndAllowThreads(__tstate
);
13686 if (PyErr_Occurred()) SWIG_fail
;
13688 resultobj
= SWIG_FromInt((int)result
);
13695 static PyObject
*_wrap_BookCtrl_AdvanceSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13696 PyObject
*resultobj
;
13697 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13698 bool arg2
= (bool) True
;
13699 PyObject
* obj0
= 0 ;
13700 PyObject
* obj1
= 0 ;
13701 char *kwnames
[] = {
13702 (char *) "self",(char *) "forward", NULL
13705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:BookCtrl_AdvanceSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
13706 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13707 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13709 arg2
= (bool) SWIG_AsBool(obj1
);
13710 if (PyErr_Occurred()) SWIG_fail
;
13713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13714 (arg1
)->AdvanceSelection(arg2
);
13716 wxPyEndAllowThreads(__tstate
);
13717 if (PyErr_Occurred()) SWIG_fail
;
13719 Py_INCREF(Py_None
); resultobj
= Py_None
;
13726 static PyObject
* BookCtrl_swigregister(PyObject
*, PyObject
*args
) {
13728 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13729 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrl
, obj
);
13731 return Py_BuildValue((char *)"");
13733 static PyObject
*_wrap_new_BookCtrlEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13734 PyObject
*resultobj
;
13735 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13736 int arg2
= (int) 0 ;
13737 int arg3
= (int) -1 ;
13738 int arg4
= (int) -1 ;
13739 wxBookCtrlEvent
*result
;
13740 PyObject
* obj0
= 0 ;
13741 PyObject
* obj1
= 0 ;
13742 PyObject
* obj2
= 0 ;
13743 PyObject
* obj3
= 0 ;
13744 char *kwnames
[] = {
13745 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
13748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_BookCtrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13750 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
13751 if (PyErr_Occurred()) SWIG_fail
;
13754 arg2
= (int) SWIG_AsInt(obj1
);
13755 if (PyErr_Occurred()) SWIG_fail
;
13758 arg3
= (int) SWIG_AsInt(obj2
);
13759 if (PyErr_Occurred()) SWIG_fail
;
13762 arg4
= (int) SWIG_AsInt(obj3
);
13763 if (PyErr_Occurred()) SWIG_fail
;
13766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13767 result
= (wxBookCtrlEvent
*)new wxBookCtrlEvent(arg1
,arg2
,arg3
,arg4
);
13769 wxPyEndAllowThreads(__tstate
);
13770 if (PyErr_Occurred()) SWIG_fail
;
13772 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlEvent
, 1);
13779 static PyObject
*_wrap_BookCtrlEvent_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13780 PyObject
*resultobj
;
13781 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
13783 PyObject
* obj0
= 0 ;
13784 char *kwnames
[] = {
13785 (char *) "self", NULL
13788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
13789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
13790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13793 result
= (int)((wxBookCtrlEvent
const *)arg1
)->GetSelection();
13795 wxPyEndAllowThreads(__tstate
);
13796 if (PyErr_Occurred()) SWIG_fail
;
13798 resultobj
= SWIG_FromInt((int)result
);
13805 static PyObject
*_wrap_BookCtrlEvent_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13806 PyObject
*resultobj
;
13807 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
13809 PyObject
* obj0
= 0 ;
13810 PyObject
* obj1
= 0 ;
13811 char *kwnames
[] = {
13812 (char *) "self",(char *) "nSel", NULL
13815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlEvent_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
13816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
13817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13818 arg2
= (int) SWIG_AsInt(obj1
);
13819 if (PyErr_Occurred()) SWIG_fail
;
13821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13822 (arg1
)->SetSelection(arg2
);
13824 wxPyEndAllowThreads(__tstate
);
13825 if (PyErr_Occurred()) SWIG_fail
;
13827 Py_INCREF(Py_None
); resultobj
= Py_None
;
13834 static PyObject
*_wrap_BookCtrlEvent_GetOldSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13835 PyObject
*resultobj
;
13836 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
13838 PyObject
* obj0
= 0 ;
13839 char *kwnames
[] = {
13840 (char *) "self", NULL
13843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlEvent_GetOldSelection",kwnames
,&obj0
)) goto fail
;
13844 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
13845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13848 result
= (int)((wxBookCtrlEvent
const *)arg1
)->GetOldSelection();
13850 wxPyEndAllowThreads(__tstate
);
13851 if (PyErr_Occurred()) SWIG_fail
;
13853 resultobj
= SWIG_FromInt((int)result
);
13860 static PyObject
*_wrap_BookCtrlEvent_SetOldSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13861 PyObject
*resultobj
;
13862 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
13864 PyObject
* obj0
= 0 ;
13865 PyObject
* obj1
= 0 ;
13866 char *kwnames
[] = {
13867 (char *) "self",(char *) "nOldSel", NULL
13870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlEvent_SetOldSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
13871 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
13872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13873 arg2
= (int) SWIG_AsInt(obj1
);
13874 if (PyErr_Occurred()) SWIG_fail
;
13876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13877 (arg1
)->SetOldSelection(arg2
);
13879 wxPyEndAllowThreads(__tstate
);
13880 if (PyErr_Occurred()) SWIG_fail
;
13882 Py_INCREF(Py_None
); resultobj
= Py_None
;
13889 static PyObject
* BookCtrlEvent_swigregister(PyObject
*, PyObject
*args
) {
13891 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13892 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlEvent
, obj
);
13894 return Py_BuildValue((char *)"");
13896 static PyObject
*_wrap_new_Notebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13897 PyObject
*resultobj
;
13898 wxWindow
*arg1
= (wxWindow
*) 0 ;
13899 int arg2
= (int) -1 ;
13900 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
13901 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
13902 wxSize
const &arg4_defvalue
= wxDefaultSize
;
13903 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
13904 long arg5
= (long) 0 ;
13905 wxString
const &arg6_defvalue
= wxPyNOTEBOOK_NAME
;
13906 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
13907 wxNotebook
*result
;
13910 bool temp6
= False
;
13911 PyObject
* obj0
= 0 ;
13912 PyObject
* obj1
= 0 ;
13913 PyObject
* obj2
= 0 ;
13914 PyObject
* obj3
= 0 ;
13915 PyObject
* obj4
= 0 ;
13916 PyObject
* obj5
= 0 ;
13917 char *kwnames
[] = {
13918 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Notebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
13922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
13923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13925 arg2
= (int) SWIG_AsInt(obj1
);
13926 if (PyErr_Occurred()) SWIG_fail
;
13931 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
13937 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
13941 arg5
= (long) SWIG_AsLong(obj4
);
13942 if (PyErr_Occurred()) SWIG_fail
;
13946 arg6
= wxString_in_helper(obj5
);
13947 if (arg6
== NULL
) SWIG_fail
;
13952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13953 result
= (wxNotebook
*)new wxNotebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
13955 wxPyEndAllowThreads(__tstate
);
13956 if (PyErr_Occurred()) SWIG_fail
;
13959 resultobj
= wxPyMake_wxObject(result
);
13975 static PyObject
*_wrap_new_PreNotebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13976 PyObject
*resultobj
;
13977 wxNotebook
*result
;
13978 char *kwnames
[] = {
13982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreNotebook",kwnames
)) goto fail
;
13984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13985 result
= (wxNotebook
*)new wxNotebook();
13987 wxPyEndAllowThreads(__tstate
);
13988 if (PyErr_Occurred()) SWIG_fail
;
13991 resultobj
= wxPyMake_wxObject(result
);
13999 static PyObject
*_wrap_Notebook_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14000 PyObject
*resultobj
;
14001 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14002 wxWindow
*arg2
= (wxWindow
*) 0 ;
14004 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14005 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14006 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14007 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14008 long arg6
= (long) 0 ;
14009 wxString
const &arg7_defvalue
= wxPyNOTEBOOK_NAME
;
14010 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14014 bool temp7
= False
;
14015 PyObject
* obj0
= 0 ;
14016 PyObject
* obj1
= 0 ;
14017 PyObject
* obj2
= 0 ;
14018 PyObject
* obj3
= 0 ;
14019 PyObject
* obj4
= 0 ;
14020 PyObject
* obj5
= 0 ;
14021 PyObject
* obj6
= 0 ;
14022 char *kwnames
[] = {
14023 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Notebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
14028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14029 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
14030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14031 arg3
= (int) SWIG_AsInt(obj2
);
14032 if (PyErr_Occurred()) SWIG_fail
;
14036 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14042 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14046 arg6
= (long) SWIG_AsLong(obj5
);
14047 if (PyErr_Occurred()) SWIG_fail
;
14051 arg7
= wxString_in_helper(obj6
);
14052 if (arg7
== NULL
) SWIG_fail
;
14057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14058 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14060 wxPyEndAllowThreads(__tstate
);
14061 if (PyErr_Occurred()) SWIG_fail
;
14064 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14080 static PyObject
*_wrap_Notebook_GetRowCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14081 PyObject
*resultobj
;
14082 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14084 PyObject
* obj0
= 0 ;
14085 char *kwnames
[] = {
14086 (char *) "self", NULL
14089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Notebook_GetRowCount",kwnames
,&obj0
)) goto fail
;
14090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
14091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14094 result
= (int)((wxNotebook
const *)arg1
)->GetRowCount();
14096 wxPyEndAllowThreads(__tstate
);
14097 if (PyErr_Occurred()) SWIG_fail
;
14099 resultobj
= SWIG_FromInt((int)result
);
14106 static PyObject
*_wrap_Notebook_SetPadding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14107 PyObject
*resultobj
;
14108 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14111 PyObject
* obj0
= 0 ;
14112 PyObject
* obj1
= 0 ;
14113 char *kwnames
[] = {
14114 (char *) "self",(char *) "padding", NULL
14117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetPadding",kwnames
,&obj0
,&obj1
)) goto fail
;
14118 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
14119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14122 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14126 (arg1
)->SetPadding((wxSize
const &)*arg2
);
14128 wxPyEndAllowThreads(__tstate
);
14129 if (PyErr_Occurred()) SWIG_fail
;
14131 Py_INCREF(Py_None
); resultobj
= Py_None
;
14138 static PyObject
*_wrap_Notebook_SetTabSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14139 PyObject
*resultobj
;
14140 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14143 PyObject
* obj0
= 0 ;
14144 PyObject
* obj1
= 0 ;
14145 char *kwnames
[] = {
14146 (char *) "self",(char *) "sz", NULL
14149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetTabSize",kwnames
,&obj0
,&obj1
)) goto fail
;
14150 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
14151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14154 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14158 (arg1
)->SetTabSize((wxSize
const &)*arg2
);
14160 wxPyEndAllowThreads(__tstate
);
14161 if (PyErr_Occurred()) SWIG_fail
;
14163 Py_INCREF(Py_None
); resultobj
= Py_None
;
14170 static PyObject
*_wrap_Notebook_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14171 PyObject
*resultobj
;
14172 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14173 wxPoint
*arg2
= 0 ;
14174 long *arg3
= (long *) 0 ;
14178 PyObject
* obj0
= 0 ;
14179 PyObject
* obj1
= 0 ;
14180 char *kwnames
[] = {
14181 (char *) "self",(char *) "pt", NULL
14185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
14186 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
14187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14190 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14194 result
= (int)((wxNotebook
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
14196 wxPyEndAllowThreads(__tstate
);
14197 if (PyErr_Occurred()) SWIG_fail
;
14199 resultobj
= SWIG_FromInt((int)result
);
14201 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14202 resultobj
= t_output_helper(resultobj
,o
);
14210 static PyObject
*_wrap_Notebook_CalcSizeFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14211 PyObject
*resultobj
;
14212 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14216 PyObject
* obj0
= 0 ;
14217 PyObject
* obj1
= 0 ;
14218 char *kwnames
[] = {
14219 (char *) "self",(char *) "sizePage", NULL
14222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
14223 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
14224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14227 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14231 result
= ((wxNotebook
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
14233 wxPyEndAllowThreads(__tstate
);
14234 if (PyErr_Occurred()) SWIG_fail
;
14237 wxSize
* resultptr
;
14238 resultptr
= new wxSize((wxSize
&) result
);
14239 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
14247 static PyObject
* Notebook_swigregister(PyObject
*, PyObject
*args
) {
14249 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14250 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook
, obj
);
14252 return Py_BuildValue((char *)"");
14254 static PyObject
*_wrap_new_NotebookEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14255 PyObject
*resultobj
;
14256 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
14257 int arg2
= (int) 0 ;
14258 int arg3
= (int) -1 ;
14259 int arg4
= (int) -1 ;
14260 wxNotebookEvent
*result
;
14261 PyObject
* obj0
= 0 ;
14262 PyObject
* obj1
= 0 ;
14263 PyObject
* obj2
= 0 ;
14264 PyObject
* obj3
= 0 ;
14265 char *kwnames
[] = {
14266 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
14269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_NotebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14271 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
14272 if (PyErr_Occurred()) SWIG_fail
;
14275 arg2
= (int) SWIG_AsInt(obj1
);
14276 if (PyErr_Occurred()) SWIG_fail
;
14279 arg3
= (int) SWIG_AsInt(obj2
);
14280 if (PyErr_Occurred()) SWIG_fail
;
14283 arg4
= (int) SWIG_AsInt(obj3
);
14284 if (PyErr_Occurred()) SWIG_fail
;
14287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14288 result
= (wxNotebookEvent
*)new wxNotebookEvent(arg1
,arg2
,arg3
,arg4
);
14290 wxPyEndAllowThreads(__tstate
);
14291 if (PyErr_Occurred()) SWIG_fail
;
14293 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebookEvent
, 1);
14300 static PyObject
* NotebookEvent_swigregister(PyObject
*, PyObject
*args
) {
14302 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14303 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent
, obj
);
14305 return Py_BuildValue((char *)"");
14307 static PyObject
*_wrap_new_Listbook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14308 PyObject
*resultobj
;
14309 wxWindow
*arg1
= (wxWindow
*) 0 ;
14310 int arg2
= (int) -1 ;
14311 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14312 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14313 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14314 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14315 long arg5
= (long) 0 ;
14316 wxString
const &arg6_defvalue
= wxPyEmptyString
;
14317 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14318 wxListbook
*result
;
14321 bool temp6
= False
;
14322 PyObject
* obj0
= 0 ;
14323 PyObject
* obj1
= 0 ;
14324 PyObject
* obj2
= 0 ;
14325 PyObject
* obj3
= 0 ;
14326 PyObject
* obj4
= 0 ;
14327 PyObject
* obj5
= 0 ;
14328 char *kwnames
[] = {
14329 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Listbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14333 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
14334 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14336 arg2
= (int) SWIG_AsInt(obj1
);
14337 if (PyErr_Occurred()) SWIG_fail
;
14342 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14348 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14352 arg5
= (long) SWIG_AsLong(obj4
);
14353 if (PyErr_Occurred()) SWIG_fail
;
14357 arg6
= wxString_in_helper(obj5
);
14358 if (arg6
== NULL
) SWIG_fail
;
14363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14364 result
= (wxListbook
*)new wxListbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14366 wxPyEndAllowThreads(__tstate
);
14367 if (PyErr_Occurred()) SWIG_fail
;
14369 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1);
14384 static PyObject
*_wrap_new_PreListbook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14385 PyObject
*resultobj
;
14386 wxListbook
*result
;
14387 char *kwnames
[] = {
14391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListbook",kwnames
)) goto fail
;
14393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14394 result
= (wxListbook
*)new wxListbook();
14396 wxPyEndAllowThreads(__tstate
);
14397 if (PyErr_Occurred()) SWIG_fail
;
14399 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1);
14406 static PyObject
*_wrap_Listbook_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14407 PyObject
*resultobj
;
14408 wxListbook
*arg1
= (wxListbook
*) 0 ;
14409 wxWindow
*arg2
= (wxWindow
*) 0 ;
14411 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14412 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14413 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14414 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14415 long arg6
= (long) 0 ;
14416 wxString
const &arg7_defvalue
= wxPyEmptyString
;
14417 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14421 bool temp7
= False
;
14422 PyObject
* obj0
= 0 ;
14423 PyObject
* obj1
= 0 ;
14424 PyObject
* obj2
= 0 ;
14425 PyObject
* obj3
= 0 ;
14426 PyObject
* obj4
= 0 ;
14427 PyObject
* obj5
= 0 ;
14428 PyObject
* obj6
= 0 ;
14429 char *kwnames
[] = {
14430 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Listbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14434 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListbook
,
14435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14436 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
14437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14438 arg3
= (int) SWIG_AsInt(obj2
);
14439 if (PyErr_Occurred()) SWIG_fail
;
14443 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14449 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14453 arg6
= (long) SWIG_AsLong(obj5
);
14454 if (PyErr_Occurred()) SWIG_fail
;
14458 arg7
= wxString_in_helper(obj6
);
14459 if (arg7
== NULL
) SWIG_fail
;
14464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14465 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14467 wxPyEndAllowThreads(__tstate
);
14468 if (PyErr_Occurred()) SWIG_fail
;
14471 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14487 static PyObject
*_wrap_Listbook_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14488 PyObject
*resultobj
;
14489 wxListbook
*arg1
= (wxListbook
*) 0 ;
14491 PyObject
* obj0
= 0 ;
14492 char *kwnames
[] = {
14493 (char *) "self", NULL
14496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Listbook_IsVertical",kwnames
,&obj0
)) goto fail
;
14497 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListbook
,
14498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14501 result
= (bool)((wxListbook
const *)arg1
)->IsVertical();
14503 wxPyEndAllowThreads(__tstate
);
14504 if (PyErr_Occurred()) SWIG_fail
;
14507 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14515 static PyObject
* Listbook_swigregister(PyObject
*, PyObject
*args
) {
14517 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14518 SWIG_TypeClientData(SWIGTYPE_p_wxListbook
, obj
);
14520 return Py_BuildValue((char *)"");
14522 static PyObject
*_wrap_new_ListbookEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14523 PyObject
*resultobj
;
14524 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
14525 int arg2
= (int) 0 ;
14526 int arg3
= (int) -1 ;
14527 int arg4
= (int) -1 ;
14528 wxListbookEvent
*result
;
14529 PyObject
* obj0
= 0 ;
14530 PyObject
* obj1
= 0 ;
14531 PyObject
* obj2
= 0 ;
14532 PyObject
* obj3
= 0 ;
14533 char *kwnames
[] = {
14534 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
14537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ListbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14539 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
14540 if (PyErr_Occurred()) SWIG_fail
;
14543 arg2
= (int) SWIG_AsInt(obj1
);
14544 if (PyErr_Occurred()) SWIG_fail
;
14547 arg3
= (int) SWIG_AsInt(obj2
);
14548 if (PyErr_Occurred()) SWIG_fail
;
14551 arg4
= (int) SWIG_AsInt(obj3
);
14552 if (PyErr_Occurred()) SWIG_fail
;
14555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14556 result
= (wxListbookEvent
*)new wxListbookEvent(arg1
,arg2
,arg3
,arg4
);
14558 wxPyEndAllowThreads(__tstate
);
14559 if (PyErr_Occurred()) SWIG_fail
;
14561 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbookEvent
, 1);
14568 static PyObject
* ListbookEvent_swigregister(PyObject
*, PyObject
*args
) {
14570 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14571 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent
, obj
);
14573 return Py_BuildValue((char *)"");
14575 static PyObject
*_wrap_new_BookCtrlSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14576 PyObject
*resultobj
;
14577 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14578 wxBookCtrlSizer
*result
;
14579 PyObject
* obj0
= 0 ;
14580 char *kwnames
[] = {
14581 (char *) "nb", NULL
14584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BookCtrlSizer",kwnames
,&obj0
)) goto fail
;
14585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14589 result
= (wxBookCtrlSizer
*)new wxBookCtrlSizer(arg1
);
14591 wxPyEndAllowThreads(__tstate
);
14592 if (PyErr_Occurred()) SWIG_fail
;
14594 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlSizer
, 1);
14601 static PyObject
*_wrap_BookCtrlSizer_RecalcSizes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14602 PyObject
*resultobj
;
14603 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
14604 PyObject
* obj0
= 0 ;
14605 char *kwnames
[] = {
14606 (char *) "self", NULL
14609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
14610 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlSizer
,
14611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14614 (arg1
)->RecalcSizes();
14616 wxPyEndAllowThreads(__tstate
);
14617 if (PyErr_Occurred()) SWIG_fail
;
14619 Py_INCREF(Py_None
); resultobj
= Py_None
;
14626 static PyObject
*_wrap_BookCtrlSizer_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14627 PyObject
*resultobj
;
14628 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
14630 PyObject
* obj0
= 0 ;
14631 char *kwnames
[] = {
14632 (char *) "self", NULL
14635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
14636 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlSizer
,
14637 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14640 result
= (arg1
)->CalcMin();
14642 wxPyEndAllowThreads(__tstate
);
14643 if (PyErr_Occurred()) SWIG_fail
;
14646 wxSize
* resultptr
;
14647 resultptr
= new wxSize((wxSize
&) result
);
14648 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
14656 static PyObject
*_wrap_BookCtrlSizer_GetControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14657 PyObject
*resultobj
;
14658 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
14659 wxBookCtrl
*result
;
14660 PyObject
* obj0
= 0 ;
14661 char *kwnames
[] = {
14662 (char *) "self", NULL
14665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_GetControl",kwnames
,&obj0
)) goto fail
;
14666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlSizer
,
14667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14670 result
= (wxBookCtrl
*)(arg1
)->GetControl();
14672 wxPyEndAllowThreads(__tstate
);
14673 if (PyErr_Occurred()) SWIG_fail
;
14675 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrl
, 0);
14682 static PyObject
* BookCtrlSizer_swigregister(PyObject
*, PyObject
*args
) {
14684 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14685 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer
, obj
);
14687 return Py_BuildValue((char *)"");
14689 static PyObject
*_wrap_new_NotebookSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14690 PyObject
*resultobj
;
14691 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14692 wxNotebookSizer
*result
;
14693 PyObject
* obj0
= 0 ;
14694 char *kwnames
[] = {
14695 (char *) "nb", NULL
14698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NotebookSizer",kwnames
,&obj0
)) goto fail
;
14699 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
14700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14703 result
= (wxNotebookSizer
*)new wxNotebookSizer(arg1
);
14705 wxPyEndAllowThreads(__tstate
);
14706 if (PyErr_Occurred()) SWIG_fail
;
14708 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebookSizer
, 1);
14715 static PyObject
*_wrap_NotebookSizer_RecalcSizes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14716 PyObject
*resultobj
;
14717 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
14718 PyObject
* obj0
= 0 ;
14719 char *kwnames
[] = {
14720 (char *) "self", NULL
14723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
14724 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebookSizer
,
14725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14728 (arg1
)->RecalcSizes();
14730 wxPyEndAllowThreads(__tstate
);
14731 if (PyErr_Occurred()) SWIG_fail
;
14733 Py_INCREF(Py_None
); resultobj
= Py_None
;
14740 static PyObject
*_wrap_NotebookSizer_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14741 PyObject
*resultobj
;
14742 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
14744 PyObject
* obj0
= 0 ;
14745 char *kwnames
[] = {
14746 (char *) "self", NULL
14749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
14750 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebookSizer
,
14751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14754 result
= (arg1
)->CalcMin();
14756 wxPyEndAllowThreads(__tstate
);
14757 if (PyErr_Occurred()) SWIG_fail
;
14760 wxSize
* resultptr
;
14761 resultptr
= new wxSize((wxSize
&) result
);
14762 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
14770 static PyObject
*_wrap_NotebookSizer_GetNotebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14771 PyObject
*resultobj
;
14772 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
14773 wxNotebook
*result
;
14774 PyObject
* obj0
= 0 ;
14775 char *kwnames
[] = {
14776 (char *) "self", NULL
14779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_GetNotebook",kwnames
,&obj0
)) goto fail
;
14780 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebookSizer
,
14781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14784 result
= (wxNotebook
*)(arg1
)->GetNotebook();
14786 wxPyEndAllowThreads(__tstate
);
14787 if (PyErr_Occurred()) SWIG_fail
;
14790 resultobj
= wxPyMake_wxObject(result
);
14798 static PyObject
* NotebookSizer_swigregister(PyObject
*, PyObject
*args
) {
14800 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14801 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer
, obj
);
14803 return Py_BuildValue((char *)"");
14805 static PyObject
*_wrap_ToolBarToolBase_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14806 PyObject
*resultobj
;
14807 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14809 PyObject
* obj0
= 0 ;
14810 char *kwnames
[] = {
14811 (char *) "self", NULL
14814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetId",kwnames
,&obj0
)) goto fail
;
14815 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
14816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14819 result
= (int)(arg1
)->GetId();
14821 wxPyEndAllowThreads(__tstate
);
14822 if (PyErr_Occurred()) SWIG_fail
;
14824 resultobj
= SWIG_FromInt((int)result
);
14831 static PyObject
*_wrap_ToolBarToolBase_GetControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14832 PyObject
*resultobj
;
14833 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14835 PyObject
* obj0
= 0 ;
14836 char *kwnames
[] = {
14837 (char *) "self", NULL
14840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetControl",kwnames
,&obj0
)) goto fail
;
14841 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
14842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14845 result
= (wxControl
*)(arg1
)->GetControl();
14847 wxPyEndAllowThreads(__tstate
);
14848 if (PyErr_Occurred()) SWIG_fail
;
14851 resultobj
= wxPyMake_wxObject(result
);
14859 static PyObject
*_wrap_ToolBarToolBase_GetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14860 PyObject
*resultobj
;
14861 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14862 wxToolBarBase
*result
;
14863 PyObject
* obj0
= 0 ;
14864 char *kwnames
[] = {
14865 (char *) "self", NULL
14868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetToolBar",kwnames
,&obj0
)) goto fail
;
14869 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
14870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14873 result
= (wxToolBarBase
*)(arg1
)->GetToolBar();
14875 wxPyEndAllowThreads(__tstate
);
14876 if (PyErr_Occurred()) SWIG_fail
;
14879 resultobj
= wxPyMake_wxObject(result
);
14887 static PyObject
*_wrap_ToolBarToolBase_IsButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14888 PyObject
*resultobj
;
14889 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14891 PyObject
* obj0
= 0 ;
14892 char *kwnames
[] = {
14893 (char *) "self", NULL
14896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsButton",kwnames
,&obj0
)) goto fail
;
14897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
14898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14901 result
= (int)(arg1
)->IsButton();
14903 wxPyEndAllowThreads(__tstate
);
14904 if (PyErr_Occurred()) SWIG_fail
;
14906 resultobj
= SWIG_FromInt((int)result
);
14913 static PyObject
*_wrap_ToolBarToolBase_IsControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14914 PyObject
*resultobj
;
14915 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14917 PyObject
* obj0
= 0 ;
14918 char *kwnames
[] = {
14919 (char *) "self", NULL
14922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsControl",kwnames
,&obj0
)) goto fail
;
14923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
14924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14927 result
= (int)(arg1
)->IsControl();
14929 wxPyEndAllowThreads(__tstate
);
14930 if (PyErr_Occurred()) SWIG_fail
;
14932 resultobj
= SWIG_FromInt((int)result
);
14939 static PyObject
*_wrap_ToolBarToolBase_IsSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14940 PyObject
*resultobj
;
14941 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14943 PyObject
* obj0
= 0 ;
14944 char *kwnames
[] = {
14945 (char *) "self", NULL
14948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsSeparator",kwnames
,&obj0
)) goto fail
;
14949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
14950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14953 result
= (int)(arg1
)->IsSeparator();
14955 wxPyEndAllowThreads(__tstate
);
14956 if (PyErr_Occurred()) SWIG_fail
;
14958 resultobj
= SWIG_FromInt((int)result
);
14965 static PyObject
*_wrap_ToolBarToolBase_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14966 PyObject
*resultobj
;
14967 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14969 PyObject
* obj0
= 0 ;
14970 char *kwnames
[] = {
14971 (char *) "self", NULL
14974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetStyle",kwnames
,&obj0
)) goto fail
;
14975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
14976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14979 result
= (int)(arg1
)->GetStyle();
14981 wxPyEndAllowThreads(__tstate
);
14982 if (PyErr_Occurred()) SWIG_fail
;
14984 resultobj
= SWIG_FromInt((int)result
);
14991 static PyObject
*_wrap_ToolBarToolBase_GetKind(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14992 PyObject
*resultobj
;
14993 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14995 PyObject
* obj0
= 0 ;
14996 char *kwnames
[] = {
14997 (char *) "self", NULL
15000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetKind",kwnames
,&obj0
)) goto fail
;
15001 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15005 result
= (int)(arg1
)->GetKind();
15007 wxPyEndAllowThreads(__tstate
);
15008 if (PyErr_Occurred()) SWIG_fail
;
15010 resultobj
= SWIG_FromInt((int)result
);
15017 static PyObject
*_wrap_ToolBarToolBase_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15018 PyObject
*resultobj
;
15019 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15021 PyObject
* obj0
= 0 ;
15022 char *kwnames
[] = {
15023 (char *) "self", NULL
15026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsEnabled",kwnames
,&obj0
)) goto fail
;
15027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15031 result
= (bool)(arg1
)->IsEnabled();
15033 wxPyEndAllowThreads(__tstate
);
15034 if (PyErr_Occurred()) SWIG_fail
;
15037 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15045 static PyObject
*_wrap_ToolBarToolBase_IsToggled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15046 PyObject
*resultobj
;
15047 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15049 PyObject
* obj0
= 0 ;
15050 char *kwnames
[] = {
15051 (char *) "self", NULL
15054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsToggled",kwnames
,&obj0
)) goto fail
;
15055 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15056 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15059 result
= (bool)(arg1
)->IsToggled();
15061 wxPyEndAllowThreads(__tstate
);
15062 if (PyErr_Occurred()) SWIG_fail
;
15065 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15073 static PyObject
*_wrap_ToolBarToolBase_CanBeToggled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15074 PyObject
*resultobj
;
15075 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15077 PyObject
* obj0
= 0 ;
15078 char *kwnames
[] = {
15079 (char *) "self", NULL
15082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames
,&obj0
)) goto fail
;
15083 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15087 result
= (bool)(arg1
)->CanBeToggled();
15089 wxPyEndAllowThreads(__tstate
);
15090 if (PyErr_Occurred()) SWIG_fail
;
15093 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15101 static PyObject
*_wrap_ToolBarToolBase_GetNormalBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15102 PyObject
*resultobj
;
15103 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15105 PyObject
* obj0
= 0 ;
15106 char *kwnames
[] = {
15107 (char *) "self", NULL
15110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames
,&obj0
)) goto fail
;
15111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15116 wxBitmap
const &_result_ref
= (arg1
)->GetNormalBitmap();
15117 result
= (wxBitmap
*) &_result_ref
;
15120 wxPyEndAllowThreads(__tstate
);
15121 if (PyErr_Occurred()) SWIG_fail
;
15124 wxBitmap
* resultptr
= new wxBitmap(*result
);
15125 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
15133 static PyObject
*_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15134 PyObject
*resultobj
;
15135 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15137 PyObject
* obj0
= 0 ;
15138 char *kwnames
[] = {
15139 (char *) "self", NULL
15142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
;
15143 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15144 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15148 wxBitmap
const &_result_ref
= (arg1
)->GetDisabledBitmap();
15149 result
= (wxBitmap
*) &_result_ref
;
15152 wxPyEndAllowThreads(__tstate
);
15153 if (PyErr_Occurred()) SWIG_fail
;
15156 wxBitmap
* resultptr
= new wxBitmap(*result
);
15157 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
15165 static PyObject
*_wrap_ToolBarToolBase_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15166 PyObject
*resultobj
;
15167 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15169 PyObject
* obj0
= 0 ;
15170 char *kwnames
[] = {
15171 (char *) "self", NULL
15174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetBitmap",kwnames
,&obj0
)) goto fail
;
15175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15179 result
= (arg1
)->GetBitmap();
15181 wxPyEndAllowThreads(__tstate
);
15182 if (PyErr_Occurred()) SWIG_fail
;
15185 wxBitmap
* resultptr
;
15186 resultptr
= new wxBitmap((wxBitmap
&) result
);
15187 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
15195 static PyObject
*_wrap_ToolBarToolBase_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15196 PyObject
*resultobj
;
15197 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15199 PyObject
* obj0
= 0 ;
15200 char *kwnames
[] = {
15201 (char *) "self", NULL
15204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLabel",kwnames
,&obj0
)) goto fail
;
15205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15209 result
= (arg1
)->GetLabel();
15211 wxPyEndAllowThreads(__tstate
);
15212 if (PyErr_Occurred()) SWIG_fail
;
15216 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15218 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15227 static PyObject
*_wrap_ToolBarToolBase_GetShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15228 PyObject
*resultobj
;
15229 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15231 PyObject
* obj0
= 0 ;
15232 char *kwnames
[] = {
15233 (char *) "self", NULL
15236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames
,&obj0
)) goto fail
;
15237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15241 result
= (arg1
)->GetShortHelp();
15243 wxPyEndAllowThreads(__tstate
);
15244 if (PyErr_Occurred()) SWIG_fail
;
15248 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15250 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15259 static PyObject
*_wrap_ToolBarToolBase_GetLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15260 PyObject
*resultobj
;
15261 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15263 PyObject
* obj0
= 0 ;
15264 char *kwnames
[] = {
15265 (char *) "self", NULL
15268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames
,&obj0
)) goto fail
;
15269 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15273 result
= (arg1
)->GetLongHelp();
15275 wxPyEndAllowThreads(__tstate
);
15276 if (PyErr_Occurred()) SWIG_fail
;
15280 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15282 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15291 static PyObject
*_wrap_ToolBarToolBase_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15292 PyObject
*resultobj
;
15293 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15296 PyObject
* obj0
= 0 ;
15297 PyObject
* obj1
= 0 ;
15298 char *kwnames
[] = {
15299 (char *) "self",(char *) "enable", NULL
15302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
15303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15305 arg2
= (bool) SWIG_AsBool(obj1
);
15306 if (PyErr_Occurred()) SWIG_fail
;
15308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15309 result
= (bool)(arg1
)->Enable(arg2
);
15311 wxPyEndAllowThreads(__tstate
);
15312 if (PyErr_Occurred()) SWIG_fail
;
15315 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15323 static PyObject
*_wrap_ToolBarToolBase_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15324 PyObject
*resultobj
;
15325 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15326 PyObject
* obj0
= 0 ;
15327 char *kwnames
[] = {
15328 (char *) "self", NULL
15331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Toggle",kwnames
,&obj0
)) goto fail
;
15332 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15338 wxPyEndAllowThreads(__tstate
);
15339 if (PyErr_Occurred()) SWIG_fail
;
15341 Py_INCREF(Py_None
); resultobj
= Py_None
;
15348 static PyObject
*_wrap_ToolBarToolBase_SetToggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15349 PyObject
*resultobj
;
15350 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15353 PyObject
* obj0
= 0 ;
15354 PyObject
* obj1
= 0 ;
15355 char *kwnames
[] = {
15356 (char *) "self",(char *) "toggle", NULL
15359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetToggle",kwnames
,&obj0
,&obj1
)) goto fail
;
15360 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15362 arg2
= (bool) SWIG_AsBool(obj1
);
15363 if (PyErr_Occurred()) SWIG_fail
;
15365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15366 result
= (bool)(arg1
)->SetToggle(arg2
);
15368 wxPyEndAllowThreads(__tstate
);
15369 if (PyErr_Occurred()) SWIG_fail
;
15372 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15380 static PyObject
*_wrap_ToolBarToolBase_SetShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15381 PyObject
*resultobj
;
15382 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15383 wxString
*arg2
= 0 ;
15385 bool temp2
= False
;
15386 PyObject
* obj0
= 0 ;
15387 PyObject
* obj1
= 0 ;
15388 char *kwnames
[] = {
15389 (char *) "self",(char *) "help", NULL
15392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
15393 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15396 arg2
= wxString_in_helper(obj1
);
15397 if (arg2
== NULL
) SWIG_fail
;
15401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15402 result
= (bool)(arg1
)->SetShortHelp((wxString
const &)*arg2
);
15404 wxPyEndAllowThreads(__tstate
);
15405 if (PyErr_Occurred()) SWIG_fail
;
15408 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15424 static PyObject
*_wrap_ToolBarToolBase_SetLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15425 PyObject
*resultobj
;
15426 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15427 wxString
*arg2
= 0 ;
15429 bool temp2
= False
;
15430 PyObject
* obj0
= 0 ;
15431 PyObject
* obj1
= 0 ;
15432 char *kwnames
[] = {
15433 (char *) "self",(char *) "help", NULL
15436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
15437 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15440 arg2
= wxString_in_helper(obj1
);
15441 if (arg2
== NULL
) SWIG_fail
;
15445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15446 result
= (bool)(arg1
)->SetLongHelp((wxString
const &)*arg2
);
15448 wxPyEndAllowThreads(__tstate
);
15449 if (PyErr_Occurred()) SWIG_fail
;
15452 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15468 static PyObject
*_wrap_ToolBarToolBase_SetNormalBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15469 PyObject
*resultobj
;
15470 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15471 wxBitmap
*arg2
= 0 ;
15472 PyObject
* obj0
= 0 ;
15473 PyObject
* obj1
= 0 ;
15474 char *kwnames
[] = {
15475 (char *) "self",(char *) "bmp", NULL
15478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
15479 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15480 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15481 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
15482 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15484 if (arg2
== NULL
) {
15485 PyErr_SetString(PyExc_TypeError
,"null reference");
15489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15490 (arg1
)->SetNormalBitmap((wxBitmap
const &)*arg2
);
15492 wxPyEndAllowThreads(__tstate
);
15493 if (PyErr_Occurred()) SWIG_fail
;
15495 Py_INCREF(Py_None
); resultobj
= Py_None
;
15502 static PyObject
*_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15503 PyObject
*resultobj
;
15504 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15505 wxBitmap
*arg2
= 0 ;
15506 PyObject
* obj0
= 0 ;
15507 PyObject
* obj1
= 0 ;
15508 char *kwnames
[] = {
15509 (char *) "self",(char *) "bmp", NULL
15512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
15513 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15514 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15515 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
15516 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15518 if (arg2
== NULL
) {
15519 PyErr_SetString(PyExc_TypeError
,"null reference");
15523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15524 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
15526 wxPyEndAllowThreads(__tstate
);
15527 if (PyErr_Occurred()) SWIG_fail
;
15529 Py_INCREF(Py_None
); resultobj
= Py_None
;
15536 static PyObject
*_wrap_ToolBarToolBase_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15537 PyObject
*resultobj
;
15538 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15539 wxString
*arg2
= 0 ;
15540 bool temp2
= False
;
15541 PyObject
* obj0
= 0 ;
15542 PyObject
* obj1
= 0 ;
15543 char *kwnames
[] = {
15544 (char *) "self",(char *) "label", NULL
15547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
15548 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15549 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15551 arg2
= wxString_in_helper(obj1
);
15552 if (arg2
== NULL
) SWIG_fail
;
15556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15557 (arg1
)->SetLabel((wxString
const &)*arg2
);
15559 wxPyEndAllowThreads(__tstate
);
15560 if (PyErr_Occurred()) SWIG_fail
;
15562 Py_INCREF(Py_None
); resultobj
= Py_None
;
15577 static PyObject
*_wrap_ToolBarToolBase_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15578 PyObject
*resultobj
;
15579 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15580 PyObject
* obj0
= 0 ;
15581 char *kwnames
[] = {
15582 (char *) "self", NULL
15585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Detach",kwnames
,&obj0
)) goto fail
;
15586 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15592 wxPyEndAllowThreads(__tstate
);
15593 if (PyErr_Occurred()) SWIG_fail
;
15595 Py_INCREF(Py_None
); resultobj
= Py_None
;
15602 static PyObject
*_wrap_ToolBarToolBase_Attach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15603 PyObject
*resultobj
;
15604 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15605 wxToolBarBase
*arg2
= (wxToolBarBase
*) 0 ;
15606 PyObject
* obj0
= 0 ;
15607 PyObject
* obj1
= 0 ;
15608 char *kwnames
[] = {
15609 (char *) "self",(char *) "tbar", NULL
15612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
15613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15615 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBarBase
,
15616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15619 (arg1
)->Attach(arg2
);
15621 wxPyEndAllowThreads(__tstate
);
15622 if (PyErr_Occurred()) SWIG_fail
;
15624 Py_INCREF(Py_None
); resultobj
= Py_None
;
15631 static PyObject
*_wrap_ToolBarToolBase_GetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15632 PyObject
*resultobj
;
15633 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15635 PyObject
* obj0
= 0 ;
15636 char *kwnames
[] = {
15637 (char *) "self", NULL
15640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetClientData",kwnames
,&obj0
)) goto fail
;
15641 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15645 result
= (PyObject
*)wxToolBarToolBase_GetClientData(arg1
);
15647 wxPyEndAllowThreads(__tstate
);
15648 if (PyErr_Occurred()) SWIG_fail
;
15650 resultobj
= result
;
15657 static PyObject
*_wrap_ToolBarToolBase_SetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15658 PyObject
*resultobj
;
15659 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15660 PyObject
*arg2
= (PyObject
*) 0 ;
15661 PyObject
* obj0
= 0 ;
15662 PyObject
* obj1
= 0 ;
15663 char *kwnames
[] = {
15664 (char *) "self",(char *) "clientData", NULL
15667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
15668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15673 wxToolBarToolBase_SetClientData(arg1
,arg2
);
15675 wxPyEndAllowThreads(__tstate
);
15676 if (PyErr_Occurred()) SWIG_fail
;
15678 Py_INCREF(Py_None
); resultobj
= Py_None
;
15685 static PyObject
* ToolBarToolBase_swigregister(PyObject
*, PyObject
*args
) {
15687 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15688 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase
, obj
);
15690 return Py_BuildValue((char *)"");
15692 static PyObject
*_wrap_ToolBarBase_DoAddTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15693 PyObject
*resultobj
;
15694 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15696 wxString
*arg3
= 0 ;
15697 wxBitmap
*arg4
= 0 ;
15698 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
15699 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
15700 int arg6
= (int) wxITEM_NORMAL
;
15701 wxString
const &arg7_defvalue
= wxPyEmptyString
;
15702 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15703 wxString
const &arg8_defvalue
= wxPyEmptyString
;
15704 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
15705 PyObject
*arg9
= (PyObject
*) NULL
;
15706 wxToolBarToolBase
*result
;
15707 bool temp3
= False
;
15708 bool temp7
= False
;
15709 bool temp8
= False
;
15710 PyObject
* obj0
= 0 ;
15711 PyObject
* obj1
= 0 ;
15712 PyObject
* obj2
= 0 ;
15713 PyObject
* obj3
= 0 ;
15714 PyObject
* obj4
= 0 ;
15715 PyObject
* obj5
= 0 ;
15716 PyObject
* obj6
= 0 ;
15717 PyObject
* obj7
= 0 ;
15718 PyObject
* obj8
= 0 ;
15719 char *kwnames
[] = {
15720 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
15723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
15724 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
15725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15726 arg2
= (int) SWIG_AsInt(obj1
);
15727 if (PyErr_Occurred()) SWIG_fail
;
15729 arg3
= wxString_in_helper(obj2
);
15730 if (arg3
== NULL
) SWIG_fail
;
15733 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
15734 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15736 if (arg4
== NULL
) {
15737 PyErr_SetString(PyExc_TypeError
,"null reference");
15741 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxBitmap
,
15742 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15744 if (arg5
== NULL
) {
15745 PyErr_SetString(PyExc_TypeError
,"null reference");
15750 arg6
= (wxItemKind
) SWIG_AsInt(obj5
);
15751 if (PyErr_Occurred()) SWIG_fail
;
15755 arg7
= wxString_in_helper(obj6
);
15756 if (arg7
== NULL
) SWIG_fail
;
15762 arg8
= wxString_in_helper(obj7
);
15763 if (arg8
== NULL
) SWIG_fail
;
15771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15772 result
= (wxToolBarToolBase
*)wxToolBarBase_DoAddTool(arg1
,arg2
,(wxString
const &)*arg3
,(wxBitmap
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxItemKind
)arg6
,(wxString
const &)*arg7
,(wxString
const &)*arg8
,arg9
);
15774 wxPyEndAllowThreads(__tstate
);
15775 if (PyErr_Occurred()) SWIG_fail
;
15778 resultobj
= wxPyMake_wxObject(result
);
15810 static PyObject
*_wrap_ToolBarBase_DoInsertTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15811 PyObject
*resultobj
;
15812 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15815 wxString
*arg4
= 0 ;
15816 wxBitmap
*arg5
= 0 ;
15817 wxBitmap
const &arg6_defvalue
= wxNullBitmap
;
15818 wxBitmap
*arg6
= (wxBitmap
*) &arg6_defvalue
;
15819 int arg7
= (int) wxITEM_NORMAL
;
15820 wxString
const &arg8_defvalue
= wxPyEmptyString
;
15821 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
15822 wxString
const &arg9_defvalue
= wxPyEmptyString
;
15823 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
15824 PyObject
*arg10
= (PyObject
*) NULL
;
15825 wxToolBarToolBase
*result
;
15826 bool temp4
= False
;
15827 bool temp8
= False
;
15828 bool temp9
= False
;
15829 PyObject
* obj0
= 0 ;
15830 PyObject
* obj1
= 0 ;
15831 PyObject
* obj2
= 0 ;
15832 PyObject
* obj3
= 0 ;
15833 PyObject
* obj4
= 0 ;
15834 PyObject
* obj5
= 0 ;
15835 PyObject
* obj6
= 0 ;
15836 PyObject
* obj7
= 0 ;
15837 PyObject
* obj8
= 0 ;
15838 PyObject
* obj9
= 0 ;
15839 char *kwnames
[] = {
15840 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
15843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
15844 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
15845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15846 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
15847 if (PyErr_Occurred()) SWIG_fail
;
15848 arg3
= (int) SWIG_AsInt(obj2
);
15849 if (PyErr_Occurred()) SWIG_fail
;
15851 arg4
= wxString_in_helper(obj3
);
15852 if (arg4
== NULL
) SWIG_fail
;
15855 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxBitmap
,
15856 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15858 if (arg5
== NULL
) {
15859 PyErr_SetString(PyExc_TypeError
,"null reference");
15863 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxBitmap
,
15864 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15866 if (arg6
== NULL
) {
15867 PyErr_SetString(PyExc_TypeError
,"null reference");
15872 arg7
= (wxItemKind
) SWIG_AsInt(obj6
);
15873 if (PyErr_Occurred()) SWIG_fail
;
15877 arg8
= wxString_in_helper(obj7
);
15878 if (arg8
== NULL
) SWIG_fail
;
15884 arg9
= wxString_in_helper(obj8
);
15885 if (arg9
== NULL
) SWIG_fail
;
15893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15894 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
);
15896 wxPyEndAllowThreads(__tstate
);
15897 if (PyErr_Occurred()) SWIG_fail
;
15900 resultobj
= wxPyMake_wxObject(result
);
15932 static PyObject
*_wrap_ToolBarBase_AddToolItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15933 PyObject
*resultobj
;
15934 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15935 wxToolBarToolBase
*arg2
= (wxToolBarToolBase
*) 0 ;
15936 wxToolBarToolBase
*result
;
15937 PyObject
* obj0
= 0 ;
15938 PyObject
* obj1
= 0 ;
15939 char *kwnames
[] = {
15940 (char *) "self",(char *) "tool", NULL
15943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddToolItem",kwnames
,&obj0
,&obj1
)) goto fail
;
15944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
15945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15946 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBarToolBase
,
15947 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15950 result
= (wxToolBarToolBase
*)(arg1
)->AddTool(arg2
);
15952 wxPyEndAllowThreads(__tstate
);
15953 if (PyErr_Occurred()) SWIG_fail
;
15956 resultobj
= wxPyMake_wxObject(result
);
15964 static PyObject
*_wrap_ToolBarBase_InsertToolItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15965 PyObject
*resultobj
;
15966 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15968 wxToolBarToolBase
*arg3
= (wxToolBarToolBase
*) 0 ;
15969 wxToolBarToolBase
*result
;
15970 PyObject
* obj0
= 0 ;
15971 PyObject
* obj1
= 0 ;
15972 PyObject
* obj2
= 0 ;
15973 char *kwnames
[] = {
15974 (char *) "self",(char *) "pos",(char *) "tool", NULL
15977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
15979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15980 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
15981 if (PyErr_Occurred()) SWIG_fail
;
15982 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxToolBarToolBase
,
15983 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15986 result
= (wxToolBarToolBase
*)(arg1
)->InsertTool(arg2
,arg3
);
15988 wxPyEndAllowThreads(__tstate
);
15989 if (PyErr_Occurred()) SWIG_fail
;
15992 resultobj
= wxPyMake_wxObject(result
);
16000 static PyObject
*_wrap_ToolBarBase_AddControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16001 PyObject
*resultobj
;
16002 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16003 wxControl
*arg2
= (wxControl
*) 0 ;
16004 wxToolBarToolBase
*result
;
16005 PyObject
* obj0
= 0 ;
16006 PyObject
* obj1
= 0 ;
16007 char *kwnames
[] = {
16008 (char *) "self",(char *) "control", NULL
16011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddControl",kwnames
,&obj0
,&obj1
)) goto fail
;
16012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16014 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxControl
,
16015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16018 result
= (wxToolBarToolBase
*)(arg1
)->AddControl(arg2
);
16020 wxPyEndAllowThreads(__tstate
);
16021 if (PyErr_Occurred()) SWIG_fail
;
16024 resultobj
= wxPyMake_wxObject(result
);
16032 static PyObject
*_wrap_ToolBarBase_InsertControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16033 PyObject
*resultobj
;
16034 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16036 wxControl
*arg3
= (wxControl
*) 0 ;
16037 wxToolBarToolBase
*result
;
16038 PyObject
* obj0
= 0 ;
16039 PyObject
* obj1
= 0 ;
16040 PyObject
* obj2
= 0 ;
16041 char *kwnames
[] = {
16042 (char *) "self",(char *) "pos",(char *) "control", NULL
16045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertControl",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16046 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16047 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16048 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
16049 if (PyErr_Occurred()) SWIG_fail
;
16050 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxControl
,
16051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16054 result
= (wxToolBarToolBase
*)(arg1
)->InsertControl(arg2
,arg3
);
16056 wxPyEndAllowThreads(__tstate
);
16057 if (PyErr_Occurred()) SWIG_fail
;
16060 resultobj
= wxPyMake_wxObject(result
);
16068 static PyObject
*_wrap_ToolBarBase_FindControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16069 PyObject
*resultobj
;
16070 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16073 PyObject
* obj0
= 0 ;
16074 PyObject
* obj1
= 0 ;
16075 char *kwnames
[] = {
16076 (char *) "self",(char *) "id", NULL
16079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindControl",kwnames
,&obj0
,&obj1
)) goto fail
;
16080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16082 arg2
= (int) SWIG_AsInt(obj1
);
16083 if (PyErr_Occurred()) SWIG_fail
;
16085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16086 result
= (wxControl
*)(arg1
)->FindControl(arg2
);
16088 wxPyEndAllowThreads(__tstate
);
16089 if (PyErr_Occurred()) SWIG_fail
;
16092 resultobj
= wxPyMake_wxObject(result
);
16100 static PyObject
*_wrap_ToolBarBase_AddSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16101 PyObject
*resultobj
;
16102 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16103 wxToolBarToolBase
*result
;
16104 PyObject
* obj0
= 0 ;
16105 char *kwnames
[] = {
16106 (char *) "self", NULL
16109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_AddSeparator",kwnames
,&obj0
)) goto fail
;
16110 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16114 result
= (wxToolBarToolBase
*)(arg1
)->AddSeparator();
16116 wxPyEndAllowThreads(__tstate
);
16117 if (PyErr_Occurred()) SWIG_fail
;
16120 resultobj
= wxPyMake_wxObject(result
);
16128 static PyObject
*_wrap_ToolBarBase_InsertSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16129 PyObject
*resultobj
;
16130 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16132 wxToolBarToolBase
*result
;
16133 PyObject
* obj0
= 0 ;
16134 PyObject
* obj1
= 0 ;
16135 char *kwnames
[] = {
16136 (char *) "self",(char *) "pos", NULL
16139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
16140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16142 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
16143 if (PyErr_Occurred()) SWIG_fail
;
16145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16146 result
= (wxToolBarToolBase
*)(arg1
)->InsertSeparator(arg2
);
16148 wxPyEndAllowThreads(__tstate
);
16149 if (PyErr_Occurred()) SWIG_fail
;
16152 resultobj
= wxPyMake_wxObject(result
);
16160 static PyObject
*_wrap_ToolBarBase_RemoveTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16161 PyObject
*resultobj
;
16162 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16164 wxToolBarToolBase
*result
;
16165 PyObject
* obj0
= 0 ;
16166 PyObject
* obj1
= 0 ;
16167 char *kwnames
[] = {
16168 (char *) "self",(char *) "id", NULL
16171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_RemoveTool",kwnames
,&obj0
,&obj1
)) goto fail
;
16172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16174 arg2
= (int) SWIG_AsInt(obj1
);
16175 if (PyErr_Occurred()) SWIG_fail
;
16177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16178 result
= (wxToolBarToolBase
*)(arg1
)->RemoveTool(arg2
);
16180 wxPyEndAllowThreads(__tstate
);
16181 if (PyErr_Occurred()) SWIG_fail
;
16184 resultobj
= wxPyMake_wxObject(result
);
16192 static PyObject
*_wrap_ToolBarBase_DeleteToolByPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16193 PyObject
*resultobj
;
16194 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16197 PyObject
* obj0
= 0 ;
16198 PyObject
* obj1
= 0 ;
16199 char *kwnames
[] = {
16200 (char *) "self",(char *) "pos", NULL
16203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames
,&obj0
,&obj1
)) goto fail
;
16204 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16206 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
16207 if (PyErr_Occurred()) SWIG_fail
;
16209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16210 result
= (bool)(arg1
)->DeleteToolByPos(arg2
);
16212 wxPyEndAllowThreads(__tstate
);
16213 if (PyErr_Occurred()) SWIG_fail
;
16216 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16224 static PyObject
*_wrap_ToolBarBase_DeleteTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16225 PyObject
*resultobj
;
16226 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16229 PyObject
* obj0
= 0 ;
16230 PyObject
* obj1
= 0 ;
16231 char *kwnames
[] = {
16232 (char *) "self",(char *) "id", NULL
16235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteTool",kwnames
,&obj0
,&obj1
)) goto fail
;
16236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16238 arg2
= (int) SWIG_AsInt(obj1
);
16239 if (PyErr_Occurred()) SWIG_fail
;
16241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16242 result
= (bool)(arg1
)->DeleteTool(arg2
);
16244 wxPyEndAllowThreads(__tstate
);
16245 if (PyErr_Occurred()) SWIG_fail
;
16248 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16256 static PyObject
*_wrap_ToolBarBase_ClearTools(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16257 PyObject
*resultobj
;
16258 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16259 PyObject
* obj0
= 0 ;
16260 char *kwnames
[] = {
16261 (char *) "self", NULL
16264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_ClearTools",kwnames
,&obj0
)) goto fail
;
16265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16269 (arg1
)->ClearTools();
16271 wxPyEndAllowThreads(__tstate
);
16272 if (PyErr_Occurred()) SWIG_fail
;
16274 Py_INCREF(Py_None
); resultobj
= Py_None
;
16281 static PyObject
*_wrap_ToolBarBase_Realize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16282 PyObject
*resultobj
;
16283 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16285 PyObject
* obj0
= 0 ;
16286 char *kwnames
[] = {
16287 (char *) "self", NULL
16290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_Realize",kwnames
,&obj0
)) goto fail
;
16291 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16295 result
= (bool)(arg1
)->Realize();
16297 wxPyEndAllowThreads(__tstate
);
16298 if (PyErr_Occurred()) SWIG_fail
;
16301 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16309 static PyObject
*_wrap_ToolBarBase_EnableTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16310 PyObject
*resultobj
;
16311 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16314 PyObject
* obj0
= 0 ;
16315 PyObject
* obj1
= 0 ;
16316 PyObject
* obj2
= 0 ;
16317 char *kwnames
[] = {
16318 (char *) "self",(char *) "id",(char *) "enable", NULL
16321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_EnableTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16324 arg2
= (int) SWIG_AsInt(obj1
);
16325 if (PyErr_Occurred()) SWIG_fail
;
16326 arg3
= (bool) SWIG_AsBool(obj2
);
16327 if (PyErr_Occurred()) SWIG_fail
;
16329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16330 (arg1
)->EnableTool(arg2
,arg3
);
16332 wxPyEndAllowThreads(__tstate
);
16333 if (PyErr_Occurred()) SWIG_fail
;
16335 Py_INCREF(Py_None
); resultobj
= Py_None
;
16342 static PyObject
*_wrap_ToolBarBase_ToggleTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16343 PyObject
*resultobj
;
16344 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16347 PyObject
* obj0
= 0 ;
16348 PyObject
* obj1
= 0 ;
16349 PyObject
* obj2
= 0 ;
16350 char *kwnames
[] = {
16351 (char *) "self",(char *) "id",(char *) "toggle", NULL
16354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_ToggleTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16355 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16357 arg2
= (int) SWIG_AsInt(obj1
);
16358 if (PyErr_Occurred()) SWIG_fail
;
16359 arg3
= (bool) SWIG_AsBool(obj2
);
16360 if (PyErr_Occurred()) SWIG_fail
;
16362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16363 (arg1
)->ToggleTool(arg2
,arg3
);
16365 wxPyEndAllowThreads(__tstate
);
16366 if (PyErr_Occurred()) SWIG_fail
;
16368 Py_INCREF(Py_None
); resultobj
= Py_None
;
16375 static PyObject
*_wrap_ToolBarBase_SetToggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16376 PyObject
*resultobj
;
16377 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16380 PyObject
* obj0
= 0 ;
16381 PyObject
* obj1
= 0 ;
16382 PyObject
* obj2
= 0 ;
16383 char *kwnames
[] = {
16384 (char *) "self",(char *) "id",(char *) "toggle", NULL
16387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToggle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16390 arg2
= (int) SWIG_AsInt(obj1
);
16391 if (PyErr_Occurred()) SWIG_fail
;
16392 arg3
= (bool) SWIG_AsBool(obj2
);
16393 if (PyErr_Occurred()) SWIG_fail
;
16395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16396 (arg1
)->SetToggle(arg2
,arg3
);
16398 wxPyEndAllowThreads(__tstate
);
16399 if (PyErr_Occurred()) SWIG_fail
;
16401 Py_INCREF(Py_None
); resultobj
= Py_None
;
16408 static PyObject
*_wrap_ToolBarBase_GetToolClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16409 PyObject
*resultobj
;
16410 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16413 PyObject
* obj0
= 0 ;
16414 PyObject
* obj1
= 0 ;
16415 char *kwnames
[] = {
16416 (char *) "self",(char *) "id", NULL
16419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
16420 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16421 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16422 arg2
= (int) SWIG_AsInt(obj1
);
16423 if (PyErr_Occurred()) SWIG_fail
;
16425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16426 result
= (PyObject
*)wxToolBarBase_GetToolClientData(arg1
,arg2
);
16428 wxPyEndAllowThreads(__tstate
);
16429 if (PyErr_Occurred()) SWIG_fail
;
16431 resultobj
= result
;
16438 static PyObject
*_wrap_ToolBarBase_SetToolClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16439 PyObject
*resultobj
;
16440 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16442 PyObject
*arg3
= (PyObject
*) 0 ;
16443 PyObject
* obj0
= 0 ;
16444 PyObject
* obj1
= 0 ;
16445 PyObject
* obj2
= 0 ;
16446 char *kwnames
[] = {
16447 (char *) "self",(char *) "id",(char *) "clientData", NULL
16450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16451 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16452 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16453 arg2
= (int) SWIG_AsInt(obj1
);
16454 if (PyErr_Occurred()) SWIG_fail
;
16457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16458 wxToolBarBase_SetToolClientData(arg1
,arg2
,arg3
);
16460 wxPyEndAllowThreads(__tstate
);
16461 if (PyErr_Occurred()) SWIG_fail
;
16463 Py_INCREF(Py_None
); resultobj
= Py_None
;
16470 static PyObject
*_wrap_ToolBarBase_GetToolPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16471 PyObject
*resultobj
;
16472 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16475 PyObject
* obj0
= 0 ;
16476 PyObject
* obj1
= 0 ;
16477 char *kwnames
[] = {
16478 (char *) "self",(char *) "id", NULL
16481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolPos",kwnames
,&obj0
,&obj1
)) goto fail
;
16482 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16484 arg2
= (int) SWIG_AsInt(obj1
);
16485 if (PyErr_Occurred()) SWIG_fail
;
16487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16488 result
= (int)((wxToolBarBase
const *)arg1
)->GetToolPos(arg2
);
16490 wxPyEndAllowThreads(__tstate
);
16491 if (PyErr_Occurred()) SWIG_fail
;
16493 resultobj
= SWIG_FromInt((int)result
);
16500 static PyObject
*_wrap_ToolBarBase_GetToolState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16501 PyObject
*resultobj
;
16502 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16505 PyObject
* obj0
= 0 ;
16506 PyObject
* obj1
= 0 ;
16507 char *kwnames
[] = {
16508 (char *) "self",(char *) "id", NULL
16511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolState",kwnames
,&obj0
,&obj1
)) goto fail
;
16512 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16514 arg2
= (int) SWIG_AsInt(obj1
);
16515 if (PyErr_Occurred()) SWIG_fail
;
16517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16518 result
= (bool)(arg1
)->GetToolState(arg2
);
16520 wxPyEndAllowThreads(__tstate
);
16521 if (PyErr_Occurred()) SWIG_fail
;
16524 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16532 static PyObject
*_wrap_ToolBarBase_GetToolEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16533 PyObject
*resultobj
;
16534 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16537 PyObject
* obj0
= 0 ;
16538 PyObject
* obj1
= 0 ;
16539 char *kwnames
[] = {
16540 (char *) "self",(char *) "id", NULL
16543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
16544 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16545 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16546 arg2
= (int) SWIG_AsInt(obj1
);
16547 if (PyErr_Occurred()) SWIG_fail
;
16549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16550 result
= (bool)(arg1
)->GetToolEnabled(arg2
);
16552 wxPyEndAllowThreads(__tstate
);
16553 if (PyErr_Occurred()) SWIG_fail
;
16556 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16564 static PyObject
*_wrap_ToolBarBase_SetToolShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16565 PyObject
*resultobj
;
16566 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16568 wxString
*arg3
= 0 ;
16569 bool temp3
= False
;
16570 PyObject
* obj0
= 0 ;
16571 PyObject
* obj1
= 0 ;
16572 PyObject
* obj2
= 0 ;
16573 char *kwnames
[] = {
16574 (char *) "self",(char *) "id",(char *) "helpString", NULL
16577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16578 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16579 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16580 arg2
= (int) SWIG_AsInt(obj1
);
16581 if (PyErr_Occurred()) SWIG_fail
;
16583 arg3
= wxString_in_helper(obj2
);
16584 if (arg3
== NULL
) SWIG_fail
;
16588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16589 (arg1
)->SetToolShortHelp(arg2
,(wxString
const &)*arg3
);
16591 wxPyEndAllowThreads(__tstate
);
16592 if (PyErr_Occurred()) SWIG_fail
;
16594 Py_INCREF(Py_None
); resultobj
= Py_None
;
16609 static PyObject
*_wrap_ToolBarBase_GetToolShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16610 PyObject
*resultobj
;
16611 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16614 PyObject
* obj0
= 0 ;
16615 PyObject
* obj1
= 0 ;
16616 char *kwnames
[] = {
16617 (char *) "self",(char *) "id", NULL
16620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
16621 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16622 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16623 arg2
= (int) SWIG_AsInt(obj1
);
16624 if (PyErr_Occurred()) SWIG_fail
;
16626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16627 result
= (arg1
)->GetToolShortHelp(arg2
);
16629 wxPyEndAllowThreads(__tstate
);
16630 if (PyErr_Occurred()) SWIG_fail
;
16634 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16636 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16645 static PyObject
*_wrap_ToolBarBase_SetToolLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16646 PyObject
*resultobj
;
16647 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16649 wxString
*arg3
= 0 ;
16650 bool temp3
= False
;
16651 PyObject
* obj0
= 0 ;
16652 PyObject
* obj1
= 0 ;
16653 PyObject
* obj2
= 0 ;
16654 char *kwnames
[] = {
16655 (char *) "self",(char *) "id",(char *) "helpString", NULL
16658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16659 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16661 arg2
= (int) SWIG_AsInt(obj1
);
16662 if (PyErr_Occurred()) SWIG_fail
;
16664 arg3
= wxString_in_helper(obj2
);
16665 if (arg3
== NULL
) SWIG_fail
;
16669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16670 (arg1
)->SetToolLongHelp(arg2
,(wxString
const &)*arg3
);
16672 wxPyEndAllowThreads(__tstate
);
16673 if (PyErr_Occurred()) SWIG_fail
;
16675 Py_INCREF(Py_None
); resultobj
= Py_None
;
16690 static PyObject
*_wrap_ToolBarBase_GetToolLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16691 PyObject
*resultobj
;
16692 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16695 PyObject
* obj0
= 0 ;
16696 PyObject
* obj1
= 0 ;
16697 char *kwnames
[] = {
16698 (char *) "self",(char *) "id", NULL
16701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
16702 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16704 arg2
= (int) SWIG_AsInt(obj1
);
16705 if (PyErr_Occurred()) SWIG_fail
;
16707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16708 result
= (arg1
)->GetToolLongHelp(arg2
);
16710 wxPyEndAllowThreads(__tstate
);
16711 if (PyErr_Occurred()) SWIG_fail
;
16715 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16717 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16726 static PyObject
*_wrap_ToolBarBase_SetMarginsXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16727 PyObject
*resultobj
;
16728 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16731 PyObject
* obj0
= 0 ;
16732 PyObject
* obj1
= 0 ;
16733 PyObject
* obj2
= 0 ;
16734 char *kwnames
[] = {
16735 (char *) "self",(char *) "x",(char *) "y", NULL
16738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16739 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16741 arg2
= (int) SWIG_AsInt(obj1
);
16742 if (PyErr_Occurred()) SWIG_fail
;
16743 arg3
= (int) SWIG_AsInt(obj2
);
16744 if (PyErr_Occurred()) SWIG_fail
;
16746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16747 (arg1
)->SetMargins(arg2
,arg3
);
16749 wxPyEndAllowThreads(__tstate
);
16750 if (PyErr_Occurred()) SWIG_fail
;
16752 Py_INCREF(Py_None
); resultobj
= Py_None
;
16759 static PyObject
*_wrap_ToolBarBase_SetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16760 PyObject
*resultobj
;
16761 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16764 PyObject
* obj0
= 0 ;
16765 PyObject
* obj1
= 0 ;
16766 char *kwnames
[] = {
16767 (char *) "self",(char *) "size", NULL
16770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
16771 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16775 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
16778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16779 (arg1
)->SetMargins((wxSize
const &)*arg2
);
16781 wxPyEndAllowThreads(__tstate
);
16782 if (PyErr_Occurred()) SWIG_fail
;
16784 Py_INCREF(Py_None
); resultobj
= Py_None
;
16791 static PyObject
*_wrap_ToolBarBase_SetToolPacking(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16792 PyObject
*resultobj
;
16793 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16795 PyObject
* obj0
= 0 ;
16796 PyObject
* obj1
= 0 ;
16797 char *kwnames
[] = {
16798 (char *) "self",(char *) "packing", NULL
16801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolPacking",kwnames
,&obj0
,&obj1
)) goto fail
;
16802 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16804 arg2
= (int) SWIG_AsInt(obj1
);
16805 if (PyErr_Occurred()) SWIG_fail
;
16807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16808 (arg1
)->SetToolPacking(arg2
);
16810 wxPyEndAllowThreads(__tstate
);
16811 if (PyErr_Occurred()) SWIG_fail
;
16813 Py_INCREF(Py_None
); resultobj
= Py_None
;
16820 static PyObject
*_wrap_ToolBarBase_SetToolSeparation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16821 PyObject
*resultobj
;
16822 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16824 PyObject
* obj0
= 0 ;
16825 PyObject
* obj1
= 0 ;
16826 char *kwnames
[] = {
16827 (char *) "self",(char *) "separation", NULL
16830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames
,&obj0
,&obj1
)) goto fail
;
16831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16833 arg2
= (int) SWIG_AsInt(obj1
);
16834 if (PyErr_Occurred()) SWIG_fail
;
16836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16837 (arg1
)->SetToolSeparation(arg2
);
16839 wxPyEndAllowThreads(__tstate
);
16840 if (PyErr_Occurred()) SWIG_fail
;
16842 Py_INCREF(Py_None
); resultobj
= Py_None
;
16849 static PyObject
*_wrap_ToolBarBase_GetToolMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16850 PyObject
*resultobj
;
16851 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16853 PyObject
* obj0
= 0 ;
16854 char *kwnames
[] = {
16855 (char *) "self", NULL
16858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolMargins",kwnames
,&obj0
)) goto fail
;
16859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16863 result
= (arg1
)->GetToolMargins();
16865 wxPyEndAllowThreads(__tstate
);
16866 if (PyErr_Occurred()) SWIG_fail
;
16869 wxSize
* resultptr
;
16870 resultptr
= new wxSize((wxSize
&) result
);
16871 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16879 static PyObject
*_wrap_ToolBarBase_GetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16880 PyObject
*resultobj
;
16881 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16883 PyObject
* obj0
= 0 ;
16884 char *kwnames
[] = {
16885 (char *) "self", NULL
16888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMargins",kwnames
,&obj0
)) goto fail
;
16889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16893 result
= (arg1
)->GetMargins();
16895 wxPyEndAllowThreads(__tstate
);
16896 if (PyErr_Occurred()) SWIG_fail
;
16899 wxSize
* resultptr
;
16900 resultptr
= new wxSize((wxSize
&) result
);
16901 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16909 static PyObject
*_wrap_ToolBarBase_GetToolPacking(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16910 PyObject
*resultobj
;
16911 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16913 PyObject
* obj0
= 0 ;
16914 char *kwnames
[] = {
16915 (char *) "self", NULL
16918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolPacking",kwnames
,&obj0
)) goto fail
;
16919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16923 result
= (int)(arg1
)->GetToolPacking();
16925 wxPyEndAllowThreads(__tstate
);
16926 if (PyErr_Occurred()) SWIG_fail
;
16928 resultobj
= SWIG_FromInt((int)result
);
16935 static PyObject
*_wrap_ToolBarBase_GetToolSeparation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16936 PyObject
*resultobj
;
16937 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16939 PyObject
* obj0
= 0 ;
16940 char *kwnames
[] = {
16941 (char *) "self", NULL
16944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSeparation",kwnames
,&obj0
)) goto fail
;
16945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16949 result
= (int)(arg1
)->GetToolSeparation();
16951 wxPyEndAllowThreads(__tstate
);
16952 if (PyErr_Occurred()) SWIG_fail
;
16954 resultobj
= SWIG_FromInt((int)result
);
16961 static PyObject
*_wrap_ToolBarBase_SetRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16962 PyObject
*resultobj
;
16963 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16965 PyObject
* obj0
= 0 ;
16966 PyObject
* obj1
= 0 ;
16967 char *kwnames
[] = {
16968 (char *) "self",(char *) "nRows", NULL
16971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
16972 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16974 arg2
= (int) SWIG_AsInt(obj1
);
16975 if (PyErr_Occurred()) SWIG_fail
;
16977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16978 (arg1
)->SetRows(arg2
);
16980 wxPyEndAllowThreads(__tstate
);
16981 if (PyErr_Occurred()) SWIG_fail
;
16983 Py_INCREF(Py_None
); resultobj
= Py_None
;
16990 static PyObject
*_wrap_ToolBarBase_SetMaxRowsCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16991 PyObject
*resultobj
;
16992 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16995 PyObject
* obj0
= 0 ;
16996 PyObject
* obj1
= 0 ;
16997 PyObject
* obj2
= 0 ;
16998 char *kwnames
[] = {
16999 (char *) "self",(char *) "rows",(char *) "cols", NULL
17002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17003 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17005 arg2
= (int) SWIG_AsInt(obj1
);
17006 if (PyErr_Occurred()) SWIG_fail
;
17007 arg3
= (int) SWIG_AsInt(obj2
);
17008 if (PyErr_Occurred()) SWIG_fail
;
17010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17011 (arg1
)->SetMaxRowsCols(arg2
,arg3
);
17013 wxPyEndAllowThreads(__tstate
);
17014 if (PyErr_Occurred()) SWIG_fail
;
17016 Py_INCREF(Py_None
); resultobj
= Py_None
;
17023 static PyObject
*_wrap_ToolBarBase_GetMaxRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17024 PyObject
*resultobj
;
17025 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17027 PyObject
* obj0
= 0 ;
17028 char *kwnames
[] = {
17029 (char *) "self", NULL
17032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxRows",kwnames
,&obj0
)) goto fail
;
17033 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17037 result
= (int)(arg1
)->GetMaxRows();
17039 wxPyEndAllowThreads(__tstate
);
17040 if (PyErr_Occurred()) SWIG_fail
;
17042 resultobj
= SWIG_FromInt((int)result
);
17049 static PyObject
*_wrap_ToolBarBase_GetMaxCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17050 PyObject
*resultobj
;
17051 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17053 PyObject
* obj0
= 0 ;
17054 char *kwnames
[] = {
17055 (char *) "self", NULL
17058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxCols",kwnames
,&obj0
)) goto fail
;
17059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17063 result
= (int)(arg1
)->GetMaxCols();
17065 wxPyEndAllowThreads(__tstate
);
17066 if (PyErr_Occurred()) SWIG_fail
;
17068 resultobj
= SWIG_FromInt((int)result
);
17075 static PyObject
*_wrap_ToolBarBase_SetToolBitmapSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17076 PyObject
*resultobj
;
17077 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17080 PyObject
* obj0
= 0 ;
17081 PyObject
* obj1
= 0 ;
17082 char *kwnames
[] = {
17083 (char *) "self",(char *) "size", NULL
17086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames
,&obj0
,&obj1
)) goto fail
;
17087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17091 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17095 (arg1
)->SetToolBitmapSize((wxSize
const &)*arg2
);
17097 wxPyEndAllowThreads(__tstate
);
17098 if (PyErr_Occurred()) SWIG_fail
;
17100 Py_INCREF(Py_None
); resultobj
= Py_None
;
17107 static PyObject
*_wrap_ToolBarBase_GetToolBitmapSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17108 PyObject
*resultobj
;
17109 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17111 PyObject
* obj0
= 0 ;
17112 char *kwnames
[] = {
17113 (char *) "self", NULL
17116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames
,&obj0
)) goto fail
;
17117 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17121 result
= (arg1
)->GetToolBitmapSize();
17123 wxPyEndAllowThreads(__tstate
);
17124 if (PyErr_Occurred()) SWIG_fail
;
17127 wxSize
* resultptr
;
17128 resultptr
= new wxSize((wxSize
&) result
);
17129 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17137 static PyObject
*_wrap_ToolBarBase_GetToolSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17138 PyObject
*resultobj
;
17139 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17141 PyObject
* obj0
= 0 ;
17142 char *kwnames
[] = {
17143 (char *) "self", NULL
17146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSize",kwnames
,&obj0
)) goto fail
;
17147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17151 result
= (arg1
)->GetToolSize();
17153 wxPyEndAllowThreads(__tstate
);
17154 if (PyErr_Occurred()) SWIG_fail
;
17157 wxSize
* resultptr
;
17158 resultptr
= new wxSize((wxSize
&) result
);
17159 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17167 static PyObject
*_wrap_ToolBarBase_FindToolForPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17168 PyObject
*resultobj
;
17169 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17172 wxToolBarToolBase
*result
;
17173 PyObject
* obj0
= 0 ;
17174 PyObject
* obj1
= 0 ;
17175 PyObject
* obj2
= 0 ;
17176 char *kwnames
[] = {
17177 (char *) "self",(char *) "x",(char *) "y", NULL
17180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17181 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17183 arg2
= (int) SWIG_AsInt(obj1
);
17184 if (PyErr_Occurred()) SWIG_fail
;
17185 arg3
= (int) SWIG_AsInt(obj2
);
17186 if (PyErr_Occurred()) SWIG_fail
;
17188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17189 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
17191 wxPyEndAllowThreads(__tstate
);
17192 if (PyErr_Occurred()) SWIG_fail
;
17195 resultobj
= wxPyMake_wxObject(result
);
17203 static PyObject
*_wrap_ToolBarBase_FindById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17204 PyObject
*resultobj
;
17205 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17207 wxToolBarToolBase
*result
;
17208 PyObject
* obj0
= 0 ;
17209 PyObject
* obj1
= 0 ;
17210 char *kwnames
[] = {
17211 (char *) "self",(char *) "toolid", NULL
17214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindById",kwnames
,&obj0
,&obj1
)) goto fail
;
17215 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17216 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17217 arg2
= (int) SWIG_AsInt(obj1
);
17218 if (PyErr_Occurred()) SWIG_fail
;
17220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17221 result
= (wxToolBarToolBase
*)((wxToolBarBase
const *)arg1
)->FindById(arg2
);
17223 wxPyEndAllowThreads(__tstate
);
17224 if (PyErr_Occurred()) SWIG_fail
;
17227 resultobj
= wxPyMake_wxObject(result
);
17235 static PyObject
*_wrap_ToolBarBase_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17236 PyObject
*resultobj
;
17237 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17239 PyObject
* obj0
= 0 ;
17240 char *kwnames
[] = {
17241 (char *) "self", NULL
17244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_IsVertical",kwnames
,&obj0
)) goto fail
;
17245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17249 result
= (bool)(arg1
)->IsVertical();
17251 wxPyEndAllowThreads(__tstate
);
17252 if (PyErr_Occurred()) SWIG_fail
;
17255 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17263 static PyObject
* ToolBarBase_swigregister(PyObject
*, PyObject
*args
) {
17265 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17266 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase
, obj
);
17268 return Py_BuildValue((char *)"");
17270 static PyObject
*_wrap_new_ToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17271 PyObject
*resultobj
;
17272 wxWindow
*arg1
= (wxWindow
*) 0 ;
17274 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
17275 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
17276 wxSize
const &arg4_defvalue
= wxDefaultSize
;
17277 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
17278 long arg5
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
17279 wxString
const &arg6_defvalue
= wxPyToolBarNameStr
;
17280 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
17284 bool temp6
= False
;
17285 PyObject
* obj0
= 0 ;
17286 PyObject
* obj1
= 0 ;
17287 PyObject
* obj2
= 0 ;
17288 PyObject
* obj3
= 0 ;
17289 PyObject
* obj4
= 0 ;
17290 PyObject
* obj5
= 0 ;
17291 char *kwnames
[] = {
17292 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_ToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
17297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17298 arg2
= (int) SWIG_AsInt(obj1
);
17299 if (PyErr_Occurred()) SWIG_fail
;
17303 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17309 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
17313 arg5
= (long) SWIG_AsLong(obj4
);
17314 if (PyErr_Occurred()) SWIG_fail
;
17318 arg6
= wxString_in_helper(obj5
);
17319 if (arg6
== NULL
) SWIG_fail
;
17324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17325 result
= (wxToolBar
*)new wxToolBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
17327 wxPyEndAllowThreads(__tstate
);
17328 if (PyErr_Occurred()) SWIG_fail
;
17331 resultobj
= wxPyMake_wxObject(result
);
17347 static PyObject
*_wrap_new_PreToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17348 PyObject
*resultobj
;
17350 char *kwnames
[] = {
17354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToolBar",kwnames
)) goto fail
;
17356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17357 result
= (wxToolBar
*)new wxToolBar();
17359 wxPyEndAllowThreads(__tstate
);
17360 if (PyErr_Occurred()) SWIG_fail
;
17363 resultobj
= wxPyMake_wxObject(result
);
17371 static PyObject
*_wrap_ToolBar_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17372 PyObject
*resultobj
;
17373 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
17374 wxWindow
*arg2
= (wxWindow
*) 0 ;
17376 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17377 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17378 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17379 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17380 long arg6
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
17381 wxString
const &arg7_defvalue
= wxPyToolBarNameStr
;
17382 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17386 bool temp7
= False
;
17387 PyObject
* obj0
= 0 ;
17388 PyObject
* obj1
= 0 ;
17389 PyObject
* obj2
= 0 ;
17390 PyObject
* obj3
= 0 ;
17391 PyObject
* obj4
= 0 ;
17392 PyObject
* obj5
= 0 ;
17393 PyObject
* obj6
= 0 ;
17394 char *kwnames
[] = {
17395 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:ToolBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBar
,
17400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17401 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
17402 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17403 arg3
= (int) SWIG_AsInt(obj2
);
17404 if (PyErr_Occurred()) SWIG_fail
;
17408 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17414 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17418 arg6
= (long) SWIG_AsLong(obj5
);
17419 if (PyErr_Occurred()) SWIG_fail
;
17423 arg7
= wxString_in_helper(obj6
);
17424 if (arg7
== NULL
) SWIG_fail
;
17429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17430 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
17432 wxPyEndAllowThreads(__tstate
);
17433 if (PyErr_Occurred()) SWIG_fail
;
17436 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17452 static PyObject
*_wrap_ToolBar_FindToolForPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17453 PyObject
*resultobj
;
17454 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
17457 wxToolBarToolBase
*result
;
17458 PyObject
* obj0
= 0 ;
17459 PyObject
* obj1
= 0 ;
17460 PyObject
* obj2
= 0 ;
17461 char *kwnames
[] = {
17462 (char *) "self",(char *) "x",(char *) "y", NULL
17465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBar_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17466 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBar
,
17467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17468 arg2
= (int) SWIG_AsInt(obj1
);
17469 if (PyErr_Occurred()) SWIG_fail
;
17470 arg3
= (int) SWIG_AsInt(obj2
);
17471 if (PyErr_Occurred()) SWIG_fail
;
17473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17474 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
17476 wxPyEndAllowThreads(__tstate
);
17477 if (PyErr_Occurred()) SWIG_fail
;
17480 resultobj
= wxPyMake_wxObject(result
);
17488 static PyObject
* ToolBar_swigregister(PyObject
*, PyObject
*args
) {
17490 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17491 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar
, obj
);
17493 return Py_BuildValue((char *)"");
17495 static int _wrap_ListCtrlNameStr_set(PyObject
*) {
17496 PyErr_SetString(PyExc_TypeError
,"Variable ListCtrlNameStr is read-only.");
17501 static PyObject
*_wrap_ListCtrlNameStr_get() {
17506 pyobj
= PyUnicode_FromWideChar((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
17508 pyobj
= PyString_FromStringAndSize((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
17515 static PyObject
*_wrap_new_ListItemAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17516 PyObject
*resultobj
;
17517 wxColour
const &arg1_defvalue
= wxNullColour
;
17518 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
17519 wxColour
const &arg2_defvalue
= wxNullColour
;
17520 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
17521 wxFont
const &arg3_defvalue
= wxNullFont
;
17522 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
17523 wxListItemAttr
*result
;
17526 PyObject
* obj0
= 0 ;
17527 PyObject
* obj1
= 0 ;
17528 PyObject
* obj2
= 0 ;
17529 char *kwnames
[] = {
17530 (char *) "colText",(char *) "colBack",(char *) "font", NULL
17533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ListItemAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17537 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
17543 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17547 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
17548 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17550 if (arg3
== NULL
) {
17551 PyErr_SetString(PyExc_TypeError
,"null reference");
17556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17557 result
= (wxListItemAttr
*)new wxListItemAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
);
17559 wxPyEndAllowThreads(__tstate
);
17560 if (PyErr_Occurred()) SWIG_fail
;
17562 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 1);
17569 static PyObject
*_wrap_ListItemAttr_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17570 PyObject
*resultobj
;
17571 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17572 wxColour
*arg2
= 0 ;
17574 PyObject
* obj0
= 0 ;
17575 PyObject
* obj1
= 0 ;
17576 char *kwnames
[] = {
17577 (char *) "self",(char *) "colText", NULL
17580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
17581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
17582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17585 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17589 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
17591 wxPyEndAllowThreads(__tstate
);
17592 if (PyErr_Occurred()) SWIG_fail
;
17594 Py_INCREF(Py_None
); resultobj
= Py_None
;
17601 static PyObject
*_wrap_ListItemAttr_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17602 PyObject
*resultobj
;
17603 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17604 wxColour
*arg2
= 0 ;
17606 PyObject
* obj0
= 0 ;
17607 PyObject
* obj1
= 0 ;
17608 char *kwnames
[] = {
17609 (char *) "self",(char *) "colBack", NULL
17612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
17613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
17614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17617 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17621 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
17623 wxPyEndAllowThreads(__tstate
);
17624 if (PyErr_Occurred()) SWIG_fail
;
17626 Py_INCREF(Py_None
); resultobj
= Py_None
;
17633 static PyObject
*_wrap_ListItemAttr_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17634 PyObject
*resultobj
;
17635 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17637 PyObject
* obj0
= 0 ;
17638 PyObject
* obj1
= 0 ;
17639 char *kwnames
[] = {
17640 (char *) "self",(char *) "font", NULL
17643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
17644 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
17645 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17646 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
17647 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17649 if (arg2
== NULL
) {
17650 PyErr_SetString(PyExc_TypeError
,"null reference");
17654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17655 (arg1
)->SetFont((wxFont
const &)*arg2
);
17657 wxPyEndAllowThreads(__tstate
);
17658 if (PyErr_Occurred()) SWIG_fail
;
17660 Py_INCREF(Py_None
); resultobj
= Py_None
;
17667 static PyObject
*_wrap_ListItemAttr_HasTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17668 PyObject
*resultobj
;
17669 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17671 PyObject
* obj0
= 0 ;
17672 char *kwnames
[] = {
17673 (char *) "self", NULL
17676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
17677 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
17678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17681 result
= (bool)(arg1
)->HasTextColour();
17683 wxPyEndAllowThreads(__tstate
);
17684 if (PyErr_Occurred()) SWIG_fail
;
17687 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17695 static PyObject
*_wrap_ListItemAttr_HasBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17696 PyObject
*resultobj
;
17697 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17699 PyObject
* obj0
= 0 ;
17700 char *kwnames
[] = {
17701 (char *) "self", NULL
17704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
17705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
17706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17709 result
= (bool)(arg1
)->HasBackgroundColour();
17711 wxPyEndAllowThreads(__tstate
);
17712 if (PyErr_Occurred()) SWIG_fail
;
17715 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17723 static PyObject
*_wrap_ListItemAttr_HasFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17724 PyObject
*resultobj
;
17725 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17727 PyObject
* obj0
= 0 ;
17728 char *kwnames
[] = {
17729 (char *) "self", NULL
17732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasFont",kwnames
,&obj0
)) goto fail
;
17733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
17734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17737 result
= (bool)(arg1
)->HasFont();
17739 wxPyEndAllowThreads(__tstate
);
17740 if (PyErr_Occurred()) SWIG_fail
;
17743 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17751 static PyObject
*_wrap_ListItemAttr_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17752 PyObject
*resultobj
;
17753 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17755 PyObject
* obj0
= 0 ;
17756 char *kwnames
[] = {
17757 (char *) "self", NULL
17760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
17761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
17762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17765 result
= (arg1
)->GetTextColour();
17767 wxPyEndAllowThreads(__tstate
);
17768 if (PyErr_Occurred()) SWIG_fail
;
17771 wxColour
* resultptr
;
17772 resultptr
= new wxColour((wxColour
&) result
);
17773 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
17781 static PyObject
*_wrap_ListItemAttr_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17782 PyObject
*resultobj
;
17783 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17785 PyObject
* obj0
= 0 ;
17786 char *kwnames
[] = {
17787 (char *) "self", NULL
17790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
17791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
17792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17795 result
= (arg1
)->GetBackgroundColour();
17797 wxPyEndAllowThreads(__tstate
);
17798 if (PyErr_Occurred()) SWIG_fail
;
17801 wxColour
* resultptr
;
17802 resultptr
= new wxColour((wxColour
&) result
);
17803 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
17811 static PyObject
*_wrap_ListItemAttr_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17812 PyObject
*resultobj
;
17813 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17815 PyObject
* obj0
= 0 ;
17816 char *kwnames
[] = {
17817 (char *) "self", NULL
17820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetFont",kwnames
,&obj0
)) goto fail
;
17821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
17822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17825 result
= (arg1
)->GetFont();
17827 wxPyEndAllowThreads(__tstate
);
17828 if (PyErr_Occurred()) SWIG_fail
;
17831 wxFont
* resultptr
;
17832 resultptr
= new wxFont((wxFont
&) result
);
17833 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
17841 static PyObject
*_wrap_ListItemAttr_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17842 PyObject
*resultobj
;
17843 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17844 PyObject
* obj0
= 0 ;
17845 char *kwnames
[] = {
17846 (char *) "self", NULL
17849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_Destroy",kwnames
,&obj0
)) goto fail
;
17850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
17851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17854 wxListItemAttr_Destroy(arg1
);
17856 wxPyEndAllowThreads(__tstate
);
17857 if (PyErr_Occurred()) SWIG_fail
;
17859 Py_INCREF(Py_None
); resultobj
= Py_None
;
17866 static PyObject
* ListItemAttr_swigregister(PyObject
*, PyObject
*args
) {
17868 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17869 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr
, obj
);
17871 return Py_BuildValue((char *)"");
17873 static PyObject
*_wrap_new_ListItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17874 PyObject
*resultobj
;
17875 wxListItem
*result
;
17876 char *kwnames
[] = {
17880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ListItem",kwnames
)) goto fail
;
17882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17883 result
= (wxListItem
*)new wxListItem();
17885 wxPyEndAllowThreads(__tstate
);
17886 if (PyErr_Occurred()) SWIG_fail
;
17889 resultobj
= wxPyMake_wxObject(result
);
17897 static PyObject
*_wrap_delete_ListItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17898 PyObject
*resultobj
;
17899 wxListItem
*arg1
= (wxListItem
*) 0 ;
17900 PyObject
* obj0
= 0 ;
17901 char *kwnames
[] = {
17902 (char *) "self", NULL
17905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ListItem",kwnames
,&obj0
)) goto fail
;
17906 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
17907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17912 wxPyEndAllowThreads(__tstate
);
17913 if (PyErr_Occurred()) SWIG_fail
;
17915 Py_INCREF(Py_None
); resultobj
= Py_None
;
17922 static PyObject
*_wrap_ListItem_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17923 PyObject
*resultobj
;
17924 wxListItem
*arg1
= (wxListItem
*) 0 ;
17925 PyObject
* obj0
= 0 ;
17926 char *kwnames
[] = {
17927 (char *) "self", NULL
17930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_Clear",kwnames
,&obj0
)) goto fail
;
17931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
17932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17937 wxPyEndAllowThreads(__tstate
);
17938 if (PyErr_Occurred()) SWIG_fail
;
17940 Py_INCREF(Py_None
); resultobj
= Py_None
;
17947 static PyObject
*_wrap_ListItem_ClearAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17948 PyObject
*resultobj
;
17949 wxListItem
*arg1
= (wxListItem
*) 0 ;
17950 PyObject
* obj0
= 0 ;
17951 char *kwnames
[] = {
17952 (char *) "self", NULL
17955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_ClearAttributes",kwnames
,&obj0
)) goto fail
;
17956 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
17957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17960 (arg1
)->ClearAttributes();
17962 wxPyEndAllowThreads(__tstate
);
17963 if (PyErr_Occurred()) SWIG_fail
;
17965 Py_INCREF(Py_None
); resultobj
= Py_None
;
17972 static PyObject
*_wrap_ListItem_SetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17973 PyObject
*resultobj
;
17974 wxListItem
*arg1
= (wxListItem
*) 0 ;
17976 PyObject
* obj0
= 0 ;
17977 PyObject
* obj1
= 0 ;
17978 char *kwnames
[] = {
17979 (char *) "self",(char *) "mask", NULL
17982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
17983 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
17984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17985 arg2
= (long) SWIG_AsLong(obj1
);
17986 if (PyErr_Occurred()) SWIG_fail
;
17988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17989 (arg1
)->SetMask(arg2
);
17991 wxPyEndAllowThreads(__tstate
);
17992 if (PyErr_Occurred()) SWIG_fail
;
17994 Py_INCREF(Py_None
); resultobj
= Py_None
;
18001 static PyObject
*_wrap_ListItem_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18002 PyObject
*resultobj
;
18003 wxListItem
*arg1
= (wxListItem
*) 0 ;
18005 PyObject
* obj0
= 0 ;
18006 PyObject
* obj1
= 0 ;
18007 char *kwnames
[] = {
18008 (char *) "self",(char *) "id", NULL
18011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
18012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18014 arg2
= (long) SWIG_AsLong(obj1
);
18015 if (PyErr_Occurred()) SWIG_fail
;
18017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18018 (arg1
)->SetId(arg2
);
18020 wxPyEndAllowThreads(__tstate
);
18021 if (PyErr_Occurred()) SWIG_fail
;
18023 Py_INCREF(Py_None
); resultobj
= Py_None
;
18030 static PyObject
*_wrap_ListItem_SetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18031 PyObject
*resultobj
;
18032 wxListItem
*arg1
= (wxListItem
*) 0 ;
18034 PyObject
* obj0
= 0 ;
18035 PyObject
* obj1
= 0 ;
18036 char *kwnames
[] = {
18037 (char *) "self",(char *) "col", NULL
18040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
18041 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18043 arg2
= (int) SWIG_AsInt(obj1
);
18044 if (PyErr_Occurred()) SWIG_fail
;
18046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18047 (arg1
)->SetColumn(arg2
);
18049 wxPyEndAllowThreads(__tstate
);
18050 if (PyErr_Occurred()) SWIG_fail
;
18052 Py_INCREF(Py_None
); resultobj
= Py_None
;
18059 static PyObject
*_wrap_ListItem_SetState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18060 PyObject
*resultobj
;
18061 wxListItem
*arg1
= (wxListItem
*) 0 ;
18063 PyObject
* obj0
= 0 ;
18064 PyObject
* obj1
= 0 ;
18065 char *kwnames
[] = {
18066 (char *) "self",(char *) "state", NULL
18069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetState",kwnames
,&obj0
,&obj1
)) goto fail
;
18070 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18072 arg2
= (long) SWIG_AsLong(obj1
);
18073 if (PyErr_Occurred()) SWIG_fail
;
18075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18076 (arg1
)->SetState(arg2
);
18078 wxPyEndAllowThreads(__tstate
);
18079 if (PyErr_Occurred()) SWIG_fail
;
18081 Py_INCREF(Py_None
); resultobj
= Py_None
;
18088 static PyObject
*_wrap_ListItem_SetStateMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18089 PyObject
*resultobj
;
18090 wxListItem
*arg1
= (wxListItem
*) 0 ;
18092 PyObject
* obj0
= 0 ;
18093 PyObject
* obj1
= 0 ;
18094 char *kwnames
[] = {
18095 (char *) "self",(char *) "stateMask", NULL
18098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetStateMask",kwnames
,&obj0
,&obj1
)) goto fail
;
18099 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18100 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18101 arg2
= (long) SWIG_AsLong(obj1
);
18102 if (PyErr_Occurred()) SWIG_fail
;
18104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18105 (arg1
)->SetStateMask(arg2
);
18107 wxPyEndAllowThreads(__tstate
);
18108 if (PyErr_Occurred()) SWIG_fail
;
18110 Py_INCREF(Py_None
); resultobj
= Py_None
;
18117 static PyObject
*_wrap_ListItem_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18118 PyObject
*resultobj
;
18119 wxListItem
*arg1
= (wxListItem
*) 0 ;
18120 wxString
*arg2
= 0 ;
18121 bool temp2
= False
;
18122 PyObject
* obj0
= 0 ;
18123 PyObject
* obj1
= 0 ;
18124 char *kwnames
[] = {
18125 (char *) "self",(char *) "text", NULL
18128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
18129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18132 arg2
= wxString_in_helper(obj1
);
18133 if (arg2
== NULL
) SWIG_fail
;
18137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18138 (arg1
)->SetText((wxString
const &)*arg2
);
18140 wxPyEndAllowThreads(__tstate
);
18141 if (PyErr_Occurred()) SWIG_fail
;
18143 Py_INCREF(Py_None
); resultobj
= Py_None
;
18158 static PyObject
*_wrap_ListItem_SetImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18159 PyObject
*resultobj
;
18160 wxListItem
*arg1
= (wxListItem
*) 0 ;
18162 PyObject
* obj0
= 0 ;
18163 PyObject
* obj1
= 0 ;
18164 char *kwnames
[] = {
18165 (char *) "self",(char *) "image", NULL
18168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetImage",kwnames
,&obj0
,&obj1
)) goto fail
;
18169 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18171 arg2
= (int) SWIG_AsInt(obj1
);
18172 if (PyErr_Occurred()) SWIG_fail
;
18174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18175 (arg1
)->SetImage(arg2
);
18177 wxPyEndAllowThreads(__tstate
);
18178 if (PyErr_Occurred()) SWIG_fail
;
18180 Py_INCREF(Py_None
); resultobj
= Py_None
;
18187 static PyObject
*_wrap_ListItem_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18188 PyObject
*resultobj
;
18189 wxListItem
*arg1
= (wxListItem
*) 0 ;
18191 PyObject
* obj0
= 0 ;
18192 PyObject
* obj1
= 0 ;
18193 char *kwnames
[] = {
18194 (char *) "self",(char *) "data", NULL
18197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
18198 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18199 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18200 arg2
= (long) SWIG_AsLong(obj1
);
18201 if (PyErr_Occurred()) SWIG_fail
;
18203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18204 (arg1
)->SetData(arg2
);
18206 wxPyEndAllowThreads(__tstate
);
18207 if (PyErr_Occurred()) SWIG_fail
;
18209 Py_INCREF(Py_None
); resultobj
= Py_None
;
18216 static PyObject
*_wrap_ListItem_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18217 PyObject
*resultobj
;
18218 wxListItem
*arg1
= (wxListItem
*) 0 ;
18220 PyObject
* obj0
= 0 ;
18221 PyObject
* obj1
= 0 ;
18222 char *kwnames
[] = {
18223 (char *) "self",(char *) "width", NULL
18226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
18227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18229 arg2
= (int) SWIG_AsInt(obj1
);
18230 if (PyErr_Occurred()) SWIG_fail
;
18232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18233 (arg1
)->SetWidth(arg2
);
18235 wxPyEndAllowThreads(__tstate
);
18236 if (PyErr_Occurred()) SWIG_fail
;
18238 Py_INCREF(Py_None
); resultobj
= Py_None
;
18245 static PyObject
*_wrap_ListItem_SetAlign(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18246 PyObject
*resultobj
;
18247 wxListItem
*arg1
= (wxListItem
*) 0 ;
18249 PyObject
* obj0
= 0 ;
18250 PyObject
* obj1
= 0 ;
18251 char *kwnames
[] = {
18252 (char *) "self",(char *) "align", NULL
18255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetAlign",kwnames
,&obj0
,&obj1
)) goto fail
;
18256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18258 arg2
= (wxListColumnFormat
) SWIG_AsInt(obj1
);
18259 if (PyErr_Occurred()) SWIG_fail
;
18261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18262 (arg1
)->SetAlign((wxListColumnFormat
)arg2
);
18264 wxPyEndAllowThreads(__tstate
);
18265 if (PyErr_Occurred()) SWIG_fail
;
18267 Py_INCREF(Py_None
); resultobj
= Py_None
;
18274 static PyObject
*_wrap_ListItem_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18275 PyObject
*resultobj
;
18276 wxListItem
*arg1
= (wxListItem
*) 0 ;
18277 wxColour
*arg2
= 0 ;
18279 PyObject
* obj0
= 0 ;
18280 PyObject
* obj1
= 0 ;
18281 char *kwnames
[] = {
18282 (char *) "self",(char *) "colText", NULL
18285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18290 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18294 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
18296 wxPyEndAllowThreads(__tstate
);
18297 if (PyErr_Occurred()) SWIG_fail
;
18299 Py_INCREF(Py_None
); resultobj
= Py_None
;
18306 static PyObject
*_wrap_ListItem_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18307 PyObject
*resultobj
;
18308 wxListItem
*arg1
= (wxListItem
*) 0 ;
18309 wxColour
*arg2
= 0 ;
18311 PyObject
* obj0
= 0 ;
18312 PyObject
* obj1
= 0 ;
18313 char *kwnames
[] = {
18314 (char *) "self",(char *) "colBack", NULL
18317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18322 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18326 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
18328 wxPyEndAllowThreads(__tstate
);
18329 if (PyErr_Occurred()) SWIG_fail
;
18331 Py_INCREF(Py_None
); resultobj
= Py_None
;
18338 static PyObject
*_wrap_ListItem_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18339 PyObject
*resultobj
;
18340 wxListItem
*arg1
= (wxListItem
*) 0 ;
18342 PyObject
* obj0
= 0 ;
18343 PyObject
* obj1
= 0 ;
18344 char *kwnames
[] = {
18345 (char *) "self",(char *) "font", NULL
18348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
18349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18351 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
18352 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18354 if (arg2
== NULL
) {
18355 PyErr_SetString(PyExc_TypeError
,"null reference");
18359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18360 (arg1
)->SetFont((wxFont
const &)*arg2
);
18362 wxPyEndAllowThreads(__tstate
);
18363 if (PyErr_Occurred()) SWIG_fail
;
18365 Py_INCREF(Py_None
); resultobj
= Py_None
;
18372 static PyObject
*_wrap_ListItem_GetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18373 PyObject
*resultobj
;
18374 wxListItem
*arg1
= (wxListItem
*) 0 ;
18376 PyObject
* obj0
= 0 ;
18377 char *kwnames
[] = {
18378 (char *) "self", NULL
18381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetMask",kwnames
,&obj0
)) goto fail
;
18382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18386 result
= (long)(arg1
)->GetMask();
18388 wxPyEndAllowThreads(__tstate
);
18389 if (PyErr_Occurred()) SWIG_fail
;
18391 resultobj
= SWIG_FromLong((long)result
);
18398 static PyObject
*_wrap_ListItem_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18399 PyObject
*resultobj
;
18400 wxListItem
*arg1
= (wxListItem
*) 0 ;
18402 PyObject
* obj0
= 0 ;
18403 char *kwnames
[] = {
18404 (char *) "self", NULL
18407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetId",kwnames
,&obj0
)) goto fail
;
18408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18412 result
= (long)(arg1
)->GetId();
18414 wxPyEndAllowThreads(__tstate
);
18415 if (PyErr_Occurred()) SWIG_fail
;
18417 resultobj
= SWIG_FromLong((long)result
);
18424 static PyObject
*_wrap_ListItem_GetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18425 PyObject
*resultobj
;
18426 wxListItem
*arg1
= (wxListItem
*) 0 ;
18428 PyObject
* obj0
= 0 ;
18429 char *kwnames
[] = {
18430 (char *) "self", NULL
18433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetColumn",kwnames
,&obj0
)) goto fail
;
18434 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18438 result
= (int)(arg1
)->GetColumn();
18440 wxPyEndAllowThreads(__tstate
);
18441 if (PyErr_Occurred()) SWIG_fail
;
18443 resultobj
= SWIG_FromInt((int)result
);
18450 static PyObject
*_wrap_ListItem_GetState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18451 PyObject
*resultobj
;
18452 wxListItem
*arg1
= (wxListItem
*) 0 ;
18454 PyObject
* obj0
= 0 ;
18455 char *kwnames
[] = {
18456 (char *) "self", NULL
18459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetState",kwnames
,&obj0
)) goto fail
;
18460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18464 result
= (long)(arg1
)->GetState();
18466 wxPyEndAllowThreads(__tstate
);
18467 if (PyErr_Occurred()) SWIG_fail
;
18469 resultobj
= SWIG_FromLong((long)result
);
18476 static PyObject
*_wrap_ListItem_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18477 PyObject
*resultobj
;
18478 wxListItem
*arg1
= (wxListItem
*) 0 ;
18480 PyObject
* obj0
= 0 ;
18481 char *kwnames
[] = {
18482 (char *) "self", NULL
18485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetText",kwnames
,&obj0
)) goto fail
;
18486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18491 wxString
const &_result_ref
= (arg1
)->GetText();
18492 result
= (wxString
*) &_result_ref
;
18495 wxPyEndAllowThreads(__tstate
);
18496 if (PyErr_Occurred()) SWIG_fail
;
18500 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18502 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18511 static PyObject
*_wrap_ListItem_GetImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18512 PyObject
*resultobj
;
18513 wxListItem
*arg1
= (wxListItem
*) 0 ;
18515 PyObject
* obj0
= 0 ;
18516 char *kwnames
[] = {
18517 (char *) "self", NULL
18520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetImage",kwnames
,&obj0
)) goto fail
;
18521 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18525 result
= (int)(arg1
)->GetImage();
18527 wxPyEndAllowThreads(__tstate
);
18528 if (PyErr_Occurred()) SWIG_fail
;
18530 resultobj
= SWIG_FromInt((int)result
);
18537 static PyObject
*_wrap_ListItem_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18538 PyObject
*resultobj
;
18539 wxListItem
*arg1
= (wxListItem
*) 0 ;
18541 PyObject
* obj0
= 0 ;
18542 char *kwnames
[] = {
18543 (char *) "self", NULL
18546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetData",kwnames
,&obj0
)) goto fail
;
18547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18551 result
= (long)(arg1
)->GetData();
18553 wxPyEndAllowThreads(__tstate
);
18554 if (PyErr_Occurred()) SWIG_fail
;
18556 resultobj
= SWIG_FromLong((long)result
);
18563 static PyObject
*_wrap_ListItem_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18564 PyObject
*resultobj
;
18565 wxListItem
*arg1
= (wxListItem
*) 0 ;
18567 PyObject
* obj0
= 0 ;
18568 char *kwnames
[] = {
18569 (char *) "self", NULL
18572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetWidth",kwnames
,&obj0
)) goto fail
;
18573 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18577 result
= (int)(arg1
)->GetWidth();
18579 wxPyEndAllowThreads(__tstate
);
18580 if (PyErr_Occurred()) SWIG_fail
;
18582 resultobj
= SWIG_FromInt((int)result
);
18589 static PyObject
*_wrap_ListItem_GetAlign(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18590 PyObject
*resultobj
;
18591 wxListItem
*arg1
= (wxListItem
*) 0 ;
18593 PyObject
* obj0
= 0 ;
18594 char *kwnames
[] = {
18595 (char *) "self", NULL
18598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAlign",kwnames
,&obj0
)) goto fail
;
18599 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18603 result
= (int)(arg1
)->GetAlign();
18605 wxPyEndAllowThreads(__tstate
);
18606 if (PyErr_Occurred()) SWIG_fail
;
18608 resultobj
= SWIG_FromInt((int)result
);
18615 static PyObject
*_wrap_ListItem_GetAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18616 PyObject
*resultobj
;
18617 wxListItem
*arg1
= (wxListItem
*) 0 ;
18618 wxListItemAttr
*result
;
18619 PyObject
* obj0
= 0 ;
18620 char *kwnames
[] = {
18621 (char *) "self", NULL
18624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAttributes",kwnames
,&obj0
)) goto fail
;
18625 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18629 result
= (wxListItemAttr
*)(arg1
)->GetAttributes();
18631 wxPyEndAllowThreads(__tstate
);
18632 if (PyErr_Occurred()) SWIG_fail
;
18634 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 0);
18641 static PyObject
*_wrap_ListItem_HasAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18642 PyObject
*resultobj
;
18643 wxListItem
*arg1
= (wxListItem
*) 0 ;
18645 PyObject
* obj0
= 0 ;
18646 char *kwnames
[] = {
18647 (char *) "self", NULL
18650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_HasAttributes",kwnames
,&obj0
)) goto fail
;
18651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18655 result
= (bool)(arg1
)->HasAttributes();
18657 wxPyEndAllowThreads(__tstate
);
18658 if (PyErr_Occurred()) SWIG_fail
;
18661 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18669 static PyObject
*_wrap_ListItem_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18670 PyObject
*resultobj
;
18671 wxListItem
*arg1
= (wxListItem
*) 0 ;
18673 PyObject
* obj0
= 0 ;
18674 char *kwnames
[] = {
18675 (char *) "self", NULL
18678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetTextColour",kwnames
,&obj0
)) goto fail
;
18679 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18683 result
= ((wxListItem
const *)arg1
)->GetTextColour();
18685 wxPyEndAllowThreads(__tstate
);
18686 if (PyErr_Occurred()) SWIG_fail
;
18689 wxColour
* resultptr
;
18690 resultptr
= new wxColour((wxColour
&) result
);
18691 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18699 static PyObject
*_wrap_ListItem_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18700 PyObject
*resultobj
;
18701 wxListItem
*arg1
= (wxListItem
*) 0 ;
18703 PyObject
* obj0
= 0 ;
18704 char *kwnames
[] = {
18705 (char *) "self", NULL
18708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
18709 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18713 result
= ((wxListItem
const *)arg1
)->GetBackgroundColour();
18715 wxPyEndAllowThreads(__tstate
);
18716 if (PyErr_Occurred()) SWIG_fail
;
18719 wxColour
* resultptr
;
18720 resultptr
= new wxColour((wxColour
&) result
);
18721 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18729 static PyObject
*_wrap_ListItem_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18730 PyObject
*resultobj
;
18731 wxListItem
*arg1
= (wxListItem
*) 0 ;
18733 PyObject
* obj0
= 0 ;
18734 char *kwnames
[] = {
18735 (char *) "self", NULL
18738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetFont",kwnames
,&obj0
)) goto fail
;
18739 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18743 result
= ((wxListItem
const *)arg1
)->GetFont();
18745 wxPyEndAllowThreads(__tstate
);
18746 if (PyErr_Occurred()) SWIG_fail
;
18749 wxFont
* resultptr
;
18750 resultptr
= new wxFont((wxFont
&) result
);
18751 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
18759 static PyObject
*_wrap_ListItem_m_mask_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18760 PyObject
*resultobj
;
18761 wxListItem
*arg1
= (wxListItem
*) 0 ;
18763 PyObject
* obj0
= 0 ;
18764 PyObject
* obj1
= 0 ;
18765 char *kwnames
[] = {
18766 (char *) "self",(char *) "m_mask", NULL
18769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_mask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18772 arg2
= (long) SWIG_AsLong(obj1
);
18773 if (PyErr_Occurred()) SWIG_fail
;
18774 if (arg1
) (arg1
)->m_mask
= arg2
;
18776 Py_INCREF(Py_None
); resultobj
= Py_None
;
18783 static PyObject
*_wrap_ListItem_m_mask_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18784 PyObject
*resultobj
;
18785 wxListItem
*arg1
= (wxListItem
*) 0 ;
18787 PyObject
* obj0
= 0 ;
18788 char *kwnames
[] = {
18789 (char *) "self", NULL
18792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_mask_get",kwnames
,&obj0
)) goto fail
;
18793 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18795 result
= (long) ((arg1
)->m_mask
);
18797 resultobj
= SWIG_FromLong((long)result
);
18804 static PyObject
*_wrap_ListItem_m_itemId_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18805 PyObject
*resultobj
;
18806 wxListItem
*arg1
= (wxListItem
*) 0 ;
18808 PyObject
* obj0
= 0 ;
18809 PyObject
* obj1
= 0 ;
18810 char *kwnames
[] = {
18811 (char *) "self",(char *) "m_itemId", NULL
18814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_itemId_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18815 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18817 arg2
= (long) SWIG_AsLong(obj1
);
18818 if (PyErr_Occurred()) SWIG_fail
;
18819 if (arg1
) (arg1
)->m_itemId
= arg2
;
18821 Py_INCREF(Py_None
); resultobj
= Py_None
;
18828 static PyObject
*_wrap_ListItem_m_itemId_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18829 PyObject
*resultobj
;
18830 wxListItem
*arg1
= (wxListItem
*) 0 ;
18832 PyObject
* obj0
= 0 ;
18833 char *kwnames
[] = {
18834 (char *) "self", NULL
18837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_itemId_get",kwnames
,&obj0
)) goto fail
;
18838 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18840 result
= (long) ((arg1
)->m_itemId
);
18842 resultobj
= SWIG_FromLong((long)result
);
18849 static PyObject
*_wrap_ListItem_m_col_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18850 PyObject
*resultobj
;
18851 wxListItem
*arg1
= (wxListItem
*) 0 ;
18853 PyObject
* obj0
= 0 ;
18854 PyObject
* obj1
= 0 ;
18855 char *kwnames
[] = {
18856 (char *) "self",(char *) "m_col", NULL
18859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18860 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18862 arg2
= (int) SWIG_AsInt(obj1
);
18863 if (PyErr_Occurred()) SWIG_fail
;
18864 if (arg1
) (arg1
)->m_col
= arg2
;
18866 Py_INCREF(Py_None
); resultobj
= Py_None
;
18873 static PyObject
*_wrap_ListItem_m_col_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18874 PyObject
*resultobj
;
18875 wxListItem
*arg1
= (wxListItem
*) 0 ;
18877 PyObject
* obj0
= 0 ;
18878 char *kwnames
[] = {
18879 (char *) "self", NULL
18882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_col_get",kwnames
,&obj0
)) goto fail
;
18883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18885 result
= (int) ((arg1
)->m_col
);
18887 resultobj
= SWIG_FromInt((int)result
);
18894 static PyObject
*_wrap_ListItem_m_state_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18895 PyObject
*resultobj
;
18896 wxListItem
*arg1
= (wxListItem
*) 0 ;
18898 PyObject
* obj0
= 0 ;
18899 PyObject
* obj1
= 0 ;
18900 char *kwnames
[] = {
18901 (char *) "self",(char *) "m_state", NULL
18904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_state_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18905 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18907 arg2
= (long) SWIG_AsLong(obj1
);
18908 if (PyErr_Occurred()) SWIG_fail
;
18909 if (arg1
) (arg1
)->m_state
= arg2
;
18911 Py_INCREF(Py_None
); resultobj
= Py_None
;
18918 static PyObject
*_wrap_ListItem_m_state_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18919 PyObject
*resultobj
;
18920 wxListItem
*arg1
= (wxListItem
*) 0 ;
18922 PyObject
* obj0
= 0 ;
18923 char *kwnames
[] = {
18924 (char *) "self", NULL
18927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_state_get",kwnames
,&obj0
)) goto fail
;
18928 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18929 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18930 result
= (long) ((arg1
)->m_state
);
18932 resultobj
= SWIG_FromLong((long)result
);
18939 static PyObject
*_wrap_ListItem_m_stateMask_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18940 PyObject
*resultobj
;
18941 wxListItem
*arg1
= (wxListItem
*) 0 ;
18943 PyObject
* obj0
= 0 ;
18944 PyObject
* obj1
= 0 ;
18945 char *kwnames
[] = {
18946 (char *) "self",(char *) "m_stateMask", NULL
18949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_stateMask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18952 arg2
= (long) SWIG_AsLong(obj1
);
18953 if (PyErr_Occurred()) SWIG_fail
;
18954 if (arg1
) (arg1
)->m_stateMask
= arg2
;
18956 Py_INCREF(Py_None
); resultobj
= Py_None
;
18963 static PyObject
*_wrap_ListItem_m_stateMask_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18964 PyObject
*resultobj
;
18965 wxListItem
*arg1
= (wxListItem
*) 0 ;
18967 PyObject
* obj0
= 0 ;
18968 char *kwnames
[] = {
18969 (char *) "self", NULL
18972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_stateMask_get",kwnames
,&obj0
)) goto fail
;
18973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18975 result
= (long) ((arg1
)->m_stateMask
);
18977 resultobj
= SWIG_FromLong((long)result
);
18984 static PyObject
*_wrap_ListItem_m_text_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18985 PyObject
*resultobj
;
18986 wxListItem
*arg1
= (wxListItem
*) 0 ;
18987 wxString
*arg2
= (wxString
*) 0 ;
18988 bool temp2
= False
;
18989 PyObject
* obj0
= 0 ;
18990 PyObject
* obj1
= 0 ;
18991 char *kwnames
[] = {
18992 (char *) "self",(char *) "m_text", NULL
18995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_text_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18999 arg2
= wxString_in_helper(obj1
);
19000 if (arg2
== NULL
) SWIG_fail
;
19003 if (arg1
) (arg1
)->m_text
= *arg2
;
19005 Py_INCREF(Py_None
); resultobj
= Py_None
;
19020 static PyObject
*_wrap_ListItem_m_text_get(PyObject
*, 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_m_text_get",kwnames
,&obj0
)) goto fail
;
19030 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19032 result
= (wxString
*)& ((arg1
)->m_text
);
19036 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19038 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19047 static PyObject
*_wrap_ListItem_m_image_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19048 PyObject
*resultobj
;
19049 wxListItem
*arg1
= (wxListItem
*) 0 ;
19051 PyObject
* obj0
= 0 ;
19052 PyObject
* obj1
= 0 ;
19053 char *kwnames
[] = {
19054 (char *) "self",(char *) "m_image", NULL
19057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_image_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19060 arg2
= (int) SWIG_AsInt(obj1
);
19061 if (PyErr_Occurred()) SWIG_fail
;
19062 if (arg1
) (arg1
)->m_image
= arg2
;
19064 Py_INCREF(Py_None
); resultobj
= Py_None
;
19071 static PyObject
*_wrap_ListItem_m_image_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19072 PyObject
*resultobj
;
19073 wxListItem
*arg1
= (wxListItem
*) 0 ;
19075 PyObject
* obj0
= 0 ;
19076 char *kwnames
[] = {
19077 (char *) "self", NULL
19080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_image_get",kwnames
,&obj0
)) goto fail
;
19081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19083 result
= (int) ((arg1
)->m_image
);
19085 resultobj
= SWIG_FromInt((int)result
);
19092 static PyObject
*_wrap_ListItem_m_data_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19093 PyObject
*resultobj
;
19094 wxListItem
*arg1
= (wxListItem
*) 0 ;
19096 PyObject
* obj0
= 0 ;
19097 PyObject
* obj1
= 0 ;
19098 char *kwnames
[] = {
19099 (char *) "self",(char *) "m_data", NULL
19102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_data_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19103 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19105 arg2
= (long) SWIG_AsLong(obj1
);
19106 if (PyErr_Occurred()) SWIG_fail
;
19107 if (arg1
) (arg1
)->m_data
= arg2
;
19109 Py_INCREF(Py_None
); resultobj
= Py_None
;
19116 static PyObject
*_wrap_ListItem_m_data_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19117 PyObject
*resultobj
;
19118 wxListItem
*arg1
= (wxListItem
*) 0 ;
19120 PyObject
* obj0
= 0 ;
19121 char *kwnames
[] = {
19122 (char *) "self", NULL
19125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_data_get",kwnames
,&obj0
)) goto fail
;
19126 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19128 result
= (long) ((arg1
)->m_data
);
19130 resultobj
= SWIG_FromLong((long)result
);
19137 static PyObject
*_wrap_ListItem_m_format_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19138 PyObject
*resultobj
;
19139 wxListItem
*arg1
= (wxListItem
*) 0 ;
19141 PyObject
* obj0
= 0 ;
19142 PyObject
* obj1
= 0 ;
19143 char *kwnames
[] = {
19144 (char *) "self",(char *) "m_format", NULL
19147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_format_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19148 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19150 arg2
= (int) SWIG_AsInt(obj1
);
19151 if (PyErr_Occurred()) SWIG_fail
;
19152 if (arg1
) (arg1
)->m_format
= arg2
;
19154 Py_INCREF(Py_None
); resultobj
= Py_None
;
19161 static PyObject
*_wrap_ListItem_m_format_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19162 PyObject
*resultobj
;
19163 wxListItem
*arg1
= (wxListItem
*) 0 ;
19165 PyObject
* obj0
= 0 ;
19166 char *kwnames
[] = {
19167 (char *) "self", NULL
19170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_format_get",kwnames
,&obj0
)) goto fail
;
19171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19173 result
= (int) ((arg1
)->m_format
);
19175 resultobj
= SWIG_FromInt((int)result
);
19182 static PyObject
*_wrap_ListItem_m_width_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19183 PyObject
*resultobj
;
19184 wxListItem
*arg1
= (wxListItem
*) 0 ;
19186 PyObject
* obj0
= 0 ;
19187 PyObject
* obj1
= 0 ;
19188 char *kwnames
[] = {
19189 (char *) "self",(char *) "m_width", NULL
19192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19193 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19195 arg2
= (int) SWIG_AsInt(obj1
);
19196 if (PyErr_Occurred()) SWIG_fail
;
19197 if (arg1
) (arg1
)->m_width
= arg2
;
19199 Py_INCREF(Py_None
); resultobj
= Py_None
;
19206 static PyObject
*_wrap_ListItem_m_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19207 PyObject
*resultobj
;
19208 wxListItem
*arg1
= (wxListItem
*) 0 ;
19210 PyObject
* obj0
= 0 ;
19211 char *kwnames
[] = {
19212 (char *) "self", NULL
19215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_width_get",kwnames
,&obj0
)) goto fail
;
19216 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19218 result
= (int) ((arg1
)->m_width
);
19220 resultobj
= SWIG_FromInt((int)result
);
19227 static PyObject
* ListItem_swigregister(PyObject
*, PyObject
*args
) {
19229 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19230 SWIG_TypeClientData(SWIGTYPE_p_wxListItem
, obj
);
19232 return Py_BuildValue((char *)"");
19234 static PyObject
*_wrap_new_ListEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19235 PyObject
*resultobj
;
19236 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19237 int arg2
= (int) 0 ;
19238 wxListEvent
*result
;
19239 PyObject
* obj0
= 0 ;
19240 PyObject
* obj1
= 0 ;
19241 char *kwnames
[] = {
19242 (char *) "commandType",(char *) "id", NULL
19245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ListEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19247 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
19248 if (PyErr_Occurred()) SWIG_fail
;
19251 arg2
= (int) SWIG_AsInt(obj1
);
19252 if (PyErr_Occurred()) SWIG_fail
;
19255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19256 result
= (wxListEvent
*)new wxListEvent(arg1
,arg2
);
19258 wxPyEndAllowThreads(__tstate
);
19259 if (PyErr_Occurred()) SWIG_fail
;
19261 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListEvent
, 1);
19268 static PyObject
*_wrap_ListEvent_m_code_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19269 PyObject
*resultobj
;
19270 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19272 PyObject
* obj0
= 0 ;
19273 PyObject
* obj1
= 0 ;
19274 char *kwnames
[] = {
19275 (char *) "self",(char *) "m_code", NULL
19278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_code_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19281 arg2
= (int) SWIG_AsInt(obj1
);
19282 if (PyErr_Occurred()) SWIG_fail
;
19283 if (arg1
) (arg1
)->m_code
= arg2
;
19285 Py_INCREF(Py_None
); resultobj
= Py_None
;
19292 static PyObject
*_wrap_ListEvent_m_code_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19293 PyObject
*resultobj
;
19294 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19296 PyObject
* obj0
= 0 ;
19297 char *kwnames
[] = {
19298 (char *) "self", NULL
19301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_code_get",kwnames
,&obj0
)) goto fail
;
19302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19304 result
= (int) ((arg1
)->m_code
);
19306 resultobj
= SWIG_FromInt((int)result
);
19313 static PyObject
*_wrap_ListEvent_m_oldItemIndex_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19314 PyObject
*resultobj
;
19315 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19317 PyObject
* obj0
= 0 ;
19318 PyObject
* obj1
= 0 ;
19319 char *kwnames
[] = {
19320 (char *) "self",(char *) "m_oldItemIndex", NULL
19323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_oldItemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19326 arg2
= (long) SWIG_AsLong(obj1
);
19327 if (PyErr_Occurred()) SWIG_fail
;
19328 if (arg1
) (arg1
)->m_oldItemIndex
= arg2
;
19330 Py_INCREF(Py_None
); resultobj
= Py_None
;
19337 static PyObject
*_wrap_ListEvent_m_oldItemIndex_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19338 PyObject
*resultobj
;
19339 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19341 PyObject
* obj0
= 0 ;
19342 char *kwnames
[] = {
19343 (char *) "self", NULL
19346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames
,&obj0
)) goto fail
;
19347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19349 result
= (long) ((arg1
)->m_oldItemIndex
);
19351 resultobj
= SWIG_FromLong((long)result
);
19358 static PyObject
*_wrap_ListEvent_m_itemIndex_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19359 PyObject
*resultobj
;
19360 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19362 PyObject
* obj0
= 0 ;
19363 PyObject
* obj1
= 0 ;
19364 char *kwnames
[] = {
19365 (char *) "self",(char *) "m_itemIndex", NULL
19368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_itemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19371 arg2
= (long) SWIG_AsLong(obj1
);
19372 if (PyErr_Occurred()) SWIG_fail
;
19373 if (arg1
) (arg1
)->m_itemIndex
= arg2
;
19375 Py_INCREF(Py_None
); resultobj
= Py_None
;
19382 static PyObject
*_wrap_ListEvent_m_itemIndex_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19383 PyObject
*resultobj
;
19384 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19386 PyObject
* obj0
= 0 ;
19387 char *kwnames
[] = {
19388 (char *) "self", NULL
19391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_itemIndex_get",kwnames
,&obj0
)) goto fail
;
19392 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19394 result
= (long) ((arg1
)->m_itemIndex
);
19396 resultobj
= SWIG_FromLong((long)result
);
19403 static PyObject
*_wrap_ListEvent_m_col_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19404 PyObject
*resultobj
;
19405 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19407 PyObject
* obj0
= 0 ;
19408 PyObject
* obj1
= 0 ;
19409 char *kwnames
[] = {
19410 (char *) "self",(char *) "m_col", NULL
19413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19414 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19415 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19416 arg2
= (int) SWIG_AsInt(obj1
);
19417 if (PyErr_Occurred()) SWIG_fail
;
19418 if (arg1
) (arg1
)->m_col
= arg2
;
19420 Py_INCREF(Py_None
); resultobj
= Py_None
;
19427 static PyObject
*_wrap_ListEvent_m_col_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19428 PyObject
*resultobj
;
19429 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19431 PyObject
* obj0
= 0 ;
19432 char *kwnames
[] = {
19433 (char *) "self", NULL
19436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_col_get",kwnames
,&obj0
)) goto fail
;
19437 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19439 result
= (int) ((arg1
)->m_col
);
19441 resultobj
= SWIG_FromInt((int)result
);
19448 static PyObject
*_wrap_ListEvent_m_pointDrag_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19449 PyObject
*resultobj
;
19450 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19451 wxPoint
*arg2
= (wxPoint
*) 0 ;
19452 PyObject
* obj0
= 0 ;
19453 PyObject
* obj1
= 0 ;
19454 char *kwnames
[] = {
19455 (char *) "self",(char *) "m_pointDrag", NULL
19458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_pointDrag_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19461 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPoint
,
19462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19463 if (arg1
) (arg1
)->m_pointDrag
= *arg2
;
19465 Py_INCREF(Py_None
); resultobj
= Py_None
;
19472 static PyObject
*_wrap_ListEvent_m_pointDrag_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19473 PyObject
*resultobj
;
19474 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19476 PyObject
* obj0
= 0 ;
19477 char *kwnames
[] = {
19478 (char *) "self", NULL
19481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_pointDrag_get",kwnames
,&obj0
)) goto fail
;
19482 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19484 result
= (wxPoint
*)& ((arg1
)->m_pointDrag
);
19486 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
19493 static PyObject
*_wrap_ListEvent_m_item_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19494 PyObject
*resultobj
;
19495 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19496 wxListItem
*result
;
19497 PyObject
* obj0
= 0 ;
19498 char *kwnames
[] = {
19499 (char *) "self", NULL
19502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_item_get",kwnames
,&obj0
)) goto fail
;
19503 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19505 result
= (wxListItem
*)& ((arg1
)->m_item
);
19508 resultobj
= wxPyMake_wxObject(result
);
19516 static PyObject
*_wrap_ListEvent_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19517 PyObject
*resultobj
;
19518 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19520 PyObject
* obj0
= 0 ;
19521 char *kwnames
[] = {
19522 (char *) "self", NULL
19525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
19526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19530 result
= (int)(arg1
)->GetKeyCode();
19532 wxPyEndAllowThreads(__tstate
);
19533 if (PyErr_Occurred()) SWIG_fail
;
19535 resultobj
= SWIG_FromInt((int)result
);
19542 static PyObject
*_wrap_ListEvent_GetIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19543 PyObject
*resultobj
;
19544 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19546 PyObject
* obj0
= 0 ;
19547 char *kwnames
[] = {
19548 (char *) "self", NULL
19551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetIndex",kwnames
,&obj0
)) goto fail
;
19552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19556 result
= (long)(arg1
)->GetIndex();
19558 wxPyEndAllowThreads(__tstate
);
19559 if (PyErr_Occurred()) SWIG_fail
;
19561 resultobj
= SWIG_FromLong((long)result
);
19568 static PyObject
*_wrap_ListEvent_GetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19569 PyObject
*resultobj
;
19570 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19572 PyObject
* obj0
= 0 ;
19573 char *kwnames
[] = {
19574 (char *) "self", NULL
19577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetColumn",kwnames
,&obj0
)) goto fail
;
19578 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19579 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19582 result
= (int)(arg1
)->GetColumn();
19584 wxPyEndAllowThreads(__tstate
);
19585 if (PyErr_Occurred()) SWIG_fail
;
19587 resultobj
= SWIG_FromInt((int)result
);
19594 static PyObject
*_wrap_ListEvent_GetPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19595 PyObject
*resultobj
;
19596 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19598 PyObject
* obj0
= 0 ;
19599 char *kwnames
[] = {
19600 (char *) "self", NULL
19603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
19604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19608 result
= (arg1
)->GetPoint();
19610 wxPyEndAllowThreads(__tstate
);
19611 if (PyErr_Occurred()) SWIG_fail
;
19614 wxPoint
* resultptr
;
19615 resultptr
= new wxPoint((wxPoint
&) result
);
19616 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
19624 static PyObject
*_wrap_ListEvent_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19625 PyObject
*resultobj
;
19626 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19628 PyObject
* obj0
= 0 ;
19629 char *kwnames
[] = {
19630 (char *) "self", NULL
19633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
19634 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19639 wxString
const &_result_ref
= (arg1
)->GetLabel();
19640 result
= (wxString
*) &_result_ref
;
19643 wxPyEndAllowThreads(__tstate
);
19644 if (PyErr_Occurred()) SWIG_fail
;
19648 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19650 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19659 static PyObject
*_wrap_ListEvent_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19660 PyObject
*resultobj
;
19661 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19663 PyObject
* obj0
= 0 ;
19664 char *kwnames
[] = {
19665 (char *) "self", NULL
19668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetText",kwnames
,&obj0
)) goto fail
;
19669 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19674 wxString
const &_result_ref
= (arg1
)->GetText();
19675 result
= (wxString
*) &_result_ref
;
19678 wxPyEndAllowThreads(__tstate
);
19679 if (PyErr_Occurred()) SWIG_fail
;
19683 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19685 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19694 static PyObject
*_wrap_ListEvent_GetImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19695 PyObject
*resultobj
;
19696 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19698 PyObject
* obj0
= 0 ;
19699 char *kwnames
[] = {
19700 (char *) "self", NULL
19703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetImage",kwnames
,&obj0
)) goto fail
;
19704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19708 result
= (int)(arg1
)->GetImage();
19710 wxPyEndAllowThreads(__tstate
);
19711 if (PyErr_Occurred()) SWIG_fail
;
19713 resultobj
= SWIG_FromInt((int)result
);
19720 static PyObject
*_wrap_ListEvent_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19721 PyObject
*resultobj
;
19722 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19724 PyObject
* obj0
= 0 ;
19725 char *kwnames
[] = {
19726 (char *) "self", NULL
19729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetData",kwnames
,&obj0
)) goto fail
;
19730 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19734 result
= (long)(arg1
)->GetData();
19736 wxPyEndAllowThreads(__tstate
);
19737 if (PyErr_Occurred()) SWIG_fail
;
19739 resultobj
= SWIG_FromLong((long)result
);
19746 static PyObject
*_wrap_ListEvent_GetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19747 PyObject
*resultobj
;
19748 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19750 PyObject
* obj0
= 0 ;
19751 char *kwnames
[] = {
19752 (char *) "self", NULL
19755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetMask",kwnames
,&obj0
)) goto fail
;
19756 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19760 result
= (long)(arg1
)->GetMask();
19762 wxPyEndAllowThreads(__tstate
);
19763 if (PyErr_Occurred()) SWIG_fail
;
19765 resultobj
= SWIG_FromLong((long)result
);
19772 static PyObject
*_wrap_ListEvent_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19773 PyObject
*resultobj
;
19774 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19775 wxListItem
*result
;
19776 PyObject
* obj0
= 0 ;
19777 char *kwnames
[] = {
19778 (char *) "self", NULL
19781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetItem",kwnames
,&obj0
)) goto fail
;
19782 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19783 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19787 wxListItem
const &_result_ref
= (arg1
)->GetItem();
19788 result
= (wxListItem
*) &_result_ref
;
19791 wxPyEndAllowThreads(__tstate
);
19792 if (PyErr_Occurred()) SWIG_fail
;
19794 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItem
, 0);
19801 static PyObject
*_wrap_ListEvent_GetCacheFrom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19802 PyObject
*resultobj
;
19803 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19805 PyObject
* obj0
= 0 ;
19806 char *kwnames
[] = {
19807 (char *) "self", NULL
19810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheFrom",kwnames
,&obj0
)) goto fail
;
19811 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19812 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19815 result
= (long)(arg1
)->GetCacheFrom();
19817 wxPyEndAllowThreads(__tstate
);
19818 if (PyErr_Occurred()) SWIG_fail
;
19820 resultobj
= SWIG_FromLong((long)result
);
19827 static PyObject
*_wrap_ListEvent_GetCacheTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19828 PyObject
*resultobj
;
19829 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19831 PyObject
* obj0
= 0 ;
19832 char *kwnames
[] = {
19833 (char *) "self", NULL
19836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheTo",kwnames
,&obj0
)) goto fail
;
19837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19841 result
= (long)(arg1
)->GetCacheTo();
19843 wxPyEndAllowThreads(__tstate
);
19844 if (PyErr_Occurred()) SWIG_fail
;
19846 resultobj
= SWIG_FromLong((long)result
);
19853 static PyObject
*_wrap_ListEvent_IsEditCancelled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19854 PyObject
*resultobj
;
19855 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19857 PyObject
* obj0
= 0 ;
19858 char *kwnames
[] = {
19859 (char *) "self", NULL
19862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
19863 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19864 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19867 result
= (bool)((wxListEvent
const *)arg1
)->IsEditCancelled();
19869 wxPyEndAllowThreads(__tstate
);
19870 if (PyErr_Occurred()) SWIG_fail
;
19873 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19881 static PyObject
*_wrap_ListEvent_SetEditCanceled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19882 PyObject
*resultobj
;
19883 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19885 PyObject
* obj0
= 0 ;
19886 PyObject
* obj1
= 0 ;
19887 char *kwnames
[] = {
19888 (char *) "self",(char *) "editCancelled", NULL
19891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
19892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19894 arg2
= (bool) SWIG_AsBool(obj1
);
19895 if (PyErr_Occurred()) SWIG_fail
;
19897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19898 (arg1
)->SetEditCanceled(arg2
);
19900 wxPyEndAllowThreads(__tstate
);
19901 if (PyErr_Occurred()) SWIG_fail
;
19903 Py_INCREF(Py_None
); resultobj
= Py_None
;
19910 static PyObject
* ListEvent_swigregister(PyObject
*, PyObject
*args
) {
19912 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19913 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent
, obj
);
19915 return Py_BuildValue((char *)"");
19917 static PyObject
*_wrap_new_ListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19918 PyObject
*resultobj
;
19919 wxWindow
*arg1
= (wxWindow
*) 0 ;
19920 int arg2
= (int) -1 ;
19921 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
19922 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
19923 wxSize
const &arg4_defvalue
= wxDefaultSize
;
19924 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
19925 long arg5
= (long) wxLC_ICON
;
19926 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
19927 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
19928 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
19929 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
19930 wxPyListCtrl
*result
;
19933 bool temp7
= False
;
19934 PyObject
* obj0
= 0 ;
19935 PyObject
* obj1
= 0 ;
19936 PyObject
* obj2
= 0 ;
19937 PyObject
* obj3
= 0 ;
19938 PyObject
* obj4
= 0 ;
19939 PyObject
* obj5
= 0 ;
19940 PyObject
* obj6
= 0 ;
19941 char *kwnames
[] = {
19942 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
19945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
19946 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
19947 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19949 arg2
= (int) SWIG_AsInt(obj1
);
19950 if (PyErr_Occurred()) SWIG_fail
;
19955 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19961 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
19965 arg5
= (long) SWIG_AsLong(obj4
);
19966 if (PyErr_Occurred()) SWIG_fail
;
19969 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
19970 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19972 if (arg6
== NULL
) {
19973 PyErr_SetString(PyExc_TypeError
,"null reference");
19979 arg7
= wxString_in_helper(obj6
);
19980 if (arg7
== NULL
) SWIG_fail
;
19985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19986 result
= (wxPyListCtrl
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
19988 wxPyEndAllowThreads(__tstate
);
19989 if (PyErr_Occurred()) SWIG_fail
;
19991 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1);
20006 static PyObject
*_wrap_new_PreListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20007 PyObject
*resultobj
;
20008 wxPyListCtrl
*result
;
20009 char *kwnames
[] = {
20013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListCtrl",kwnames
)) goto fail
;
20015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20016 result
= (wxPyListCtrl
*)new wxPyListCtrl();
20018 wxPyEndAllowThreads(__tstate
);
20019 if (PyErr_Occurred()) SWIG_fail
;
20021 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1);
20028 static PyObject
*_wrap_ListCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20029 PyObject
*resultobj
;
20030 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20031 wxWindow
*arg2
= (wxWindow
*) 0 ;
20032 int arg3
= (int) -1 ;
20033 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20034 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20035 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20036 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20037 long arg6
= (long) wxLC_ICON
;
20038 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
20039 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
20040 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
20041 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
20045 bool temp8
= False
;
20046 PyObject
* obj0
= 0 ;
20047 PyObject
* obj1
= 0 ;
20048 PyObject
* obj2
= 0 ;
20049 PyObject
* obj3
= 0 ;
20050 PyObject
* obj4
= 0 ;
20051 PyObject
* obj5
= 0 ;
20052 PyObject
* obj6
= 0 ;
20053 PyObject
* obj7
= 0 ;
20054 char *kwnames
[] = {
20055 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
20058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
20059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20061 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
20062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20064 arg3
= (int) SWIG_AsInt(obj2
);
20065 if (PyErr_Occurred()) SWIG_fail
;
20070 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20076 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20080 arg6
= (long) SWIG_AsLong(obj5
);
20081 if (PyErr_Occurred()) SWIG_fail
;
20084 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
20085 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20087 if (arg7
== NULL
) {
20088 PyErr_SetString(PyExc_TypeError
,"null reference");
20094 arg8
= wxString_in_helper(obj7
);
20095 if (arg8
== NULL
) SWIG_fail
;
20100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20101 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
20103 wxPyEndAllowThreads(__tstate
);
20104 if (PyErr_Occurred()) SWIG_fail
;
20107 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20123 static PyObject
*_wrap_ListCtrl__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20124 PyObject
*resultobj
;
20125 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20126 PyObject
*arg2
= (PyObject
*) 0 ;
20127 PyObject
*arg3
= (PyObject
*) 0 ;
20128 PyObject
* obj0
= 0 ;
20129 PyObject
* obj1
= 0 ;
20130 PyObject
* obj2
= 0 ;
20131 char *kwnames
[] = {
20132 (char *) "self",(char *) "self",(char *) "_class", NULL
20135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20136 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20137 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20142 (arg1
)->_setCallbackInfo(arg2
,arg3
);
20144 wxPyEndAllowThreads(__tstate
);
20145 if (PyErr_Occurred()) SWIG_fail
;
20147 Py_INCREF(Py_None
); resultobj
= Py_None
;
20154 static PyObject
*_wrap_ListCtrl_SetForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20155 PyObject
*resultobj
;
20156 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20157 wxColour
*arg2
= 0 ;
20160 PyObject
* obj0
= 0 ;
20161 PyObject
* obj1
= 0 ;
20162 char *kwnames
[] = {
20163 (char *) "self",(char *) "col", NULL
20166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
20167 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20171 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
20174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20175 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
20177 wxPyEndAllowThreads(__tstate
);
20178 if (PyErr_Occurred()) SWIG_fail
;
20181 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20189 static PyObject
*_wrap_ListCtrl_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20190 PyObject
*resultobj
;
20191 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20192 wxColour
*arg2
= 0 ;
20195 PyObject
* obj0
= 0 ;
20196 PyObject
* obj1
= 0 ;
20197 char *kwnames
[] = {
20198 (char *) "self",(char *) "col", NULL
20201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
20202 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20206 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
20209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20210 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
20212 wxPyEndAllowThreads(__tstate
);
20213 if (PyErr_Occurred()) SWIG_fail
;
20216 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20224 static PyObject
*_wrap_ListCtrl_GetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20225 PyObject
*resultobj
;
20226 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20228 wxListItem
*result
;
20229 PyObject
* obj0
= 0 ;
20230 PyObject
* obj1
= 0 ;
20231 char *kwnames
[] = {
20232 (char *) "self",(char *) "col", NULL
20235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
20236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20238 arg2
= (int) SWIG_AsInt(obj1
);
20239 if (PyErr_Occurred()) SWIG_fail
;
20241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20242 result
= (wxListItem
*)wxPyListCtrl_GetColumn(arg1
,arg2
);
20244 wxPyEndAllowThreads(__tstate
);
20245 if (PyErr_Occurred()) SWIG_fail
;
20248 resultobj
= wxPyMake_wxObject(result
);
20256 static PyObject
*_wrap_ListCtrl_SetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20257 PyObject
*resultobj
;
20258 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20260 wxListItem
*arg3
= 0 ;
20262 PyObject
* obj0
= 0 ;
20263 PyObject
* obj1
= 0 ;
20264 PyObject
* obj2
= 0 ;
20265 char *kwnames
[] = {
20266 (char *) "self",(char *) "col",(char *) "item", NULL
20269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumn",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20270 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20272 arg2
= (int) SWIG_AsInt(obj1
);
20273 if (PyErr_Occurred()) SWIG_fail
;
20274 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxListItem
,
20275 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20277 if (arg3
== NULL
) {
20278 PyErr_SetString(PyExc_TypeError
,"null reference");
20282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20283 result
= (bool)(arg1
)->SetColumn(arg2
,*arg3
);
20285 wxPyEndAllowThreads(__tstate
);
20286 if (PyErr_Occurred()) SWIG_fail
;
20289 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20297 static PyObject
*_wrap_ListCtrl_GetColumnWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20298 PyObject
*resultobj
;
20299 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20302 PyObject
* obj0
= 0 ;
20303 PyObject
* obj1
= 0 ;
20304 char *kwnames
[] = {
20305 (char *) "self",(char *) "col", NULL
20308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
20309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20311 arg2
= (int) SWIG_AsInt(obj1
);
20312 if (PyErr_Occurred()) SWIG_fail
;
20314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20315 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
20317 wxPyEndAllowThreads(__tstate
);
20318 if (PyErr_Occurred()) SWIG_fail
;
20320 resultobj
= SWIG_FromInt((int)result
);
20327 static PyObject
*_wrap_ListCtrl_SetColumnWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20328 PyObject
*resultobj
;
20329 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20333 PyObject
* obj0
= 0 ;
20334 PyObject
* obj1
= 0 ;
20335 PyObject
* obj2
= 0 ;
20336 char *kwnames
[] = {
20337 (char *) "self",(char *) "col",(char *) "width", NULL
20340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20343 arg2
= (int) SWIG_AsInt(obj1
);
20344 if (PyErr_Occurred()) SWIG_fail
;
20345 arg3
= (int) SWIG_AsInt(obj2
);
20346 if (PyErr_Occurred()) SWIG_fail
;
20348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20349 result
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
);
20351 wxPyEndAllowThreads(__tstate
);
20352 if (PyErr_Occurred()) SWIG_fail
;
20355 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20363 static PyObject
*_wrap_ListCtrl_GetCountPerPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20364 PyObject
*resultobj
;
20365 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20367 PyObject
* obj0
= 0 ;
20368 char *kwnames
[] = {
20369 (char *) "self", NULL
20372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetCountPerPage",kwnames
,&obj0
)) goto fail
;
20373 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20377 result
= (int)((wxPyListCtrl
const *)arg1
)->GetCountPerPage();
20379 wxPyEndAllowThreads(__tstate
);
20380 if (PyErr_Occurred()) SWIG_fail
;
20382 resultobj
= SWIG_FromInt((int)result
);
20389 static PyObject
*_wrap_ListCtrl_GetViewRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20390 PyObject
*resultobj
;
20391 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20393 PyObject
* obj0
= 0 ;
20394 char *kwnames
[] = {
20395 (char *) "self", NULL
20398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetViewRect",kwnames
,&obj0
)) goto fail
;
20399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20403 result
= ((wxPyListCtrl
const *)arg1
)->GetViewRect();
20405 wxPyEndAllowThreads(__tstate
);
20406 if (PyErr_Occurred()) SWIG_fail
;
20409 wxRect
* resultptr
;
20410 resultptr
= new wxRect((wxRect
&) result
);
20411 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
20419 static PyObject
*_wrap_ListCtrl_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20420 PyObject
*resultobj
;
20421 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20423 int arg3
= (int) 0 ;
20424 wxListItem
*result
;
20425 PyObject
* obj0
= 0 ;
20426 PyObject
* obj1
= 0 ;
20427 PyObject
* obj2
= 0 ;
20428 char *kwnames
[] = {
20429 (char *) "self",(char *) "itemId",(char *) "col", NULL
20432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20435 arg2
= (long) SWIG_AsLong(obj1
);
20436 if (PyErr_Occurred()) SWIG_fail
;
20438 arg3
= (int) SWIG_AsInt(obj2
);
20439 if (PyErr_Occurred()) SWIG_fail
;
20442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20443 result
= (wxListItem
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
);
20445 wxPyEndAllowThreads(__tstate
);
20446 if (PyErr_Occurred()) SWIG_fail
;
20449 resultobj
= wxPyMake_wxObject(result
);
20457 static PyObject
*_wrap_ListCtrl_SetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20458 PyObject
*resultobj
;
20459 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20460 wxListItem
*arg2
= 0 ;
20462 PyObject
* obj0
= 0 ;
20463 PyObject
* obj1
= 0 ;
20464 char *kwnames
[] = {
20465 (char *) "self",(char *) "info", NULL
20468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
20469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20471 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxListItem
,
20472 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20474 if (arg2
== NULL
) {
20475 PyErr_SetString(PyExc_TypeError
,"null reference");
20479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20480 result
= (bool)(arg1
)->SetItem(*arg2
);
20482 wxPyEndAllowThreads(__tstate
);
20483 if (PyErr_Occurred()) SWIG_fail
;
20486 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20494 static PyObject
*_wrap_ListCtrl_SetStringItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20495 PyObject
*resultobj
;
20496 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20499 wxString
*arg4
= 0 ;
20500 int arg5
= (int) -1 ;
20502 bool temp4
= False
;
20503 PyObject
* obj0
= 0 ;
20504 PyObject
* obj1
= 0 ;
20505 PyObject
* obj2
= 0 ;
20506 PyObject
* obj3
= 0 ;
20507 PyObject
* obj4
= 0 ;
20508 char *kwnames
[] = {
20509 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
20512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
20513 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20514 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20515 arg2
= (long) SWIG_AsLong(obj1
);
20516 if (PyErr_Occurred()) SWIG_fail
;
20517 arg3
= (int) SWIG_AsInt(obj2
);
20518 if (PyErr_Occurred()) SWIG_fail
;
20520 arg4
= wxString_in_helper(obj3
);
20521 if (arg4
== NULL
) SWIG_fail
;
20525 arg5
= (int) SWIG_AsInt(obj4
);
20526 if (PyErr_Occurred()) SWIG_fail
;
20529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20530 result
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
20532 wxPyEndAllowThreads(__tstate
);
20533 if (PyErr_Occurred()) SWIG_fail
;
20535 resultobj
= SWIG_FromLong((long)result
);
20550 static PyObject
*_wrap_ListCtrl_GetItemState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20551 PyObject
*resultobj
;
20552 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20556 PyObject
* obj0
= 0 ;
20557 PyObject
* obj1
= 0 ;
20558 PyObject
* obj2
= 0 ;
20559 char *kwnames
[] = {
20560 (char *) "self",(char *) "item",(char *) "stateMask", NULL
20563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_GetItemState",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20566 arg2
= (long) SWIG_AsLong(obj1
);
20567 if (PyErr_Occurred()) SWIG_fail
;
20568 arg3
= (long) SWIG_AsLong(obj2
);
20569 if (PyErr_Occurred()) SWIG_fail
;
20571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20572 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemState(arg2
,arg3
);
20574 wxPyEndAllowThreads(__tstate
);
20575 if (PyErr_Occurred()) SWIG_fail
;
20577 resultobj
= SWIG_FromInt((int)result
);
20584 static PyObject
*_wrap_ListCtrl_SetItemState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20585 PyObject
*resultobj
;
20586 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20591 PyObject
* obj0
= 0 ;
20592 PyObject
* obj1
= 0 ;
20593 PyObject
* obj2
= 0 ;
20594 PyObject
* obj3
= 0 ;
20595 char *kwnames
[] = {
20596 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
20599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemState",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20600 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20601 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20602 arg2
= (long) SWIG_AsLong(obj1
);
20603 if (PyErr_Occurred()) SWIG_fail
;
20604 arg3
= (long) SWIG_AsLong(obj2
);
20605 if (PyErr_Occurred()) SWIG_fail
;
20606 arg4
= (long) SWIG_AsLong(obj3
);
20607 if (PyErr_Occurred()) SWIG_fail
;
20609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20610 result
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
);
20612 wxPyEndAllowThreads(__tstate
);
20613 if (PyErr_Occurred()) SWIG_fail
;
20616 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20624 static PyObject
*_wrap_ListCtrl_SetItemImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20625 PyObject
*resultobj
;
20626 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20631 PyObject
* obj0
= 0 ;
20632 PyObject
* obj1
= 0 ;
20633 PyObject
* obj2
= 0 ;
20634 PyObject
* obj3
= 0 ;
20635 char *kwnames
[] = {
20636 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
20639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20640 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20641 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20642 arg2
= (long) SWIG_AsLong(obj1
);
20643 if (PyErr_Occurred()) SWIG_fail
;
20644 arg3
= (int) SWIG_AsInt(obj2
);
20645 if (PyErr_Occurred()) SWIG_fail
;
20646 arg4
= (int) SWIG_AsInt(obj3
);
20647 if (PyErr_Occurred()) SWIG_fail
;
20649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20650 result
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
);
20652 wxPyEndAllowThreads(__tstate
);
20653 if (PyErr_Occurred()) SWIG_fail
;
20656 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20664 static PyObject
*_wrap_ListCtrl_GetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20665 PyObject
*resultobj
;
20666 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20669 PyObject
* obj0
= 0 ;
20670 PyObject
* obj1
= 0 ;
20671 char *kwnames
[] = {
20672 (char *) "self",(char *) "item", NULL
20675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
20676 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20678 arg2
= (long) SWIG_AsLong(obj1
);
20679 if (PyErr_Occurred()) SWIG_fail
;
20681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20682 result
= ((wxPyListCtrl
const *)arg1
)->GetItemText(arg2
);
20684 wxPyEndAllowThreads(__tstate
);
20685 if (PyErr_Occurred()) SWIG_fail
;
20689 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20691 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20700 static PyObject
*_wrap_ListCtrl_SetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20701 PyObject
*resultobj
;
20702 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20704 wxString
*arg3
= 0 ;
20705 bool temp3
= False
;
20706 PyObject
* obj0
= 0 ;
20707 PyObject
* obj1
= 0 ;
20708 PyObject
* obj2
= 0 ;
20709 char *kwnames
[] = {
20710 (char *) "self",(char *) "item",(char *) "str", NULL
20713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20714 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20715 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20716 arg2
= (long) SWIG_AsLong(obj1
);
20717 if (PyErr_Occurred()) SWIG_fail
;
20719 arg3
= wxString_in_helper(obj2
);
20720 if (arg3
== NULL
) SWIG_fail
;
20724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20725 (arg1
)->SetItemText(arg2
,(wxString
const &)*arg3
);
20727 wxPyEndAllowThreads(__tstate
);
20728 if (PyErr_Occurred()) SWIG_fail
;
20730 Py_INCREF(Py_None
); resultobj
= Py_None
;
20745 static PyObject
*_wrap_ListCtrl_GetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20746 PyObject
*resultobj
;
20747 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20750 PyObject
* obj0
= 0 ;
20751 PyObject
* obj1
= 0 ;
20752 char *kwnames
[] = {
20753 (char *) "self",(char *) "item", NULL
20756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
20757 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20759 arg2
= (long) SWIG_AsLong(obj1
);
20760 if (PyErr_Occurred()) SWIG_fail
;
20762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20763 result
= (long)((wxPyListCtrl
const *)arg1
)->GetItemData(arg2
);
20765 wxPyEndAllowThreads(__tstate
);
20766 if (PyErr_Occurred()) SWIG_fail
;
20768 resultobj
= SWIG_FromLong((long)result
);
20775 static PyObject
*_wrap_ListCtrl_SetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20776 PyObject
*resultobj
;
20777 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20781 PyObject
* obj0
= 0 ;
20782 PyObject
* obj1
= 0 ;
20783 PyObject
* obj2
= 0 ;
20784 char *kwnames
[] = {
20785 (char *) "self",(char *) "item",(char *) "data", NULL
20788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20791 arg2
= (long) SWIG_AsLong(obj1
);
20792 if (PyErr_Occurred()) SWIG_fail
;
20793 arg3
= (long) SWIG_AsLong(obj2
);
20794 if (PyErr_Occurred()) SWIG_fail
;
20796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20797 result
= (bool)(arg1
)->SetItemData(arg2
,arg3
);
20799 wxPyEndAllowThreads(__tstate
);
20800 if (PyErr_Occurred()) SWIG_fail
;
20803 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20811 static PyObject
*_wrap_ListCtrl_GetItemPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20812 PyObject
*resultobj
;
20813 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20816 PyObject
* obj0
= 0 ;
20817 PyObject
* obj1
= 0 ;
20818 char *kwnames
[] = {
20819 (char *) "self",(char *) "item", NULL
20822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
20823 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20825 arg2
= (long) SWIG_AsLong(obj1
);
20826 if (PyErr_Occurred()) SWIG_fail
;
20828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20829 result
= wxPyListCtrl_GetItemPosition(arg1
,arg2
);
20831 wxPyEndAllowThreads(__tstate
);
20832 if (PyErr_Occurred()) SWIG_fail
;
20835 wxPoint
* resultptr
;
20836 resultptr
= new wxPoint((wxPoint
&) result
);
20837 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
20845 static PyObject
*_wrap_ListCtrl_GetItemRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20846 PyObject
*resultobj
;
20847 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20849 int arg3
= (int) wxLIST_RECT_BOUNDS
;
20851 PyObject
* obj0
= 0 ;
20852 PyObject
* obj1
= 0 ;
20853 PyObject
* obj2
= 0 ;
20854 char *kwnames
[] = {
20855 (char *) "self",(char *) "item",(char *) "code", NULL
20858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItemRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20861 arg2
= (long) SWIG_AsLong(obj1
);
20862 if (PyErr_Occurred()) SWIG_fail
;
20864 arg3
= (int) SWIG_AsInt(obj2
);
20865 if (PyErr_Occurred()) SWIG_fail
;
20868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20869 result
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
);
20871 wxPyEndAllowThreads(__tstate
);
20872 if (PyErr_Occurred()) SWIG_fail
;
20875 wxRect
* resultptr
;
20876 resultptr
= new wxRect((wxRect
&) result
);
20877 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
20885 static PyObject
*_wrap_ListCtrl_SetItemPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20886 PyObject
*resultobj
;
20887 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20889 wxPoint
*arg3
= 0 ;
20892 PyObject
* obj0
= 0 ;
20893 PyObject
* obj1
= 0 ;
20894 PyObject
* obj2
= 0 ;
20895 char *kwnames
[] = {
20896 (char *) "self",(char *) "item",(char *) "pos", NULL
20899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20900 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20902 arg2
= (long) SWIG_AsLong(obj1
);
20903 if (PyErr_Occurred()) SWIG_fail
;
20906 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20910 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint
const &)*arg3
);
20912 wxPyEndAllowThreads(__tstate
);
20913 if (PyErr_Occurred()) SWIG_fail
;
20916 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20924 static PyObject
*_wrap_ListCtrl_GetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20925 PyObject
*resultobj
;
20926 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20928 PyObject
* obj0
= 0 ;
20929 char *kwnames
[] = {
20930 (char *) "self", NULL
20933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemCount",kwnames
,&obj0
)) goto fail
;
20934 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20935 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20938 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemCount();
20940 wxPyEndAllowThreads(__tstate
);
20941 if (PyErr_Occurred()) SWIG_fail
;
20943 resultobj
= SWIG_FromInt((int)result
);
20950 static PyObject
*_wrap_ListCtrl_GetColumnCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20951 PyObject
*resultobj
;
20952 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20954 PyObject
* obj0
= 0 ;
20955 char *kwnames
[] = {
20956 (char *) "self", NULL
20959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetColumnCount",kwnames
,&obj0
)) goto fail
;
20960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20964 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnCount();
20966 wxPyEndAllowThreads(__tstate
);
20967 if (PyErr_Occurred()) SWIG_fail
;
20969 resultobj
= SWIG_FromInt((int)result
);
20976 static PyObject
*_wrap_ListCtrl_GetItemSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20977 PyObject
*resultobj
;
20978 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20980 PyObject
* obj0
= 0 ;
20981 char *kwnames
[] = {
20982 (char *) "self", NULL
20985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemSpacing",kwnames
,&obj0
)) goto fail
;
20986 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20990 result
= ((wxPyListCtrl
const *)arg1
)->GetItemSpacing();
20992 wxPyEndAllowThreads(__tstate
);
20993 if (PyErr_Occurred()) SWIG_fail
;
20996 wxSize
* resultptr
;
20997 resultptr
= new wxSize((wxSize
&) result
);
20998 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
21006 static PyObject
*_wrap_ListCtrl_SetItemSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21007 PyObject
*resultobj
;
21008 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21010 bool arg3
= (bool) False
;
21011 PyObject
* obj0
= 0 ;
21012 PyObject
* obj1
= 0 ;
21013 PyObject
* obj2
= 0 ;
21014 char *kwnames
[] = {
21015 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
21018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetItemSpacing",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21021 arg2
= (int) SWIG_AsInt(obj1
);
21022 if (PyErr_Occurred()) SWIG_fail
;
21024 arg3
= (bool) SWIG_AsBool(obj2
);
21025 if (PyErr_Occurred()) SWIG_fail
;
21028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21029 (arg1
)->SetItemSpacing(arg2
,arg3
);
21031 wxPyEndAllowThreads(__tstate
);
21032 if (PyErr_Occurred()) SWIG_fail
;
21034 Py_INCREF(Py_None
); resultobj
= Py_None
;
21041 static PyObject
*_wrap_ListCtrl_GetSelectedItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21042 PyObject
*resultobj
;
21043 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21045 PyObject
* obj0
= 0 ;
21046 char *kwnames
[] = {
21047 (char *) "self", NULL
21050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames
,&obj0
)) goto fail
;
21051 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21055 result
= (int)((wxPyListCtrl
const *)arg1
)->GetSelectedItemCount();
21057 wxPyEndAllowThreads(__tstate
);
21058 if (PyErr_Occurred()) SWIG_fail
;
21060 resultobj
= SWIG_FromInt((int)result
);
21067 static PyObject
*_wrap_ListCtrl_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21068 PyObject
*resultobj
;
21069 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21071 PyObject
* obj0
= 0 ;
21072 char *kwnames
[] = {
21073 (char *) "self", NULL
21076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTextColour",kwnames
,&obj0
)) goto fail
;
21077 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21078 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21081 result
= ((wxPyListCtrl
const *)arg1
)->GetTextColour();
21083 wxPyEndAllowThreads(__tstate
);
21084 if (PyErr_Occurred()) SWIG_fail
;
21087 wxColour
* resultptr
;
21088 resultptr
= new wxColour((wxColour
&) result
);
21089 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
21097 static PyObject
*_wrap_ListCtrl_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21098 PyObject
*resultobj
;
21099 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21100 wxColour
*arg2
= 0 ;
21102 PyObject
* obj0
= 0 ;
21103 PyObject
* obj1
= 0 ;
21104 char *kwnames
[] = {
21105 (char *) "self",(char *) "col", NULL
21108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21113 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21117 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
21119 wxPyEndAllowThreads(__tstate
);
21120 if (PyErr_Occurred()) SWIG_fail
;
21122 Py_INCREF(Py_None
); resultobj
= Py_None
;
21129 static PyObject
*_wrap_ListCtrl_GetTopItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21130 PyObject
*resultobj
;
21131 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21133 PyObject
* obj0
= 0 ;
21134 char *kwnames
[] = {
21135 (char *) "self", NULL
21138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTopItem",kwnames
,&obj0
)) goto fail
;
21139 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21143 result
= (long)((wxPyListCtrl
const *)arg1
)->GetTopItem();
21145 wxPyEndAllowThreads(__tstate
);
21146 if (PyErr_Occurred()) SWIG_fail
;
21148 resultobj
= SWIG_FromLong((long)result
);
21155 static PyObject
*_wrap_ListCtrl_SetSingleStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21156 PyObject
*resultobj
;
21157 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21159 bool arg3
= (bool) True
;
21160 PyObject
* obj0
= 0 ;
21161 PyObject
* obj1
= 0 ;
21162 PyObject
* obj2
= 0 ;
21163 char *kwnames
[] = {
21164 (char *) "self",(char *) "style",(char *) "add", NULL
21167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21168 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21170 arg2
= (long) SWIG_AsLong(obj1
);
21171 if (PyErr_Occurred()) SWIG_fail
;
21173 arg3
= (bool) SWIG_AsBool(obj2
);
21174 if (PyErr_Occurred()) SWIG_fail
;
21177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21178 (arg1
)->SetSingleStyle(arg2
,arg3
);
21180 wxPyEndAllowThreads(__tstate
);
21181 if (PyErr_Occurred()) SWIG_fail
;
21183 Py_INCREF(Py_None
); resultobj
= Py_None
;
21190 static PyObject
*_wrap_ListCtrl_SetWindowStyleFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21191 PyObject
*resultobj
;
21192 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21194 PyObject
* obj0
= 0 ;
21195 PyObject
* obj1
= 0 ;
21196 char *kwnames
[] = {
21197 (char *) "self",(char *) "style", NULL
21200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
21201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21203 arg2
= (long) SWIG_AsLong(obj1
);
21204 if (PyErr_Occurred()) SWIG_fail
;
21206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21207 (arg1
)->SetWindowStyleFlag(arg2
);
21209 wxPyEndAllowThreads(__tstate
);
21210 if (PyErr_Occurred()) SWIG_fail
;
21212 Py_INCREF(Py_None
); resultobj
= Py_None
;
21219 static PyObject
*_wrap_ListCtrl_GetNextItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21220 PyObject
*resultobj
;
21221 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21223 int arg3
= (int) wxLIST_NEXT_ALL
;
21224 int arg4
= (int) wxLIST_STATE_DONTCARE
;
21226 PyObject
* obj0
= 0 ;
21227 PyObject
* obj1
= 0 ;
21228 PyObject
* obj2
= 0 ;
21229 PyObject
* obj3
= 0 ;
21230 char *kwnames
[] = {
21231 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
21234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21237 arg2
= (long) SWIG_AsLong(obj1
);
21238 if (PyErr_Occurred()) SWIG_fail
;
21240 arg3
= (int) SWIG_AsInt(obj2
);
21241 if (PyErr_Occurred()) SWIG_fail
;
21244 arg4
= (int) SWIG_AsInt(obj3
);
21245 if (PyErr_Occurred()) SWIG_fail
;
21248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21249 result
= (long)((wxPyListCtrl
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
21251 wxPyEndAllowThreads(__tstate
);
21252 if (PyErr_Occurred()) SWIG_fail
;
21254 resultobj
= SWIG_FromLong((long)result
);
21261 static PyObject
*_wrap_ListCtrl_GetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21262 PyObject
*resultobj
;
21263 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21265 wxImageList
*result
;
21266 PyObject
* obj0
= 0 ;
21267 PyObject
* obj1
= 0 ;
21268 char *kwnames
[] = {
21269 (char *) "self",(char *) "which", NULL
21272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
21273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21275 arg2
= (int) SWIG_AsInt(obj1
);
21276 if (PyErr_Occurred()) SWIG_fail
;
21278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21279 result
= (wxImageList
*)((wxPyListCtrl
const *)arg1
)->GetImageList(arg2
);
21281 wxPyEndAllowThreads(__tstate
);
21282 if (PyErr_Occurred()) SWIG_fail
;
21285 resultobj
= wxPyMake_wxObject(result
);
21293 static PyObject
*_wrap_ListCtrl_SetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21294 PyObject
*resultobj
;
21295 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21296 wxImageList
*arg2
= (wxImageList
*) 0 ;
21298 PyObject
* obj0
= 0 ;
21299 PyObject
* obj1
= 0 ;
21300 PyObject
* obj2
= 0 ;
21301 char *kwnames
[] = {
21302 (char *) "self",(char *) "imageList",(char *) "which", NULL
21305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21308 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
21309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21310 arg3
= (int) SWIG_AsInt(obj2
);
21311 if (PyErr_Occurred()) SWIG_fail
;
21313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21314 (arg1
)->SetImageList(arg2
,arg3
);
21316 wxPyEndAllowThreads(__tstate
);
21317 if (PyErr_Occurred()) SWIG_fail
;
21319 Py_INCREF(Py_None
); resultobj
= Py_None
;
21326 static PyObject
*_wrap_ListCtrl_AssignImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21327 PyObject
*resultobj
;
21328 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21329 wxImageList
*arg2
= (wxImageList
*) 0 ;
21331 PyObject
* obj0
= 0 ;
21332 PyObject
* obj1
= 0 ;
21333 PyObject
* obj2
= 0 ;
21334 char *kwnames
[] = {
21335 (char *) "self",(char *) "imageList",(char *) "which", NULL
21338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21341 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
21342 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
21343 arg3
= (int) SWIG_AsInt(obj2
);
21344 if (PyErr_Occurred()) SWIG_fail
;
21346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21347 (arg1
)->AssignImageList(arg2
,arg3
);
21349 wxPyEndAllowThreads(__tstate
);
21350 if (PyErr_Occurred()) SWIG_fail
;
21352 Py_INCREF(Py_None
); resultobj
= Py_None
;
21359 static PyObject
*_wrap_ListCtrl_InReportView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21360 PyObject
*resultobj
;
21361 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21363 PyObject
* obj0
= 0 ;
21364 char *kwnames
[] = {
21365 (char *) "self", NULL
21368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_InReportView",kwnames
,&obj0
)) goto fail
;
21369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21373 result
= (bool)((wxPyListCtrl
const *)arg1
)->InReportView();
21375 wxPyEndAllowThreads(__tstate
);
21376 if (PyErr_Occurred()) SWIG_fail
;
21379 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21387 static PyObject
*_wrap_ListCtrl_IsVirtual(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21388 PyObject
*resultobj
;
21389 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21391 PyObject
* obj0
= 0 ;
21392 char *kwnames
[] = {
21393 (char *) "self", NULL
21396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_IsVirtual",kwnames
,&obj0
)) goto fail
;
21397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21401 result
= (bool)((wxPyListCtrl
const *)arg1
)->IsVirtual();
21403 wxPyEndAllowThreads(__tstate
);
21404 if (PyErr_Occurred()) SWIG_fail
;
21407 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21415 static PyObject
*_wrap_ListCtrl_RefreshItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21416 PyObject
*resultobj
;
21417 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21419 PyObject
* obj0
= 0 ;
21420 PyObject
* obj1
= 0 ;
21421 char *kwnames
[] = {
21422 (char *) "self",(char *) "item", NULL
21425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_RefreshItem",kwnames
,&obj0
,&obj1
)) goto fail
;
21426 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21428 arg2
= (long) SWIG_AsLong(obj1
);
21429 if (PyErr_Occurred()) SWIG_fail
;
21431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21432 (arg1
)->RefreshItem(arg2
);
21434 wxPyEndAllowThreads(__tstate
);
21435 if (PyErr_Occurred()) SWIG_fail
;
21437 Py_INCREF(Py_None
); resultobj
= Py_None
;
21444 static PyObject
*_wrap_ListCtrl_RefreshItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21445 PyObject
*resultobj
;
21446 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21449 PyObject
* obj0
= 0 ;
21450 PyObject
* obj1
= 0 ;
21451 PyObject
* obj2
= 0 ;
21452 char *kwnames
[] = {
21453 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
21456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_RefreshItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21457 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21459 arg2
= (long) SWIG_AsLong(obj1
);
21460 if (PyErr_Occurred()) SWIG_fail
;
21461 arg3
= (long) SWIG_AsLong(obj2
);
21462 if (PyErr_Occurred()) SWIG_fail
;
21464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21465 (arg1
)->RefreshItems(arg2
,arg3
);
21467 wxPyEndAllowThreads(__tstate
);
21468 if (PyErr_Occurred()) SWIG_fail
;
21470 Py_INCREF(Py_None
); resultobj
= Py_None
;
21477 static PyObject
*_wrap_ListCtrl_Arrange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21478 PyObject
*resultobj
;
21479 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21480 int arg2
= (int) wxLIST_ALIGN_DEFAULT
;
21482 PyObject
* obj0
= 0 ;
21483 PyObject
* obj1
= 0 ;
21484 char *kwnames
[] = {
21485 (char *) "self",(char *) "flag", NULL
21488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListCtrl_Arrange",kwnames
,&obj0
,&obj1
)) goto fail
;
21489 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21490 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21492 arg2
= (int) SWIG_AsInt(obj1
);
21493 if (PyErr_Occurred()) SWIG_fail
;
21496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21497 result
= (bool)(arg1
)->Arrange(arg2
);
21499 wxPyEndAllowThreads(__tstate
);
21500 if (PyErr_Occurred()) SWIG_fail
;
21503 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21511 static PyObject
*_wrap_ListCtrl_DeleteItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21512 PyObject
*resultobj
;
21513 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21516 PyObject
* obj0
= 0 ;
21517 PyObject
* obj1
= 0 ;
21518 char *kwnames
[] = {
21519 (char *) "self",(char *) "item", NULL
21522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
21523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21525 arg2
= (long) SWIG_AsLong(obj1
);
21526 if (PyErr_Occurred()) SWIG_fail
;
21528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21529 result
= (bool)(arg1
)->DeleteItem(arg2
);
21531 wxPyEndAllowThreads(__tstate
);
21532 if (PyErr_Occurred()) SWIG_fail
;
21535 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21543 static PyObject
*_wrap_ListCtrl_DeleteAllItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21544 PyObject
*resultobj
;
21545 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21547 PyObject
* obj0
= 0 ;
21548 char *kwnames
[] = {
21549 (char *) "self", NULL
21552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
21553 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21557 result
= (bool)(arg1
)->DeleteAllItems();
21559 wxPyEndAllowThreads(__tstate
);
21560 if (PyErr_Occurred()) SWIG_fail
;
21563 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21571 static PyObject
*_wrap_ListCtrl_DeleteColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21572 PyObject
*resultobj
;
21573 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21576 PyObject
* obj0
= 0 ;
21577 PyObject
* obj1
= 0 ;
21578 char *kwnames
[] = {
21579 (char *) "self",(char *) "col", NULL
21582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
21583 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21585 arg2
= (int) SWIG_AsInt(obj1
);
21586 if (PyErr_Occurred()) SWIG_fail
;
21588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21589 result
= (bool)(arg1
)->DeleteColumn(arg2
);
21591 wxPyEndAllowThreads(__tstate
);
21592 if (PyErr_Occurred()) SWIG_fail
;
21595 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21603 static PyObject
*_wrap_ListCtrl_DeleteAllColumns(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21604 PyObject
*resultobj
;
21605 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21607 PyObject
* obj0
= 0 ;
21608 char *kwnames
[] = {
21609 (char *) "self", NULL
21612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllColumns",kwnames
,&obj0
)) goto fail
;
21613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21617 result
= (bool)(arg1
)->DeleteAllColumns();
21619 wxPyEndAllowThreads(__tstate
);
21620 if (PyErr_Occurred()) SWIG_fail
;
21623 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21631 static PyObject
*_wrap_ListCtrl_ClearAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21632 PyObject
*resultobj
;
21633 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21634 PyObject
* obj0
= 0 ;
21635 char *kwnames
[] = {
21636 (char *) "self", NULL
21639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_ClearAll",kwnames
,&obj0
)) goto fail
;
21640 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21641 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21644 (arg1
)->ClearAll();
21646 wxPyEndAllowThreads(__tstate
);
21647 if (PyErr_Occurred()) SWIG_fail
;
21649 Py_INCREF(Py_None
); resultobj
= Py_None
;
21656 static PyObject
*_wrap_ListCtrl_EditLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21657 PyObject
*resultobj
;
21658 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21660 PyObject
* obj0
= 0 ;
21661 PyObject
* obj1
= 0 ;
21662 char *kwnames
[] = {
21663 (char *) "self",(char *) "item", NULL
21666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
21667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21669 arg2
= (long) SWIG_AsLong(obj1
);
21670 if (PyErr_Occurred()) SWIG_fail
;
21672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21673 (arg1
)->EditLabel(arg2
);
21675 wxPyEndAllowThreads(__tstate
);
21676 if (PyErr_Occurred()) SWIG_fail
;
21678 Py_INCREF(Py_None
); resultobj
= Py_None
;
21685 static PyObject
*_wrap_ListCtrl_EnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21686 PyObject
*resultobj
;
21687 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21690 PyObject
* obj0
= 0 ;
21691 PyObject
* obj1
= 0 ;
21692 char *kwnames
[] = {
21693 (char *) "self",(char *) "item", NULL
21696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EnsureVisible",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
= (long) SWIG_AsLong(obj1
);
21700 if (PyErr_Occurred()) SWIG_fail
;
21702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21703 result
= (bool)(arg1
)->EnsureVisible(arg2
);
21705 wxPyEndAllowThreads(__tstate
);
21706 if (PyErr_Occurred()) SWIG_fail
;
21709 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21717 static PyObject
*_wrap_ListCtrl_FindItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21718 PyObject
*resultobj
;
21719 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21721 wxString
*arg3
= 0 ;
21722 bool arg4
= (bool) False
;
21724 bool temp3
= False
;
21725 PyObject
* obj0
= 0 ;
21726 PyObject
* obj1
= 0 ;
21727 PyObject
* obj2
= 0 ;
21728 PyObject
* obj3
= 0 ;
21729 char *kwnames
[] = {
21730 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
21733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_FindItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21736 arg2
= (long) SWIG_AsLong(obj1
);
21737 if (PyErr_Occurred()) SWIG_fail
;
21739 arg3
= wxString_in_helper(obj2
);
21740 if (arg3
== NULL
) SWIG_fail
;
21744 arg4
= (bool) SWIG_AsBool(obj3
);
21745 if (PyErr_Occurred()) SWIG_fail
;
21748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21749 result
= (long)(arg1
)->FindItem(arg2
,(wxString
const &)*arg3
,arg4
);
21751 wxPyEndAllowThreads(__tstate
);
21752 if (PyErr_Occurred()) SWIG_fail
;
21754 resultobj
= SWIG_FromLong((long)result
);
21769 static PyObject
*_wrap_ListCtrl_FindItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21770 PyObject
*resultobj
;
21771 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21775 PyObject
* obj0
= 0 ;
21776 PyObject
* obj1
= 0 ;
21777 PyObject
* obj2
= 0 ;
21778 char *kwnames
[] = {
21779 (char *) "self",(char *) "start",(char *) "data", NULL
21782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_FindItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21783 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21784 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21785 arg2
= (long) SWIG_AsLong(obj1
);
21786 if (PyErr_Occurred()) SWIG_fail
;
21787 arg3
= (long) SWIG_AsLong(obj2
);
21788 if (PyErr_Occurred()) SWIG_fail
;
21790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21791 result
= (long)(arg1
)->FindItem(arg2
,arg3
);
21793 wxPyEndAllowThreads(__tstate
);
21794 if (PyErr_Occurred()) SWIG_fail
;
21796 resultobj
= SWIG_FromLong((long)result
);
21803 static PyObject
*_wrap_ListCtrl_FindItemAtPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21804 PyObject
*resultobj
;
21805 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21807 wxPoint
*arg3
= 0 ;
21811 PyObject
* obj0
= 0 ;
21812 PyObject
* obj1
= 0 ;
21813 PyObject
* obj2
= 0 ;
21814 PyObject
* obj3
= 0 ;
21815 char *kwnames
[] = {
21816 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
21819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21820 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21822 arg2
= (long) SWIG_AsLong(obj1
);
21823 if (PyErr_Occurred()) SWIG_fail
;
21826 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21828 arg4
= (int) SWIG_AsInt(obj3
);
21829 if (PyErr_Occurred()) SWIG_fail
;
21831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21832 result
= (long)(arg1
)->FindItem(arg2
,(wxPoint
const &)*arg3
,arg4
);
21834 wxPyEndAllowThreads(__tstate
);
21835 if (PyErr_Occurred()) SWIG_fail
;
21837 resultobj
= SWIG_FromLong((long)result
);
21844 static PyObject
*_wrap_ListCtrl_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21845 PyObject
*resultobj
;
21846 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21847 wxPoint
*arg2
= 0 ;
21852 PyObject
* obj0
= 0 ;
21853 PyObject
* obj1
= 0 ;
21854 char *kwnames
[] = {
21855 (char *) "self",(char *) "point", NULL
21859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
21860 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21864 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
21867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21868 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
21870 wxPyEndAllowThreads(__tstate
);
21871 if (PyErr_Occurred()) SWIG_fail
;
21873 resultobj
= SWIG_FromLong((long)result
);
21875 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
21876 resultobj
= t_output_helper(resultobj
,o
);
21884 static PyObject
*_wrap_ListCtrl_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21885 PyObject
*resultobj
;
21886 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21887 wxListItem
*arg2
= 0 ;
21889 PyObject
* obj0
= 0 ;
21890 PyObject
* obj1
= 0 ;
21891 char *kwnames
[] = {
21892 (char *) "self",(char *) "info", NULL
21895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) goto fail
;
21896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21898 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxListItem
,
21899 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21901 if (arg2
== NULL
) {
21902 PyErr_SetString(PyExc_TypeError
,"null reference");
21906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21907 result
= (long)(arg1
)->InsertItem(*arg2
);
21909 wxPyEndAllowThreads(__tstate
);
21910 if (PyErr_Occurred()) SWIG_fail
;
21912 resultobj
= SWIG_FromLong((long)result
);
21919 static PyObject
*_wrap_ListCtrl_InsertStringItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21920 PyObject
*resultobj
;
21921 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21923 wxString
*arg3
= 0 ;
21925 bool temp3
= False
;
21926 PyObject
* obj0
= 0 ;
21927 PyObject
* obj1
= 0 ;
21928 PyObject
* obj2
= 0 ;
21929 char *kwnames
[] = {
21930 (char *) "self",(char *) "index",(char *) "label", NULL
21933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertStringItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21934 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21935 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21936 arg2
= (long) SWIG_AsLong(obj1
);
21937 if (PyErr_Occurred()) SWIG_fail
;
21939 arg3
= wxString_in_helper(obj2
);
21940 if (arg3
== NULL
) SWIG_fail
;
21944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21945 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
);
21947 wxPyEndAllowThreads(__tstate
);
21948 if (PyErr_Occurred()) SWIG_fail
;
21950 resultobj
= SWIG_FromLong((long)result
);
21965 static PyObject
*_wrap_ListCtrl_InsertImageItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21966 PyObject
*resultobj
;
21967 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21971 PyObject
* obj0
= 0 ;
21972 PyObject
* obj1
= 0 ;
21973 PyObject
* obj2
= 0 ;
21974 char *kwnames
[] = {
21975 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
21978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertImageItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21981 arg2
= (long) SWIG_AsLong(obj1
);
21982 if (PyErr_Occurred()) SWIG_fail
;
21983 arg3
= (int) SWIG_AsInt(obj2
);
21984 if (PyErr_Occurred()) SWIG_fail
;
21986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21987 result
= (long)(arg1
)->InsertItem(arg2
,arg3
);
21989 wxPyEndAllowThreads(__tstate
);
21990 if (PyErr_Occurred()) SWIG_fail
;
21992 resultobj
= SWIG_FromLong((long)result
);
21999 static PyObject
*_wrap_ListCtrl_InsertImageStringItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22000 PyObject
*resultobj
;
22001 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22003 wxString
*arg3
= 0 ;
22006 bool temp3
= False
;
22007 PyObject
* obj0
= 0 ;
22008 PyObject
* obj1
= 0 ;
22009 PyObject
* obj2
= 0 ;
22010 PyObject
* obj3
= 0 ;
22011 char *kwnames
[] = {
22012 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
22015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22018 arg2
= (long) SWIG_AsLong(obj1
);
22019 if (PyErr_Occurred()) SWIG_fail
;
22021 arg3
= wxString_in_helper(obj2
);
22022 if (arg3
== NULL
) SWIG_fail
;
22025 arg4
= (int) SWIG_AsInt(obj3
);
22026 if (PyErr_Occurred()) SWIG_fail
;
22028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22029 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
22031 wxPyEndAllowThreads(__tstate
);
22032 if (PyErr_Occurred()) SWIG_fail
;
22034 resultobj
= SWIG_FromLong((long)result
);
22049 static PyObject
*_wrap_ListCtrl_InsertColumnInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22050 PyObject
*resultobj
;
22051 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22053 wxListItem
*arg3
= 0 ;
22055 PyObject
* obj0
= 0 ;
22056 PyObject
* obj1
= 0 ;
22057 PyObject
* obj2
= 0 ;
22058 char *kwnames
[] = {
22059 (char *) "self",(char *) "col",(char *) "info", NULL
22062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertColumnInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22065 arg2
= (long) SWIG_AsLong(obj1
);
22066 if (PyErr_Occurred()) SWIG_fail
;
22067 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxListItem
,
22068 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22070 if (arg3
== NULL
) {
22071 PyErr_SetString(PyExc_TypeError
,"null reference");
22075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22076 result
= (long)(arg1
)->InsertColumn(arg2
,*arg3
);
22078 wxPyEndAllowThreads(__tstate
);
22079 if (PyErr_Occurred()) SWIG_fail
;
22081 resultobj
= SWIG_FromLong((long)result
);
22088 static PyObject
*_wrap_ListCtrl_InsertColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22089 PyObject
*resultobj
;
22090 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22092 wxString
*arg3
= 0 ;
22093 int arg4
= (int) wxLIST_FORMAT_LEFT
;
22094 int arg5
= (int) -1 ;
22096 bool temp3
= False
;
22097 PyObject
* obj0
= 0 ;
22098 PyObject
* obj1
= 0 ;
22099 PyObject
* obj2
= 0 ;
22100 PyObject
* obj3
= 0 ;
22101 PyObject
* obj4
= 0 ;
22102 char *kwnames
[] = {
22103 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
22106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
22107 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22108 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22109 arg2
= (long) SWIG_AsLong(obj1
);
22110 if (PyErr_Occurred()) SWIG_fail
;
22112 arg3
= wxString_in_helper(obj2
);
22113 if (arg3
== NULL
) SWIG_fail
;
22117 arg4
= (int) SWIG_AsInt(obj3
);
22118 if (PyErr_Occurred()) SWIG_fail
;
22121 arg5
= (int) SWIG_AsInt(obj4
);
22122 if (PyErr_Occurred()) SWIG_fail
;
22125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22126 result
= (long)(arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
22128 wxPyEndAllowThreads(__tstate
);
22129 if (PyErr_Occurred()) SWIG_fail
;
22131 resultobj
= SWIG_FromLong((long)result
);
22146 static PyObject
*_wrap_ListCtrl_SetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22147 PyObject
*resultobj
;
22148 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22150 PyObject
* obj0
= 0 ;
22151 PyObject
* obj1
= 0 ;
22152 char *kwnames
[] = {
22153 (char *) "self",(char *) "count", NULL
22156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
22157 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22158 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22159 arg2
= (long) SWIG_AsLong(obj1
);
22160 if (PyErr_Occurred()) SWIG_fail
;
22162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22163 (arg1
)->SetItemCount(arg2
);
22165 wxPyEndAllowThreads(__tstate
);
22166 if (PyErr_Occurred()) SWIG_fail
;
22168 Py_INCREF(Py_None
); resultobj
= Py_None
;
22175 static PyObject
*_wrap_ListCtrl_ScrollList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22176 PyObject
*resultobj
;
22177 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22181 PyObject
* obj0
= 0 ;
22182 PyObject
* obj1
= 0 ;
22183 PyObject
* obj2
= 0 ;
22184 char *kwnames
[] = {
22185 (char *) "self",(char *) "dx",(char *) "dy", NULL
22188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_ScrollList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22189 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22191 arg2
= (int) SWIG_AsInt(obj1
);
22192 if (PyErr_Occurred()) SWIG_fail
;
22193 arg3
= (int) SWIG_AsInt(obj2
);
22194 if (PyErr_Occurred()) SWIG_fail
;
22196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22197 result
= (bool)(arg1
)->ScrollList(arg2
,arg3
);
22199 wxPyEndAllowThreads(__tstate
);
22200 if (PyErr_Occurred()) SWIG_fail
;
22203 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22211 static PyObject
*_wrap_ListCtrl_SetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22212 PyObject
*resultobj
;
22213 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22215 wxColour
*arg3
= 0 ;
22217 PyObject
* obj0
= 0 ;
22218 PyObject
* obj1
= 0 ;
22219 PyObject
* obj2
= 0 ;
22220 char *kwnames
[] = {
22221 (char *) "self",(char *) "item",(char *) "col", NULL
22224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22225 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22226 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22227 arg2
= (long) SWIG_AsLong(obj1
);
22228 if (PyErr_Occurred()) SWIG_fail
;
22231 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
22234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22235 (arg1
)->SetItemTextColour(arg2
,(wxColour
const &)*arg3
);
22237 wxPyEndAllowThreads(__tstate
);
22238 if (PyErr_Occurred()) SWIG_fail
;
22240 Py_INCREF(Py_None
); resultobj
= Py_None
;
22247 static PyObject
*_wrap_ListCtrl_GetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22248 PyObject
*resultobj
;
22249 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22252 PyObject
* obj0
= 0 ;
22253 PyObject
* obj1
= 0 ;
22254 char *kwnames
[] = {
22255 (char *) "self",(char *) "item", NULL
22258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
22259 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22260 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22261 arg2
= (long) SWIG_AsLong(obj1
);
22262 if (PyErr_Occurred()) SWIG_fail
;
22264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22265 result
= ((wxPyListCtrl
const *)arg1
)->GetItemTextColour(arg2
);
22267 wxPyEndAllowThreads(__tstate
);
22268 if (PyErr_Occurred()) SWIG_fail
;
22271 wxColour
* resultptr
;
22272 resultptr
= new wxColour((wxColour
&) result
);
22273 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
22281 static PyObject
*_wrap_ListCtrl_SetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22282 PyObject
*resultobj
;
22283 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22285 wxColour
*arg3
= 0 ;
22287 PyObject
* obj0
= 0 ;
22288 PyObject
* obj1
= 0 ;
22289 PyObject
* obj2
= 0 ;
22290 char *kwnames
[] = {
22291 (char *) "self",(char *) "item",(char *) "col", NULL
22294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22297 arg2
= (long) SWIG_AsLong(obj1
);
22298 if (PyErr_Occurred()) SWIG_fail
;
22301 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
22304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22305 (arg1
)->SetItemBackgroundColour(arg2
,(wxColour
const &)*arg3
);
22307 wxPyEndAllowThreads(__tstate
);
22308 if (PyErr_Occurred()) SWIG_fail
;
22310 Py_INCREF(Py_None
); resultobj
= Py_None
;
22317 static PyObject
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22318 PyObject
*resultobj
;
22319 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22322 PyObject
* obj0
= 0 ;
22323 PyObject
* obj1
= 0 ;
22324 char *kwnames
[] = {
22325 (char *) "self",(char *) "item", NULL
22328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
22329 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22331 arg2
= (long) SWIG_AsLong(obj1
);
22332 if (PyErr_Occurred()) SWIG_fail
;
22334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22335 result
= ((wxPyListCtrl
const *)arg1
)->GetItemBackgroundColour(arg2
);
22337 wxPyEndAllowThreads(__tstate
);
22338 if (PyErr_Occurred()) SWIG_fail
;
22341 wxColour
* resultptr
;
22342 resultptr
= new wxColour((wxColour
&) result
);
22343 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
22351 static PyObject
*_wrap_ListCtrl_SortItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22352 PyObject
*resultobj
;
22353 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22354 PyObject
*arg2
= (PyObject
*) 0 ;
22356 PyObject
* obj0
= 0 ;
22357 PyObject
* obj1
= 0 ;
22358 char *kwnames
[] = {
22359 (char *) "self",(char *) "func", NULL
22362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",kwnames
,&obj0
,&obj1
)) goto fail
;
22363 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22368 result
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
);
22370 wxPyEndAllowThreads(__tstate
);
22371 if (PyErr_Occurred()) SWIG_fail
;
22374 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22382 static PyObject
*_wrap_ListCtrl_GetMainWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22383 PyObject
*resultobj
;
22384 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22386 PyObject
* obj0
= 0 ;
22387 char *kwnames
[] = {
22388 (char *) "self", NULL
22391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetMainWindow",kwnames
,&obj0
)) goto fail
;
22392 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22396 result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(arg1
);
22398 wxPyEndAllowThreads(__tstate
);
22399 if (PyErr_Occurred()) SWIG_fail
;
22402 resultobj
= wxPyMake_wxObject(result
);
22410 static PyObject
*_wrap_ListCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22411 PyObject
*resultobj
;
22412 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
22413 wxVisualAttributes result
;
22414 PyObject
* obj0
= 0 ;
22415 char *kwnames
[] = {
22416 (char *) "variant", NULL
22419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
22421 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
22422 if (PyErr_Occurred()) SWIG_fail
;
22425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22426 result
= wxPyListCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
22428 wxPyEndAllowThreads(__tstate
);
22429 if (PyErr_Occurred()) SWIG_fail
;
22432 wxVisualAttributes
* resultptr
;
22433 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
22434 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
22442 static PyObject
* ListCtrl_swigregister(PyObject
*, PyObject
*args
) {
22444 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22445 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl
, obj
);
22447 return Py_BuildValue((char *)"");
22449 static PyObject
*_wrap_new_ListView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22450 PyObject
*resultobj
;
22451 wxWindow
*arg1
= (wxWindow
*) 0 ;
22452 int arg2
= (int) -1 ;
22453 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22454 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22455 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22456 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22457 long arg5
= (long) wxLC_REPORT
;
22458 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
22459 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
22460 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
22461 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22462 wxListView
*result
;
22465 bool temp7
= False
;
22466 PyObject
* obj0
= 0 ;
22467 PyObject
* obj1
= 0 ;
22468 PyObject
* obj2
= 0 ;
22469 PyObject
* obj3
= 0 ;
22470 PyObject
* obj4
= 0 ;
22471 PyObject
* obj5
= 0 ;
22472 PyObject
* obj6
= 0 ;
22473 char *kwnames
[] = {
22474 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
22477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListView",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
22478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22481 arg2
= (int) SWIG_AsInt(obj1
);
22482 if (PyErr_Occurred()) SWIG_fail
;
22487 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22493 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22497 arg5
= (long) SWIG_AsLong(obj4
);
22498 if (PyErr_Occurred()) SWIG_fail
;
22501 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
22502 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22504 if (arg6
== NULL
) {
22505 PyErr_SetString(PyExc_TypeError
,"null reference");
22511 arg7
= wxString_in_helper(obj6
);
22512 if (arg7
== NULL
) SWIG_fail
;
22517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22518 result
= (wxListView
*)new wxListView(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
22520 wxPyEndAllowThreads(__tstate
);
22521 if (PyErr_Occurred()) SWIG_fail
;
22523 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1);
22538 static PyObject
*_wrap_new_PreListView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22539 PyObject
*resultobj
;
22540 wxListView
*result
;
22541 char *kwnames
[] = {
22545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListView",kwnames
)) goto fail
;
22547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22548 result
= (wxListView
*)new wxListView();
22550 wxPyEndAllowThreads(__tstate
);
22551 if (PyErr_Occurred()) SWIG_fail
;
22553 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1);
22560 static PyObject
*_wrap_ListView_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22561 PyObject
*resultobj
;
22562 wxListView
*arg1
= (wxListView
*) 0 ;
22563 wxWindow
*arg2
= (wxWindow
*) 0 ;
22564 int arg3
= (int) -1 ;
22565 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22566 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22567 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22568 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22569 long arg6
= (long) wxLC_REPORT
;
22570 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
22571 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
22572 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
22573 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
22577 bool temp8
= False
;
22578 PyObject
* obj0
= 0 ;
22579 PyObject
* obj1
= 0 ;
22580 PyObject
* obj2
= 0 ;
22581 PyObject
* obj3
= 0 ;
22582 PyObject
* obj4
= 0 ;
22583 PyObject
* obj5
= 0 ;
22584 PyObject
* obj6
= 0 ;
22585 PyObject
* obj7
= 0 ;
22586 char *kwnames
[] = {
22587 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
22590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListView_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
22591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
22592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22593 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
22594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22596 arg3
= (int) SWIG_AsInt(obj2
);
22597 if (PyErr_Occurred()) SWIG_fail
;
22602 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22608 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22612 arg6
= (long) SWIG_AsLong(obj5
);
22613 if (PyErr_Occurred()) SWIG_fail
;
22616 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
22617 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22619 if (arg7
== NULL
) {
22620 PyErr_SetString(PyExc_TypeError
,"null reference");
22626 arg8
= wxString_in_helper(obj7
);
22627 if (arg8
== NULL
) SWIG_fail
;
22632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22633 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
22635 wxPyEndAllowThreads(__tstate
);
22636 if (PyErr_Occurred()) SWIG_fail
;
22639 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22655 static PyObject
*_wrap_ListView_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22656 PyObject
*resultobj
;
22657 wxListView
*arg1
= (wxListView
*) 0 ;
22659 bool arg3
= (bool) True
;
22660 PyObject
* obj0
= 0 ;
22661 PyObject
* obj1
= 0 ;
22662 PyObject
* obj2
= 0 ;
22663 char *kwnames
[] = {
22664 (char *) "self",(char *) "n",(char *) "on", NULL
22667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListView_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
22669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22670 arg2
= (long) SWIG_AsLong(obj1
);
22671 if (PyErr_Occurred()) SWIG_fail
;
22673 arg3
= (bool) SWIG_AsBool(obj2
);
22674 if (PyErr_Occurred()) SWIG_fail
;
22677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22678 (arg1
)->Select(arg2
,arg3
);
22680 wxPyEndAllowThreads(__tstate
);
22681 if (PyErr_Occurred()) SWIG_fail
;
22683 Py_INCREF(Py_None
); resultobj
= Py_None
;
22690 static PyObject
*_wrap_ListView_Focus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22691 PyObject
*resultobj
;
22692 wxListView
*arg1
= (wxListView
*) 0 ;
22694 PyObject
* obj0
= 0 ;
22695 PyObject
* obj1
= 0 ;
22696 char *kwnames
[] = {
22697 (char *) "self",(char *) "index", NULL
22700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_Focus",kwnames
,&obj0
,&obj1
)) goto fail
;
22701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
22702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22703 arg2
= (long) SWIG_AsLong(obj1
);
22704 if (PyErr_Occurred()) SWIG_fail
;
22706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22707 (arg1
)->Focus(arg2
);
22709 wxPyEndAllowThreads(__tstate
);
22710 if (PyErr_Occurred()) SWIG_fail
;
22712 Py_INCREF(Py_None
); resultobj
= Py_None
;
22719 static PyObject
*_wrap_ListView_GetFocusedItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22720 PyObject
*resultobj
;
22721 wxListView
*arg1
= (wxListView
*) 0 ;
22723 PyObject
* obj0
= 0 ;
22724 char *kwnames
[] = {
22725 (char *) "self", NULL
22728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFocusedItem",kwnames
,&obj0
)) goto fail
;
22729 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
22730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22733 result
= (long)((wxListView
const *)arg1
)->GetFocusedItem();
22735 wxPyEndAllowThreads(__tstate
);
22736 if (PyErr_Occurred()) SWIG_fail
;
22738 resultobj
= SWIG_FromLong((long)result
);
22745 static PyObject
*_wrap_ListView_GetNextSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22746 PyObject
*resultobj
;
22747 wxListView
*arg1
= (wxListView
*) 0 ;
22750 PyObject
* obj0
= 0 ;
22751 PyObject
* obj1
= 0 ;
22752 char *kwnames
[] = {
22753 (char *) "self",(char *) "item", NULL
22756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
22757 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
22758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22759 arg2
= (long) SWIG_AsLong(obj1
);
22760 if (PyErr_Occurred()) SWIG_fail
;
22762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22763 result
= (long)((wxListView
const *)arg1
)->GetNextSelected(arg2
);
22765 wxPyEndAllowThreads(__tstate
);
22766 if (PyErr_Occurred()) SWIG_fail
;
22768 resultobj
= SWIG_FromLong((long)result
);
22775 static PyObject
*_wrap_ListView_GetFirstSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22776 PyObject
*resultobj
;
22777 wxListView
*arg1
= (wxListView
*) 0 ;
22779 PyObject
* obj0
= 0 ;
22780 char *kwnames
[] = {
22781 (char *) "self", NULL
22784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFirstSelected",kwnames
,&obj0
)) goto fail
;
22785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
22786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22789 result
= (long)((wxListView
const *)arg1
)->GetFirstSelected();
22791 wxPyEndAllowThreads(__tstate
);
22792 if (PyErr_Occurred()) SWIG_fail
;
22794 resultobj
= SWIG_FromLong((long)result
);
22801 static PyObject
*_wrap_ListView_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22802 PyObject
*resultobj
;
22803 wxListView
*arg1
= (wxListView
*) 0 ;
22806 PyObject
* obj0
= 0 ;
22807 PyObject
* obj1
= 0 ;
22808 char *kwnames
[] = {
22809 (char *) "self",(char *) "index", NULL
22812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
22813 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
22814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22815 arg2
= (long) SWIG_AsLong(obj1
);
22816 if (PyErr_Occurred()) SWIG_fail
;
22818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22819 result
= (bool)(arg1
)->IsSelected(arg2
);
22821 wxPyEndAllowThreads(__tstate
);
22822 if (PyErr_Occurred()) SWIG_fail
;
22825 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22833 static PyObject
*_wrap_ListView_SetColumnImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22834 PyObject
*resultobj
;
22835 wxListView
*arg1
= (wxListView
*) 0 ;
22838 PyObject
* obj0
= 0 ;
22839 PyObject
* obj1
= 0 ;
22840 PyObject
* obj2
= 0 ;
22841 char *kwnames
[] = {
22842 (char *) "self",(char *) "col",(char *) "image", NULL
22845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListView_SetColumnImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22846 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
22847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22848 arg2
= (int) SWIG_AsInt(obj1
);
22849 if (PyErr_Occurred()) SWIG_fail
;
22850 arg3
= (int) SWIG_AsInt(obj2
);
22851 if (PyErr_Occurred()) SWIG_fail
;
22853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22854 (arg1
)->SetColumnImage(arg2
,arg3
);
22856 wxPyEndAllowThreads(__tstate
);
22857 if (PyErr_Occurred()) SWIG_fail
;
22859 Py_INCREF(Py_None
); resultobj
= Py_None
;
22866 static PyObject
*_wrap_ListView_ClearColumnImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22867 PyObject
*resultobj
;
22868 wxListView
*arg1
= (wxListView
*) 0 ;
22870 PyObject
* obj0
= 0 ;
22871 PyObject
* obj1
= 0 ;
22872 char *kwnames
[] = {
22873 (char *) "self",(char *) "col", NULL
22876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_ClearColumnImage",kwnames
,&obj0
,&obj1
)) goto fail
;
22877 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
22878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22879 arg2
= (int) SWIG_AsInt(obj1
);
22880 if (PyErr_Occurred()) SWIG_fail
;
22882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22883 (arg1
)->ClearColumnImage(arg2
);
22885 wxPyEndAllowThreads(__tstate
);
22886 if (PyErr_Occurred()) SWIG_fail
;
22888 Py_INCREF(Py_None
); resultobj
= Py_None
;
22895 static PyObject
* ListView_swigregister(PyObject
*, PyObject
*args
) {
22897 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22898 SWIG_TypeClientData(SWIGTYPE_p_wxListView
, obj
);
22900 return Py_BuildValue((char *)"");
22902 static int _wrap_TreeCtrlNameStr_set(PyObject
*) {
22903 PyErr_SetString(PyExc_TypeError
,"Variable TreeCtrlNameStr is read-only.");
22908 static PyObject
*_wrap_TreeCtrlNameStr_get() {
22913 pyobj
= PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
22915 pyobj
= PyString_FromStringAndSize((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
22922 static PyObject
*_wrap_new_TreeItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22923 PyObject
*resultobj
;
22924 wxTreeItemId
*result
;
22925 char *kwnames
[] = {
22929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TreeItemId",kwnames
)) goto fail
;
22931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22932 result
= (wxTreeItemId
*)new wxTreeItemId();
22934 wxPyEndAllowThreads(__tstate
);
22935 if (PyErr_Occurred()) SWIG_fail
;
22937 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 1);
22944 static PyObject
*_wrap_delete_TreeItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22945 PyObject
*resultobj
;
22946 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
22947 PyObject
* obj0
= 0 ;
22948 char *kwnames
[] = {
22949 (char *) "self", NULL
22952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TreeItemId",kwnames
,&obj0
)) goto fail
;
22953 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
22954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22959 wxPyEndAllowThreads(__tstate
);
22960 if (PyErr_Occurred()) SWIG_fail
;
22962 Py_INCREF(Py_None
); resultobj
= Py_None
;
22969 static PyObject
*_wrap_TreeItemId_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22970 PyObject
*resultobj
;
22971 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
22973 PyObject
* obj0
= 0 ;
22974 char *kwnames
[] = {
22975 (char *) "self", NULL
22978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_IsOk",kwnames
,&obj0
)) goto fail
;
22979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
22980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22983 result
= (bool)((wxTreeItemId
const *)arg1
)->IsOk();
22985 wxPyEndAllowThreads(__tstate
);
22986 if (PyErr_Occurred()) SWIG_fail
;
22989 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22997 static PyObject
*_wrap_TreeItemId___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22998 PyObject
*resultobj
;
22999 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
23000 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
23002 PyObject
* obj0
= 0 ;
23003 PyObject
* obj1
= 0 ;
23004 char *kwnames
[] = {
23005 (char *) "self",(char *) "other", NULL
23008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
23009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
23010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23011 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
23012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23015 result
= (bool)wxTreeItemId___eq__(arg1
,(wxTreeItemId
const *)arg2
);
23017 wxPyEndAllowThreads(__tstate
);
23018 if (PyErr_Occurred()) SWIG_fail
;
23021 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23029 static PyObject
*_wrap_TreeItemId___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23030 PyObject
*resultobj
;
23031 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
23032 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
23034 PyObject
* obj0
= 0 ;
23035 PyObject
* obj1
= 0 ;
23036 char *kwnames
[] = {
23037 (char *) "self",(char *) "other", NULL
23040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
23041 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
23042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23043 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
23044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23047 result
= (bool)wxTreeItemId___ne__(arg1
,(wxTreeItemId
const *)arg2
);
23049 wxPyEndAllowThreads(__tstate
);
23050 if (PyErr_Occurred()) SWIG_fail
;
23053 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23061 static PyObject
*_wrap_TreeItemId_m_pItem_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23062 PyObject
*resultobj
;
23063 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
23064 void *arg2
= (void *) 0 ;
23065 PyObject
* obj0
= 0 ;
23066 PyObject
* obj1
= 0 ;
23067 char *kwnames
[] = {
23068 (char *) "self",(char *) "m_pItem", NULL
23071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId_m_pItem_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
23073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23074 if ((SWIG_ConvertPtr(obj1
,&arg2
,0,SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
23075 if (arg1
) (arg1
)->m_pItem
= arg2
;
23077 Py_INCREF(Py_None
); resultobj
= Py_None
;
23084 static PyObject
*_wrap_TreeItemId_m_pItem_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23085 PyObject
*resultobj
;
23086 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
23088 PyObject
* obj0
= 0 ;
23089 char *kwnames
[] = {
23090 (char *) "self", NULL
23093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_m_pItem_get",kwnames
,&obj0
)) goto fail
;
23094 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
23095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23096 result
= (void *) ((arg1
)->m_pItem
);
23098 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_void
, 0);
23105 static PyObject
* TreeItemId_swigregister(PyObject
*, PyObject
*args
) {
23107 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23108 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId
, obj
);
23110 return Py_BuildValue((char *)"");
23112 static PyObject
*_wrap_new_TreeItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23113 PyObject
*resultobj
;
23114 PyObject
*arg1
= (PyObject
*) NULL
;
23115 wxPyTreeItemData
*result
;
23116 PyObject
* obj0
= 0 ;
23117 char *kwnames
[] = {
23118 (char *) "obj", NULL
23121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) goto fail
;
23126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23127 result
= (wxPyTreeItemData
*)new wxPyTreeItemData(arg1
);
23129 wxPyEndAllowThreads(__tstate
);
23130 if (PyErr_Occurred()) SWIG_fail
;
23132 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 1);
23139 static PyObject
*_wrap_TreeItemData_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23140 PyObject
*resultobj
;
23141 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
23143 PyObject
* obj0
= 0 ;
23144 char *kwnames
[] = {
23145 (char *) "self", NULL
23148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetData",kwnames
,&obj0
)) goto fail
;
23149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
23150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23153 result
= (PyObject
*)(arg1
)->GetData();
23155 wxPyEndAllowThreads(__tstate
);
23156 if (PyErr_Occurred()) SWIG_fail
;
23158 resultobj
= result
;
23165 static PyObject
*_wrap_TreeItemData_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23166 PyObject
*resultobj
;
23167 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
23168 PyObject
*arg2
= (PyObject
*) 0 ;
23169 PyObject
* obj0
= 0 ;
23170 PyObject
* obj1
= 0 ;
23171 char *kwnames
[] = {
23172 (char *) "self",(char *) "obj", NULL
23175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
23176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
23177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23181 (arg1
)->SetData(arg2
);
23183 wxPyEndAllowThreads(__tstate
);
23184 if (PyErr_Occurred()) SWIG_fail
;
23186 Py_INCREF(Py_None
); resultobj
= Py_None
;
23193 static PyObject
*_wrap_TreeItemData_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23194 PyObject
*resultobj
;
23195 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
23196 wxTreeItemId
*result
;
23197 PyObject
* obj0
= 0 ;
23198 char *kwnames
[] = {
23199 (char *) "self", NULL
23202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetId",kwnames
,&obj0
)) goto fail
;
23203 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
23204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23208 wxTreeItemId
const &_result_ref
= (arg1
)->GetId();
23209 result
= (wxTreeItemId
*) &_result_ref
;
23212 wxPyEndAllowThreads(__tstate
);
23213 if (PyErr_Occurred()) SWIG_fail
;
23215 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 0);
23222 static PyObject
*_wrap_TreeItemData_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23223 PyObject
*resultobj
;
23224 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
23225 wxTreeItemId
*arg2
= 0 ;
23226 PyObject
* obj0
= 0 ;
23227 PyObject
* obj1
= 0 ;
23228 char *kwnames
[] = {
23229 (char *) "self",(char *) "id", NULL
23232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
23233 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
23234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23235 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
23236 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23238 if (arg2
== NULL
) {
23239 PyErr_SetString(PyExc_TypeError
,"null reference");
23243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23244 (arg1
)->SetId((wxTreeItemId
const &)*arg2
);
23246 wxPyEndAllowThreads(__tstate
);
23247 if (PyErr_Occurred()) SWIG_fail
;
23249 Py_INCREF(Py_None
); resultobj
= Py_None
;
23256 static PyObject
*_wrap_TreeItemData_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23257 PyObject
*resultobj
;
23258 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
23259 PyObject
* obj0
= 0 ;
23260 char *kwnames
[] = {
23261 (char *) "self", NULL
23264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_Destroy",kwnames
,&obj0
)) goto fail
;
23265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
23266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23269 wxPyTreeItemData_Destroy(arg1
);
23271 wxPyEndAllowThreads(__tstate
);
23272 if (PyErr_Occurred()) SWIG_fail
;
23274 Py_INCREF(Py_None
); resultobj
= Py_None
;
23281 static PyObject
* TreeItemData_swigregister(PyObject
*, PyObject
*args
) {
23283 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23284 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData
, obj
);
23286 return Py_BuildValue((char *)"");
23288 static PyObject
*_wrap_new_TreeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23289 PyObject
*resultobj
;
23290 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
23291 int arg2
= (int) 0 ;
23292 wxTreeEvent
*result
;
23293 PyObject
* obj0
= 0 ;
23294 PyObject
* obj1
= 0 ;
23295 char *kwnames
[] = {
23296 (char *) "commandType",(char *) "id", NULL
23299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TreeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
23301 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
23302 if (PyErr_Occurred()) SWIG_fail
;
23305 arg2
= (int) SWIG_AsInt(obj1
);
23306 if (PyErr_Occurred()) SWIG_fail
;
23309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23310 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
);
23312 wxPyEndAllowThreads(__tstate
);
23313 if (PyErr_Occurred()) SWIG_fail
;
23315 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeEvent
, 1);
23322 static PyObject
*_wrap_TreeEvent_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23323 PyObject
*resultobj
;
23324 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23325 wxTreeItemId result
;
23326 PyObject
* obj0
= 0 ;
23327 char *kwnames
[] = {
23328 (char *) "self", NULL
23331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetItem",kwnames
,&obj0
)) goto fail
;
23332 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23336 result
= ((wxTreeEvent
const *)arg1
)->GetItem();
23338 wxPyEndAllowThreads(__tstate
);
23339 if (PyErr_Occurred()) SWIG_fail
;
23342 wxTreeItemId
* resultptr
;
23343 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
23344 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
23352 static PyObject
*_wrap_TreeEvent_SetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23353 PyObject
*resultobj
;
23354 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23355 wxTreeItemId
*arg2
= 0 ;
23356 PyObject
* obj0
= 0 ;
23357 PyObject
* obj1
= 0 ;
23358 char *kwnames
[] = {
23359 (char *) "self",(char *) "item", NULL
23362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
23363 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23365 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
23366 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23368 if (arg2
== NULL
) {
23369 PyErr_SetString(PyExc_TypeError
,"null reference");
23373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23374 (arg1
)->SetItem((wxTreeItemId
const &)*arg2
);
23376 wxPyEndAllowThreads(__tstate
);
23377 if (PyErr_Occurred()) SWIG_fail
;
23379 Py_INCREF(Py_None
); resultobj
= Py_None
;
23386 static PyObject
*_wrap_TreeEvent_GetOldItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23387 PyObject
*resultobj
;
23388 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23389 wxTreeItemId result
;
23390 PyObject
* obj0
= 0 ;
23391 char *kwnames
[] = {
23392 (char *) "self", NULL
23395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetOldItem",kwnames
,&obj0
)) goto fail
;
23396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23400 result
= ((wxTreeEvent
const *)arg1
)->GetOldItem();
23402 wxPyEndAllowThreads(__tstate
);
23403 if (PyErr_Occurred()) SWIG_fail
;
23406 wxTreeItemId
* resultptr
;
23407 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
23408 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
23416 static PyObject
*_wrap_TreeEvent_SetOldItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23417 PyObject
*resultobj
;
23418 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23419 wxTreeItemId
*arg2
= 0 ;
23420 PyObject
* obj0
= 0 ;
23421 PyObject
* obj1
= 0 ;
23422 char *kwnames
[] = {
23423 (char *) "self",(char *) "item", NULL
23426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) goto fail
;
23427 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23429 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
23430 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23432 if (arg2
== NULL
) {
23433 PyErr_SetString(PyExc_TypeError
,"null reference");
23437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23438 (arg1
)->SetOldItem((wxTreeItemId
const &)*arg2
);
23440 wxPyEndAllowThreads(__tstate
);
23441 if (PyErr_Occurred()) SWIG_fail
;
23443 Py_INCREF(Py_None
); resultobj
= Py_None
;
23450 static PyObject
*_wrap_TreeEvent_GetPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23451 PyObject
*resultobj
;
23452 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23454 PyObject
* obj0
= 0 ;
23455 char *kwnames
[] = {
23456 (char *) "self", NULL
23459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
23460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23464 result
= ((wxTreeEvent
const *)arg1
)->GetPoint();
23466 wxPyEndAllowThreads(__tstate
);
23467 if (PyErr_Occurred()) SWIG_fail
;
23470 wxPoint
* resultptr
;
23471 resultptr
= new wxPoint((wxPoint
&) result
);
23472 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
23480 static PyObject
*_wrap_TreeEvent_SetPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23481 PyObject
*resultobj
;
23482 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23483 wxPoint
*arg2
= 0 ;
23485 PyObject
* obj0
= 0 ;
23486 PyObject
* obj1
= 0 ;
23487 char *kwnames
[] = {
23488 (char *) "self",(char *) "pt", NULL
23491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
23492 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23496 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23500 (arg1
)->SetPoint((wxPoint
const &)*arg2
);
23502 wxPyEndAllowThreads(__tstate
);
23503 if (PyErr_Occurred()) SWIG_fail
;
23505 Py_INCREF(Py_None
); resultobj
= Py_None
;
23512 static PyObject
*_wrap_TreeEvent_GetKeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23513 PyObject
*resultobj
;
23514 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23515 wxKeyEvent
*result
;
23516 PyObject
* obj0
= 0 ;
23517 char *kwnames
[] = {
23518 (char *) "self", NULL
23521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyEvent",kwnames
,&obj0
)) goto fail
;
23522 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23523 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23527 wxKeyEvent
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetKeyEvent();
23528 result
= (wxKeyEvent
*) &_result_ref
;
23531 wxPyEndAllowThreads(__tstate
);
23532 if (PyErr_Occurred()) SWIG_fail
;
23534 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 0);
23541 static PyObject
*_wrap_TreeEvent_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23542 PyObject
*resultobj
;
23543 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23545 PyObject
* obj0
= 0 ;
23546 char *kwnames
[] = {
23547 (char *) "self", NULL
23550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
23551 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23555 result
= (int)((wxTreeEvent
const *)arg1
)->GetKeyCode();
23557 wxPyEndAllowThreads(__tstate
);
23558 if (PyErr_Occurred()) SWIG_fail
;
23560 resultobj
= SWIG_FromInt((int)result
);
23567 static PyObject
*_wrap_TreeEvent_SetKeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23568 PyObject
*resultobj
;
23569 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23570 wxKeyEvent
*arg2
= 0 ;
23571 PyObject
* obj0
= 0 ;
23572 PyObject
* obj1
= 0 ;
23573 char *kwnames
[] = {
23574 (char *) "self",(char *) "evt", NULL
23577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
23578 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23579 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23580 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxKeyEvent
,
23581 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23583 if (arg2
== NULL
) {
23584 PyErr_SetString(PyExc_TypeError
,"null reference");
23588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23589 (arg1
)->SetKeyEvent((wxKeyEvent
const &)*arg2
);
23591 wxPyEndAllowThreads(__tstate
);
23592 if (PyErr_Occurred()) SWIG_fail
;
23594 Py_INCREF(Py_None
); resultobj
= Py_None
;
23601 static PyObject
*_wrap_TreeEvent_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23602 PyObject
*resultobj
;
23603 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23605 PyObject
* obj0
= 0 ;
23606 char *kwnames
[] = {
23607 (char *) "self", NULL
23610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
23611 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23612 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23616 wxString
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetLabel();
23617 result
= (wxString
*) &_result_ref
;
23620 wxPyEndAllowThreads(__tstate
);
23621 if (PyErr_Occurred()) SWIG_fail
;
23625 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
23627 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
23636 static PyObject
*_wrap_TreeEvent_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23637 PyObject
*resultobj
;
23638 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23639 wxString
*arg2
= 0 ;
23640 bool temp2
= False
;
23641 PyObject
* obj0
= 0 ;
23642 PyObject
* obj1
= 0 ;
23643 char *kwnames
[] = {
23644 (char *) "self",(char *) "label", NULL
23647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
23648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23651 arg2
= wxString_in_helper(obj1
);
23652 if (arg2
== NULL
) SWIG_fail
;
23656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23657 (arg1
)->SetLabel((wxString
const &)*arg2
);
23659 wxPyEndAllowThreads(__tstate
);
23660 if (PyErr_Occurred()) SWIG_fail
;
23662 Py_INCREF(Py_None
); resultobj
= Py_None
;
23677 static PyObject
*_wrap_TreeEvent_IsEditCancelled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23678 PyObject
*resultobj
;
23679 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23681 PyObject
* obj0
= 0 ;
23682 char *kwnames
[] = {
23683 (char *) "self", NULL
23686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
23687 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23688 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23691 result
= (bool)((wxTreeEvent
const *)arg1
)->IsEditCancelled();
23693 wxPyEndAllowThreads(__tstate
);
23694 if (PyErr_Occurred()) SWIG_fail
;
23697 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23705 static PyObject
*_wrap_TreeEvent_SetEditCanceled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23706 PyObject
*resultobj
;
23707 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23709 PyObject
* obj0
= 0 ;
23710 PyObject
* obj1
= 0 ;
23711 char *kwnames
[] = {
23712 (char *) "self",(char *) "editCancelled", NULL
23715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
23716 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23717 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23718 arg2
= (bool) SWIG_AsBool(obj1
);
23719 if (PyErr_Occurred()) SWIG_fail
;
23721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23722 (arg1
)->SetEditCanceled(arg2
);
23724 wxPyEndAllowThreads(__tstate
);
23725 if (PyErr_Occurred()) SWIG_fail
;
23727 Py_INCREF(Py_None
); resultobj
= Py_None
;
23734 static PyObject
*_wrap_TreeEvent_SetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23735 PyObject
*resultobj
;
23736 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23737 wxString
*arg2
= 0 ;
23738 bool temp2
= False
;
23739 PyObject
* obj0
= 0 ;
23740 PyObject
* obj1
= 0 ;
23741 char *kwnames
[] = {
23742 (char *) "self",(char *) "toolTip", NULL
23745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
23746 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23749 arg2
= wxString_in_helper(obj1
);
23750 if (arg2
== NULL
) SWIG_fail
;
23754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23755 (arg1
)->SetToolTip((wxString
const &)*arg2
);
23757 wxPyEndAllowThreads(__tstate
);
23758 if (PyErr_Occurred()) SWIG_fail
;
23760 Py_INCREF(Py_None
); resultobj
= Py_None
;
23775 static PyObject
* TreeEvent_swigregister(PyObject
*, PyObject
*args
) {
23777 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23778 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent
, obj
);
23780 return Py_BuildValue((char *)"");
23782 static PyObject
*_wrap_new_TreeCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23783 PyObject
*resultobj
;
23784 wxWindow
*arg1
= (wxWindow
*) 0 ;
23785 int arg2
= (int) -1 ;
23786 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
23787 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
23788 wxSize
const &arg4_defvalue
= wxDefaultSize
;
23789 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
23790 long arg5
= (long) wxTR_DEFAULT_STYLE
;
23791 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
23792 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
23793 wxString
const &arg7_defvalue
= wxPyTreeCtrlNameStr
;
23794 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23795 wxPyTreeCtrl
*result
;
23798 bool temp7
= False
;
23799 PyObject
* obj0
= 0 ;
23800 PyObject
* obj1
= 0 ;
23801 PyObject
* obj2
= 0 ;
23802 PyObject
* obj3
= 0 ;
23803 PyObject
* obj4
= 0 ;
23804 PyObject
* obj5
= 0 ;
23805 PyObject
* obj6
= 0 ;
23806 char *kwnames
[] = {
23807 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_TreeCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23811 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23812 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23814 arg2
= (int) SWIG_AsInt(obj1
);
23815 if (PyErr_Occurred()) SWIG_fail
;
23820 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
23826 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
23830 arg5
= (long) SWIG_AsLong(obj4
);
23831 if (PyErr_Occurred()) SWIG_fail
;
23834 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
23835 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23837 if (arg6
== NULL
) {
23838 PyErr_SetString(PyExc_TypeError
,"null reference");
23844 arg7
= wxString_in_helper(obj6
);
23845 if (arg7
== NULL
) SWIG_fail
;
23850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23851 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
23853 wxPyEndAllowThreads(__tstate
);
23854 if (PyErr_Occurred()) SWIG_fail
;
23857 resultobj
= wxPyMake_wxObject(result
);
23873 static PyObject
*_wrap_new_PreTreeCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23874 PyObject
*resultobj
;
23875 wxPyTreeCtrl
*result
;
23876 char *kwnames
[] = {
23880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTreeCtrl",kwnames
)) goto fail
;
23882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23883 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl();
23885 wxPyEndAllowThreads(__tstate
);
23886 if (PyErr_Occurred()) SWIG_fail
;
23889 resultobj
= wxPyMake_wxObject(result
);
23897 static PyObject
*_wrap_TreeCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23898 PyObject
*resultobj
;
23899 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23900 wxWindow
*arg2
= (wxWindow
*) 0 ;
23901 int arg3
= (int) -1 ;
23902 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
23903 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
23904 wxSize
const &arg5_defvalue
= wxDefaultSize
;
23905 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
23906 long arg6
= (long) wxTR_DEFAULT_STYLE
;
23907 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
23908 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
23909 wxString
const &arg8_defvalue
= wxPyTreeCtrlNameStr
;
23910 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23914 bool temp8
= False
;
23915 PyObject
* obj0
= 0 ;
23916 PyObject
* obj1
= 0 ;
23917 PyObject
* obj2
= 0 ;
23918 PyObject
* obj3
= 0 ;
23919 PyObject
* obj4
= 0 ;
23920 PyObject
* obj5
= 0 ;
23921 PyObject
* obj6
= 0 ;
23922 PyObject
* obj7
= 0 ;
23923 char *kwnames
[] = {
23924 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
23928 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
23929 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23930 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
23931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23933 arg3
= (int) SWIG_AsInt(obj2
);
23934 if (PyErr_Occurred()) SWIG_fail
;
23939 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
23945 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
23949 arg6
= (long) SWIG_AsLong(obj5
);
23950 if (PyErr_Occurred()) SWIG_fail
;
23953 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
23954 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23956 if (arg7
== NULL
) {
23957 PyErr_SetString(PyExc_TypeError
,"null reference");
23963 arg8
= wxString_in_helper(obj7
);
23964 if (arg8
== NULL
) SWIG_fail
;
23969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23970 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
23972 wxPyEndAllowThreads(__tstate
);
23973 if (PyErr_Occurred()) SWIG_fail
;
23976 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23992 static PyObject
*_wrap_TreeCtrl__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23993 PyObject
*resultobj
;
23994 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23995 PyObject
*arg2
= (PyObject
*) 0 ;
23996 PyObject
*arg3
= (PyObject
*) 0 ;
23997 PyObject
* obj0
= 0 ;
23998 PyObject
* obj1
= 0 ;
23999 PyObject
* obj2
= 0 ;
24000 char *kwnames
[] = {
24001 (char *) "self",(char *) "self",(char *) "_class", NULL
24004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24011 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24013 wxPyEndAllowThreads(__tstate
);
24014 if (PyErr_Occurred()) SWIG_fail
;
24016 Py_INCREF(Py_None
); resultobj
= Py_None
;
24023 static PyObject
*_wrap_TreeCtrl_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24024 PyObject
*resultobj
;
24025 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24027 PyObject
* obj0
= 0 ;
24028 char *kwnames
[] = {
24029 (char *) "self", NULL
24032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetCount",kwnames
,&obj0
)) goto fail
;
24033 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24037 result
= (size_t)((wxPyTreeCtrl
const *)arg1
)->GetCount();
24039 wxPyEndAllowThreads(__tstate
);
24040 if (PyErr_Occurred()) SWIG_fail
;
24042 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
24049 static PyObject
*_wrap_TreeCtrl_GetIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24050 PyObject
*resultobj
;
24051 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24052 unsigned int result
;
24053 PyObject
* obj0
= 0 ;
24054 char *kwnames
[] = {
24055 (char *) "self", NULL
24058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetIndent",kwnames
,&obj0
)) goto fail
;
24059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24063 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetIndent();
24065 wxPyEndAllowThreads(__tstate
);
24066 if (PyErr_Occurred()) SWIG_fail
;
24068 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
24075 static PyObject
*_wrap_TreeCtrl_SetIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24076 PyObject
*resultobj
;
24077 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24078 unsigned int arg2
;
24079 PyObject
* obj0
= 0 ;
24080 PyObject
* obj1
= 0 ;
24081 char *kwnames
[] = {
24082 (char *) "self",(char *) "indent", NULL
24085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
24086 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24087 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24088 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
24089 if (PyErr_Occurred()) SWIG_fail
;
24091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24092 (arg1
)->SetIndent(arg2
);
24094 wxPyEndAllowThreads(__tstate
);
24095 if (PyErr_Occurred()) SWIG_fail
;
24097 Py_INCREF(Py_None
); resultobj
= Py_None
;
24104 static PyObject
*_wrap_TreeCtrl_GetSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24105 PyObject
*resultobj
;
24106 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24107 unsigned int result
;
24108 PyObject
* obj0
= 0 ;
24109 char *kwnames
[] = {
24110 (char *) "self", NULL
24113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSpacing",kwnames
,&obj0
)) goto fail
;
24114 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24115 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24118 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetSpacing();
24120 wxPyEndAllowThreads(__tstate
);
24121 if (PyErr_Occurred()) SWIG_fail
;
24123 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
24130 static PyObject
*_wrap_TreeCtrl_SetSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24131 PyObject
*resultobj
;
24132 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24133 unsigned int arg2
;
24134 PyObject
* obj0
= 0 ;
24135 PyObject
* obj1
= 0 ;
24136 char *kwnames
[] = {
24137 (char *) "self",(char *) "spacing", NULL
24140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",kwnames
,&obj0
,&obj1
)) goto fail
;
24141 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24143 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
24144 if (PyErr_Occurred()) SWIG_fail
;
24146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24147 (arg1
)->SetSpacing(arg2
);
24149 wxPyEndAllowThreads(__tstate
);
24150 if (PyErr_Occurred()) SWIG_fail
;
24152 Py_INCREF(Py_None
); resultobj
= Py_None
;
24159 static PyObject
*_wrap_TreeCtrl_GetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24160 PyObject
*resultobj
;
24161 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24162 wxImageList
*result
;
24163 PyObject
* obj0
= 0 ;
24164 char *kwnames
[] = {
24165 (char *) "self", NULL
24168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
24169 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24173 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetImageList();
24175 wxPyEndAllowThreads(__tstate
);
24176 if (PyErr_Occurred()) SWIG_fail
;
24179 resultobj
= wxPyMake_wxObject(result
);
24187 static PyObject
*_wrap_TreeCtrl_GetStateImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24188 PyObject
*resultobj
;
24189 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24190 wxImageList
*result
;
24191 PyObject
* obj0
= 0 ;
24192 char *kwnames
[] = {
24193 (char *) "self", NULL
24196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetStateImageList",kwnames
,&obj0
)) goto fail
;
24197 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24201 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetStateImageList();
24203 wxPyEndAllowThreads(__tstate
);
24204 if (PyErr_Occurred()) SWIG_fail
;
24207 resultobj
= wxPyMake_wxObject(result
);
24215 static PyObject
*_wrap_TreeCtrl_SetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24216 PyObject
*resultobj
;
24217 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24218 wxImageList
*arg2
= (wxImageList
*) 0 ;
24219 PyObject
* obj0
= 0 ;
24220 PyObject
* obj1
= 0 ;
24221 char *kwnames
[] = {
24222 (char *) "self",(char *) "imageList", NULL
24225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
24226 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24228 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
24229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24232 (arg1
)->SetImageList(arg2
);
24234 wxPyEndAllowThreads(__tstate
);
24235 if (PyErr_Occurred()) SWIG_fail
;
24237 Py_INCREF(Py_None
); resultobj
= Py_None
;
24244 static PyObject
*_wrap_TreeCtrl_SetStateImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24245 PyObject
*resultobj
;
24246 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24247 wxImageList
*arg2
= (wxImageList
*) 0 ;
24248 PyObject
* obj0
= 0 ;
24249 PyObject
* obj1
= 0 ;
24250 char *kwnames
[] = {
24251 (char *) "self",(char *) "imageList", NULL
24254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
24255 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24256 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24257 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
24258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24261 (arg1
)->SetStateImageList(arg2
);
24263 wxPyEndAllowThreads(__tstate
);
24264 if (PyErr_Occurred()) SWIG_fail
;
24266 Py_INCREF(Py_None
); resultobj
= Py_None
;
24273 static PyObject
*_wrap_TreeCtrl_AssignImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24274 PyObject
*resultobj
;
24275 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24276 wxImageList
*arg2
= (wxImageList
*) 0 ;
24277 PyObject
* obj0
= 0 ;
24278 PyObject
* obj1
= 0 ;
24279 char *kwnames
[] = {
24280 (char *) "self",(char *) "imageList", NULL
24283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
24284 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24286 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
24287 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
24289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24290 (arg1
)->AssignImageList(arg2
);
24292 wxPyEndAllowThreads(__tstate
);
24293 if (PyErr_Occurred()) SWIG_fail
;
24295 Py_INCREF(Py_None
); resultobj
= Py_None
;
24302 static PyObject
*_wrap_TreeCtrl_AssignStateImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24303 PyObject
*resultobj
;
24304 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24305 wxImageList
*arg2
= (wxImageList
*) 0 ;
24306 PyObject
* obj0
= 0 ;
24307 PyObject
* obj1
= 0 ;
24308 char *kwnames
[] = {
24309 (char *) "self",(char *) "imageList", NULL
24312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
24313 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24315 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
24316 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
24318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24319 (arg1
)->AssignStateImageList(arg2
);
24321 wxPyEndAllowThreads(__tstate
);
24322 if (PyErr_Occurred()) SWIG_fail
;
24324 Py_INCREF(Py_None
); resultobj
= Py_None
;
24331 static PyObject
*_wrap_TreeCtrl_GetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24332 PyObject
*resultobj
;
24333 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24334 wxTreeItemId
*arg2
= 0 ;
24336 PyObject
* obj0
= 0 ;
24337 PyObject
* obj1
= 0 ;
24338 char *kwnames
[] = {
24339 (char *) "self",(char *) "item", NULL
24342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
24343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24345 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24346 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24348 if (arg2
== NULL
) {
24349 PyErr_SetString(PyExc_TypeError
,"null reference");
24353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24354 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemText((wxTreeItemId
const &)*arg2
);
24356 wxPyEndAllowThreads(__tstate
);
24357 if (PyErr_Occurred()) SWIG_fail
;
24361 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24363 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24372 static PyObject
*_wrap_TreeCtrl_GetItemImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24373 PyObject
*resultobj
;
24374 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24375 wxTreeItemId
*arg2
= 0 ;
24376 int arg3
= (int) wxTreeItemIcon_Normal
;
24378 PyObject
* obj0
= 0 ;
24379 PyObject
* obj1
= 0 ;
24380 PyObject
* obj2
= 0 ;
24381 char *kwnames
[] = {
24382 (char *) "self",(char *) "item",(char *) "which", NULL
24385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24386 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24387 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24388 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24389 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24391 if (arg2
== NULL
) {
24392 PyErr_SetString(PyExc_TypeError
,"null reference");
24396 arg3
= (wxTreeItemIcon
) SWIG_AsInt(obj2
);
24397 if (PyErr_Occurred()) SWIG_fail
;
24400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24401 result
= (int)((wxPyTreeCtrl
const *)arg1
)->GetItemImage((wxTreeItemId
const &)*arg2
,(wxTreeItemIcon
)arg3
);
24403 wxPyEndAllowThreads(__tstate
);
24404 if (PyErr_Occurred()) SWIG_fail
;
24406 resultobj
= SWIG_FromInt((int)result
);
24413 static PyObject
*_wrap_TreeCtrl_GetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24414 PyObject
*resultobj
;
24415 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24416 wxTreeItemId
*arg2
= 0 ;
24417 wxPyTreeItemData
*result
;
24418 PyObject
* obj0
= 0 ;
24419 PyObject
* obj1
= 0 ;
24420 char *kwnames
[] = {
24421 (char *) "self",(char *) "item", NULL
24424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
24425 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24427 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24428 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24430 if (arg2
== NULL
) {
24431 PyErr_SetString(PyExc_TypeError
,"null reference");
24435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24436 result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
24438 wxPyEndAllowThreads(__tstate
);
24439 if (PyErr_Occurred()) SWIG_fail
;
24441 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 0);
24448 static PyObject
*_wrap_TreeCtrl_GetItemPyData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24449 PyObject
*resultobj
;
24450 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24451 wxTreeItemId
*arg2
= 0 ;
24453 PyObject
* obj0
= 0 ;
24454 PyObject
* obj1
= 0 ;
24455 char *kwnames
[] = {
24456 (char *) "self",(char *) "item", NULL
24459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemPyData",kwnames
,&obj0
,&obj1
)) goto fail
;
24460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24462 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24463 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24465 if (arg2
== NULL
) {
24466 PyErr_SetString(PyExc_TypeError
,"null reference");
24470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24471 result
= (PyObject
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
24473 wxPyEndAllowThreads(__tstate
);
24474 if (PyErr_Occurred()) SWIG_fail
;
24476 resultobj
= result
;
24483 static PyObject
*_wrap_TreeCtrl_GetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24484 PyObject
*resultobj
;
24485 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24486 wxTreeItemId
*arg2
= 0 ;
24488 PyObject
* obj0
= 0 ;
24489 PyObject
* obj1
= 0 ;
24490 char *kwnames
[] = {
24491 (char *) "self",(char *) "item", NULL
24494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
24495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24497 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24498 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24500 if (arg2
== NULL
) {
24501 PyErr_SetString(PyExc_TypeError
,"null reference");
24505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24506 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
24508 wxPyEndAllowThreads(__tstate
);
24509 if (PyErr_Occurred()) SWIG_fail
;
24512 wxColour
* resultptr
;
24513 resultptr
= new wxColour((wxColour
&) result
);
24514 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
24522 static PyObject
*_wrap_TreeCtrl_GetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24523 PyObject
*resultobj
;
24524 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24525 wxTreeItemId
*arg2
= 0 ;
24527 PyObject
* obj0
= 0 ;
24528 PyObject
* obj1
= 0 ;
24529 char *kwnames
[] = {
24530 (char *) "self",(char *) "item", NULL
24533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
24534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24536 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24537 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24539 if (arg2
== NULL
) {
24540 PyErr_SetString(PyExc_TypeError
,"null reference");
24544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24545 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId
const &)*arg2
);
24547 wxPyEndAllowThreads(__tstate
);
24548 if (PyErr_Occurred()) SWIG_fail
;
24551 wxColour
* resultptr
;
24552 resultptr
= new wxColour((wxColour
&) result
);
24553 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
24561 static PyObject
*_wrap_TreeCtrl_GetItemFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24562 PyObject
*resultobj
;
24563 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24564 wxTreeItemId
*arg2
= 0 ;
24566 PyObject
* obj0
= 0 ;
24567 PyObject
* obj1
= 0 ;
24568 char *kwnames
[] = {
24569 (char *) "self",(char *) "item", NULL
24572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) goto fail
;
24573 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24575 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24576 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24578 if (arg2
== NULL
) {
24579 PyErr_SetString(PyExc_TypeError
,"null reference");
24583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24584 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
24586 wxPyEndAllowThreads(__tstate
);
24587 if (PyErr_Occurred()) SWIG_fail
;
24590 wxFont
* resultptr
;
24591 resultptr
= new wxFont((wxFont
&) result
);
24592 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
24600 static PyObject
*_wrap_TreeCtrl_SetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24601 PyObject
*resultobj
;
24602 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24603 wxTreeItemId
*arg2
= 0 ;
24604 wxString
*arg3
= 0 ;
24605 bool temp3
= False
;
24606 PyObject
* obj0
= 0 ;
24607 PyObject
* obj1
= 0 ;
24608 PyObject
* obj2
= 0 ;
24609 char *kwnames
[] = {
24610 (char *) "self",(char *) "item",(char *) "text", NULL
24613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24616 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24617 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24619 if (arg2
== NULL
) {
24620 PyErr_SetString(PyExc_TypeError
,"null reference");
24624 arg3
= wxString_in_helper(obj2
);
24625 if (arg3
== NULL
) SWIG_fail
;
24629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24630 (arg1
)->SetItemText((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
);
24632 wxPyEndAllowThreads(__tstate
);
24633 if (PyErr_Occurred()) SWIG_fail
;
24635 Py_INCREF(Py_None
); resultobj
= Py_None
;
24650 static PyObject
*_wrap_TreeCtrl_SetItemImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24651 PyObject
*resultobj
;
24652 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24653 wxTreeItemId
*arg2
= 0 ;
24655 int arg4
= (int) wxTreeItemIcon_Normal
;
24656 PyObject
* obj0
= 0 ;
24657 PyObject
* obj1
= 0 ;
24658 PyObject
* obj2
= 0 ;
24659 PyObject
* obj3
= 0 ;
24660 char *kwnames
[] = {
24661 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
24664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24665 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24667 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24668 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24670 if (arg2
== NULL
) {
24671 PyErr_SetString(PyExc_TypeError
,"null reference");
24674 arg3
= (int) SWIG_AsInt(obj2
);
24675 if (PyErr_Occurred()) SWIG_fail
;
24677 arg4
= (wxTreeItemIcon
) SWIG_AsInt(obj3
);
24678 if (PyErr_Occurred()) SWIG_fail
;
24681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24682 (arg1
)->SetItemImage((wxTreeItemId
const &)*arg2
,arg3
,(wxTreeItemIcon
)arg4
);
24684 wxPyEndAllowThreads(__tstate
);
24685 if (PyErr_Occurred()) SWIG_fail
;
24687 Py_INCREF(Py_None
); resultobj
= Py_None
;
24694 static PyObject
*_wrap_TreeCtrl_SetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24695 PyObject
*resultobj
;
24696 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24697 wxTreeItemId
*arg2
= 0 ;
24698 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
24699 PyObject
* obj0
= 0 ;
24700 PyObject
* obj1
= 0 ;
24701 PyObject
* obj2
= 0 ;
24702 char *kwnames
[] = {
24703 (char *) "self",(char *) "item",(char *) "data", NULL
24706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24707 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24709 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24710 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24712 if (arg2
== NULL
) {
24713 PyErr_SetString(PyExc_TypeError
,"null reference");
24716 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyTreeItemData
,
24717 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24720 wxPyTreeCtrl_SetItemData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
24722 wxPyEndAllowThreads(__tstate
);
24723 if (PyErr_Occurred()) SWIG_fail
;
24725 Py_INCREF(Py_None
); resultobj
= Py_None
;
24732 static PyObject
*_wrap_TreeCtrl_SetItemPyData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24733 PyObject
*resultobj
;
24734 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24735 wxTreeItemId
*arg2
= 0 ;
24736 PyObject
*arg3
= (PyObject
*) 0 ;
24737 PyObject
* obj0
= 0 ;
24738 PyObject
* obj1
= 0 ;
24739 PyObject
* obj2
= 0 ;
24740 char *kwnames
[] = {
24741 (char *) "self",(char *) "item",(char *) "obj", NULL
24744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24745 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24747 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24748 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24750 if (arg2
== NULL
) {
24751 PyErr_SetString(PyExc_TypeError
,"null reference");
24756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24757 wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
24759 wxPyEndAllowThreads(__tstate
);
24760 if (PyErr_Occurred()) SWIG_fail
;
24762 Py_INCREF(Py_None
); resultobj
= Py_None
;
24769 static PyObject
*_wrap_TreeCtrl_SetItemHasChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24770 PyObject
*resultobj
;
24771 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24772 wxTreeItemId
*arg2
= 0 ;
24773 bool arg3
= (bool) True
;
24774 PyObject
* obj0
= 0 ;
24775 PyObject
* obj1
= 0 ;
24776 PyObject
* obj2
= 0 ;
24777 char *kwnames
[] = {
24778 (char *) "self",(char *) "item",(char *) "has", NULL
24781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24782 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24783 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24784 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24785 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24787 if (arg2
== NULL
) {
24788 PyErr_SetString(PyExc_TypeError
,"null reference");
24792 arg3
= (bool) SWIG_AsBool(obj2
);
24793 if (PyErr_Occurred()) SWIG_fail
;
24796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24797 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
24799 wxPyEndAllowThreads(__tstate
);
24800 if (PyErr_Occurred()) SWIG_fail
;
24802 Py_INCREF(Py_None
); resultobj
= Py_None
;
24809 static PyObject
*_wrap_TreeCtrl_SetItemBold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24810 PyObject
*resultobj
;
24811 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24812 wxTreeItemId
*arg2
= 0 ;
24813 bool arg3
= (bool) True
;
24814 PyObject
* obj0
= 0 ;
24815 PyObject
* obj1
= 0 ;
24816 PyObject
* obj2
= 0 ;
24817 char *kwnames
[] = {
24818 (char *) "self",(char *) "item",(char *) "bold", NULL
24821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24822 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24823 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24824 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24825 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24827 if (arg2
== NULL
) {
24828 PyErr_SetString(PyExc_TypeError
,"null reference");
24832 arg3
= (bool) SWIG_AsBool(obj2
);
24833 if (PyErr_Occurred()) SWIG_fail
;
24836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24837 (arg1
)->SetItemBold((wxTreeItemId
const &)*arg2
,arg3
);
24839 wxPyEndAllowThreads(__tstate
);
24840 if (PyErr_Occurred()) SWIG_fail
;
24842 Py_INCREF(Py_None
); resultobj
= Py_None
;
24849 static PyObject
*_wrap_TreeCtrl_SetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24850 PyObject
*resultobj
;
24851 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24852 wxTreeItemId
*arg2
= 0 ;
24853 wxColour
*arg3
= 0 ;
24855 PyObject
* obj0
= 0 ;
24856 PyObject
* obj1
= 0 ;
24857 PyObject
* obj2
= 0 ;
24858 char *kwnames
[] = {
24859 (char *) "self",(char *) "item",(char *) "col", NULL
24862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24863 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24864 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24865 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24866 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24868 if (arg2
== NULL
) {
24869 PyErr_SetString(PyExc_TypeError
,"null reference");
24874 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
24877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24878 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
24880 wxPyEndAllowThreads(__tstate
);
24881 if (PyErr_Occurred()) SWIG_fail
;
24883 Py_INCREF(Py_None
); resultobj
= Py_None
;
24890 static PyObject
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24891 PyObject
*resultobj
;
24892 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24893 wxTreeItemId
*arg2
= 0 ;
24894 wxColour
*arg3
= 0 ;
24896 PyObject
* obj0
= 0 ;
24897 PyObject
* obj1
= 0 ;
24898 PyObject
* obj2
= 0 ;
24899 char *kwnames
[] = {
24900 (char *) "self",(char *) "item",(char *) "col", NULL
24903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24904 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24906 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24907 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24909 if (arg2
== NULL
) {
24910 PyErr_SetString(PyExc_TypeError
,"null reference");
24915 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
24918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24919 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
24921 wxPyEndAllowThreads(__tstate
);
24922 if (PyErr_Occurred()) SWIG_fail
;
24924 Py_INCREF(Py_None
); resultobj
= Py_None
;
24931 static PyObject
*_wrap_TreeCtrl_SetItemFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24932 PyObject
*resultobj
;
24933 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24934 wxTreeItemId
*arg2
= 0 ;
24936 PyObject
* obj0
= 0 ;
24937 PyObject
* obj1
= 0 ;
24938 PyObject
* obj2
= 0 ;
24939 char *kwnames
[] = {
24940 (char *) "self",(char *) "item",(char *) "font", NULL
24943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24946 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24947 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24949 if (arg2
== NULL
) {
24950 PyErr_SetString(PyExc_TypeError
,"null reference");
24953 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
24954 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24956 if (arg3
== NULL
) {
24957 PyErr_SetString(PyExc_TypeError
,"null reference");
24961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24962 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
24964 wxPyEndAllowThreads(__tstate
);
24965 if (PyErr_Occurred()) SWIG_fail
;
24967 Py_INCREF(Py_None
); resultobj
= Py_None
;
24974 static PyObject
*_wrap_TreeCtrl_IsVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24975 PyObject
*resultobj
;
24976 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24977 wxTreeItemId
*arg2
= 0 ;
24979 PyObject
* obj0
= 0 ;
24980 PyObject
* obj1
= 0 ;
24981 char *kwnames
[] = {
24982 (char *) "self",(char *) "item", NULL
24985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
24986 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24988 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24989 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24991 if (arg2
== NULL
) {
24992 PyErr_SetString(PyExc_TypeError
,"null reference");
24996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24997 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsVisible((wxTreeItemId
const &)*arg2
);
24999 wxPyEndAllowThreads(__tstate
);
25000 if (PyErr_Occurred()) SWIG_fail
;
25003 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25011 static PyObject
*_wrap_TreeCtrl_ItemHasChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25012 PyObject
*resultobj
;
25013 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25014 wxTreeItemId
*arg2
= 0 ;
25016 PyObject
* obj0
= 0 ;
25017 PyObject
* obj1
= 0 ;
25018 char *kwnames
[] = {
25019 (char *) "self",(char *) "item", NULL
25022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
25023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25025 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25026 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25028 if (arg2
== NULL
) {
25029 PyErr_SetString(PyExc_TypeError
,"null reference");
25033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25034 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->ItemHasChildren((wxTreeItemId
const &)*arg2
);
25036 wxPyEndAllowThreads(__tstate
);
25037 if (PyErr_Occurred()) SWIG_fail
;
25040 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25048 static PyObject
*_wrap_TreeCtrl_IsExpanded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25049 PyObject
*resultobj
;
25050 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25051 wxTreeItemId
*arg2
= 0 ;
25053 PyObject
* obj0
= 0 ;
25054 PyObject
* obj1
= 0 ;
25055 char *kwnames
[] = {
25056 (char *) "self",(char *) "item", NULL
25059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) goto fail
;
25060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25062 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25063 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25065 if (arg2
== NULL
) {
25066 PyErr_SetString(PyExc_TypeError
,"null reference");
25070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25071 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsExpanded((wxTreeItemId
const &)*arg2
);
25073 wxPyEndAllowThreads(__tstate
);
25074 if (PyErr_Occurred()) SWIG_fail
;
25077 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25085 static PyObject
*_wrap_TreeCtrl_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25086 PyObject
*resultobj
;
25087 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25088 wxTreeItemId
*arg2
= 0 ;
25090 PyObject
* obj0
= 0 ;
25091 PyObject
* obj1
= 0 ;
25092 char *kwnames
[] = {
25093 (char *) "self",(char *) "item", NULL
25096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
25097 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25099 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25100 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25102 if (arg2
== NULL
) {
25103 PyErr_SetString(PyExc_TypeError
,"null reference");
25107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25108 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsSelected((wxTreeItemId
const &)*arg2
);
25110 wxPyEndAllowThreads(__tstate
);
25111 if (PyErr_Occurred()) SWIG_fail
;
25114 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25122 static PyObject
*_wrap_TreeCtrl_IsBold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25123 PyObject
*resultobj
;
25124 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25125 wxTreeItemId
*arg2
= 0 ;
25127 PyObject
* obj0
= 0 ;
25128 PyObject
* obj1
= 0 ;
25129 char *kwnames
[] = {
25130 (char *) "self",(char *) "item", NULL
25133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsBold",kwnames
,&obj0
,&obj1
)) goto fail
;
25134 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25136 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25137 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25139 if (arg2
== NULL
) {
25140 PyErr_SetString(PyExc_TypeError
,"null reference");
25144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25145 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsBold((wxTreeItemId
const &)*arg2
);
25147 wxPyEndAllowThreads(__tstate
);
25148 if (PyErr_Occurred()) SWIG_fail
;
25151 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25159 static PyObject
*_wrap_TreeCtrl_GetChildrenCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25160 PyObject
*resultobj
;
25161 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25162 wxTreeItemId
*arg2
= 0 ;
25163 bool arg3
= (bool) True
;
25165 PyObject
* obj0
= 0 ;
25166 PyObject
* obj1
= 0 ;
25167 PyObject
* obj2
= 0 ;
25168 char *kwnames
[] = {
25169 (char *) "self",(char *) "item",(char *) "recursively", NULL
25172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25173 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25174 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25175 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25176 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25178 if (arg2
== NULL
) {
25179 PyErr_SetString(PyExc_TypeError
,"null reference");
25183 arg3
= (bool) SWIG_AsBool(obj2
);
25184 if (PyErr_Occurred()) SWIG_fail
;
25187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25188 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
25190 wxPyEndAllowThreads(__tstate
);
25191 if (PyErr_Occurred()) SWIG_fail
;
25193 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
25200 static PyObject
*_wrap_TreeCtrl_GetRootItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25201 PyObject
*resultobj
;
25202 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25203 wxTreeItemId result
;
25204 PyObject
* obj0
= 0 ;
25205 char *kwnames
[] = {
25206 (char *) "self", NULL
25209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetRootItem",kwnames
,&obj0
)) goto fail
;
25210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25214 result
= ((wxPyTreeCtrl
const *)arg1
)->GetRootItem();
25216 wxPyEndAllowThreads(__tstate
);
25217 if (PyErr_Occurred()) SWIG_fail
;
25220 wxTreeItemId
* resultptr
;
25221 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25222 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25230 static PyObject
*_wrap_TreeCtrl_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25231 PyObject
*resultobj
;
25232 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25233 wxTreeItemId result
;
25234 PyObject
* obj0
= 0 ;
25235 char *kwnames
[] = {
25236 (char *) "self", NULL
25239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
25240 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25241 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25244 result
= ((wxPyTreeCtrl
const *)arg1
)->GetSelection();
25246 wxPyEndAllowThreads(__tstate
);
25247 if (PyErr_Occurred()) SWIG_fail
;
25250 wxTreeItemId
* resultptr
;
25251 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25252 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25260 static PyObject
*_wrap_TreeCtrl_GetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25261 PyObject
*resultobj
;
25262 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25264 PyObject
* obj0
= 0 ;
25265 char *kwnames
[] = {
25266 (char *) "self", NULL
25269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelections",kwnames
,&obj0
)) goto fail
;
25270 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25274 result
= (PyObject
*)wxPyTreeCtrl_GetSelections(arg1
);
25276 wxPyEndAllowThreads(__tstate
);
25277 if (PyErr_Occurred()) SWIG_fail
;
25279 resultobj
= result
;
25286 static PyObject
*_wrap_TreeCtrl_GetItemParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25287 PyObject
*resultobj
;
25288 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25289 wxTreeItemId
*arg2
= 0 ;
25290 wxTreeItemId result
;
25291 PyObject
* obj0
= 0 ;
25292 PyObject
* obj1
= 0 ;
25293 char *kwnames
[] = {
25294 (char *) "self",(char *) "item", NULL
25297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) goto fail
;
25298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25300 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25301 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25303 if (arg2
== NULL
) {
25304 PyErr_SetString(PyExc_TypeError
,"null reference");
25308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25309 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
25311 wxPyEndAllowThreads(__tstate
);
25312 if (PyErr_Occurred()) SWIG_fail
;
25315 wxTreeItemId
* resultptr
;
25316 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25317 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25325 static PyObject
*_wrap_TreeCtrl_GetFirstChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25326 PyObject
*resultobj
;
25327 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25328 wxTreeItemId
*arg2
= 0 ;
25330 PyObject
* obj0
= 0 ;
25331 PyObject
* obj1
= 0 ;
25332 char *kwnames
[] = {
25333 (char *) "self",(char *) "item", NULL
25336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) goto fail
;
25337 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25339 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25340 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25342 if (arg2
== NULL
) {
25343 PyErr_SetString(PyExc_TypeError
,"null reference");
25347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25348 result
= (PyObject
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
25350 wxPyEndAllowThreads(__tstate
);
25351 if (PyErr_Occurred()) SWIG_fail
;
25353 resultobj
= result
;
25360 static PyObject
*_wrap_TreeCtrl_GetNextChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25361 PyObject
*resultobj
;
25362 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25363 wxTreeItemId
*arg2
= 0 ;
25364 void *arg3
= (void *) 0 ;
25366 PyObject
* obj0
= 0 ;
25367 PyObject
* obj1
= 0 ;
25368 PyObject
* obj2
= 0 ;
25369 char *kwnames
[] = {
25370 (char *) "self",(char *) "item",(char *) "cookie", NULL
25373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25374 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25376 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25377 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25379 if (arg2
== NULL
) {
25380 PyErr_SetString(PyExc_TypeError
,"null reference");
25383 if ((SWIG_ConvertPtr(obj2
,&arg3
,0,SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25386 result
= (PyObject
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
25388 wxPyEndAllowThreads(__tstate
);
25389 if (PyErr_Occurred()) SWIG_fail
;
25391 resultobj
= result
;
25398 static PyObject
*_wrap_TreeCtrl_GetLastChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25399 PyObject
*resultobj
;
25400 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25401 wxTreeItemId
*arg2
= 0 ;
25402 wxTreeItemId result
;
25403 PyObject
* obj0
= 0 ;
25404 PyObject
* obj1
= 0 ;
25405 char *kwnames
[] = {
25406 (char *) "self",(char *) "item", NULL
25409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) goto fail
;
25410 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25412 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25413 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25415 if (arg2
== NULL
) {
25416 PyErr_SetString(PyExc_TypeError
,"null reference");
25420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25421 result
= ((wxPyTreeCtrl
const *)arg1
)->GetLastChild((wxTreeItemId
const &)*arg2
);
25423 wxPyEndAllowThreads(__tstate
);
25424 if (PyErr_Occurred()) SWIG_fail
;
25427 wxTreeItemId
* resultptr
;
25428 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25429 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25437 static PyObject
*_wrap_TreeCtrl_GetNextSibling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25438 PyObject
*resultobj
;
25439 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25440 wxTreeItemId
*arg2
= 0 ;
25441 wxTreeItemId result
;
25442 PyObject
* obj0
= 0 ;
25443 PyObject
* obj1
= 0 ;
25444 char *kwnames
[] = {
25445 (char *) "self",(char *) "item", NULL
25448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
25449 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25451 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25452 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25454 if (arg2
== NULL
) {
25455 PyErr_SetString(PyExc_TypeError
,"null reference");
25459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25460 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextSibling((wxTreeItemId
const &)*arg2
);
25462 wxPyEndAllowThreads(__tstate
);
25463 if (PyErr_Occurred()) SWIG_fail
;
25466 wxTreeItemId
* resultptr
;
25467 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25468 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25476 static PyObject
*_wrap_TreeCtrl_GetPrevSibling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25477 PyObject
*resultobj
;
25478 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25479 wxTreeItemId
*arg2
= 0 ;
25480 wxTreeItemId result
;
25481 PyObject
* obj0
= 0 ;
25482 PyObject
* obj1
= 0 ;
25483 char *kwnames
[] = {
25484 (char *) "self",(char *) "item", NULL
25487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
25488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25490 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25491 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25493 if (arg2
== NULL
) {
25494 PyErr_SetString(PyExc_TypeError
,"null reference");
25498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25499 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevSibling((wxTreeItemId
const &)*arg2
);
25501 wxPyEndAllowThreads(__tstate
);
25502 if (PyErr_Occurred()) SWIG_fail
;
25505 wxTreeItemId
* resultptr
;
25506 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25507 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25515 static PyObject
*_wrap_TreeCtrl_GetFirstVisibleItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25516 PyObject
*resultobj
;
25517 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25518 wxTreeItemId result
;
25519 PyObject
* obj0
= 0 ;
25520 char *kwnames
[] = {
25521 (char *) "self", NULL
25524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames
,&obj0
)) goto fail
;
25525 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25526 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25529 result
= ((wxPyTreeCtrl
const *)arg1
)->GetFirstVisibleItem();
25531 wxPyEndAllowThreads(__tstate
);
25532 if (PyErr_Occurred()) SWIG_fail
;
25535 wxTreeItemId
* resultptr
;
25536 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25537 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25545 static PyObject
*_wrap_TreeCtrl_GetNextVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25546 PyObject
*resultobj
;
25547 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25548 wxTreeItemId
*arg2
= 0 ;
25549 wxTreeItemId result
;
25550 PyObject
* obj0
= 0 ;
25551 PyObject
* obj1
= 0 ;
25552 char *kwnames
[] = {
25553 (char *) "self",(char *) "item", NULL
25556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
25557 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25559 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25560 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25562 if (arg2
== NULL
) {
25563 PyErr_SetString(PyExc_TypeError
,"null reference");
25567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25568 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextVisible((wxTreeItemId
const &)*arg2
);
25570 wxPyEndAllowThreads(__tstate
);
25571 if (PyErr_Occurred()) SWIG_fail
;
25574 wxTreeItemId
* resultptr
;
25575 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25576 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25584 static PyObject
*_wrap_TreeCtrl_GetPrevVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25585 PyObject
*resultobj
;
25586 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25587 wxTreeItemId
*arg2
= 0 ;
25588 wxTreeItemId result
;
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_GetPrevVisible",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
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevVisible((wxTreeItemId
const &)*arg2
);
25609 wxPyEndAllowThreads(__tstate
);
25610 if (PyErr_Occurred()) SWIG_fail
;
25613 wxTreeItemId
* resultptr
;
25614 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25615 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25623 static PyObject
*_wrap_TreeCtrl_AddRoot(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25624 PyObject
*resultobj
;
25625 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25626 wxString
*arg2
= 0 ;
25627 int arg3
= (int) -1 ;
25628 int arg4
= (int) -1 ;
25629 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
25630 wxTreeItemId result
;
25631 bool temp2
= False
;
25632 PyObject
* obj0
= 0 ;
25633 PyObject
* obj1
= 0 ;
25634 PyObject
* obj2
= 0 ;
25635 PyObject
* obj3
= 0 ;
25636 PyObject
* obj4
= 0 ;
25637 char *kwnames
[] = {
25638 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
25642 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25645 arg2
= wxString_in_helper(obj1
);
25646 if (arg2
== NULL
) SWIG_fail
;
25650 arg3
= (int) SWIG_AsInt(obj2
);
25651 if (PyErr_Occurred()) SWIG_fail
;
25654 arg4
= (int) SWIG_AsInt(obj3
);
25655 if (PyErr_Occurred()) SWIG_fail
;
25658 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxPyTreeItemData
,
25659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25663 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
25665 wxPyEndAllowThreads(__tstate
);
25666 if (PyErr_Occurred()) SWIG_fail
;
25669 wxTreeItemId
* resultptr
;
25670 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25671 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25687 static PyObject
*_wrap_TreeCtrl_PrependItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25688 PyObject
*resultobj
;
25689 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25690 wxTreeItemId
*arg2
= 0 ;
25691 wxString
*arg3
= 0 ;
25692 int arg4
= (int) -1 ;
25693 int arg5
= (int) -1 ;
25694 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
25695 wxTreeItemId result
;
25696 bool temp3
= False
;
25697 PyObject
* obj0
= 0 ;
25698 PyObject
* obj1
= 0 ;
25699 PyObject
* obj2
= 0 ;
25700 PyObject
* obj3
= 0 ;
25701 PyObject
* obj4
= 0 ;
25702 PyObject
* obj5
= 0 ;
25703 char *kwnames
[] = {
25704 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
25708 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25709 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25710 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25711 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25713 if (arg2
== NULL
) {
25714 PyErr_SetString(PyExc_TypeError
,"null reference");
25718 arg3
= wxString_in_helper(obj2
);
25719 if (arg3
== NULL
) SWIG_fail
;
25723 arg4
= (int) SWIG_AsInt(obj3
);
25724 if (PyErr_Occurred()) SWIG_fail
;
25727 arg5
= (int) SWIG_AsInt(obj4
);
25728 if (PyErr_Occurred()) SWIG_fail
;
25731 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxPyTreeItemData
,
25732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25736 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
25738 wxPyEndAllowThreads(__tstate
);
25739 if (PyErr_Occurred()) SWIG_fail
;
25742 wxTreeItemId
* resultptr
;
25743 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25744 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25760 static PyObject
*_wrap_TreeCtrl_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25761 PyObject
*resultobj
;
25762 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25763 wxTreeItemId
*arg2
= 0 ;
25764 wxTreeItemId
*arg3
= 0 ;
25765 wxString
*arg4
= 0 ;
25766 int arg5
= (int) -1 ;
25767 int arg6
= (int) -1 ;
25768 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
25769 wxTreeItemId result
;
25770 bool temp4
= False
;
25771 PyObject
* obj0
= 0 ;
25772 PyObject
* obj1
= 0 ;
25773 PyObject
* obj2
= 0 ;
25774 PyObject
* obj3
= 0 ;
25775 PyObject
* obj4
= 0 ;
25776 PyObject
* obj5
= 0 ;
25777 PyObject
* obj6
= 0 ;
25778 char *kwnames
[] = {
25779 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
25783 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25784 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25785 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25786 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25788 if (arg2
== NULL
) {
25789 PyErr_SetString(PyExc_TypeError
,"null reference");
25792 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTreeItemId
,
25793 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25795 if (arg3
== NULL
) {
25796 PyErr_SetString(PyExc_TypeError
,"null reference");
25800 arg4
= wxString_in_helper(obj3
);
25801 if (arg4
== NULL
) SWIG_fail
;
25805 arg5
= (int) SWIG_AsInt(obj4
);
25806 if (PyErr_Occurred()) SWIG_fail
;
25809 arg6
= (int) SWIG_AsInt(obj5
);
25810 if (PyErr_Occurred()) SWIG_fail
;
25813 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxPyTreeItemData
,
25814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25818 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
25820 wxPyEndAllowThreads(__tstate
);
25821 if (PyErr_Occurred()) SWIG_fail
;
25824 wxTreeItemId
* resultptr
;
25825 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25826 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25842 static PyObject
*_wrap_TreeCtrl_InsertItemBefore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25843 PyObject
*resultobj
;
25844 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25845 wxTreeItemId
*arg2
= 0 ;
25847 wxString
*arg4
= 0 ;
25848 int arg5
= (int) -1 ;
25849 int arg6
= (int) -1 ;
25850 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
25851 wxTreeItemId result
;
25852 bool temp4
= False
;
25853 PyObject
* obj0
= 0 ;
25854 PyObject
* obj1
= 0 ;
25855 PyObject
* obj2
= 0 ;
25856 PyObject
* obj3
= 0 ;
25857 PyObject
* obj4
= 0 ;
25858 PyObject
* obj5
= 0 ;
25859 PyObject
* obj6
= 0 ;
25860 char *kwnames
[] = {
25861 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
25865 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25867 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25868 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25870 if (arg2
== NULL
) {
25871 PyErr_SetString(PyExc_TypeError
,"null reference");
25874 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
25875 if (PyErr_Occurred()) SWIG_fail
;
25877 arg4
= wxString_in_helper(obj3
);
25878 if (arg4
== NULL
) SWIG_fail
;
25882 arg5
= (int) SWIG_AsInt(obj4
);
25883 if (PyErr_Occurred()) SWIG_fail
;
25886 arg6
= (int) SWIG_AsInt(obj5
);
25887 if (PyErr_Occurred()) SWIG_fail
;
25890 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxPyTreeItemData
,
25891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25895 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
25897 wxPyEndAllowThreads(__tstate
);
25898 if (PyErr_Occurred()) SWIG_fail
;
25901 wxTreeItemId
* resultptr
;
25902 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25903 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25919 static PyObject
*_wrap_TreeCtrl_AppendItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25920 PyObject
*resultobj
;
25921 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25922 wxTreeItemId
*arg2
= 0 ;
25923 wxString
*arg3
= 0 ;
25924 int arg4
= (int) -1 ;
25925 int arg5
= (int) -1 ;
25926 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
25927 wxTreeItemId result
;
25928 bool temp3
= False
;
25929 PyObject
* obj0
= 0 ;
25930 PyObject
* obj1
= 0 ;
25931 PyObject
* obj2
= 0 ;
25932 PyObject
* obj3
= 0 ;
25933 PyObject
* obj4
= 0 ;
25934 PyObject
* obj5
= 0 ;
25935 char *kwnames
[] = {
25936 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
25940 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25942 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25943 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25945 if (arg2
== NULL
) {
25946 PyErr_SetString(PyExc_TypeError
,"null reference");
25950 arg3
= wxString_in_helper(obj2
);
25951 if (arg3
== NULL
) SWIG_fail
;
25955 arg4
= (int) SWIG_AsInt(obj3
);
25956 if (PyErr_Occurred()) SWIG_fail
;
25959 arg5
= (int) SWIG_AsInt(obj4
);
25960 if (PyErr_Occurred()) SWIG_fail
;
25963 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxPyTreeItemData
,
25964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25968 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
25970 wxPyEndAllowThreads(__tstate
);
25971 if (PyErr_Occurred()) SWIG_fail
;
25974 wxTreeItemId
* resultptr
;
25975 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25976 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25992 static PyObject
*_wrap_TreeCtrl_Delete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25993 PyObject
*resultobj
;
25994 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25995 wxTreeItemId
*arg2
= 0 ;
25996 PyObject
* obj0
= 0 ;
25997 PyObject
* obj1
= 0 ;
25998 char *kwnames
[] = {
25999 (char *) "self",(char *) "item", NULL
26002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
26003 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26005 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26006 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26008 if (arg2
== NULL
) {
26009 PyErr_SetString(PyExc_TypeError
,"null reference");
26013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26014 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
26016 wxPyEndAllowThreads(__tstate
);
26017 if (PyErr_Occurred()) SWIG_fail
;
26019 Py_INCREF(Py_None
); resultobj
= Py_None
;
26026 static PyObject
*_wrap_TreeCtrl_DeleteChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26027 PyObject
*resultobj
;
26028 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26029 wxTreeItemId
*arg2
= 0 ;
26030 PyObject
* obj0
= 0 ;
26031 PyObject
* obj1
= 0 ;
26032 char *kwnames
[] = {
26033 (char *) "self",(char *) "item", NULL
26036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
26037 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26039 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26040 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26042 if (arg2
== NULL
) {
26043 PyErr_SetString(PyExc_TypeError
,"null reference");
26047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26048 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
26050 wxPyEndAllowThreads(__tstate
);
26051 if (PyErr_Occurred()) SWIG_fail
;
26053 Py_INCREF(Py_None
); resultobj
= Py_None
;
26060 static PyObject
*_wrap_TreeCtrl_DeleteAllItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26061 PyObject
*resultobj
;
26062 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26063 PyObject
* obj0
= 0 ;
26064 char *kwnames
[] = {
26065 (char *) "self", NULL
26068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
26069 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26073 (arg1
)->DeleteAllItems();
26075 wxPyEndAllowThreads(__tstate
);
26076 if (PyErr_Occurred()) SWIG_fail
;
26078 Py_INCREF(Py_None
); resultobj
= Py_None
;
26085 static PyObject
*_wrap_TreeCtrl_Expand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26086 PyObject
*resultobj
;
26087 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26088 wxTreeItemId
*arg2
= 0 ;
26089 PyObject
* obj0
= 0 ;
26090 PyObject
* obj1
= 0 ;
26091 char *kwnames
[] = {
26092 (char *) "self",(char *) "item", NULL
26095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Expand",kwnames
,&obj0
,&obj1
)) goto fail
;
26096 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26098 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26099 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26101 if (arg2
== NULL
) {
26102 PyErr_SetString(PyExc_TypeError
,"null reference");
26106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26107 (arg1
)->Expand((wxTreeItemId
const &)*arg2
);
26109 wxPyEndAllowThreads(__tstate
);
26110 if (PyErr_Occurred()) SWIG_fail
;
26112 Py_INCREF(Py_None
); resultobj
= Py_None
;
26119 static PyObject
*_wrap_TreeCtrl_Collapse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26120 PyObject
*resultobj
;
26121 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26122 wxTreeItemId
*arg2
= 0 ;
26123 PyObject
* obj0
= 0 ;
26124 PyObject
* obj1
= 0 ;
26125 char *kwnames
[] = {
26126 (char *) "self",(char *) "item", NULL
26129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Collapse",kwnames
,&obj0
,&obj1
)) goto fail
;
26130 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26131 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26132 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26133 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26135 if (arg2
== NULL
) {
26136 PyErr_SetString(PyExc_TypeError
,"null reference");
26140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26141 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
26143 wxPyEndAllowThreads(__tstate
);
26144 if (PyErr_Occurred()) SWIG_fail
;
26146 Py_INCREF(Py_None
); resultobj
= Py_None
;
26153 static PyObject
*_wrap_TreeCtrl_CollapseAndReset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26154 PyObject
*resultobj
;
26155 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26156 wxTreeItemId
*arg2
= 0 ;
26157 PyObject
* obj0
= 0 ;
26158 PyObject
* obj1
= 0 ;
26159 char *kwnames
[] = {
26160 (char *) "self",(char *) "item", NULL
26163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) goto fail
;
26164 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26166 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26167 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26169 if (arg2
== NULL
) {
26170 PyErr_SetString(PyExc_TypeError
,"null reference");
26174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26175 (arg1
)->CollapseAndReset((wxTreeItemId
const &)*arg2
);
26177 wxPyEndAllowThreads(__tstate
);
26178 if (PyErr_Occurred()) SWIG_fail
;
26180 Py_INCREF(Py_None
); resultobj
= Py_None
;
26187 static PyObject
*_wrap_TreeCtrl_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26188 PyObject
*resultobj
;
26189 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26190 wxTreeItemId
*arg2
= 0 ;
26191 PyObject
* obj0
= 0 ;
26192 PyObject
* obj1
= 0 ;
26193 char *kwnames
[] = {
26194 (char *) "self",(char *) "item", NULL
26197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
26198 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26199 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26200 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26201 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26203 if (arg2
== NULL
) {
26204 PyErr_SetString(PyExc_TypeError
,"null reference");
26208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26209 (arg1
)->Toggle((wxTreeItemId
const &)*arg2
);
26211 wxPyEndAllowThreads(__tstate
);
26212 if (PyErr_Occurred()) SWIG_fail
;
26214 Py_INCREF(Py_None
); resultobj
= Py_None
;
26221 static PyObject
*_wrap_TreeCtrl_Unselect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26222 PyObject
*resultobj
;
26223 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26224 PyObject
* obj0
= 0 ;
26225 char *kwnames
[] = {
26226 (char *) "self", NULL
26229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_Unselect",kwnames
,&obj0
)) goto fail
;
26230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26234 (arg1
)->Unselect();
26236 wxPyEndAllowThreads(__tstate
);
26237 if (PyErr_Occurred()) SWIG_fail
;
26239 Py_INCREF(Py_None
); resultobj
= Py_None
;
26246 static PyObject
*_wrap_TreeCtrl_UnselectItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26247 PyObject
*resultobj
;
26248 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26249 wxTreeItemId
*arg2
= 0 ;
26250 PyObject
* obj0
= 0 ;
26251 PyObject
* obj1
= 0 ;
26252 char *kwnames
[] = {
26253 (char *) "self",(char *) "item", NULL
26256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_UnselectItem",kwnames
,&obj0
,&obj1
)) goto fail
;
26257 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26259 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26260 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26262 if (arg2
== NULL
) {
26263 PyErr_SetString(PyExc_TypeError
,"null reference");
26267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26268 (arg1
)->UnselectItem((wxTreeItemId
const &)*arg2
);
26270 wxPyEndAllowThreads(__tstate
);
26271 if (PyErr_Occurred()) SWIG_fail
;
26273 Py_INCREF(Py_None
); resultobj
= Py_None
;
26280 static PyObject
*_wrap_TreeCtrl_UnselectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26281 PyObject
*resultobj
;
26282 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26283 PyObject
* obj0
= 0 ;
26284 char *kwnames
[] = {
26285 (char *) "self", NULL
26288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_UnselectAll",kwnames
,&obj0
)) goto fail
;
26289 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26293 (arg1
)->UnselectAll();
26295 wxPyEndAllowThreads(__tstate
);
26296 if (PyErr_Occurred()) SWIG_fail
;
26298 Py_INCREF(Py_None
); resultobj
= Py_None
;
26305 static PyObject
*_wrap_TreeCtrl_SelectItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26306 PyObject
*resultobj
;
26307 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26308 wxTreeItemId
*arg2
= 0 ;
26309 bool arg3
= (bool) True
;
26310 PyObject
* obj0
= 0 ;
26311 PyObject
* obj1
= 0 ;
26312 PyObject
* obj2
= 0 ;
26313 char *kwnames
[] = {
26314 (char *) "self",(char *) "item",(char *) "select", NULL
26317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26320 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26321 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26323 if (arg2
== NULL
) {
26324 PyErr_SetString(PyExc_TypeError
,"null reference");
26328 arg3
= (bool) SWIG_AsBool(obj2
);
26329 if (PyErr_Occurred()) SWIG_fail
;
26332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26333 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
,arg3
);
26335 wxPyEndAllowThreads(__tstate
);
26336 if (PyErr_Occurred()) SWIG_fail
;
26338 Py_INCREF(Py_None
); resultobj
= Py_None
;
26345 static PyObject
*_wrap_TreeCtrl_ToggleItemSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26346 PyObject
*resultobj
;
26347 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26348 wxTreeItemId
*arg2
= 0 ;
26349 PyObject
* obj0
= 0 ;
26350 PyObject
* obj1
= 0 ;
26351 char *kwnames
[] = {
26352 (char *) "self",(char *) "item", NULL
26355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
26356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26358 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26359 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26361 if (arg2
== NULL
) {
26362 PyErr_SetString(PyExc_TypeError
,"null reference");
26366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26367 (arg1
)->ToggleItemSelection((wxTreeItemId
const &)*arg2
);
26369 wxPyEndAllowThreads(__tstate
);
26370 if (PyErr_Occurred()) SWIG_fail
;
26372 Py_INCREF(Py_None
); resultobj
= Py_None
;
26379 static PyObject
*_wrap_TreeCtrl_EnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26380 PyObject
*resultobj
;
26381 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26382 wxTreeItemId
*arg2
= 0 ;
26383 PyObject
* obj0
= 0 ;
26384 PyObject
* obj1
= 0 ;
26385 char *kwnames
[] = {
26386 (char *) "self",(char *) "item", NULL
26389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
26390 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26392 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26393 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26395 if (arg2
== NULL
) {
26396 PyErr_SetString(PyExc_TypeError
,"null reference");
26400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26401 (arg1
)->EnsureVisible((wxTreeItemId
const &)*arg2
);
26403 wxPyEndAllowThreads(__tstate
);
26404 if (PyErr_Occurred()) SWIG_fail
;
26406 Py_INCREF(Py_None
); resultobj
= Py_None
;
26413 static PyObject
*_wrap_TreeCtrl_ScrollTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26414 PyObject
*resultobj
;
26415 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26416 wxTreeItemId
*arg2
= 0 ;
26417 PyObject
* obj0
= 0 ;
26418 PyObject
* obj1
= 0 ;
26419 char *kwnames
[] = {
26420 (char *) "self",(char *) "item", NULL
26423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) goto fail
;
26424 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26426 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26427 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26429 if (arg2
== NULL
) {
26430 PyErr_SetString(PyExc_TypeError
,"null reference");
26434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26435 (arg1
)->ScrollTo((wxTreeItemId
const &)*arg2
);
26437 wxPyEndAllowThreads(__tstate
);
26438 if (PyErr_Occurred()) SWIG_fail
;
26440 Py_INCREF(Py_None
); resultobj
= Py_None
;
26447 static PyObject
*_wrap_TreeCtrl_EditLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26448 PyObject
*resultobj
;
26449 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26450 wxTreeItemId
*arg2
= 0 ;
26451 PyObject
* obj0
= 0 ;
26452 PyObject
* obj1
= 0 ;
26453 char *kwnames
[] = {
26454 (char *) "self",(char *) "item", NULL
26457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
26458 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26459 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26460 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26461 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26463 if (arg2
== NULL
) {
26464 PyErr_SetString(PyExc_TypeError
,"null reference");
26468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26469 (arg1
)->EditLabel((wxTreeItemId
const &)*arg2
);
26471 wxPyEndAllowThreads(__tstate
);
26472 if (PyErr_Occurred()) SWIG_fail
;
26474 Py_INCREF(Py_None
); resultobj
= Py_None
;
26481 static PyObject
*_wrap_TreeCtrl_GetEditControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26482 PyObject
*resultobj
;
26483 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26484 wxTextCtrl
*result
;
26485 PyObject
* obj0
= 0 ;
26486 char *kwnames
[] = {
26487 (char *) "self", NULL
26490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetEditControl",kwnames
,&obj0
)) goto fail
;
26491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26495 result
= (wxTextCtrl
*)((wxPyTreeCtrl
const *)arg1
)->GetEditControl();
26497 wxPyEndAllowThreads(__tstate
);
26498 if (PyErr_Occurred()) SWIG_fail
;
26501 resultobj
= wxPyMake_wxObject(result
);
26509 static PyObject
*_wrap_TreeCtrl_SortChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26510 PyObject
*resultobj
;
26511 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26512 wxTreeItemId
*arg2
= 0 ;
26513 PyObject
* obj0
= 0 ;
26514 PyObject
* obj1
= 0 ;
26515 char *kwnames
[] = {
26516 (char *) "self",(char *) "item", NULL
26519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SortChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
26520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26522 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26523 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26525 if (arg2
== NULL
) {
26526 PyErr_SetString(PyExc_TypeError
,"null reference");
26530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26531 (arg1
)->SortChildren((wxTreeItemId
const &)*arg2
);
26533 wxPyEndAllowThreads(__tstate
);
26534 if (PyErr_Occurred()) SWIG_fail
;
26536 Py_INCREF(Py_None
); resultobj
= Py_None
;
26543 static PyObject
*_wrap_TreeCtrl_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26544 PyObject
*resultobj
;
26545 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26546 wxPoint
*arg2
= 0 ;
26548 wxTreeItemId result
;
26551 PyObject
* obj0
= 0 ;
26552 PyObject
* obj1
= 0 ;
26553 char *kwnames
[] = {
26554 (char *) "self",(char *) "point", NULL
26558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
26559 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26560 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26563 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26567 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
26569 wxPyEndAllowThreads(__tstate
);
26570 if (PyErr_Occurred()) SWIG_fail
;
26573 wxTreeItemId
* resultptr
;
26574 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26575 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26578 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
26579 resultobj
= t_output_helper(resultobj
,o
);
26587 static PyObject
*_wrap_TreeCtrl_GetBoundingRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26588 PyObject
*resultobj
;
26589 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26590 wxTreeItemId
*arg2
= 0 ;
26591 bool arg3
= (bool) False
;
26593 PyObject
* obj0
= 0 ;
26594 PyObject
* obj1
= 0 ;
26595 PyObject
* obj2
= 0 ;
26596 char *kwnames
[] = {
26597 (char *) "self",(char *) "item",(char *) "textOnly", NULL
26600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26601 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26602 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26603 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26604 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26606 if (arg2
== NULL
) {
26607 PyErr_SetString(PyExc_TypeError
,"null reference");
26611 arg3
= (bool) SWIG_AsBool(obj2
);
26612 if (PyErr_Occurred()) SWIG_fail
;
26615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26616 result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
26618 wxPyEndAllowThreads(__tstate
);
26619 if (PyErr_Occurred()) SWIG_fail
;
26621 resultobj
= result
;
26628 static PyObject
*_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26629 PyObject
*resultobj
;
26630 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
26631 wxVisualAttributes result
;
26632 PyObject
* obj0
= 0 ;
26633 char *kwnames
[] = {
26634 (char *) "variant", NULL
26637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
26639 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
26640 if (PyErr_Occurred()) SWIG_fail
;
26643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26644 result
= wxPyTreeCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
26646 wxPyEndAllowThreads(__tstate
);
26647 if (PyErr_Occurred()) SWIG_fail
;
26650 wxVisualAttributes
* resultptr
;
26651 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
26652 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
26660 static PyObject
* TreeCtrl_swigregister(PyObject
*, PyObject
*args
) {
26662 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26663 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl
, obj
);
26665 return Py_BuildValue((char *)"");
26667 static int _wrap_DirDialogDefaultFolderStr_set(PyObject
*) {
26668 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogDefaultFolderStr is read-only.");
26673 static PyObject
*_wrap_DirDialogDefaultFolderStr_get() {
26678 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
26680 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
26687 static PyObject
*_wrap_new_GenericDirCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26688 PyObject
*resultobj
;
26689 wxWindow
*arg1
= (wxWindow
*) 0 ;
26690 int arg2
= (int) (int)-1 ;
26691 wxString
const &arg3_defvalue
= wxPyDirDialogDefaultFolderStr
;
26692 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
26693 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
26694 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
26695 wxSize
const &arg5_defvalue
= wxDefaultSize
;
26696 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
26697 long arg6
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
26698 wxString
const &arg7_defvalue
= wxPyEmptyString
;
26699 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
26700 int arg8
= (int) 0 ;
26701 wxString
const &arg9_defvalue
= wxPyTreeCtrlNameStr
;
26702 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
26703 wxGenericDirCtrl
*result
;
26704 bool temp3
= False
;
26707 bool temp7
= False
;
26708 bool temp9
= False
;
26709 PyObject
* obj0
= 0 ;
26710 PyObject
* obj1
= 0 ;
26711 PyObject
* obj2
= 0 ;
26712 PyObject
* obj3
= 0 ;
26713 PyObject
* obj4
= 0 ;
26714 PyObject
* obj5
= 0 ;
26715 PyObject
* obj6
= 0 ;
26716 PyObject
* obj7
= 0 ;
26717 PyObject
* obj8
= 0 ;
26718 char *kwnames
[] = {
26719 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
26722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
26723 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26724 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26726 arg2
= (int const) SWIG_AsInt(obj1
);
26727 if (PyErr_Occurred()) SWIG_fail
;
26731 arg3
= wxString_in_helper(obj2
);
26732 if (arg3
== NULL
) SWIG_fail
;
26739 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
26745 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
26749 arg6
= (long) SWIG_AsLong(obj5
);
26750 if (PyErr_Occurred()) SWIG_fail
;
26754 arg7
= wxString_in_helper(obj6
);
26755 if (arg7
== NULL
) SWIG_fail
;
26760 arg8
= (int) SWIG_AsInt(obj7
);
26761 if (PyErr_Occurred()) SWIG_fail
;
26765 arg9
= wxString_in_helper(obj8
);
26766 if (arg9
== NULL
) SWIG_fail
;
26771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26772 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
26774 wxPyEndAllowThreads(__tstate
);
26775 if (PyErr_Occurred()) SWIG_fail
;
26777 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1);
26808 static PyObject
*_wrap_new_PreGenericDirCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26809 PyObject
*resultobj
;
26810 wxGenericDirCtrl
*result
;
26811 char *kwnames
[] = {
26815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGenericDirCtrl",kwnames
)) goto fail
;
26817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26818 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl();
26820 wxPyEndAllowThreads(__tstate
);
26821 if (PyErr_Occurred()) SWIG_fail
;
26823 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1);
26830 static PyObject
*_wrap_GenericDirCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26831 PyObject
*resultobj
;
26832 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26833 wxWindow
*arg2
= (wxWindow
*) 0 ;
26834 int arg3
= (int) (int)-1 ;
26835 wxString
const &arg4_defvalue
= wxPyDirDialogDefaultFolderStr
;
26836 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
26837 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
26838 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
26839 wxSize
const &arg6_defvalue
= wxDefaultSize
;
26840 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
26841 long arg7
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
26842 wxString
const &arg8_defvalue
= wxPyEmptyString
;
26843 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
26844 int arg9
= (int) 0 ;
26845 wxString
const &arg10_defvalue
= wxPyTreeCtrlNameStr
;
26846 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
26848 bool temp4
= False
;
26851 bool temp8
= False
;
26852 bool temp10
= False
;
26853 PyObject
* obj0
= 0 ;
26854 PyObject
* obj1
= 0 ;
26855 PyObject
* obj2
= 0 ;
26856 PyObject
* obj3
= 0 ;
26857 PyObject
* obj4
= 0 ;
26858 PyObject
* obj5
= 0 ;
26859 PyObject
* obj6
= 0 ;
26860 PyObject
* obj7
= 0 ;
26861 PyObject
* obj8
= 0 ;
26862 PyObject
* obj9
= 0 ;
26863 char *kwnames
[] = {
26864 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
26867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
26868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
26869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26870 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
26871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26873 arg3
= (int const) SWIG_AsInt(obj2
);
26874 if (PyErr_Occurred()) SWIG_fail
;
26878 arg4
= wxString_in_helper(obj3
);
26879 if (arg4
== NULL
) SWIG_fail
;
26886 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
26892 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
26896 arg7
= (long) SWIG_AsLong(obj6
);
26897 if (PyErr_Occurred()) SWIG_fail
;
26901 arg8
= wxString_in_helper(obj7
);
26902 if (arg8
== NULL
) SWIG_fail
;
26907 arg9
= (int) SWIG_AsInt(obj8
);
26908 if (PyErr_Occurred()) SWIG_fail
;
26912 arg10
= wxString_in_helper(obj9
);
26913 if (arg10
== NULL
) SWIG_fail
;
26918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26919 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
,arg9
,(wxString
const &)*arg10
);
26921 wxPyEndAllowThreads(__tstate
);
26922 if (PyErr_Occurred()) SWIG_fail
;
26925 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26957 static PyObject
*_wrap_GenericDirCtrl_ExpandPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26958 PyObject
*resultobj
;
26959 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26960 wxString
*arg2
= 0 ;
26962 bool temp2
= False
;
26963 PyObject
* obj0
= 0 ;
26964 PyObject
* obj1
= 0 ;
26965 char *kwnames
[] = {
26966 (char *) "self",(char *) "path", NULL
26969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) goto fail
;
26970 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
26971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26973 arg2
= wxString_in_helper(obj1
);
26974 if (arg2
== NULL
) SWIG_fail
;
26978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26979 result
= (bool)(arg1
)->ExpandPath((wxString
const &)*arg2
);
26981 wxPyEndAllowThreads(__tstate
);
26982 if (PyErr_Occurred()) SWIG_fail
;
26985 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27001 static PyObject
*_wrap_GenericDirCtrl_GetDefaultPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27002 PyObject
*resultobj
;
27003 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27005 PyObject
* obj0
= 0 ;
27006 char *kwnames
[] = {
27007 (char *) "self", NULL
27010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames
,&obj0
)) goto fail
;
27011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27015 result
= ((wxGenericDirCtrl
const *)arg1
)->GetDefaultPath();
27017 wxPyEndAllowThreads(__tstate
);
27018 if (PyErr_Occurred()) SWIG_fail
;
27022 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27024 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27033 static PyObject
*_wrap_GenericDirCtrl_SetDefaultPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27034 PyObject
*resultobj
;
27035 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27036 wxString
*arg2
= 0 ;
27037 bool temp2
= False
;
27038 PyObject
* obj0
= 0 ;
27039 PyObject
* obj1
= 0 ;
27040 char *kwnames
[] = {
27041 (char *) "self",(char *) "path", NULL
27044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames
,&obj0
,&obj1
)) goto fail
;
27045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27048 arg2
= wxString_in_helper(obj1
);
27049 if (arg2
== NULL
) SWIG_fail
;
27053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27054 (arg1
)->SetDefaultPath((wxString
const &)*arg2
);
27056 wxPyEndAllowThreads(__tstate
);
27057 if (PyErr_Occurred()) SWIG_fail
;
27059 Py_INCREF(Py_None
); resultobj
= Py_None
;
27074 static PyObject
*_wrap_GenericDirCtrl_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27075 PyObject
*resultobj
;
27076 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27078 PyObject
* obj0
= 0 ;
27079 char *kwnames
[] = {
27080 (char *) "self", NULL
27083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetPath",kwnames
,&obj0
)) goto fail
;
27084 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27085 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27088 result
= ((wxGenericDirCtrl
const *)arg1
)->GetPath();
27090 wxPyEndAllowThreads(__tstate
);
27091 if (PyErr_Occurred()) SWIG_fail
;
27095 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27097 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27106 static PyObject
*_wrap_GenericDirCtrl_GetFilePath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27107 PyObject
*resultobj
;
27108 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27110 PyObject
* obj0
= 0 ;
27111 char *kwnames
[] = {
27112 (char *) "self", NULL
27115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilePath",kwnames
,&obj0
)) goto fail
;
27116 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27120 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilePath();
27122 wxPyEndAllowThreads(__tstate
);
27123 if (PyErr_Occurred()) SWIG_fail
;
27127 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27129 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27138 static PyObject
*_wrap_GenericDirCtrl_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27139 PyObject
*resultobj
;
27140 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27141 wxString
*arg2
= 0 ;
27142 bool temp2
= False
;
27143 PyObject
* obj0
= 0 ;
27144 PyObject
* obj1
= 0 ;
27145 char *kwnames
[] = {
27146 (char *) "self",(char *) "path", NULL
27149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
27150 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27153 arg2
= wxString_in_helper(obj1
);
27154 if (arg2
== NULL
) SWIG_fail
;
27158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27159 (arg1
)->SetPath((wxString
const &)*arg2
);
27161 wxPyEndAllowThreads(__tstate
);
27162 if (PyErr_Occurred()) SWIG_fail
;
27164 Py_INCREF(Py_None
); resultobj
= Py_None
;
27179 static PyObject
*_wrap_GenericDirCtrl_ShowHidden(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27180 PyObject
*resultobj
;
27181 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27183 PyObject
* obj0
= 0 ;
27184 PyObject
* obj1
= 0 ;
27185 char *kwnames
[] = {
27186 (char *) "self",(char *) "show", NULL
27189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames
,&obj0
,&obj1
)) goto fail
;
27190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27192 arg2
= (bool) SWIG_AsBool(obj1
);
27193 if (PyErr_Occurred()) SWIG_fail
;
27195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27196 (arg1
)->ShowHidden(arg2
);
27198 wxPyEndAllowThreads(__tstate
);
27199 if (PyErr_Occurred()) SWIG_fail
;
27201 Py_INCREF(Py_None
); resultobj
= Py_None
;
27208 static PyObject
*_wrap_GenericDirCtrl_GetShowHidden(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27209 PyObject
*resultobj
;
27210 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27212 PyObject
* obj0
= 0 ;
27213 char *kwnames
[] = {
27214 (char *) "self", NULL
27217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames
,&obj0
)) goto fail
;
27218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27222 result
= (bool)(arg1
)->GetShowHidden();
27224 wxPyEndAllowThreads(__tstate
);
27225 if (PyErr_Occurred()) SWIG_fail
;
27228 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27236 static PyObject
*_wrap_GenericDirCtrl_GetFilter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27237 PyObject
*resultobj
;
27238 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27240 PyObject
* obj0
= 0 ;
27241 char *kwnames
[] = {
27242 (char *) "self", NULL
27245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilter",kwnames
,&obj0
)) goto fail
;
27246 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27247 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27250 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilter();
27252 wxPyEndAllowThreads(__tstate
);
27253 if (PyErr_Occurred()) SWIG_fail
;
27257 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27259 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27268 static PyObject
*_wrap_GenericDirCtrl_SetFilter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27269 PyObject
*resultobj
;
27270 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27271 wxString
*arg2
= 0 ;
27272 bool temp2
= False
;
27273 PyObject
* obj0
= 0 ;
27274 PyObject
* obj1
= 0 ;
27275 char *kwnames
[] = {
27276 (char *) "self",(char *) "filter", NULL
27279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) goto fail
;
27280 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27281 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27283 arg2
= wxString_in_helper(obj1
);
27284 if (arg2
== NULL
) SWIG_fail
;
27288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27289 (arg1
)->SetFilter((wxString
const &)*arg2
);
27291 wxPyEndAllowThreads(__tstate
);
27292 if (PyErr_Occurred()) SWIG_fail
;
27294 Py_INCREF(Py_None
); resultobj
= Py_None
;
27309 static PyObject
*_wrap_GenericDirCtrl_GetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27310 PyObject
*resultobj
;
27311 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27313 PyObject
* obj0
= 0 ;
27314 char *kwnames
[] = {
27315 (char *) "self", NULL
27318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
27319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27323 result
= (int)((wxGenericDirCtrl
const *)arg1
)->GetFilterIndex();
27325 wxPyEndAllowThreads(__tstate
);
27326 if (PyErr_Occurred()) SWIG_fail
;
27328 resultobj
= SWIG_FromInt((int)result
);
27335 static PyObject
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27336 PyObject
*resultobj
;
27337 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27339 PyObject
* obj0
= 0 ;
27340 PyObject
* obj1
= 0 ;
27341 char *kwnames
[] = {
27342 (char *) "self",(char *) "n", NULL
27345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
27346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27348 arg2
= (int) SWIG_AsInt(obj1
);
27349 if (PyErr_Occurred()) SWIG_fail
;
27351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27352 (arg1
)->SetFilterIndex(arg2
);
27354 wxPyEndAllowThreads(__tstate
);
27355 if (PyErr_Occurred()) SWIG_fail
;
27357 Py_INCREF(Py_None
); resultobj
= Py_None
;
27364 static PyObject
*_wrap_GenericDirCtrl_GetRootId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27365 PyObject
*resultobj
;
27366 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27367 wxTreeItemId result
;
27368 PyObject
* obj0
= 0 ;
27369 char *kwnames
[] = {
27370 (char *) "self", NULL
27373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetRootId",kwnames
,&obj0
)) goto fail
;
27374 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27378 result
= (arg1
)->GetRootId();
27380 wxPyEndAllowThreads(__tstate
);
27381 if (PyErr_Occurred()) SWIG_fail
;
27384 wxTreeItemId
* resultptr
;
27385 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27386 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27394 static PyObject
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27395 PyObject
*resultobj
;
27396 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27397 wxPyTreeCtrl
*result
;
27398 PyObject
* obj0
= 0 ;
27399 char *kwnames
[] = {
27400 (char *) "self", NULL
27403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames
,&obj0
)) goto fail
;
27404 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27408 result
= (wxPyTreeCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetTreeCtrl();
27410 wxPyEndAllowThreads(__tstate
);
27411 if (PyErr_Occurred()) SWIG_fail
;
27414 resultobj
= wxPyMake_wxObject(result
);
27422 static PyObject
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27423 PyObject
*resultobj
;
27424 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27425 wxDirFilterListCtrl
*result
;
27426 PyObject
* obj0
= 0 ;
27427 char *kwnames
[] = {
27428 (char *) "self", NULL
27431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames
,&obj0
)) goto fail
;
27432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27436 result
= (wxDirFilterListCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetFilterListCtrl();
27438 wxPyEndAllowThreads(__tstate
);
27439 if (PyErr_Occurred()) SWIG_fail
;
27441 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 0);
27448 static PyObject
*_wrap_GenericDirCtrl_FindChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27449 PyObject
*resultobj
;
27450 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27451 wxTreeItemId arg2
;
27452 wxString
*arg3
= 0 ;
27454 wxTreeItemId result
;
27455 wxTreeItemId
*argp2
;
27456 bool temp3
= False
;
27458 PyObject
* obj0
= 0 ;
27459 PyObject
* obj1
= 0 ;
27460 PyObject
* obj2
= 0 ;
27461 char *kwnames
[] = {
27462 (char *) "self",(char *) "parentId",(char *) "path", NULL
27466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27469 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxTreeItemId
,
27470 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
27473 arg3
= wxString_in_helper(obj2
);
27474 if (arg3
== NULL
) SWIG_fail
;
27478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27479 result
= (arg1
)->FindChild(arg2
,(wxString
const &)*arg3
,*arg4
);
27481 wxPyEndAllowThreads(__tstate
);
27482 if (PyErr_Occurred()) SWIG_fail
;
27485 wxTreeItemId
* resultptr
;
27486 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27487 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27490 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
27491 resultobj
= t_output_helper(resultobj
,o
);
27507 static PyObject
*_wrap_GenericDirCtrl_DoResize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27508 PyObject
*resultobj
;
27509 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27510 PyObject
* obj0
= 0 ;
27511 char *kwnames
[] = {
27512 (char *) "self", NULL
27515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_DoResize",kwnames
,&obj0
)) goto fail
;
27516 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27520 (arg1
)->DoResize();
27522 wxPyEndAllowThreads(__tstate
);
27523 if (PyErr_Occurred()) SWIG_fail
;
27525 Py_INCREF(Py_None
); resultobj
= Py_None
;
27532 static PyObject
*_wrap_GenericDirCtrl_ReCreateTree(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27533 PyObject
*resultobj
;
27534 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27535 PyObject
* obj0
= 0 ;
27536 char *kwnames
[] = {
27537 (char *) "self", NULL
27540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames
,&obj0
)) goto fail
;
27541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27545 (arg1
)->ReCreateTree();
27547 wxPyEndAllowThreads(__tstate
);
27548 if (PyErr_Occurred()) SWIG_fail
;
27550 Py_INCREF(Py_None
); resultobj
= Py_None
;
27557 static PyObject
* GenericDirCtrl_swigregister(PyObject
*, PyObject
*args
) {
27559 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27560 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl
, obj
);
27562 return Py_BuildValue((char *)"");
27564 static PyObject
*_wrap_new_DirFilterListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27565 PyObject
*resultobj
;
27566 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27567 int arg2
= (int) (int)-1 ;
27568 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
27569 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
27570 wxSize
const &arg4_defvalue
= wxDefaultSize
;
27571 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
27572 long arg5
= (long) 0 ;
27573 wxDirFilterListCtrl
*result
;
27576 PyObject
* obj0
= 0 ;
27577 PyObject
* obj1
= 0 ;
27578 PyObject
* obj2
= 0 ;
27579 PyObject
* obj3
= 0 ;
27580 PyObject
* obj4
= 0 ;
27581 char *kwnames
[] = {
27582 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
27585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27586 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27589 arg2
= (int const) SWIG_AsInt(obj1
);
27590 if (PyErr_Occurred()) SWIG_fail
;
27595 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
27601 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
27605 arg5
= (long) SWIG_AsLong(obj4
);
27606 if (PyErr_Occurred()) SWIG_fail
;
27609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27610 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
27612 wxPyEndAllowThreads(__tstate
);
27613 if (PyErr_Occurred()) SWIG_fail
;
27615 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1);
27622 static PyObject
*_wrap_new_PreDirFilterListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27623 PyObject
*resultobj
;
27624 wxDirFilterListCtrl
*result
;
27625 char *kwnames
[] = {
27629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDirFilterListCtrl",kwnames
)) goto fail
;
27631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27632 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl();
27634 wxPyEndAllowThreads(__tstate
);
27635 if (PyErr_Occurred()) SWIG_fail
;
27637 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1);
27644 static PyObject
*_wrap_DirFilterListCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27645 PyObject
*resultobj
;
27646 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
27647 wxGenericDirCtrl
*arg2
= (wxGenericDirCtrl
*) 0 ;
27648 int arg3
= (int) (int)-1 ;
27649 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
27650 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
27651 wxSize
const &arg5_defvalue
= wxDefaultSize
;
27652 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
27653 long arg6
= (long) 0 ;
27657 PyObject
* obj0
= 0 ;
27658 PyObject
* obj1
= 0 ;
27659 PyObject
* obj2
= 0 ;
27660 PyObject
* obj3
= 0 ;
27661 PyObject
* obj4
= 0 ;
27662 PyObject
* obj5
= 0 ;
27663 char *kwnames
[] = {
27664 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
27667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
27668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirFilterListCtrl
,
27669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27670 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGenericDirCtrl
,
27671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27673 arg3
= (int const) SWIG_AsInt(obj2
);
27674 if (PyErr_Occurred()) SWIG_fail
;
27679 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
27685 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
27689 arg6
= (long) SWIG_AsLong(obj5
);
27690 if (PyErr_Occurred()) SWIG_fail
;
27693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27694 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
27696 wxPyEndAllowThreads(__tstate
);
27697 if (PyErr_Occurred()) SWIG_fail
;
27700 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27708 static PyObject
*_wrap_DirFilterListCtrl_FillFilterList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27709 PyObject
*resultobj
;
27710 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
27711 wxString
*arg2
= 0 ;
27713 bool temp2
= False
;
27714 PyObject
* obj0
= 0 ;
27715 PyObject
* obj1
= 0 ;
27716 PyObject
* obj2
= 0 ;
27717 char *kwnames
[] = {
27718 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
27721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27722 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirFilterListCtrl
,
27723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27725 arg2
= wxString_in_helper(obj1
);
27726 if (arg2
== NULL
) SWIG_fail
;
27729 arg3
= (int) SWIG_AsInt(obj2
);
27730 if (PyErr_Occurred()) SWIG_fail
;
27732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27733 (arg1
)->FillFilterList((wxString
const &)*arg2
,arg3
);
27735 wxPyEndAllowThreads(__tstate
);
27736 if (PyErr_Occurred()) SWIG_fail
;
27738 Py_INCREF(Py_None
); resultobj
= Py_None
;
27753 static PyObject
* DirFilterListCtrl_swigregister(PyObject
*, PyObject
*args
) {
27755 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27756 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl
, obj
);
27758 return Py_BuildValue((char *)"");
27760 static PyObject
*_wrap_new_PyControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27761 PyObject
*resultobj
;
27762 wxWindow
*arg1
= (wxWindow
*) 0 ;
27764 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
27765 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
27766 wxSize
const &arg4_defvalue
= wxDefaultSize
;
27767 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
27768 long arg5
= (long) 0 ;
27769 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
27770 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
27771 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
27772 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
27773 wxPyControl
*result
;
27776 bool temp7
= False
;
27777 PyObject
* obj0
= 0 ;
27778 PyObject
* obj1
= 0 ;
27779 PyObject
* obj2
= 0 ;
27780 PyObject
* obj3
= 0 ;
27781 PyObject
* obj4
= 0 ;
27782 PyObject
* obj5
= 0 ;
27783 PyObject
* obj6
= 0 ;
27784 char *kwnames
[] = {
27785 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
27788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:new_PyControl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
27789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27791 arg2
= (int const) SWIG_AsInt(obj1
);
27792 if (PyErr_Occurred()) SWIG_fail
;
27796 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
27802 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
27806 arg5
= (long) SWIG_AsLong(obj4
);
27807 if (PyErr_Occurred()) SWIG_fail
;
27810 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
27811 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27813 if (arg6
== NULL
) {
27814 PyErr_SetString(PyExc_TypeError
,"null reference");
27820 arg7
= wxString_in_helper(obj6
);
27821 if (arg7
== NULL
) SWIG_fail
;
27826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27827 result
= (wxPyControl
*)new wxPyControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
27829 wxPyEndAllowThreads(__tstate
);
27830 if (PyErr_Occurred()) SWIG_fail
;
27832 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControl
, 1);
27847 static PyObject
*_wrap_new_PrePyControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27848 PyObject
*resultobj
;
27849 wxPyControl
*result
;
27850 char *kwnames
[] = {
27854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyControl",kwnames
)) goto fail
;
27856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27857 result
= (wxPyControl
*)new wxPyControl();
27859 wxPyEndAllowThreads(__tstate
);
27860 if (PyErr_Occurred()) SWIG_fail
;
27862 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControl
, 1);
27869 static PyObject
*_wrap_PyControl__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27870 PyObject
*resultobj
;
27871 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27872 PyObject
*arg2
= (PyObject
*) 0 ;
27873 PyObject
*arg3
= (PyObject
*) 0 ;
27874 PyObject
* obj0
= 0 ;
27875 PyObject
* obj1
= 0 ;
27876 PyObject
* obj2
= 0 ;
27877 char *kwnames
[] = {
27878 (char *) "self",(char *) "self",(char *) "_class", NULL
27881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
27883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27888 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27890 wxPyEndAllowThreads(__tstate
);
27891 if (PyErr_Occurred()) SWIG_fail
;
27893 Py_INCREF(Py_None
); resultobj
= Py_None
;
27900 static PyObject
*_wrap_PyControl_base_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27901 PyObject
*resultobj
;
27902 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27907 PyObject
* obj0
= 0 ;
27908 PyObject
* obj1
= 0 ;
27909 PyObject
* obj2
= 0 ;
27910 PyObject
* obj3
= 0 ;
27911 PyObject
* obj4
= 0 ;
27912 char *kwnames
[] = {
27913 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
27916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyControl_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
27918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27919 arg2
= (int) SWIG_AsInt(obj1
);
27920 if (PyErr_Occurred()) SWIG_fail
;
27921 arg3
= (int) SWIG_AsInt(obj2
);
27922 if (PyErr_Occurred()) SWIG_fail
;
27923 arg4
= (int) SWIG_AsInt(obj3
);
27924 if (PyErr_Occurred()) SWIG_fail
;
27925 arg5
= (int) SWIG_AsInt(obj4
);
27926 if (PyErr_Occurred()) SWIG_fail
;
27928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27929 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
27931 wxPyEndAllowThreads(__tstate
);
27932 if (PyErr_Occurred()) SWIG_fail
;
27934 Py_INCREF(Py_None
); resultobj
= Py_None
;
27941 static PyObject
*_wrap_PyControl_base_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27942 PyObject
*resultobj
;
27943 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27948 int arg6
= (int) wxSIZE_AUTO
;
27949 PyObject
* obj0
= 0 ;
27950 PyObject
* obj1
= 0 ;
27951 PyObject
* obj2
= 0 ;
27952 PyObject
* obj3
= 0 ;
27953 PyObject
* obj4
= 0 ;
27954 PyObject
* obj5
= 0 ;
27955 char *kwnames
[] = {
27956 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
27959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyControl_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
27960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
27961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27962 arg2
= (int) SWIG_AsInt(obj1
);
27963 if (PyErr_Occurred()) SWIG_fail
;
27964 arg3
= (int) SWIG_AsInt(obj2
);
27965 if (PyErr_Occurred()) SWIG_fail
;
27966 arg4
= (int) SWIG_AsInt(obj3
);
27967 if (PyErr_Occurred()) SWIG_fail
;
27968 arg5
= (int) SWIG_AsInt(obj4
);
27969 if (PyErr_Occurred()) SWIG_fail
;
27971 arg6
= (int) SWIG_AsInt(obj5
);
27972 if (PyErr_Occurred()) SWIG_fail
;
27975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27976 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
27978 wxPyEndAllowThreads(__tstate
);
27979 if (PyErr_Occurred()) SWIG_fail
;
27981 Py_INCREF(Py_None
); resultobj
= Py_None
;
27988 static PyObject
*_wrap_PyControl_base_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27989 PyObject
*resultobj
;
27990 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27993 PyObject
* obj0
= 0 ;
27994 PyObject
* obj1
= 0 ;
27995 PyObject
* obj2
= 0 ;
27996 char *kwnames
[] = {
27997 (char *) "self",(char *) "width",(char *) "height", NULL
28000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28001 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28003 arg2
= (int) SWIG_AsInt(obj1
);
28004 if (PyErr_Occurred()) SWIG_fail
;
28005 arg3
= (int) SWIG_AsInt(obj2
);
28006 if (PyErr_Occurred()) SWIG_fail
;
28008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28009 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
28011 wxPyEndAllowThreads(__tstate
);
28012 if (PyErr_Occurred()) SWIG_fail
;
28014 Py_INCREF(Py_None
); resultobj
= Py_None
;
28021 static PyObject
*_wrap_PyControl_base_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28022 PyObject
*resultobj
;
28023 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28026 PyObject
* obj0
= 0 ;
28027 PyObject
* obj1
= 0 ;
28028 PyObject
* obj2
= 0 ;
28029 char *kwnames
[] = {
28030 (char *) "self",(char *) "x",(char *) "y", NULL
28033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28034 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28036 arg2
= (int) SWIG_AsInt(obj1
);
28037 if (PyErr_Occurred()) SWIG_fail
;
28038 arg3
= (int) SWIG_AsInt(obj2
);
28039 if (PyErr_Occurred()) SWIG_fail
;
28041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28042 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
28044 wxPyEndAllowThreads(__tstate
);
28045 if (PyErr_Occurred()) SWIG_fail
;
28047 Py_INCREF(Py_None
); resultobj
= Py_None
;
28054 static PyObject
*_wrap_PyControl_base_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28055 PyObject
*resultobj
;
28056 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28057 int *arg2
= (int *) 0 ;
28058 int *arg3
= (int *) 0 ;
28061 PyObject
* obj0
= 0 ;
28062 char *kwnames
[] = {
28063 (char *) "self", NULL
28068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
28069 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28073 ((wxPyControl
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
28075 wxPyEndAllowThreads(__tstate
);
28076 if (PyErr_Occurred()) SWIG_fail
;
28078 Py_INCREF(Py_None
); resultobj
= Py_None
;
28080 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
28081 resultobj
= t_output_helper(resultobj
,o
);
28084 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
28085 resultobj
= t_output_helper(resultobj
,o
);
28093 static PyObject
*_wrap_PyControl_base_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28094 PyObject
*resultobj
;
28095 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28096 int *arg2
= (int *) 0 ;
28097 int *arg3
= (int *) 0 ;
28100 PyObject
* obj0
= 0 ;
28101 char *kwnames
[] = {
28102 (char *) "self", NULL
28107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
28108 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28112 ((wxPyControl
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
28114 wxPyEndAllowThreads(__tstate
);
28115 if (PyErr_Occurred()) SWIG_fail
;
28117 Py_INCREF(Py_None
); resultobj
= Py_None
;
28119 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
28120 resultobj
= t_output_helper(resultobj
,o
);
28123 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
28124 resultobj
= t_output_helper(resultobj
,o
);
28132 static PyObject
*_wrap_PyControl_base_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28133 PyObject
*resultobj
;
28134 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28135 int *arg2
= (int *) 0 ;
28136 int *arg3
= (int *) 0 ;
28139 PyObject
* obj0
= 0 ;
28140 char *kwnames
[] = {
28141 (char *) "self", NULL
28146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
28147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28151 ((wxPyControl
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
28153 wxPyEndAllowThreads(__tstate
);
28154 if (PyErr_Occurred()) SWIG_fail
;
28156 Py_INCREF(Py_None
); resultobj
= Py_None
;
28158 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
28159 resultobj
= t_output_helper(resultobj
,o
);
28162 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
28163 resultobj
= t_output_helper(resultobj
,o
);
28171 static PyObject
*_wrap_PyControl_base_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28172 PyObject
*resultobj
;
28173 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28175 PyObject
* obj0
= 0 ;
28176 char *kwnames
[] = {
28177 (char *) "self", NULL
28180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
28181 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28185 result
= ((wxPyControl
const *)arg1
)->base_DoGetVirtualSize();
28187 wxPyEndAllowThreads(__tstate
);
28188 if (PyErr_Occurred()) SWIG_fail
;
28191 wxSize
* resultptr
;
28192 resultptr
= new wxSize((wxSize
&) result
);
28193 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
28201 static PyObject
*_wrap_PyControl_base_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28202 PyObject
*resultobj
;
28203 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28205 PyObject
* obj0
= 0 ;
28206 char *kwnames
[] = {
28207 (char *) "self", NULL
28210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
28211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28215 result
= ((wxPyControl
const *)arg1
)->base_DoGetBestSize();
28217 wxPyEndAllowThreads(__tstate
);
28218 if (PyErr_Occurred()) SWIG_fail
;
28221 wxSize
* resultptr
;
28222 resultptr
= new wxSize((wxSize
&) result
);
28223 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
28231 static PyObject
*_wrap_PyControl_base_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28232 PyObject
*resultobj
;
28233 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28234 PyObject
* obj0
= 0 ;
28235 char *kwnames
[] = {
28236 (char *) "self", NULL
28239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_InitDialog",kwnames
,&obj0
)) goto fail
;
28240 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28241 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28244 (arg1
)->base_InitDialog();
28246 wxPyEndAllowThreads(__tstate
);
28247 if (PyErr_Occurred()) SWIG_fail
;
28249 Py_INCREF(Py_None
); resultobj
= Py_None
;
28256 static PyObject
*_wrap_PyControl_base_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28257 PyObject
*resultobj
;
28258 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28260 PyObject
* obj0
= 0 ;
28261 char *kwnames
[] = {
28262 (char *) "self", NULL
28265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
28266 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28270 result
= (bool)(arg1
)->base_TransferDataToWindow();
28272 wxPyEndAllowThreads(__tstate
);
28273 if (PyErr_Occurred()) SWIG_fail
;
28276 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28284 static PyObject
*_wrap_PyControl_base_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28285 PyObject
*resultobj
;
28286 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28288 PyObject
* obj0
= 0 ;
28289 char *kwnames
[] = {
28290 (char *) "self", NULL
28293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
28294 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28298 result
= (bool)(arg1
)->base_TransferDataFromWindow();
28300 wxPyEndAllowThreads(__tstate
);
28301 if (PyErr_Occurred()) SWIG_fail
;
28304 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28312 static PyObject
*_wrap_PyControl_base_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28313 PyObject
*resultobj
;
28314 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28316 PyObject
* obj0
= 0 ;
28317 char *kwnames
[] = {
28318 (char *) "self", NULL
28321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_Validate",kwnames
,&obj0
)) goto fail
;
28322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28326 result
= (bool)(arg1
)->base_Validate();
28328 wxPyEndAllowThreads(__tstate
);
28329 if (PyErr_Occurred()) SWIG_fail
;
28332 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28340 static PyObject
*_wrap_PyControl_base_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28341 PyObject
*resultobj
;
28342 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28344 PyObject
* obj0
= 0 ;
28345 char *kwnames
[] = {
28346 (char *) "self", NULL
28349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
28350 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28354 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocus();
28356 wxPyEndAllowThreads(__tstate
);
28357 if (PyErr_Occurred()) SWIG_fail
;
28360 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28368 static PyObject
*_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28369 PyObject
*resultobj
;
28370 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28372 PyObject
* obj0
= 0 ;
28373 char *kwnames
[] = {
28374 (char *) "self", NULL
28377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
28378 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28382 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocusFromKeyboard();
28384 wxPyEndAllowThreads(__tstate
);
28385 if (PyErr_Occurred()) SWIG_fail
;
28388 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28396 static PyObject
*_wrap_PyControl_base_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28397 PyObject
*resultobj
;
28398 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28400 PyObject
* obj0
= 0 ;
28401 char *kwnames
[] = {
28402 (char *) "self", NULL
28405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
28406 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28410 result
= ((wxPyControl
const *)arg1
)->base_GetMaxSize();
28412 wxPyEndAllowThreads(__tstate
);
28413 if (PyErr_Occurred()) SWIG_fail
;
28416 wxSize
* resultptr
;
28417 resultptr
= new wxSize((wxSize
&) result
);
28418 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
28426 static PyObject
*_wrap_PyControl_base_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28427 PyObject
*resultobj
;
28428 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28429 wxWindow
*arg2
= (wxWindow
*) 0 ;
28430 PyObject
* obj0
= 0 ;
28431 PyObject
* obj1
= 0 ;
28432 char *kwnames
[] = {
28433 (char *) "self",(char *) "child", NULL
28436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
28437 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28439 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28443 (arg1
)->base_AddChild(arg2
);
28445 wxPyEndAllowThreads(__tstate
);
28446 if (PyErr_Occurred()) SWIG_fail
;
28448 Py_INCREF(Py_None
); resultobj
= Py_None
;
28455 static PyObject
*_wrap_PyControl_base_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28456 PyObject
*resultobj
;
28457 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28458 wxWindow
*arg2
= (wxWindow
*) 0 ;
28459 PyObject
* obj0
= 0 ;
28460 PyObject
* obj1
= 0 ;
28461 char *kwnames
[] = {
28462 (char *) "self",(char *) "child", NULL
28465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
28466 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28468 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28472 (arg1
)->base_RemoveChild(arg2
);
28474 wxPyEndAllowThreads(__tstate
);
28475 if (PyErr_Occurred()) SWIG_fail
;
28477 Py_INCREF(Py_None
); resultobj
= Py_None
;
28484 static PyObject
*_wrap_PyControl_base_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28485 PyObject
*resultobj
;
28486 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28488 PyObject
* obj0
= 0 ;
28489 char *kwnames
[] = {
28490 (char *) "self", NULL
28493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
28494 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28498 result
= (bool)(arg1
)->base_ShouldInheritColours();
28500 wxPyEndAllowThreads(__tstate
);
28501 if (PyErr_Occurred()) SWIG_fail
;
28504 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28512 static PyObject
*_wrap_PyControl_base_ApplyParentThemeBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28513 PyObject
*resultobj
;
28514 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28515 wxColour
*arg2
= 0 ;
28517 PyObject
* obj0
= 0 ;
28518 PyObject
* obj1
= 0 ;
28519 char *kwnames
[] = {
28520 (char *) "self",(char *) "c", NULL
28523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
28524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28528 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
28531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28532 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
28534 wxPyEndAllowThreads(__tstate
);
28535 if (PyErr_Occurred()) SWIG_fail
;
28537 Py_INCREF(Py_None
); resultobj
= Py_None
;
28544 static PyObject
* PyControl_swigregister(PyObject
*, PyObject
*args
) {
28546 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28547 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl
, obj
);
28549 return Py_BuildValue((char *)"");
28551 static PyObject
*_wrap_new_HelpEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28552 PyObject
*resultobj
;
28553 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
28554 int arg2
= (int) 0 ;
28555 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28556 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28557 wxHelpEvent
*result
;
28559 PyObject
* obj0
= 0 ;
28560 PyObject
* obj1
= 0 ;
28561 PyObject
* obj2
= 0 ;
28562 char *kwnames
[] = {
28563 (char *) "type",(char *) "winid",(char *) "pt", NULL
28566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_HelpEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28568 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
28569 if (PyErr_Occurred()) SWIG_fail
;
28572 arg2
= (int) SWIG_AsInt(obj1
);
28573 if (PyErr_Occurred()) SWIG_fail
;
28578 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28583 result
= (wxHelpEvent
*)new wxHelpEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
28585 wxPyEndAllowThreads(__tstate
);
28586 if (PyErr_Occurred()) SWIG_fail
;
28588 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpEvent
, 1);
28595 static PyObject
*_wrap_HelpEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28596 PyObject
*resultobj
;
28597 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
28599 PyObject
* obj0
= 0 ;
28600 char *kwnames
[] = {
28601 (char *) "self", NULL
28604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
28605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
28606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28609 result
= ((wxHelpEvent
const *)arg1
)->GetPosition();
28611 wxPyEndAllowThreads(__tstate
);
28612 if (PyErr_Occurred()) SWIG_fail
;
28615 wxPoint
* resultptr
;
28616 resultptr
= new wxPoint((wxPoint
&) result
);
28617 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
28625 static PyObject
*_wrap_HelpEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28626 PyObject
*resultobj
;
28627 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
28628 wxPoint
*arg2
= 0 ;
28630 PyObject
* obj0
= 0 ;
28631 PyObject
* obj1
= 0 ;
28632 char *kwnames
[] = {
28633 (char *) "self",(char *) "pos", NULL
28636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
28637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
28638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28641 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28645 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
28647 wxPyEndAllowThreads(__tstate
);
28648 if (PyErr_Occurred()) SWIG_fail
;
28650 Py_INCREF(Py_None
); resultobj
= Py_None
;
28657 static PyObject
*_wrap_HelpEvent_GetLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28658 PyObject
*resultobj
;
28659 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
28661 PyObject
* obj0
= 0 ;
28662 char *kwnames
[] = {
28663 (char *) "self", NULL
28666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetLink",kwnames
,&obj0
)) goto fail
;
28667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
28668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28672 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetLink();
28673 result
= (wxString
*) &_result_ref
;
28676 wxPyEndAllowThreads(__tstate
);
28677 if (PyErr_Occurred()) SWIG_fail
;
28681 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
28683 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
28692 static PyObject
*_wrap_HelpEvent_SetLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28693 PyObject
*resultobj
;
28694 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
28695 wxString
*arg2
= 0 ;
28696 bool temp2
= False
;
28697 PyObject
* obj0
= 0 ;
28698 PyObject
* obj1
= 0 ;
28699 char *kwnames
[] = {
28700 (char *) "self",(char *) "link", NULL
28703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",kwnames
,&obj0
,&obj1
)) goto fail
;
28704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
28705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28707 arg2
= wxString_in_helper(obj1
);
28708 if (arg2
== NULL
) SWIG_fail
;
28712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28713 (arg1
)->SetLink((wxString
const &)*arg2
);
28715 wxPyEndAllowThreads(__tstate
);
28716 if (PyErr_Occurred()) SWIG_fail
;
28718 Py_INCREF(Py_None
); resultobj
= Py_None
;
28733 static PyObject
*_wrap_HelpEvent_GetTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28734 PyObject
*resultobj
;
28735 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
28737 PyObject
* obj0
= 0 ;
28738 char *kwnames
[] = {
28739 (char *) "self", NULL
28742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetTarget",kwnames
,&obj0
)) goto fail
;
28743 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
28744 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28748 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetTarget();
28749 result
= (wxString
*) &_result_ref
;
28752 wxPyEndAllowThreads(__tstate
);
28753 if (PyErr_Occurred()) SWIG_fail
;
28757 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
28759 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
28768 static PyObject
*_wrap_HelpEvent_SetTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28769 PyObject
*resultobj
;
28770 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
28771 wxString
*arg2
= 0 ;
28772 bool temp2
= False
;
28773 PyObject
* obj0
= 0 ;
28774 PyObject
* obj1
= 0 ;
28775 char *kwnames
[] = {
28776 (char *) "self",(char *) "target", NULL
28779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
28780 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
28781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28783 arg2
= wxString_in_helper(obj1
);
28784 if (arg2
== NULL
) SWIG_fail
;
28788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28789 (arg1
)->SetTarget((wxString
const &)*arg2
);
28791 wxPyEndAllowThreads(__tstate
);
28792 if (PyErr_Occurred()) SWIG_fail
;
28794 Py_INCREF(Py_None
); resultobj
= Py_None
;
28809 static PyObject
* HelpEvent_swigregister(PyObject
*, PyObject
*args
) {
28811 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28812 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent
, obj
);
28814 return Py_BuildValue((char *)"");
28816 static PyObject
*_wrap_new_ContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28817 PyObject
*resultobj
;
28818 wxWindow
*arg1
= (wxWindow
*) NULL
;
28819 bool arg2
= (bool) True
;
28820 wxContextHelp
*result
;
28821 PyObject
* obj0
= 0 ;
28822 PyObject
* obj1
= 0 ;
28823 char *kwnames
[] = {
28824 (char *) "window",(char *) "doNow", NULL
28827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
28829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28833 arg2
= (bool) SWIG_AsBool(obj1
);
28834 if (PyErr_Occurred()) SWIG_fail
;
28837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28838 result
= (wxContextHelp
*)new wxContextHelp(arg1
,arg2
);
28840 wxPyEndAllowThreads(__tstate
);
28841 if (PyErr_Occurred()) SWIG_fail
;
28843 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelp
, 1);
28850 static PyObject
*_wrap_delete_ContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28851 PyObject
*resultobj
;
28852 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
28853 PyObject
* obj0
= 0 ;
28854 char *kwnames
[] = {
28855 (char *) "self", NULL
28858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ContextHelp",kwnames
,&obj0
)) goto fail
;
28859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextHelp
,
28860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28865 wxPyEndAllowThreads(__tstate
);
28866 if (PyErr_Occurred()) SWIG_fail
;
28868 Py_INCREF(Py_None
); resultobj
= Py_None
;
28875 static PyObject
*_wrap_ContextHelp_BeginContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28876 PyObject
*resultobj
;
28877 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
28878 wxWindow
*arg2
= (wxWindow
*) NULL
;
28880 PyObject
* obj0
= 0 ;
28881 PyObject
* obj1
= 0 ;
28882 char *kwnames
[] = {
28883 (char *) "self",(char *) "window", NULL
28886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
28887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextHelp
,
28888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28890 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28895 result
= (bool)(arg1
)->BeginContextHelp(arg2
);
28897 wxPyEndAllowThreads(__tstate
);
28898 if (PyErr_Occurred()) SWIG_fail
;
28901 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28909 static PyObject
*_wrap_ContextHelp_EndContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28910 PyObject
*resultobj
;
28911 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
28913 PyObject
* obj0
= 0 ;
28914 char *kwnames
[] = {
28915 (char *) "self", NULL
28918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextHelp_EndContextHelp",kwnames
,&obj0
)) goto fail
;
28919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextHelp
,
28920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28923 result
= (bool)(arg1
)->EndContextHelp();
28925 wxPyEndAllowThreads(__tstate
);
28926 if (PyErr_Occurred()) SWIG_fail
;
28929 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28937 static PyObject
* ContextHelp_swigregister(PyObject
*, PyObject
*args
) {
28939 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28940 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp
, obj
);
28942 return Py_BuildValue((char *)"");
28944 static PyObject
*_wrap_new_ContextHelpButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28945 PyObject
*resultobj
;
28946 wxWindow
*arg1
= (wxWindow
*) 0 ;
28947 int arg2
= (int) wxID_CONTEXT_HELP
;
28948 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28949 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28950 wxSize
const &arg4_defvalue
= wxDefaultSize
;
28951 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
28952 long arg5
= (long) wxBU_AUTODRAW
;
28953 wxContextHelpButton
*result
;
28956 PyObject
* obj0
= 0 ;
28957 PyObject
* obj1
= 0 ;
28958 PyObject
* obj2
= 0 ;
28959 PyObject
* obj3
= 0 ;
28960 PyObject
* obj4
= 0 ;
28961 char *kwnames
[] = {
28962 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
28965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_ContextHelpButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28966 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28969 arg2
= (int) SWIG_AsInt(obj1
);
28970 if (PyErr_Occurred()) SWIG_fail
;
28975 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28981 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
28985 arg5
= (long) SWIG_AsLong(obj4
);
28986 if (PyErr_Occurred()) SWIG_fail
;
28989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28990 result
= (wxContextHelpButton
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
28992 wxPyEndAllowThreads(__tstate
);
28993 if (PyErr_Occurred()) SWIG_fail
;
28995 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelpButton
, 1);
29002 static PyObject
* ContextHelpButton_swigregister(PyObject
*, PyObject
*args
) {
29004 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29005 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton
, obj
);
29007 return Py_BuildValue((char *)"");
29009 static PyObject
*_wrap_HelpProvider_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29010 PyObject
*resultobj
;
29011 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
29012 wxHelpProvider
*result
;
29013 PyObject
* obj0
= 0 ;
29014 char *kwnames
[] = {
29015 (char *) "helpProvider", NULL
29018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) goto fail
;
29019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
29020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29023 result
= (wxHelpProvider
*)wxHelpProvider::Set(arg1
);
29025 wxPyEndAllowThreads(__tstate
);
29026 if (PyErr_Occurred()) SWIG_fail
;
29028 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 0);
29035 static PyObject
*_wrap_HelpProvider_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29036 PyObject
*resultobj
;
29037 wxHelpProvider
*result
;
29038 char *kwnames
[] = {
29042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":HelpProvider_Get",kwnames
)) goto fail
;
29044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29045 result
= (wxHelpProvider
*)wxHelpProvider::Get();
29047 wxPyEndAllowThreads(__tstate
);
29048 if (PyErr_Occurred()) SWIG_fail
;
29050 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 0);
29057 static PyObject
*_wrap_HelpProvider_GetHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29058 PyObject
*resultobj
;
29059 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
29060 wxWindow
*arg2
= (wxWindow
*) 0 ;
29062 PyObject
* obj0
= 0 ;
29063 PyObject
* obj1
= 0 ;
29064 char *kwnames
[] = {
29065 (char *) "self",(char *) "window", NULL
29068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
29069 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
29070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29071 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29075 result
= (arg1
)->GetHelp((wxWindow
const *)arg2
);
29077 wxPyEndAllowThreads(__tstate
);
29078 if (PyErr_Occurred()) SWIG_fail
;
29082 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29084 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29093 static PyObject
*_wrap_HelpProvider_ShowHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29094 PyObject
*resultobj
;
29095 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
29096 wxWindow
*arg2
= (wxWindow
*) 0 ;
29098 PyObject
* obj0
= 0 ;
29099 PyObject
* obj1
= 0 ;
29100 char *kwnames
[] = {
29101 (char *) "self",(char *) "window", NULL
29104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
29105 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
29106 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29107 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29108 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29111 result
= (bool)(arg1
)->ShowHelp(arg2
);
29113 wxPyEndAllowThreads(__tstate
);
29114 if (PyErr_Occurred()) SWIG_fail
;
29117 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29125 static PyObject
*_wrap_HelpProvider_AddHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29126 PyObject
*resultobj
;
29127 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
29128 wxWindow
*arg2
= (wxWindow
*) 0 ;
29129 wxString
*arg3
= 0 ;
29130 bool temp3
= False
;
29131 PyObject
* obj0
= 0 ;
29132 PyObject
* obj1
= 0 ;
29133 PyObject
* obj2
= 0 ;
29134 char *kwnames
[] = {
29135 (char *) "self",(char *) "window",(char *) "text", NULL
29138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29139 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
29140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29141 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29144 arg3
= wxString_in_helper(obj2
);
29145 if (arg3
== NULL
) SWIG_fail
;
29149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29150 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
29152 wxPyEndAllowThreads(__tstate
);
29153 if (PyErr_Occurred()) SWIG_fail
;
29155 Py_INCREF(Py_None
); resultobj
= Py_None
;
29170 static PyObject
*_wrap_HelpProvider_AddHelpById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29171 PyObject
*resultobj
;
29172 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
29174 wxString
*arg3
= 0 ;
29175 bool temp3
= False
;
29176 PyObject
* obj0
= 0 ;
29177 PyObject
* obj1
= 0 ;
29178 PyObject
* obj2
= 0 ;
29179 char *kwnames
[] = {
29180 (char *) "self",(char *) "id",(char *) "text", NULL
29183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelpById",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
29185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29186 arg2
= (int) SWIG_AsInt(obj1
);
29187 if (PyErr_Occurred()) SWIG_fail
;
29189 arg3
= wxString_in_helper(obj2
);
29190 if (arg3
== NULL
) SWIG_fail
;
29194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29195 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
29197 wxPyEndAllowThreads(__tstate
);
29198 if (PyErr_Occurred()) SWIG_fail
;
29200 Py_INCREF(Py_None
); resultobj
= Py_None
;
29215 static PyObject
*_wrap_HelpProvider_RemoveHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29216 PyObject
*resultobj
;
29217 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
29218 wxWindow
*arg2
= (wxWindow
*) 0 ;
29219 PyObject
* obj0
= 0 ;
29220 PyObject
* obj1
= 0 ;
29221 char *kwnames
[] = {
29222 (char *) "self",(char *) "window", NULL
29225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_RemoveHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
29226 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
29227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29228 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29232 (arg1
)->RemoveHelp(arg2
);
29234 wxPyEndAllowThreads(__tstate
);
29235 if (PyErr_Occurred()) SWIG_fail
;
29237 Py_INCREF(Py_None
); resultobj
= Py_None
;
29244 static PyObject
*_wrap_HelpProvider_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29245 PyObject
*resultobj
;
29246 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
29247 PyObject
* obj0
= 0 ;
29248 char *kwnames
[] = {
29249 (char *) "self", NULL
29252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Destroy",kwnames
,&obj0
)) goto fail
;
29253 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
29254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29257 wxHelpProvider_Destroy(arg1
);
29259 wxPyEndAllowThreads(__tstate
);
29260 if (PyErr_Occurred()) SWIG_fail
;
29262 Py_INCREF(Py_None
); resultobj
= Py_None
;
29269 static PyObject
* HelpProvider_swigregister(PyObject
*, PyObject
*args
) {
29271 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29272 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider
, obj
);
29274 return Py_BuildValue((char *)"");
29276 static PyObject
*_wrap_new_SimpleHelpProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29277 PyObject
*resultobj
;
29278 wxSimpleHelpProvider
*result
;
29279 char *kwnames
[] = {
29283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SimpleHelpProvider",kwnames
)) goto fail
;
29285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29286 result
= (wxSimpleHelpProvider
*)new wxSimpleHelpProvider();
29288 wxPyEndAllowThreads(__tstate
);
29289 if (PyErr_Occurred()) SWIG_fail
;
29291 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSimpleHelpProvider
, 1);
29298 static PyObject
* SimpleHelpProvider_swigregister(PyObject
*, PyObject
*args
) {
29300 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29301 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider
, obj
);
29303 return Py_BuildValue((char *)"");
29305 static PyObject
*_wrap_new_DragImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29306 PyObject
*resultobj
;
29307 wxBitmap
*arg1
= 0 ;
29308 wxCursor
const &arg2_defvalue
= wxNullCursor
;
29309 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
29310 wxGenericDragImage
*result
;
29311 PyObject
* obj0
= 0 ;
29312 PyObject
* obj1
= 0 ;
29313 char *kwnames
[] = {
29314 (char *) "image",(char *) "cursor", NULL
29317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) goto fail
;
29318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
29319 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29321 if (arg1
== NULL
) {
29322 PyErr_SetString(PyExc_TypeError
,"null reference");
29326 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
29327 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29329 if (arg2
== NULL
) {
29330 PyErr_SetString(PyExc_TypeError
,"null reference");
29335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29336 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxBitmap
const &)*arg1
,(wxCursor
const &)*arg2
);
29338 wxPyEndAllowThreads(__tstate
);
29339 if (PyErr_Occurred()) SWIG_fail
;
29341 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
29348 static PyObject
*_wrap_new_DragIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29349 PyObject
*resultobj
;
29351 wxCursor
const &arg2_defvalue
= wxNullCursor
;
29352 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
29353 wxGenericDragImage
*result
;
29354 PyObject
* obj0
= 0 ;
29355 PyObject
* obj1
= 0 ;
29356 char *kwnames
[] = {
29357 (char *) "image",(char *) "cursor", NULL
29360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
29361 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
29362 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29364 if (arg1
== NULL
) {
29365 PyErr_SetString(PyExc_TypeError
,"null reference");
29369 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
29370 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29372 if (arg2
== NULL
) {
29373 PyErr_SetString(PyExc_TypeError
,"null reference");
29378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29379 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxIcon
const &)*arg1
,(wxCursor
const &)*arg2
);
29381 wxPyEndAllowThreads(__tstate
);
29382 if (PyErr_Occurred()) SWIG_fail
;
29384 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
29391 static PyObject
*_wrap_new_DragString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29392 PyObject
*resultobj
;
29393 wxString
*arg1
= 0 ;
29394 wxCursor
const &arg2_defvalue
= wxNullCursor
;
29395 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
29396 wxGenericDragImage
*result
;
29397 bool temp1
= False
;
29398 PyObject
* obj0
= 0 ;
29399 PyObject
* obj1
= 0 ;
29400 char *kwnames
[] = {
29401 (char *) "str",(char *) "cursor", NULL
29404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) goto fail
;
29406 arg1
= wxString_in_helper(obj0
);
29407 if (arg1
== NULL
) SWIG_fail
;
29411 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
29412 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29414 if (arg2
== NULL
) {
29415 PyErr_SetString(PyExc_TypeError
,"null reference");
29420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29421 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxString
const &)*arg1
,(wxCursor
const &)*arg2
);
29423 wxPyEndAllowThreads(__tstate
);
29424 if (PyErr_Occurred()) SWIG_fail
;
29426 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
29441 static PyObject
*_wrap_new_DragTreeItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29442 PyObject
*resultobj
;
29443 wxPyTreeCtrl
*arg1
= 0 ;
29444 wxTreeItemId
*arg2
= 0 ;
29445 wxGenericDragImage
*result
;
29446 PyObject
* obj0
= 0 ;
29447 PyObject
* obj1
= 0 ;
29448 char *kwnames
[] = {
29449 (char *) "treeCtrl",(char *) "id", NULL
29452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
29454 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29456 if (arg1
== NULL
) {
29457 PyErr_SetString(PyExc_TypeError
,"null reference");
29460 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
29461 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29463 if (arg2
== NULL
) {
29464 PyErr_SetString(PyExc_TypeError
,"null reference");
29468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29469 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyTreeCtrl
const &)*arg1
,*arg2
);
29471 wxPyEndAllowThreads(__tstate
);
29472 if (PyErr_Occurred()) SWIG_fail
;
29474 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
29481 static PyObject
*_wrap_new_DragListItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29482 PyObject
*resultobj
;
29483 wxPyListCtrl
*arg1
= 0 ;
29485 wxGenericDragImage
*result
;
29486 PyObject
* obj0
= 0 ;
29487 PyObject
* obj1
= 0 ;
29488 char *kwnames
[] = {
29489 (char *) "listCtrl",(char *) "id", NULL
29492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragListItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29493 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
29494 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29496 if (arg1
== NULL
) {
29497 PyErr_SetString(PyExc_TypeError
,"null reference");
29500 arg2
= (long) SWIG_AsLong(obj1
);
29501 if (PyErr_Occurred()) SWIG_fail
;
29503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29504 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyListCtrl
const &)*arg1
,arg2
);
29506 wxPyEndAllowThreads(__tstate
);
29507 if (PyErr_Occurred()) SWIG_fail
;
29509 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
29516 static PyObject
*_wrap_delete_DragImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29517 PyObject
*resultobj
;
29518 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29519 PyObject
* obj0
= 0 ;
29520 char *kwnames
[] = {
29521 (char *) "self", NULL
29524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DragImage",kwnames
,&obj0
)) goto fail
;
29525 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29526 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29531 wxPyEndAllowThreads(__tstate
);
29532 if (PyErr_Occurred()) SWIG_fail
;
29534 Py_INCREF(Py_None
); resultobj
= Py_None
;
29541 static PyObject
*_wrap_DragImage_SetBackingBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29542 PyObject
*resultobj
;
29543 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29544 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
29545 PyObject
* obj0
= 0 ;
29546 PyObject
* obj1
= 0 ;
29547 char *kwnames
[] = {
29548 (char *) "self",(char *) "bitmap", NULL
29551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
29552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29554 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
29555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29558 (arg1
)->SetBackingBitmap(arg2
);
29560 wxPyEndAllowThreads(__tstate
);
29561 if (PyErr_Occurred()) SWIG_fail
;
29563 Py_INCREF(Py_None
); resultobj
= Py_None
;
29570 static PyObject
*_wrap_DragImage_BeginDrag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29571 PyObject
*resultobj
;
29572 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29573 wxPoint
*arg2
= 0 ;
29574 wxWindow
*arg3
= (wxWindow
*) 0 ;
29575 bool arg4
= (bool) False
;
29576 wxRect
*arg5
= (wxRect
*) NULL
;
29579 PyObject
* obj0
= 0 ;
29580 PyObject
* obj1
= 0 ;
29581 PyObject
* obj2
= 0 ;
29582 PyObject
* obj3
= 0 ;
29583 PyObject
* obj4
= 0 ;
29584 char *kwnames
[] = {
29585 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
29588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29593 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29595 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
29596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29598 arg4
= (bool) SWIG_AsBool(obj3
);
29599 if (PyErr_Occurred()) SWIG_fail
;
29602 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxRect
,
29603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29607 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
,arg5
);
29609 wxPyEndAllowThreads(__tstate
);
29610 if (PyErr_Occurred()) SWIG_fail
;
29613 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29621 static PyObject
*_wrap_DragImage_BeginDragBounded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29622 PyObject
*resultobj
;
29623 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29624 wxPoint
*arg2
= 0 ;
29625 wxWindow
*arg3
= (wxWindow
*) 0 ;
29626 wxWindow
*arg4
= (wxWindow
*) 0 ;
29629 PyObject
* obj0
= 0 ;
29630 PyObject
* obj1
= 0 ;
29631 PyObject
* obj2
= 0 ;
29632 PyObject
* obj3
= 0 ;
29633 char *kwnames
[] = {
29634 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
29637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29638 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29639 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29642 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29644 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
29645 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29646 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
29647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29650 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
);
29652 wxPyEndAllowThreads(__tstate
);
29653 if (PyErr_Occurred()) SWIG_fail
;
29656 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29664 static PyObject
*_wrap_DragImage_EndDrag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29665 PyObject
*resultobj
;
29666 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29668 PyObject
* obj0
= 0 ;
29669 char *kwnames
[] = {
29670 (char *) "self", NULL
29673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_EndDrag",kwnames
,&obj0
)) goto fail
;
29674 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29678 result
= (bool)(arg1
)->EndDrag();
29680 wxPyEndAllowThreads(__tstate
);
29681 if (PyErr_Occurred()) SWIG_fail
;
29684 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29692 static PyObject
*_wrap_DragImage_Move(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29693 PyObject
*resultobj
;
29694 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29695 wxPoint
*arg2
= 0 ;
29698 PyObject
* obj0
= 0 ;
29699 PyObject
* obj1
= 0 ;
29700 char *kwnames
[] = {
29701 (char *) "self",(char *) "pt", NULL
29704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
29705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29709 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29713 result
= (bool)(arg1
)->Move((wxPoint
const &)*arg2
);
29715 wxPyEndAllowThreads(__tstate
);
29716 if (PyErr_Occurred()) SWIG_fail
;
29719 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29727 static PyObject
*_wrap_DragImage_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29728 PyObject
*resultobj
;
29729 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29731 PyObject
* obj0
= 0 ;
29732 char *kwnames
[] = {
29733 (char *) "self", NULL
29736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Show",kwnames
,&obj0
)) goto fail
;
29737 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29741 result
= (bool)(arg1
)->Show();
29743 wxPyEndAllowThreads(__tstate
);
29744 if (PyErr_Occurred()) SWIG_fail
;
29747 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29755 static PyObject
*_wrap_DragImage_Hide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29756 PyObject
*resultobj
;
29757 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29759 PyObject
* obj0
= 0 ;
29760 char *kwnames
[] = {
29761 (char *) "self", NULL
29764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Hide",kwnames
,&obj0
)) goto fail
;
29765 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29769 result
= (bool)(arg1
)->Hide();
29771 wxPyEndAllowThreads(__tstate
);
29772 if (PyErr_Occurred()) SWIG_fail
;
29775 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29783 static PyObject
*_wrap_DragImage_GetImageRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29784 PyObject
*resultobj
;
29785 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29786 wxPoint
*arg2
= 0 ;
29789 PyObject
* obj0
= 0 ;
29790 PyObject
* obj1
= 0 ;
29791 char *kwnames
[] = {
29792 (char *) "self",(char *) "pos", NULL
29795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) goto fail
;
29796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29800 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29804 result
= ((wxGenericDragImage
const *)arg1
)->GetImageRect((wxPoint
const &)*arg2
);
29806 wxPyEndAllowThreads(__tstate
);
29807 if (PyErr_Occurred()) SWIG_fail
;
29810 wxRect
* resultptr
;
29811 resultptr
= new wxRect((wxRect
&) result
);
29812 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
29820 static PyObject
*_wrap_DragImage_DoDrawImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29821 PyObject
*resultobj
;
29822 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29824 wxPoint
*arg3
= 0 ;
29827 PyObject
* obj0
= 0 ;
29828 PyObject
* obj1
= 0 ;
29829 PyObject
* obj2
= 0 ;
29830 char *kwnames
[] = {
29831 (char *) "self",(char *) "dc",(char *) "pos", NULL
29834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29835 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29836 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29837 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
29838 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29840 if (arg2
== NULL
) {
29841 PyErr_SetString(PyExc_TypeError
,"null reference");
29846 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29850 result
= (bool)((wxGenericDragImage
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint
const &)*arg3
);
29852 wxPyEndAllowThreads(__tstate
);
29853 if (PyErr_Occurred()) SWIG_fail
;
29856 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29864 static PyObject
*_wrap_DragImage_UpdateBackingFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29865 PyObject
*resultobj
;
29866 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29868 wxMemoryDC
*arg3
= 0 ;
29874 PyObject
* obj0
= 0 ;
29875 PyObject
* obj1
= 0 ;
29876 PyObject
* obj2
= 0 ;
29877 PyObject
* obj3
= 0 ;
29878 PyObject
* obj4
= 0 ;
29879 char *kwnames
[] = {
29880 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
29883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29884 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29886 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
29887 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29889 if (arg2
== NULL
) {
29890 PyErr_SetString(PyExc_TypeError
,"null reference");
29893 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMemoryDC
,
29894 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29896 if (arg3
== NULL
) {
29897 PyErr_SetString(PyExc_TypeError
,"null reference");
29902 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
29906 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
29909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29910 result
= (bool)((wxGenericDragImage
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect
const &)*arg4
,(wxRect
const &)*arg5
);
29912 wxPyEndAllowThreads(__tstate
);
29913 if (PyErr_Occurred()) SWIG_fail
;
29916 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29924 static PyObject
*_wrap_DragImage_RedrawImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29925 PyObject
*resultobj
;
29926 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29927 wxPoint
*arg2
= 0 ;
29928 wxPoint
*arg3
= 0 ;
29934 PyObject
* obj0
= 0 ;
29935 PyObject
* obj1
= 0 ;
29936 PyObject
* obj2
= 0 ;
29937 PyObject
* obj3
= 0 ;
29938 PyObject
* obj4
= 0 ;
29939 char *kwnames
[] = {
29940 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
29943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29948 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29952 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29954 arg4
= (bool) SWIG_AsBool(obj3
);
29955 if (PyErr_Occurred()) SWIG_fail
;
29956 arg5
= (bool) SWIG_AsBool(obj4
);
29957 if (PyErr_Occurred()) SWIG_fail
;
29959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29960 result
= (bool)(arg1
)->RedrawImage((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
29962 wxPyEndAllowThreads(__tstate
);
29963 if (PyErr_Occurred()) SWIG_fail
;
29966 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29974 static PyObject
* DragImage_swigregister(PyObject
*, PyObject
*args
) {
29976 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29977 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage
, obj
);
29979 return Py_BuildValue((char *)"");
29981 static PyMethodDef SwigMethods
[] = {
29982 { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29983 { (char *)"new_PreButton", (PyCFunction
) _wrap_new_PreButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29984 { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29985 { (char *)"Button_SetDefault", (PyCFunction
) _wrap_Button_SetDefault
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29986 { (char *)"Button_GetDefaultSize", (PyCFunction
) _wrap_Button_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29987 { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS
, NULL
},
29988 { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29989 { (char *)"new_PreBitmapButton", (PyCFunction
) _wrap_new_PreBitmapButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29990 { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29991 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_GetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29992 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_GetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29993 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_GetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29994 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_GetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29995 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29996 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29997 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29998 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29999 { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30000 { (char *)"BitmapButton_GetMarginX", (PyCFunction
) _wrap_BitmapButton_GetMarginX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30001 { (char *)"BitmapButton_GetMarginY", (PyCFunction
) _wrap_BitmapButton_GetMarginY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30002 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS
, NULL
},
30003 { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30004 { (char *)"new_PreCheckBox", (PyCFunction
) _wrap_new_PreCheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30005 { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30006 { (char *)"CheckBox_GetValue", (PyCFunction
) _wrap_CheckBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30007 { (char *)"CheckBox_IsChecked", (PyCFunction
) _wrap_CheckBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30008 { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30009 { (char *)"CheckBox_Get3StateValue", (PyCFunction
) _wrap_CheckBox_Get3StateValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30010 { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30011 { (char *)"CheckBox_Is3State", (PyCFunction
) _wrap_CheckBox_Is3State
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30012 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
) _wrap_CheckBox_Is3rdStateAllowedForUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30013 { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS
, NULL
},
30014 { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30015 { (char *)"new_PreChoice", (PyCFunction
) _wrap_new_PreChoice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30016 { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30017 { (char *)"Choice_SetSelection", (PyCFunction
) _wrap_Choice_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30018 { (char *)"Choice_SetStringSelection", (PyCFunction
) _wrap_Choice_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30019 { (char *)"Choice_SetString", (PyCFunction
) _wrap_Choice_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30020 { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS
, NULL
},
30021 { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30022 { (char *)"new_PreComboBox", (PyCFunction
) _wrap_new_PreComboBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30023 { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30024 { (char *)"ComboBox_GetValue", (PyCFunction
) _wrap_ComboBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30025 { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30026 { (char *)"ComboBox_Copy", (PyCFunction
) _wrap_ComboBox_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30027 { (char *)"ComboBox_Cut", (PyCFunction
) _wrap_ComboBox_Cut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30028 { (char *)"ComboBox_Paste", (PyCFunction
) _wrap_ComboBox_Paste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30029 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30030 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
) _wrap_ComboBox_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30031 { (char *)"ComboBox_GetLastPosition", (PyCFunction
) _wrap_ComboBox_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30032 { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30033 { (char *)"ComboBox_SetSelection", (PyCFunction
) _wrap_ComboBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30034 { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30035 { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30036 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
) _wrap_ComboBox_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30037 { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30038 { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS
, NULL
},
30039 { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30040 { (char *)"new_PreGauge", (PyCFunction
) _wrap_new_PreGauge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30041 { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30042 { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30043 { (char *)"Gauge_GetRange", (PyCFunction
) _wrap_Gauge_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30044 { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30045 { (char *)"Gauge_GetValue", (PyCFunction
) _wrap_Gauge_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30046 { (char *)"Gauge_IsVertical", (PyCFunction
) _wrap_Gauge_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30047 { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30048 { (char *)"Gauge_GetShadowWidth", (PyCFunction
) _wrap_Gauge_GetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30049 { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30050 { (char *)"Gauge_GetBezelFace", (PyCFunction
) _wrap_Gauge_GetBezelFace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30051 { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS
, NULL
},
30052 { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30053 { (char *)"new_PreStaticBox", (PyCFunction
) _wrap_new_PreStaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30054 { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30055 { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS
, NULL
},
30056 { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30057 { (char *)"new_PreStaticLine", (PyCFunction
) _wrap_new_PreStaticLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30058 { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30059 { (char *)"StaticLine_IsVertical", (PyCFunction
) _wrap_StaticLine_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30060 { (char *)"StaticLine_GetDefaultSize", (PyCFunction
) _wrap_StaticLine_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30061 { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS
, NULL
},
30062 { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30063 { (char *)"new_PreStaticText", (PyCFunction
) _wrap_new_PreStaticText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30064 { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30065 { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS
, NULL
},
30066 { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30067 { (char *)"new_PreStaticBitmap", (PyCFunction
) _wrap_new_PreStaticBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30068 { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30069 { (char *)"StaticBitmap_GetBitmap", (PyCFunction
) _wrap_StaticBitmap_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30070 { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30071 { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30072 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS
, NULL
},
30073 { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30074 { (char *)"new_PreListBox", (PyCFunction
) _wrap_new_PreListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30075 { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30076 { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30077 { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30078 { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30079 { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30080 { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30081 { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30082 { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30083 { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30084 { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30085 { (char *)"ListBox_GetSelections", (PyCFunction
) _wrap_ListBox_GetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30086 { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30087 { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30088 { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30089 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30090 { (char *)"ListBox_IsSorted", (PyCFunction
) _wrap_ListBox_IsSorted
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30091 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction
) _wrap_ListBox_SetItemForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30092 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction
) _wrap_ListBox_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30093 { (char *)"ListBox_SetItemFont", (PyCFunction
) _wrap_ListBox_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30094 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30095 { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS
, NULL
},
30096 { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30097 { (char *)"new_PreCheckListBox", (PyCFunction
) _wrap_new_PreCheckListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30098 { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30099 { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30100 { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30101 { (char *)"CheckListBox_HitTest", (PyCFunction
) _wrap_CheckListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30102 { (char *)"CheckListBox_HitTestXY", (PyCFunction
) _wrap_CheckListBox_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30103 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS
, NULL
},
30104 { (char *)"new_TextAttr", _wrap_new_TextAttr
, METH_VARARGS
, NULL
},
30105 { (char *)"delete_TextAttr", (PyCFunction
) _wrap_delete_TextAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30106 { (char *)"TextAttr_Init", (PyCFunction
) _wrap_TextAttr_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30107 { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30108 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30109 { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30110 { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30111 { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30112 { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30113 { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30114 { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30115 { (char *)"TextAttr_HasTextColour", (PyCFunction
) _wrap_TextAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30116 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
) _wrap_TextAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30117 { (char *)"TextAttr_HasFont", (PyCFunction
) _wrap_TextAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30118 { (char *)"TextAttr_HasAlignment", (PyCFunction
) _wrap_TextAttr_HasAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30119 { (char *)"TextAttr_HasTabs", (PyCFunction
) _wrap_TextAttr_HasTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30120 { (char *)"TextAttr_HasLeftIndent", (PyCFunction
) _wrap_TextAttr_HasLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30121 { (char *)"TextAttr_HasRightIndent", (PyCFunction
) _wrap_TextAttr_HasRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30122 { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30123 { (char *)"TextAttr_GetTextColour", (PyCFunction
) _wrap_TextAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30124 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
) _wrap_TextAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30125 { (char *)"TextAttr_GetFont", (PyCFunction
) _wrap_TextAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30126 { (char *)"TextAttr_GetAlignment", (PyCFunction
) _wrap_TextAttr_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30127 { (char *)"TextAttr_GetTabs", (PyCFunction
) _wrap_TextAttr_GetTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30128 { (char *)"TextAttr_GetLeftIndent", (PyCFunction
) _wrap_TextAttr_GetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30129 { (char *)"TextAttr_GetRightIndent", (PyCFunction
) _wrap_TextAttr_GetRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30130 { (char *)"TextAttr_GetFlags", (PyCFunction
) _wrap_TextAttr_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30131 { (char *)"TextAttr_IsDefault", (PyCFunction
) _wrap_TextAttr_IsDefault
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30132 { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30133 { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS
, NULL
},
30134 { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30135 { (char *)"new_PreTextCtrl", (PyCFunction
) _wrap_new_PreTextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30136 { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30137 { (char *)"TextCtrl_GetValue", (PyCFunction
) _wrap_TextCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30138 { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30139 { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30140 { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30141 { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30142 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
) _wrap_TextCtrl_GetNumberOfLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30143 { (char *)"TextCtrl_IsModified", (PyCFunction
) _wrap_TextCtrl_IsModified
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30144 { (char *)"TextCtrl_IsEditable", (PyCFunction
) _wrap_TextCtrl_IsEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30145 { (char *)"TextCtrl_IsSingleLine", (PyCFunction
) _wrap_TextCtrl_IsSingleLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30146 { (char *)"TextCtrl_IsMultiLine", (PyCFunction
) _wrap_TextCtrl_IsMultiLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30147 { (char *)"TextCtrl_GetSelection", (PyCFunction
) _wrap_TextCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30148 { (char *)"TextCtrl_GetStringSelection", (PyCFunction
) _wrap_TextCtrl_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30149 { (char *)"TextCtrl_Clear", (PyCFunction
) _wrap_TextCtrl_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30150 { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30151 { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30152 { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30153 { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30154 { (char *)"TextCtrl_MarkDirty", (PyCFunction
) _wrap_TextCtrl_MarkDirty
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30155 { (char *)"TextCtrl_DiscardEdits", (PyCFunction
) _wrap_TextCtrl_DiscardEdits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30156 { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30157 { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30158 { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30159 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30160 { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30161 { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30162 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30163 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_GetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30164 { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30165 { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30166 { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30167 { (char *)"TextCtrl_HitTest", (PyCFunction
) _wrap_TextCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30168 { (char *)"TextCtrl_Copy", (PyCFunction
) _wrap_TextCtrl_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30169 { (char *)"TextCtrl_Cut", (PyCFunction
) _wrap_TextCtrl_Cut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30170 { (char *)"TextCtrl_Paste", (PyCFunction
) _wrap_TextCtrl_Paste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30171 { (char *)"TextCtrl_CanCopy", (PyCFunction
) _wrap_TextCtrl_CanCopy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30172 { (char *)"TextCtrl_CanCut", (PyCFunction
) _wrap_TextCtrl_CanCut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30173 { (char *)"TextCtrl_CanPaste", (PyCFunction
) _wrap_TextCtrl_CanPaste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30174 { (char *)"TextCtrl_Undo", (PyCFunction
) _wrap_TextCtrl_Undo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30175 { (char *)"TextCtrl_Redo", (PyCFunction
) _wrap_TextCtrl_Redo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30176 { (char *)"TextCtrl_CanUndo", (PyCFunction
) _wrap_TextCtrl_CanUndo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30177 { (char *)"TextCtrl_CanRedo", (PyCFunction
) _wrap_TextCtrl_CanRedo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30178 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30179 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
) _wrap_TextCtrl_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30180 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30181 { (char *)"TextCtrl_GetLastPosition", (PyCFunction
) _wrap_TextCtrl_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30182 { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30183 { (char *)"TextCtrl_SelectAll", (PyCFunction
) _wrap_TextCtrl_SelectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30184 { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30185 { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30186 { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30187 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS
, NULL
},
30188 { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30189 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
) _wrap_TextUrlEvent_GetMouseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30190 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
) _wrap_TextUrlEvent_GetURLStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30191 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
) _wrap_TextUrlEvent_GetURLEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30192 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS
, NULL
},
30193 { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30194 { (char *)"new_PreScrollBar", (PyCFunction
) _wrap_new_PreScrollBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30195 { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30196 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
) _wrap_ScrollBar_GetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30197 { (char *)"ScrollBar_GetThumbSize", (PyCFunction
) _wrap_ScrollBar_GetThumbSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30198 { (char *)"ScrollBar_GetPageSize", (PyCFunction
) _wrap_ScrollBar_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30199 { (char *)"ScrollBar_GetRange", (PyCFunction
) _wrap_ScrollBar_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30200 { (char *)"ScrollBar_IsVertical", (PyCFunction
) _wrap_ScrollBar_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30201 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30202 { (char *)"ScrollBar_SetScrollbar", (PyCFunction
) _wrap_ScrollBar_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30203 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS
, NULL
},
30204 { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30205 { (char *)"new_PreSpinButton", (PyCFunction
) _wrap_new_PreSpinButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30206 { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30207 { (char *)"SpinButton_GetValue", (PyCFunction
) _wrap_SpinButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30208 { (char *)"SpinButton_GetMin", (PyCFunction
) _wrap_SpinButton_GetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30209 { (char *)"SpinButton_GetMax", (PyCFunction
) _wrap_SpinButton_GetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30210 { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30211 { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30212 { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30213 { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30214 { (char *)"SpinButton_IsVertical", (PyCFunction
) _wrap_SpinButton_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30215 { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS
, NULL
},
30216 { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30217 { (char *)"new_PreSpinCtrl", (PyCFunction
) _wrap_new_PreSpinCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30218 { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30219 { (char *)"SpinCtrl_GetValue", (PyCFunction
) _wrap_SpinCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30220 { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30221 { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30222 { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30223 { (char *)"SpinCtrl_GetMin", (PyCFunction
) _wrap_SpinCtrl_GetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30224 { (char *)"SpinCtrl_GetMax", (PyCFunction
) _wrap_SpinCtrl_GetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30225 { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30226 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS
, NULL
},
30227 { (char *)"new_SpinEvent", (PyCFunction
) _wrap_new_SpinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30228 { (char *)"SpinEvent_GetPosition", (PyCFunction
) _wrap_SpinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30229 { (char *)"SpinEvent_SetPosition", (PyCFunction
) _wrap_SpinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30230 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister
, METH_VARARGS
, NULL
},
30231 { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30232 { (char *)"new_PreRadioBox", (PyCFunction
) _wrap_new_PreRadioBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30233 { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30234 { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30235 { (char *)"RadioBox_GetSelection", (PyCFunction
) _wrap_RadioBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30236 { (char *)"RadioBox_GetStringSelection", (PyCFunction
) _wrap_RadioBox_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30237 { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30238 { (char *)"RadioBox_GetCount", (PyCFunction
) _wrap_RadioBox_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30239 { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30240 { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30241 { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30242 { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30243 { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30244 { (char *)"RadioBox_GetColumnCount", (PyCFunction
) _wrap_RadioBox_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30245 { (char *)"RadioBox_GetRowCount", (PyCFunction
) _wrap_RadioBox_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30246 { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30247 { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS
, NULL
},
30248 { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30249 { (char *)"new_PreRadioButton", (PyCFunction
) _wrap_new_PreRadioButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30250 { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30251 { (char *)"RadioButton_GetValue", (PyCFunction
) _wrap_RadioButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30252 { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30253 { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS
, NULL
},
30254 { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30255 { (char *)"new_PreSlider", (PyCFunction
) _wrap_new_PreSlider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30256 { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30257 { (char *)"Slider_GetValue", (PyCFunction
) _wrap_Slider_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30258 { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30259 { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30260 { (char *)"Slider_GetMin", (PyCFunction
) _wrap_Slider_GetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30261 { (char *)"Slider_GetMax", (PyCFunction
) _wrap_Slider_GetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30262 { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30263 { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30264 { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30265 { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30266 { (char *)"Slider_GetLineSize", (PyCFunction
) _wrap_Slider_GetLineSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30267 { (char *)"Slider_GetPageSize", (PyCFunction
) _wrap_Slider_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30268 { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30269 { (char *)"Slider_GetThumbLength", (PyCFunction
) _wrap_Slider_GetThumbLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30270 { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30271 { (char *)"Slider_GetTickFreq", (PyCFunction
) _wrap_Slider_GetTickFreq
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30272 { (char *)"Slider_ClearTicks", (PyCFunction
) _wrap_Slider_ClearTicks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30273 { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30274 { (char *)"Slider_ClearSel", (PyCFunction
) _wrap_Slider_ClearSel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30275 { (char *)"Slider_GetSelEnd", (PyCFunction
) _wrap_Slider_GetSelEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30276 { (char *)"Slider_GetSelStart", (PyCFunction
) _wrap_Slider_GetSelStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30277 { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30278 { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS
, NULL
},
30279 { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30280 { (char *)"new_PreToggleButton", (PyCFunction
) _wrap_new_PreToggleButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30281 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS
, NULL
},
30282 { (char *)"BookCtrl_GetPageCount", (PyCFunction
) _wrap_BookCtrl_GetPageCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30283 { (char *)"BookCtrl_GetPage", (PyCFunction
) _wrap_BookCtrl_GetPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30284 { (char *)"BookCtrl_GetSelection", (PyCFunction
) _wrap_BookCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30285 { (char *)"BookCtrl_SetPageText", (PyCFunction
) _wrap_BookCtrl_SetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30286 { (char *)"BookCtrl_GetPageText", (PyCFunction
) _wrap_BookCtrl_GetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30287 { (char *)"BookCtrl_SetImageList", (PyCFunction
) _wrap_BookCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30288 { (char *)"BookCtrl_AssignImageList", (PyCFunction
) _wrap_BookCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30289 { (char *)"BookCtrl_GetImageList", (PyCFunction
) _wrap_BookCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30290 { (char *)"BookCtrl_GetPageImage", (PyCFunction
) _wrap_BookCtrl_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30291 { (char *)"BookCtrl_SetPageImage", (PyCFunction
) _wrap_BookCtrl_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30292 { (char *)"BookCtrl_SetPageSize", (PyCFunction
) _wrap_BookCtrl_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30293 { (char *)"BookCtrl_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrl_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30294 { (char *)"BookCtrl_DeletePage", (PyCFunction
) _wrap_BookCtrl_DeletePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30295 { (char *)"BookCtrl_RemovePage", (PyCFunction
) _wrap_BookCtrl_RemovePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30296 { (char *)"BookCtrl_DeleteAllPages", (PyCFunction
) _wrap_BookCtrl_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30297 { (char *)"BookCtrl_AddPage", (PyCFunction
) _wrap_BookCtrl_AddPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30298 { (char *)"BookCtrl_InsertPage", (PyCFunction
) _wrap_BookCtrl_InsertPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30299 { (char *)"BookCtrl_SetSelection", (PyCFunction
) _wrap_BookCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30300 { (char *)"BookCtrl_AdvanceSelection", (PyCFunction
) _wrap_BookCtrl_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30301 { (char *)"BookCtrl_swigregister", BookCtrl_swigregister
, METH_VARARGS
, NULL
},
30302 { (char *)"new_BookCtrlEvent", (PyCFunction
) _wrap_new_BookCtrlEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30303 { (char *)"BookCtrlEvent_GetSelection", (PyCFunction
) _wrap_BookCtrlEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30304 { (char *)"BookCtrlEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30305 { (char *)"BookCtrlEvent_GetOldSelection", (PyCFunction
) _wrap_BookCtrlEvent_GetOldSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30306 { (char *)"BookCtrlEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30307 { (char *)"BookCtrlEvent_swigregister", BookCtrlEvent_swigregister
, METH_VARARGS
, NULL
},
30308 { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30309 { (char *)"new_PreNotebook", (PyCFunction
) _wrap_new_PreNotebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30310 { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30311 { (char *)"Notebook_GetRowCount", (PyCFunction
) _wrap_Notebook_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30312 { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30313 { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30314 { (char *)"Notebook_HitTest", (PyCFunction
) _wrap_Notebook_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30315 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction
) _wrap_Notebook_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30316 { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS
, NULL
},
30317 { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30318 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS
, NULL
},
30319 { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30320 { (char *)"new_PreListbook", (PyCFunction
) _wrap_new_PreListbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30321 { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30322 { (char *)"Listbook_IsVertical", (PyCFunction
) _wrap_Listbook_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30323 { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS
, NULL
},
30324 { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30325 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS
, NULL
},
30326 { (char *)"new_BookCtrlSizer", (PyCFunction
) _wrap_new_BookCtrlSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30327 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction
) _wrap_BookCtrlSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30328 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction
) _wrap_BookCtrlSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30329 { (char *)"BookCtrlSizer_GetControl", (PyCFunction
) _wrap_BookCtrlSizer_GetControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30330 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister
, METH_VARARGS
, NULL
},
30331 { (char *)"new_NotebookSizer", (PyCFunction
) _wrap_new_NotebookSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30332 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction
) _wrap_NotebookSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30333 { (char *)"NotebookSizer_CalcMin", (PyCFunction
) _wrap_NotebookSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30334 { (char *)"NotebookSizer_GetNotebook", (PyCFunction
) _wrap_NotebookSizer_GetNotebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30335 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister
, METH_VARARGS
, NULL
},
30336 { (char *)"ToolBarToolBase_GetId", (PyCFunction
) _wrap_ToolBarToolBase_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30337 { (char *)"ToolBarToolBase_GetControl", (PyCFunction
) _wrap_ToolBarToolBase_GetControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30338 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
) _wrap_ToolBarToolBase_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30339 { (char *)"ToolBarToolBase_IsButton", (PyCFunction
) _wrap_ToolBarToolBase_IsButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30340 { (char *)"ToolBarToolBase_IsControl", (PyCFunction
) _wrap_ToolBarToolBase_IsControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30341 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
) _wrap_ToolBarToolBase_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30342 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
) _wrap_ToolBarToolBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30343 { (char *)"ToolBarToolBase_GetKind", (PyCFunction
) _wrap_ToolBarToolBase_GetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30344 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
) _wrap_ToolBarToolBase_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30345 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
) _wrap_ToolBarToolBase_IsToggled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30346 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
) _wrap_ToolBarToolBase_CanBeToggled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30347 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30348 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30349 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30350 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
) _wrap_ToolBarToolBase_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30351 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30352 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30353 { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30354 { (char *)"ToolBarToolBase_Toggle", (PyCFunction
) _wrap_ToolBarToolBase_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30355 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30356 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30357 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30358 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30359 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30360 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30361 { (char *)"ToolBarToolBase_Detach", (PyCFunction
) _wrap_ToolBarToolBase_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30362 { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30363 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
) _wrap_ToolBarToolBase_GetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30364 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30365 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS
, NULL
},
30366 { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30367 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30368 { (char *)"ToolBarBase_AddToolItem", (PyCFunction
) _wrap_ToolBarBase_AddToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30369 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction
) _wrap_ToolBarBase_InsertToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30370 { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30371 { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30372 { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30373 { (char *)"ToolBarBase_AddSeparator", (PyCFunction
) _wrap_ToolBarBase_AddSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30374 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30375 { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30376 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30377 { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30378 { (char *)"ToolBarBase_ClearTools", (PyCFunction
) _wrap_ToolBarBase_ClearTools
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30379 { (char *)"ToolBarBase_Realize", (PyCFunction
) _wrap_ToolBarBase_Realize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30380 { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30381 { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30382 { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30383 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30384 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30385 { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30386 { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30387 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30388 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30389 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30390 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30391 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30392 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30393 { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30394 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30395 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30396 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
) _wrap_ToolBarBase_GetToolMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30397 { (char *)"ToolBarBase_GetMargins", (PyCFunction
) _wrap_ToolBarBase_GetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30398 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
) _wrap_ToolBarBase_GetToolPacking
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30399 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_GetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30400 { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30401 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30402 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
) _wrap_ToolBarBase_GetMaxRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30403 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
) _wrap_ToolBarBase_GetMaxCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30404 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30405 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_GetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30406 { (char *)"ToolBarBase_GetToolSize", (PyCFunction
) _wrap_ToolBarBase_GetToolSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30407 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30408 { (char *)"ToolBarBase_FindById", (PyCFunction
) _wrap_ToolBarBase_FindById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30409 { (char *)"ToolBarBase_IsVertical", (PyCFunction
) _wrap_ToolBarBase_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30410 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS
, NULL
},
30411 { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30412 { (char *)"new_PreToolBar", (PyCFunction
) _wrap_new_PreToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30413 { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30414 { (char *)"ToolBar_FindToolForPosition", (PyCFunction
) _wrap_ToolBar_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30415 { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS
, NULL
},
30416 { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30417 { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30418 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30419 { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30420 { (char *)"ListItemAttr_HasTextColour", (PyCFunction
) _wrap_ListItemAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30421 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30422 { (char *)"ListItemAttr_HasFont", (PyCFunction
) _wrap_ListItemAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30423 { (char *)"ListItemAttr_GetTextColour", (PyCFunction
) _wrap_ListItemAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30424 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30425 { (char *)"ListItemAttr_GetFont", (PyCFunction
) _wrap_ListItemAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30426 { (char *)"ListItemAttr_Destroy", (PyCFunction
) _wrap_ListItemAttr_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30427 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS
, NULL
},
30428 { (char *)"new_ListItem", (PyCFunction
) _wrap_new_ListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30429 { (char *)"delete_ListItem", (PyCFunction
) _wrap_delete_ListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30430 { (char *)"ListItem_Clear", (PyCFunction
) _wrap_ListItem_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30431 { (char *)"ListItem_ClearAttributes", (PyCFunction
) _wrap_ListItem_ClearAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30432 { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30433 { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30434 { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30435 { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30436 { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30437 { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30438 { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30439 { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30440 { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30441 { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30442 { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30443 { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30444 { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30445 { (char *)"ListItem_GetMask", (PyCFunction
) _wrap_ListItem_GetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30446 { (char *)"ListItem_GetId", (PyCFunction
) _wrap_ListItem_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30447 { (char *)"ListItem_GetColumn", (PyCFunction
) _wrap_ListItem_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30448 { (char *)"ListItem_GetState", (PyCFunction
) _wrap_ListItem_GetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30449 { (char *)"ListItem_GetText", (PyCFunction
) _wrap_ListItem_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30450 { (char *)"ListItem_GetImage", (PyCFunction
) _wrap_ListItem_GetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30451 { (char *)"ListItem_GetData", (PyCFunction
) _wrap_ListItem_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30452 { (char *)"ListItem_GetWidth", (PyCFunction
) _wrap_ListItem_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30453 { (char *)"ListItem_GetAlign", (PyCFunction
) _wrap_ListItem_GetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30454 { (char *)"ListItem_GetAttributes", (PyCFunction
) _wrap_ListItem_GetAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30455 { (char *)"ListItem_HasAttributes", (PyCFunction
) _wrap_ListItem_HasAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30456 { (char *)"ListItem_GetTextColour", (PyCFunction
) _wrap_ListItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30457 { (char *)"ListItem_GetBackgroundColour", (PyCFunction
) _wrap_ListItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30458 { (char *)"ListItem_GetFont", (PyCFunction
) _wrap_ListItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30459 { (char *)"ListItem_m_mask_set", (PyCFunction
) _wrap_ListItem_m_mask_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30460 { (char *)"ListItem_m_mask_get", (PyCFunction
) _wrap_ListItem_m_mask_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30461 { (char *)"ListItem_m_itemId_set", (PyCFunction
) _wrap_ListItem_m_itemId_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30462 { (char *)"ListItem_m_itemId_get", (PyCFunction
) _wrap_ListItem_m_itemId_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30463 { (char *)"ListItem_m_col_set", (PyCFunction
) _wrap_ListItem_m_col_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30464 { (char *)"ListItem_m_col_get", (PyCFunction
) _wrap_ListItem_m_col_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30465 { (char *)"ListItem_m_state_set", (PyCFunction
) _wrap_ListItem_m_state_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30466 { (char *)"ListItem_m_state_get", (PyCFunction
) _wrap_ListItem_m_state_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30467 { (char *)"ListItem_m_stateMask_set", (PyCFunction
) _wrap_ListItem_m_stateMask_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30468 { (char *)"ListItem_m_stateMask_get", (PyCFunction
) _wrap_ListItem_m_stateMask_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30469 { (char *)"ListItem_m_text_set", (PyCFunction
) _wrap_ListItem_m_text_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30470 { (char *)"ListItem_m_text_get", (PyCFunction
) _wrap_ListItem_m_text_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30471 { (char *)"ListItem_m_image_set", (PyCFunction
) _wrap_ListItem_m_image_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30472 { (char *)"ListItem_m_image_get", (PyCFunction
) _wrap_ListItem_m_image_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30473 { (char *)"ListItem_m_data_set", (PyCFunction
) _wrap_ListItem_m_data_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30474 { (char *)"ListItem_m_data_get", (PyCFunction
) _wrap_ListItem_m_data_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30475 { (char *)"ListItem_m_format_set", (PyCFunction
) _wrap_ListItem_m_format_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30476 { (char *)"ListItem_m_format_get", (PyCFunction
) _wrap_ListItem_m_format_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30477 { (char *)"ListItem_m_width_set", (PyCFunction
) _wrap_ListItem_m_width_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30478 { (char *)"ListItem_m_width_get", (PyCFunction
) _wrap_ListItem_m_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30479 { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS
, NULL
},
30480 { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30481 { (char *)"ListEvent_m_code_set", (PyCFunction
) _wrap_ListEvent_m_code_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30482 { (char *)"ListEvent_m_code_get", (PyCFunction
) _wrap_ListEvent_m_code_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30483 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30484 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30485 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction
) _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30486 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
) _wrap_ListEvent_m_itemIndex_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30487 { (char *)"ListEvent_m_col_set", (PyCFunction
) _wrap_ListEvent_m_col_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30488 { (char *)"ListEvent_m_col_get", (PyCFunction
) _wrap_ListEvent_m_col_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30489 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction
) _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30490 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
) _wrap_ListEvent_m_pointDrag_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30491 { (char *)"ListEvent_m_item_get", (PyCFunction
) _wrap_ListEvent_m_item_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30492 { (char *)"ListEvent_GetKeyCode", (PyCFunction
) _wrap_ListEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30493 { (char *)"ListEvent_GetIndex", (PyCFunction
) _wrap_ListEvent_GetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30494 { (char *)"ListEvent_GetColumn", (PyCFunction
) _wrap_ListEvent_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30495 { (char *)"ListEvent_GetPoint", (PyCFunction
) _wrap_ListEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30496 { (char *)"ListEvent_GetLabel", (PyCFunction
) _wrap_ListEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30497 { (char *)"ListEvent_GetText", (PyCFunction
) _wrap_ListEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30498 { (char *)"ListEvent_GetImage", (PyCFunction
) _wrap_ListEvent_GetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30499 { (char *)"ListEvent_GetData", (PyCFunction
) _wrap_ListEvent_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30500 { (char *)"ListEvent_GetMask", (PyCFunction
) _wrap_ListEvent_GetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30501 { (char *)"ListEvent_GetItem", (PyCFunction
) _wrap_ListEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30502 { (char *)"ListEvent_GetCacheFrom", (PyCFunction
) _wrap_ListEvent_GetCacheFrom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30503 { (char *)"ListEvent_GetCacheTo", (PyCFunction
) _wrap_ListEvent_GetCacheTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30504 { (char *)"ListEvent_IsEditCancelled", (PyCFunction
) _wrap_ListEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30505 { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30506 { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS
, NULL
},
30507 { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30508 { (char *)"new_PreListCtrl", (PyCFunction
) _wrap_new_PreListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30509 { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30510 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30511 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction
) _wrap_ListCtrl_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30512 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30513 { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30514 { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30515 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30516 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30517 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
) _wrap_ListCtrl_GetCountPerPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30518 { (char *)"ListCtrl_GetViewRect", (PyCFunction
) _wrap_ListCtrl_GetViewRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30519 { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30520 { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30521 { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30522 { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30523 { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30524 { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30525 { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30526 { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30527 { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30528 { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30529 { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30530 { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30531 { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30532 { (char *)"ListCtrl_GetItemCount", (PyCFunction
) _wrap_ListCtrl_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30533 { (char *)"ListCtrl_GetColumnCount", (PyCFunction
) _wrap_ListCtrl_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30534 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
) _wrap_ListCtrl_GetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30535 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction
) _wrap_ListCtrl_SetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30536 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
) _wrap_ListCtrl_GetSelectedItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30537 { (char *)"ListCtrl_GetTextColour", (PyCFunction
) _wrap_ListCtrl_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30538 { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30539 { (char *)"ListCtrl_GetTopItem", (PyCFunction
) _wrap_ListCtrl_GetTopItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30540 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30541 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction
) _wrap_ListCtrl_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30542 { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30543 { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30544 { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30545 { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30546 { (char *)"ListCtrl_InReportView", (PyCFunction
) _wrap_ListCtrl_InReportView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30547 { (char *)"ListCtrl_IsVirtual", (PyCFunction
) _wrap_ListCtrl_IsVirtual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30548 { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30549 { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30550 { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30551 { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30552 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
) _wrap_ListCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30553 { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30554 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
) _wrap_ListCtrl_DeleteAllColumns
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30555 { (char *)"ListCtrl_ClearAll", (PyCFunction
) _wrap_ListCtrl_ClearAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30556 { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30557 { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30558 { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30559 { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30560 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30561 { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30562 { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30563 { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30564 { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30565 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30566 { (char *)"ListCtrl_InsertColumnInfo", (PyCFunction
) _wrap_ListCtrl_InsertColumnInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30567 { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30568 { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30569 { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30570 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30571 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30572 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30573 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30574 { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30575 { (char *)"ListCtrl_GetMainWindow", (PyCFunction
) _wrap_ListCtrl_GetMainWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30576 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30577 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS
, NULL
},
30578 { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30579 { (char *)"new_PreListView", (PyCFunction
) _wrap_new_PreListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30580 { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30581 { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30582 { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30583 { (char *)"ListView_GetFocusedItem", (PyCFunction
) _wrap_ListView_GetFocusedItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30584 { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30585 { (char *)"ListView_GetFirstSelected", (PyCFunction
) _wrap_ListView_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30586 { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30587 { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30588 { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30589 { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS
, NULL
},
30590 { (char *)"new_TreeItemId", (PyCFunction
) _wrap_new_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30591 { (char *)"delete_TreeItemId", (PyCFunction
) _wrap_delete_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30592 { (char *)"TreeItemId_IsOk", (PyCFunction
) _wrap_TreeItemId_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30593 { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30594 { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30595 { (char *)"TreeItemId_m_pItem_set", (PyCFunction
) _wrap_TreeItemId_m_pItem_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30596 { (char *)"TreeItemId_m_pItem_get", (PyCFunction
) _wrap_TreeItemId_m_pItem_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30597 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS
, NULL
},
30598 { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30599 { (char *)"TreeItemData_GetData", (PyCFunction
) _wrap_TreeItemData_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30600 { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30601 { (char *)"TreeItemData_GetId", (PyCFunction
) _wrap_TreeItemData_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30602 { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30603 { (char *)"TreeItemData_Destroy", (PyCFunction
) _wrap_TreeItemData_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30604 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS
, NULL
},
30605 { (char *)"new_TreeEvent", (PyCFunction
) _wrap_new_TreeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30606 { (char *)"TreeEvent_GetItem", (PyCFunction
) _wrap_TreeEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30607 { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30608 { (char *)"TreeEvent_GetOldItem", (PyCFunction
) _wrap_TreeEvent_GetOldItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30609 { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30610 { (char *)"TreeEvent_GetPoint", (PyCFunction
) _wrap_TreeEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30611 { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30612 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
) _wrap_TreeEvent_GetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30613 { (char *)"TreeEvent_GetKeyCode", (PyCFunction
) _wrap_TreeEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30614 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30615 { (char *)"TreeEvent_GetLabel", (PyCFunction
) _wrap_TreeEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30616 { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30617 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
) _wrap_TreeEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30618 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30619 { (char *)"TreeEvent_SetToolTip", (PyCFunction
) _wrap_TreeEvent_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30620 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS
, NULL
},
30621 { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30622 { (char *)"new_PreTreeCtrl", (PyCFunction
) _wrap_new_PreTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30623 { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30624 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30625 { (char *)"TreeCtrl_GetCount", (PyCFunction
) _wrap_TreeCtrl_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30626 { (char *)"TreeCtrl_GetIndent", (PyCFunction
) _wrap_TreeCtrl_GetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30627 { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30628 { (char *)"TreeCtrl_GetSpacing", (PyCFunction
) _wrap_TreeCtrl_GetSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30629 { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30630 { (char *)"TreeCtrl_GetImageList", (PyCFunction
) _wrap_TreeCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30631 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
) _wrap_TreeCtrl_GetStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30632 { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30633 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30634 { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30635 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30636 { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30637 { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30638 { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30639 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30640 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30641 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30642 { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30643 { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30644 { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30645 { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30646 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30647 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30648 { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30649 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30650 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30651 { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30652 { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30653 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30654 { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30655 { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30656 { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30657 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30658 { (char *)"TreeCtrl_GetRootItem", (PyCFunction
) _wrap_TreeCtrl_GetRootItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30659 { (char *)"TreeCtrl_GetSelection", (PyCFunction
) _wrap_TreeCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30660 { (char *)"TreeCtrl_GetSelections", (PyCFunction
) _wrap_TreeCtrl_GetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30661 { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30662 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30663 { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30664 { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30665 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30666 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30667 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
) _wrap_TreeCtrl_GetFirstVisibleItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30668 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30669 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30670 { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30671 { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30672 { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30673 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30674 { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30675 { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30676 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30677 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
) _wrap_TreeCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30678 { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30679 { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30680 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30681 { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30682 { (char *)"TreeCtrl_Unselect", (PyCFunction
) _wrap_TreeCtrl_Unselect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30683 { (char *)"TreeCtrl_UnselectItem", (PyCFunction
) _wrap_TreeCtrl_UnselectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30684 { (char *)"TreeCtrl_UnselectAll", (PyCFunction
) _wrap_TreeCtrl_UnselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30685 { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30686 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction
) _wrap_TreeCtrl_ToggleItemSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30687 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30688 { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30689 { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30690 { (char *)"TreeCtrl_GetEditControl", (PyCFunction
) _wrap_TreeCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30691 { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30692 { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30693 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30694 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TreeCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30695 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS
, NULL
},
30696 { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30697 { (char *)"new_PreGenericDirCtrl", (PyCFunction
) _wrap_new_PreGenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30698 { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30699 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30700 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_GetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30701 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30702 { (char *)"GenericDirCtrl_GetPath", (PyCFunction
) _wrap_GenericDirCtrl_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30703 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
) _wrap_GenericDirCtrl_GetFilePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30704 { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30705 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30706 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_GetShowHidden
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30707 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
) _wrap_GenericDirCtrl_GetFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30708 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30709 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30710 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30711 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
) _wrap_GenericDirCtrl_GetRootId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30712 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30713 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30714 { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30715 { (char *)"GenericDirCtrl_DoResize", (PyCFunction
) _wrap_GenericDirCtrl_DoResize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30716 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
) _wrap_GenericDirCtrl_ReCreateTree
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30717 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS
, NULL
},
30718 { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30719 { (char *)"new_PreDirFilterListCtrl", (PyCFunction
) _wrap_new_PreDirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30720 { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30721 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30722 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS
, NULL
},
30723 { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30724 { (char *)"new_PrePyControl", (PyCFunction
) _wrap_new_PrePyControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30725 { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30726 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction
) _wrap_PyControl_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30727 { (char *)"PyControl_base_DoSetSize", (PyCFunction
) _wrap_PyControl_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30728 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction
) _wrap_PyControl_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30729 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30730 { (char *)"PyControl_base_DoGetSize", (PyCFunction
) _wrap_PyControl_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30731 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction
) _wrap_PyControl_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30732 { (char *)"PyControl_base_DoGetPosition", (PyCFunction
) _wrap_PyControl_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30733 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30734 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction
) _wrap_PyControl_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30735 { (char *)"PyControl_base_InitDialog", (PyCFunction
) _wrap_PyControl_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30736 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30737 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30738 { (char *)"PyControl_base_Validate", (PyCFunction
) _wrap_PyControl_base_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30739 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction
) _wrap_PyControl_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30740 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyControl_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30741 { (char *)"PyControl_base_GetMaxSize", (PyCFunction
) _wrap_PyControl_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30742 { (char *)"PyControl_base_AddChild", (PyCFunction
) _wrap_PyControl_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30743 { (char *)"PyControl_base_RemoveChild", (PyCFunction
) _wrap_PyControl_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30744 { (char *)"PyControl_base_ShouldInheritColours", (PyCFunction
) _wrap_PyControl_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30745 { (char *)"PyControl_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyControl_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30746 { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS
, NULL
},
30747 { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30748 { (char *)"HelpEvent_GetPosition", (PyCFunction
) _wrap_HelpEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30749 { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30750 { (char *)"HelpEvent_GetLink", (PyCFunction
) _wrap_HelpEvent_GetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30751 { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30752 { (char *)"HelpEvent_GetTarget", (PyCFunction
) _wrap_HelpEvent_GetTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30753 { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30754 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS
, NULL
},
30755 { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30756 { (char *)"delete_ContextHelp", (PyCFunction
) _wrap_delete_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30757 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30758 { (char *)"ContextHelp_EndContextHelp", (PyCFunction
) _wrap_ContextHelp_EndContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30759 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS
, NULL
},
30760 { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30761 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS
, NULL
},
30762 { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30763 { (char *)"HelpProvider_Get", (PyCFunction
) _wrap_HelpProvider_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30764 { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30765 { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30766 { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30767 { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30768 { (char *)"HelpProvider_RemoveHelp", (PyCFunction
) _wrap_HelpProvider_RemoveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30769 { (char *)"HelpProvider_Destroy", (PyCFunction
) _wrap_HelpProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30770 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS
, NULL
},
30771 { (char *)"new_SimpleHelpProvider", (PyCFunction
) _wrap_new_SimpleHelpProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30772 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS
, NULL
},
30773 { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30774 { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30775 { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30776 { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30777 { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30778 { (char *)"delete_DragImage", (PyCFunction
) _wrap_delete_DragImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30779 { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30780 { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30781 { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30782 { (char *)"DragImage_EndDrag", (PyCFunction
) _wrap_DragImage_EndDrag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30783 { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30784 { (char *)"DragImage_Show", (PyCFunction
) _wrap_DragImage_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30785 { (char *)"DragImage_Hide", (PyCFunction
) _wrap_DragImage_Hide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30786 { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30787 { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30788 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30789 { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30790 { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS
, NULL
},
30791 { NULL
, NULL
, 0, NULL
}
30795 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
30797 static void *_p_wxNotebookEventTo_p_wxBookCtrlEvent(void *x
) {
30798 return (void *)((wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
30800 static void *_p_wxListbookEventTo_p_wxBookCtrlEvent(void *x
) {
30801 return (void *)((wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
30803 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
30804 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
30806 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
30807 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
30809 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
30810 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
30812 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
30813 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
30815 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
30816 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
30818 static void *_p_wxNotebookSizerTo_p_wxSizer(void *x
) {
30819 return (void *)((wxSizer
*) ((wxNotebookSizer
*) x
));
30821 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
30822 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
30824 static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x
) {
30825 return (void *)((wxSizer
*) ((wxBookCtrlSizer
*) x
));
30827 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
30828 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
30830 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
30831 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
30833 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
30834 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
30836 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
30837 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
30839 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
30840 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
30842 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
30843 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
30845 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
30846 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
30848 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
30849 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
30851 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
30852 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
30854 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
30855 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
30857 static void *_p_wxBookCtrlEventTo_p_wxEvent(void *x
) {
30858 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
30860 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
30861 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
30863 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
30864 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
30866 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
30867 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
30869 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
30870 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
30872 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
30873 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
30875 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
30876 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
30878 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
30879 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
30881 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
30882 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
30884 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
30885 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
30887 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
30888 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
30890 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
30891 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
30893 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
30894 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
30896 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
30897 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
30899 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
30900 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
30902 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
30903 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
30905 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
30906 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
30908 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
30909 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
30911 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
30912 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
30914 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
30915 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
30917 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
30918 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
30920 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
30921 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
30923 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
30924 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
30926 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
30927 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
30929 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
30930 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
30932 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
30933 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
30935 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
30936 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
30938 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
30939 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
30941 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
30942 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
30944 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
30945 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
30947 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
30948 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
30950 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
30951 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
30953 static void *_p_wxSpinEventTo_p_wxEvent(void *x
) {
30954 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
30956 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) {
30957 return (void *)((wxItemContainer
*) ((wxComboBox
*) x
));
30959 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) {
30960 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
30962 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) {
30963 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxChoice
*) x
));
30965 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
30966 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
30968 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) {
30969 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxListBox
*) x
));
30971 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) {
30972 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
30974 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
30975 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
30977 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
30978 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
30980 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
30981 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
30983 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
30984 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
30986 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
30987 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
30989 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
30990 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
30992 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
30993 return (void *)((wxControl
*) ((wxComboBox
*) x
));
30995 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
30996 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
30998 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
30999 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
31001 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
31002 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
31004 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
31005 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
31007 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
31008 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
31010 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
31011 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
31013 static void *_p_wxBookCtrlTo_p_wxControl(void *x
) {
31014 return (void *)((wxControl
*) ((wxBookCtrl
*) x
));
31016 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
31017 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
31019 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
31020 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
31022 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
31023 return (void *)((wxControl
*) ((wxGauge
*) x
));
31025 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
31026 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
31028 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
31029 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
31031 static void *_p_wxButtonTo_p_wxControl(void *x
) {
31032 return (void *)((wxControl
*) ((wxButton
*) x
));
31034 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
31035 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
31037 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
31038 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
31040 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
31041 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
31043 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
31044 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
31046 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
31047 return (void *)((wxControl
*) (wxBookCtrl
*) ((wxNotebook
*) x
));
31049 static void *_p_wxListbookTo_p_wxControl(void *x
) {
31050 return (void *)((wxControl
*) (wxBookCtrl
*) ((wxListbook
*) x
));
31052 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
31053 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
31055 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
31056 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
31058 static void *_p_wxListViewTo_p_wxControl(void *x
) {
31059 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
31061 static void *_p_wxSliderTo_p_wxControl(void *x
) {
31062 return (void *)((wxControl
*) ((wxSlider
*) x
));
31064 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
31065 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
31067 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
31068 return (void *)((wxControl
*) ((wxPyControl
*) x
));
31070 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
31071 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
31073 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
31074 return (void *)((wxControl
*) ((wxStaticText
*) x
));
31076 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) {
31077 return (void *)((wxToolBarBase
*) ((wxToolBar
*) x
));
31079 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) {
31080 return (void *)((wxChoice
*) ((wxDirFilterListCtrl
*) x
));
31082 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) {
31083 return (void *)((wxNotifyEvent
*) ((wxTreeEvent
*) x
));
31085 static void *_p_wxBookCtrlEventTo_p_wxNotifyEvent(void *x
) {
31086 return (void *)((wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
31088 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) {
31089 return (void *)((wxNotifyEvent
*) ((wxListEvent
*) x
));
31091 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x
) {
31092 return (void *)((wxNotifyEvent
*) ((wxSpinEvent
*) x
));
31094 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) {
31095 return (void *)((wxNotifyEvent
*) (wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
31097 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) {
31098 return (void *)((wxNotifyEvent
*) (wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
31100 static void *_p_wxBookCtrlTo_p_wxEvtHandler(void *x
) {
31101 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrl
*) x
));
31103 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
31104 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
31106 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
31107 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
31109 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
31110 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
31112 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
31113 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
31115 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
31116 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
31118 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
31119 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
31121 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
31122 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
31124 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
31125 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
31127 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
31128 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
31130 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
31131 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
31133 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
31134 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
31136 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
31137 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
31139 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
31140 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
31142 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
31143 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
31145 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
31146 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
31148 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
31149 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
31151 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
31152 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
31154 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
31155 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
31157 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
31158 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
31160 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
31161 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
31163 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
31164 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
31166 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
31167 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
31169 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
31170 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
31172 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
31173 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
31175 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
31176 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
31178 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
31179 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
31181 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
31182 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
31184 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
31185 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
31187 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
31188 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
31190 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
31191 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
31193 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
31194 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
31196 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
31197 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
31199 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
31200 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
31202 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
31203 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
31205 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
31206 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
31208 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
31209 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
31211 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
31212 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
31214 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
31215 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
31217 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
31218 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
31220 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) {
31221 return (void *)((wxListBox
*) ((wxCheckListBox
*) x
));
31223 static void *_p_wxListbookTo_p_wxBookCtrl(void *x
) {
31224 return (void *)((wxBookCtrl
*) ((wxListbook
*) x
));
31226 static void *_p_wxNotebookTo_p_wxBookCtrl(void *x
) {
31227 return (void *)((wxBookCtrl
*) ((wxNotebook
*) x
));
31229 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) {
31230 return (void *)((wxButton
*) ((wxBitmapButton
*) x
));
31232 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) {
31233 return (void *)((wxButton
*) (wxBitmapButton
*) ((wxContextHelpButton
*) x
));
31235 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) {
31236 return (void *)((wxBitmapButton
*) ((wxContextHelpButton
*) x
));
31238 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) {
31239 return (void *)((wxHelpProvider
*) ((wxSimpleHelpProvider
*) x
));
31241 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
31242 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
31244 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
31245 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
31247 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
31248 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
31250 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
31251 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
31253 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
31254 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
31256 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
31257 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
31259 static void *_p_wxBookCtrlEventTo_p_wxObject(void *x
) {
31260 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
31262 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
31263 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
31265 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
31266 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
31268 static void *_p_wxSizerTo_p_wxObject(void *x
) {
31269 return (void *)((wxObject
*) ((wxSizer
*) x
));
31271 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
31272 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
31274 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
31275 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
31277 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
31278 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
31280 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
31281 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
31283 static void *_p_wxEventTo_p_wxObject(void *x
) {
31284 return (void *)((wxObject
*) ((wxEvent
*) x
));
31286 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
31287 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
31289 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
31290 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
31292 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
31293 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
31295 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
31296 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
31298 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
31299 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
31301 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
31302 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
31304 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
31305 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
31307 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
31308 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
31310 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
31311 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
31313 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
31314 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
31316 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
31317 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
31319 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
31320 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
31322 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
31323 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
31325 static void *_p_wxControlTo_p_wxObject(void *x
) {
31326 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
31328 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
31329 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
31331 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
31332 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
31334 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
31335 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
31337 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
31338 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
31340 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
31341 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
31343 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
31344 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
31346 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
31347 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
31349 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
31350 return (void *)((wxObject
*) ((wxFSFile
*) x
));
31352 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
31353 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
31355 static void *_p_wxListViewTo_p_wxObject(void *x
) {
31356 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
31358 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
31359 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
31361 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
31362 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
31364 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
31365 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
31367 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
31368 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
31370 static void *_p_wxListbookTo_p_wxObject(void *x
) {
31371 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
31373 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
31374 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
31376 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
31377 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
31379 static void *_p_wxSliderTo_p_wxObject(void *x
) {
31380 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
31382 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
31383 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
31385 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
31386 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
31388 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
31389 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
31391 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
31392 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
31394 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
31395 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
31397 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
31398 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
31400 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
31401 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
31403 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
31404 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
31406 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
31407 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
31409 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
31410 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
31412 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
31413 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
31415 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
31416 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
31418 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
31419 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
31421 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
31422 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
31424 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
31425 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
31427 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
31428 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
31430 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
31431 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
31433 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
31434 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
31436 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
31437 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
31439 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
31440 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
31442 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
31443 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
31445 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
31446 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
31448 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
31449 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
31451 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
31452 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
31454 static void *_p_wxListEventTo_p_wxObject(void *x
) {
31455 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
31457 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
31458 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
31460 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
31461 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
31463 static void *_p_wxBookCtrlTo_p_wxObject(void *x
) {
31464 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrl
*) x
));
31466 static void *_p_wxButtonTo_p_wxObject(void *x
) {
31467 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
31469 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
31470 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
31472 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
31473 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
31475 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
31476 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
31478 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
31479 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
31481 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
31482 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
31484 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
31485 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
31487 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
31488 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
31490 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
31491 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
31493 static void *_p_wxListItemTo_p_wxObject(void *x
) {
31494 return (void *)((wxObject
*) ((wxListItem
*) x
));
31496 static void *_p_wxImageTo_p_wxObject(void *x
) {
31497 return (void *)((wxObject
*) ((wxImage
*) x
));
31499 static void *_p_wxNotebookSizerTo_p_wxObject(void *x
) {
31500 return (void *)((wxObject
*) (wxSizer
*) ((wxNotebookSizer
*) x
));
31502 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
31503 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
31505 static void *_p_wxSpinEventTo_p_wxObject(void *x
) {
31506 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
31508 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
31509 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
31511 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
31512 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
31514 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
31515 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
31517 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
31518 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
31520 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
31521 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
31523 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
31524 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
31526 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
31527 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
31529 static void *_p_wxWindowTo_p_wxObject(void *x
) {
31530 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
31532 static void *_p_wxMenuTo_p_wxObject(void *x
) {
31533 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
31535 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
31536 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
31538 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
31539 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
31541 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
31542 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
31544 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
31545 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
31547 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
31548 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
31550 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
31551 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
31553 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
31554 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
31556 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
31557 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
31559 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
31560 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
31562 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
31563 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
31565 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
31566 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
31568 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
31569 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
31571 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
31572 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
31574 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
31575 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
31577 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
31578 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
31580 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
31581 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
31583 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
31584 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
31586 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
31587 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
31589 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
31590 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
31592 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
31593 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
31595 static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x
) {
31596 return (void *)((wxObject
*) (wxSizer
*) ((wxBookCtrlSizer
*) x
));
31598 static void *_p_wxBookCtrlTo_p_wxWindow(void *x
) {
31599 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrl
*) x
));
31601 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
31602 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
31604 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
31605 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
31607 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
31608 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
31610 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
31611 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
31613 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
31614 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
31616 static void *_p_wxControlTo_p_wxWindow(void *x
) {
31617 return (void *)((wxWindow
*) ((wxControl
*) x
));
31619 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
31620 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
31622 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
31623 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
31625 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
31626 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
31628 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
31629 return (void *)((wxWindow
*) (wxControl
*) ((wxComboBox
*) x
));
31631 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
31632 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
31634 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
31635 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
31637 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
31638 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
31640 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
31641 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
31643 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
31644 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
31646 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
31647 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
31649 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
31650 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
31652 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
31653 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
31655 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
31656 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
31658 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
31659 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
31661 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
31662 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
31664 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
31665 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
31667 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
31668 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
31670 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
31671 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
31673 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
31674 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
31676 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
31677 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
31679 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
31680 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
31682 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
31683 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
31685 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
31686 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
31688 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
31689 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
31691 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
31692 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
31694 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
31695 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
31697 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
31698 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
31700 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
31701 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
31703 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
31704 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
31706 static void *_p_wxBookCtrlEventTo_p_wxCommandEvent(void *x
) {
31707 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
31709 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
31710 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
31712 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
31713 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
31715 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
31716 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
31718 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
31719 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
31721 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
31722 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
31724 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
31725 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
31727 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
31728 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
31730 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
31731 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
31733 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
31734 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
31736 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
31737 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
31739 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x
) {
31740 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSpinEvent
*) x
));
31742 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
31743 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
31745 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
31746 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
31748 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
31749 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
31751 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) {
31752 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxDirFilterListCtrl
*) x
));
31754 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) {
31755 return (void *)((wxControlWithItems
*) ((wxChoice
*) x
));
31757 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) {
31758 return (void *)((wxControlWithItems
*) ((wxListBox
*) x
));
31760 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) {
31761 return (void *)((wxControlWithItems
*) (wxListBox
*) ((wxCheckListBox
*) x
));
31763 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
31764 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
31766 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}};
31767 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}};
31768 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}};
31769 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}};
31770 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}};
31771 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}};
31772 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}};
31773 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}};
31774 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}};
31775 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}};
31776 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}};
31777 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}};
31778 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}};
31779 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}};
31780 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}};
31781 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}};
31782 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}};
31783 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}};
31784 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}};
31785 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}};
31786 static swig_type_info _swigt__p_wxChoice
[] = {{"_p_wxChoice", 0, "wxChoice *", 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxChoice
, 0, 0, 0, 0, 0},{"_p_wxChoice", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31787 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}};
31788 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}};
31789 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}};
31790 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}};
31791 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}};
31792 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}};
31793 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}};
31794 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}};
31795 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}};
31796 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}};
31797 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}};
31798 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}};
31799 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}};
31800 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}};
31801 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}};
31802 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}};
31803 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}};
31804 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}};
31805 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}};
31806 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}};
31807 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}};
31808 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}};
31809 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}};
31810 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}};
31811 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}};
31812 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}};
31813 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}};
31814 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}};
31815 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}};
31816 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}};
31817 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}};
31818 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}};
31819 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}};
31820 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}};
31821 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}};
31822 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}};
31823 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}};
31824 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}};
31825 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}};
31826 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}};
31827 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}};
31828 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}};
31829 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}};
31830 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}};
31831 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}};
31832 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}};
31833 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}};
31834 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}};
31835 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}};
31836 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}};
31837 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}};
31838 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}};
31839 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}};
31840 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}};
31841 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}};
31842 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}};
31843 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}};
31844 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}};
31845 static swig_type_info _swigt__p_wxControlWithItems
[] = {{"_p_wxControlWithItems", 0, "wxControlWithItems *", 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxControlWithItems
, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxControlWithItems
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", 0, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxControlWithItems
, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxControlWithItems
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31846 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}};
31847 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}};
31848 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}};
31849 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}};
31850 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}};
31852 static swig_type_info
*swig_types_initial
[] = {
31853 _swigt__p_wxTextUrlEvent
,
31854 _swigt__p_wxBookCtrlEvent
,
31856 _swigt__p_wxCheckBox
,
31857 _swigt__p_wxPyTreeCtrl
,
31859 _swigt__p_wxGenericDirCtrl
,
31861 _swigt__p_wxPyTreeItemData
,
31862 _swigt__p_wxItemContainer
,
31863 _swigt__p_wxPyListCtrl
,
31864 _swigt__p_wxDirFilterListCtrl
,
31865 _swigt__p_wxStaticLine
,
31866 _swigt__p_wxControl
,
31867 _swigt__p_wxPyControl
,
31869 _swigt__p_wxToolBarBase
,
31871 _swigt__p_wxToggleButton
,
31872 _swigt__p_wxRadioButton
,
31873 _swigt__p_wxChoice
,
31874 _swigt__p_wxMemoryDC
,
31875 _swigt__p_wxListItemAttr
,
31880 _swigt__p_wxListView
,
31882 _swigt__p_wxVisualAttributes
,
31883 _swigt__p_wxTextCtrl
,
31884 _swigt__p_wxNotebook
,
31885 _swigt__p_wxNotifyEvent
,
31886 _swigt__p_wxArrayString
,
31887 _swigt__p_wxListbook
,
31888 _swigt__p_wxStaticBitmap
,
31889 _swigt__p_wxSlider
,
31890 _swigt__p_wxStaticBox
,
31891 _swigt__p_wxArrayInt
,
31892 _swigt__p_wxContextHelp
,
31894 _swigt__p_wxEvtHandler
,
31895 _swigt__p_wxListEvent
,
31896 _swigt__p_wxCheckListBox
,
31897 _swigt__p_wxListBox
,
31898 _swigt__p_wxBookCtrl
,
31899 _swigt__p_wxSpinButton
,
31900 _swigt__p_wxButton
,
31901 _swigt__p_wxBitmapButton
,
31903 _swigt__p_wxContextHelpButton
,
31904 _swigt__p_wxRadioBox
,
31905 _swigt__p_wxScrollBar
,
31907 _swigt__p_wxTreeItemId
,
31908 _swigt__p_wxComboBox
,
31909 _swigt__p_wxHelpEvent
,
31910 _swigt__p_wxListItem
,
31911 _swigt__p_wxNotebookSizer
,
31912 _swigt__p_wxSpinEvent
,
31913 _swigt__p_wxGenericDragImage
,
31914 _swigt__p_wxSpinCtrl
,
31915 _swigt__p_wxImageList
,
31916 _swigt__p_wxHelpProvider
,
31917 _swigt__p_wxTextAttr
,
31918 _swigt__p_wxSimpleHelpProvider
,
31920 _swigt__p_wxListbookEvent
,
31921 _swigt__p_wxNotebookEvent
,
31922 _swigt__p_wxObject
,
31923 _swigt__p_wxCursor
,
31924 _swigt__p_wxKeyEvent
,
31925 _swigt__p_wxWindow
,
31926 _swigt__p_wxString
,
31927 _swigt__p_wxBitmap
,
31928 _swigt__p_wxTreeEvent
,
31929 _swigt__p_wxMouseEvent
,
31930 _swigt__p_wxCommandEvent
,
31931 _swigt__p_wxStaticText
,
31932 _swigt__p_wxControlWithItems
,
31933 _swigt__p_wxToolBarToolBase
,
31934 _swigt__p_wxColour
,
31935 _swigt__p_wxToolBar
,
31936 _swigt__p_wxBookCtrlSizer
,
31937 _swigt__p_wxValidator
,
31942 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
31944 static swig_const_info swig_const_table
[] = {
31945 {0, 0, 0, 0.0, 0, 0}};
31954 SWIGEXPORT(void) SWIG_init(void) {
31955 static PyObject
*SWIG_globals
= 0;
31956 static int typeinit
= 0;
31959 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
31960 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
31961 d
= PyModule_GetDict(m
);
31964 for (i
= 0; swig_types_initial
[i
]; i
++) {
31965 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
31969 SWIG_InstallConstants(d
,swig_const_table
);
31971 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
31972 SWIG_addvarlink(SWIG_globals
,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get
, _wrap_ButtonNameStr_set
);
31973 PyDict_SetItemString(d
,"BU_LEFT", SWIG_FromInt((int)wxBU_LEFT
));
31974 PyDict_SetItemString(d
,"BU_TOP", SWIG_FromInt((int)wxBU_TOP
));
31975 PyDict_SetItemString(d
,"BU_RIGHT", SWIG_FromInt((int)wxBU_RIGHT
));
31976 PyDict_SetItemString(d
,"BU_BOTTOM", SWIG_FromInt((int)wxBU_BOTTOM
));
31977 PyDict_SetItemString(d
,"BU_EXACTFIT", SWIG_FromInt((int)wxBU_EXACTFIT
));
31978 PyDict_SetItemString(d
,"BU_AUTODRAW", SWIG_FromInt((int)wxBU_AUTODRAW
));
31979 SWIG_addvarlink(SWIG_globals
,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get
, _wrap_CheckBoxNameStr_set
);
31980 PyDict_SetItemString(d
,"CHK_2STATE", SWIG_FromInt((int)wxCHK_2STATE
));
31981 PyDict_SetItemString(d
,"CHK_3STATE", SWIG_FromInt((int)wxCHK_3STATE
));
31982 PyDict_SetItemString(d
,"CHK_ALLOW_3RD_STATE_FOR_USER", SWIG_FromInt((int)wxCHK_ALLOW_3RD_STATE_FOR_USER
));
31983 PyDict_SetItemString(d
,"CHK_UNCHECKED", SWIG_FromInt((int)wxCHK_UNCHECKED
));
31984 PyDict_SetItemString(d
,"CHK_CHECKED", SWIG_FromInt((int)wxCHK_CHECKED
));
31985 PyDict_SetItemString(d
,"CHK_UNDETERMINED", SWIG_FromInt((int)wxCHK_UNDETERMINED
));
31986 SWIG_addvarlink(SWIG_globals
,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get
, _wrap_ChoiceNameStr_set
);
31987 SWIG_addvarlink(SWIG_globals
,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get
, _wrap_ComboBoxNameStr_set
);
31988 SWIG_addvarlink(SWIG_globals
,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get
, _wrap_GaugeNameStr_set
);
31989 PyDict_SetItemString(d
,"GA_HORIZONTAL", SWIG_FromInt((int)wxGA_HORIZONTAL
));
31990 PyDict_SetItemString(d
,"GA_VERTICAL", SWIG_FromInt((int)wxGA_VERTICAL
));
31991 PyDict_SetItemString(d
,"GA_SMOOTH", SWIG_FromInt((int)wxGA_SMOOTH
));
31992 PyDict_SetItemString(d
,"GA_PROGRESSBAR", SWIG_FromInt((int)wxGA_PROGRESSBAR
));
31993 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get
, _wrap_StaticBitmapNameStr_set
);
31994 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get
, _wrap_StaticBoxNameStr_set
);
31995 SWIG_addvarlink(SWIG_globals
,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get
, _wrap_StaticTextNameStr_set
);
31996 SWIG_addvarlink(SWIG_globals
,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get
, _wrap_ListBoxNameStr_set
);
31997 SWIG_addvarlink(SWIG_globals
,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get
, _wrap_TextCtrlNameStr_set
);
31998 PyDict_SetItemString(d
,"TE_NO_VSCROLL", SWIG_FromInt((int)wxTE_NO_VSCROLL
));
31999 PyDict_SetItemString(d
,"TE_AUTO_SCROLL", SWIG_FromInt((int)wxTE_AUTO_SCROLL
));
32000 PyDict_SetItemString(d
,"TE_READONLY", SWIG_FromInt((int)wxTE_READONLY
));
32001 PyDict_SetItemString(d
,"TE_MULTILINE", SWIG_FromInt((int)wxTE_MULTILINE
));
32002 PyDict_SetItemString(d
,"TE_PROCESS_TAB", SWIG_FromInt((int)wxTE_PROCESS_TAB
));
32003 PyDict_SetItemString(d
,"TE_LEFT", SWIG_FromInt((int)wxTE_LEFT
));
32004 PyDict_SetItemString(d
,"TE_CENTER", SWIG_FromInt((int)wxTE_CENTER
));
32005 PyDict_SetItemString(d
,"TE_RIGHT", SWIG_FromInt((int)wxTE_RIGHT
));
32006 PyDict_SetItemString(d
,"TE_CENTRE", SWIG_FromInt((int)wxTE_CENTRE
));
32007 PyDict_SetItemString(d
,"TE_RICH", SWIG_FromInt((int)wxTE_RICH
));
32008 PyDict_SetItemString(d
,"TE_PROCESS_ENTER", SWIG_FromInt((int)wxTE_PROCESS_ENTER
));
32009 PyDict_SetItemString(d
,"TE_PASSWORD", SWIG_FromInt((int)wxTE_PASSWORD
));
32010 PyDict_SetItemString(d
,"TE_AUTO_URL", SWIG_FromInt((int)wxTE_AUTO_URL
));
32011 PyDict_SetItemString(d
,"TE_NOHIDESEL", SWIG_FromInt((int)wxTE_NOHIDESEL
));
32012 PyDict_SetItemString(d
,"TE_DONTWRAP", SWIG_FromInt((int)wxTE_DONTWRAP
));
32013 PyDict_SetItemString(d
,"TE_LINEWRAP", SWIG_FromInt((int)wxTE_LINEWRAP
));
32014 PyDict_SetItemString(d
,"TE_WORDWRAP", SWIG_FromInt((int)wxTE_WORDWRAP
));
32015 PyDict_SetItemString(d
,"TE_RICH2", SWIG_FromInt((int)wxTE_RICH2
));
32016 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_DEFAULT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_DEFAULT
));
32017 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_LEFT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_LEFT
));
32018 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTRE", SWIG_FromInt((int)wxTEXT_ALIGNMENT_CENTRE
));
32019 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTER", SWIG_FromInt((int)wxTEXT_ALIGNMENT_CENTER
));
32020 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_RIGHT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_RIGHT
));
32021 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_JUSTIFIED", SWIG_FromInt((int)wxTEXT_ALIGNMENT_JUSTIFIED
));
32022 PyDict_SetItemString(d
,"TEXT_ATTR_TEXT_COLOUR", SWIG_FromInt((int)wxTEXT_ATTR_TEXT_COLOUR
));
32023 PyDict_SetItemString(d
,"TEXT_ATTR_BACKGROUND_COLOUR", SWIG_FromInt((int)wxTEXT_ATTR_BACKGROUND_COLOUR
));
32024 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_FACE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_FACE
));
32025 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_SIZE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_SIZE
));
32026 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_WEIGHT", SWIG_FromInt((int)wxTEXT_ATTR_FONT_WEIGHT
));
32027 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_ITALIC", SWIG_FromInt((int)wxTEXT_ATTR_FONT_ITALIC
));
32028 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_UNDERLINE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_UNDERLINE
));
32029 PyDict_SetItemString(d
,"TEXT_ATTR_FONT", SWIG_FromInt((int)wxTEXT_ATTR_FONT
));
32030 PyDict_SetItemString(d
,"TEXT_ATTR_ALIGNMENT", SWIG_FromInt((int)wxTEXT_ATTR_ALIGNMENT
));
32031 PyDict_SetItemString(d
,"TEXT_ATTR_LEFT_INDENT", SWIG_FromInt((int)wxTEXT_ATTR_LEFT_INDENT
));
32032 PyDict_SetItemString(d
,"TEXT_ATTR_RIGHT_INDENT", SWIG_FromInt((int)wxTEXT_ATTR_RIGHT_INDENT
));
32033 PyDict_SetItemString(d
,"TEXT_ATTR_TABS", SWIG_FromInt((int)wxTEXT_ATTR_TABS
));
32034 PyDict_SetItemString(d
,"TE_HT_UNKNOWN", SWIG_FromInt((int)wxTE_HT_UNKNOWN
));
32035 PyDict_SetItemString(d
,"TE_HT_BEFORE", SWIG_FromInt((int)wxTE_HT_BEFORE
));
32036 PyDict_SetItemString(d
,"TE_HT_ON_TEXT", SWIG_FromInt((int)wxTE_HT_ON_TEXT
));
32037 PyDict_SetItemString(d
,"TE_HT_BELOW", SWIG_FromInt((int)wxTE_HT_BELOW
));
32038 PyDict_SetItemString(d
,"TE_HT_BEYOND", SWIG_FromInt((int)wxTE_HT_BEYOND
));
32039 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED
));
32040 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER
));
32041 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL
));
32042 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN
));
32043 SWIG_addvarlink(SWIG_globals
,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get
, _wrap_ScrollBarNameStr_set
);
32044 SWIG_addvarlink(SWIG_globals
,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get
, _wrap_SPIN_BUTTON_NAME_set
);
32045 SWIG_addvarlink(SWIG_globals
,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get
, _wrap_SpinCtrlNameStr_set
);
32046 PyDict_SetItemString(d
,"SP_HORIZONTAL", SWIG_FromInt((int)wxSP_HORIZONTAL
));
32047 PyDict_SetItemString(d
,"SP_VERTICAL", SWIG_FromInt((int)wxSP_VERTICAL
));
32048 PyDict_SetItemString(d
,"SP_ARROW_KEYS", SWIG_FromInt((int)wxSP_ARROW_KEYS
));
32049 PyDict_SetItemString(d
,"SP_WRAP", SWIG_FromInt((int)wxSP_WRAP
));
32050 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED
));
32051 SWIG_addvarlink(SWIG_globals
,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get
, _wrap_RadioBoxNameStr_set
);
32052 SWIG_addvarlink(SWIG_globals
,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get
, _wrap_RadioButtonNameStr_set
);
32053 SWIG_addvarlink(SWIG_globals
,(char*)"SliderNameStr",_wrap_SliderNameStr_get
, _wrap_SliderNameStr_set
);
32054 SWIG_addvarlink(SWIG_globals
,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get
, _wrap_ToggleButtonNameStr_set
);
32055 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
32056 SWIG_addvarlink(SWIG_globals
,(char*)"NOTEBOOK_NAME",_wrap_NOTEBOOK_NAME_get
, _wrap_NOTEBOOK_NAME_set
);
32057 PyDict_SetItemString(d
,"NB_FIXEDWIDTH", SWIG_FromInt((int)wxNB_FIXEDWIDTH
));
32058 PyDict_SetItemString(d
,"NB_TOP", SWIG_FromInt((int)wxNB_TOP
));
32059 PyDict_SetItemString(d
,"NB_LEFT", SWIG_FromInt((int)wxNB_LEFT
));
32060 PyDict_SetItemString(d
,"NB_RIGHT", SWIG_FromInt((int)wxNB_RIGHT
));
32061 PyDict_SetItemString(d
,"NB_BOTTOM", SWIG_FromInt((int)wxNB_BOTTOM
));
32062 PyDict_SetItemString(d
,"NB_MULTILINE", SWIG_FromInt((int)wxNB_MULTILINE
));
32063 PyDict_SetItemString(d
,"NB_HITTEST_NOWHERE", SWIG_FromInt((int)wxNB_HITTEST_NOWHERE
));
32064 PyDict_SetItemString(d
,"NB_HITTEST_ONICON", SWIG_FromInt((int)wxNB_HITTEST_ONICON
));
32065 PyDict_SetItemString(d
,"NB_HITTEST_ONLABEL", SWIG_FromInt((int)wxNB_HITTEST_ONLABEL
));
32066 PyDict_SetItemString(d
,"NB_HITTEST_ONITEM", SWIG_FromInt((int)wxNB_HITTEST_ONITEM
));
32067 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
32068 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
32069 PyDict_SetItemString(d
,"LB_DEFAULT", SWIG_FromInt((int)wxLB_DEFAULT
));
32070 PyDict_SetItemString(d
,"LB_TOP", SWIG_FromInt((int)wxLB_TOP
));
32071 PyDict_SetItemString(d
,"LB_BOTTOM", SWIG_FromInt((int)wxLB_BOTTOM
));
32072 PyDict_SetItemString(d
,"LB_LEFT", SWIG_FromInt((int)wxLB_LEFT
));
32073 PyDict_SetItemString(d
,"LB_RIGHT", SWIG_FromInt((int)wxLB_RIGHT
));
32074 PyDict_SetItemString(d
,"LB_ALIGN_MASK", SWIG_FromInt((int)wxLB_ALIGN_MASK
));
32075 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
));
32076 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
));
32077 PyDict_SetItemString(d
,"TOOL_STYLE_BUTTON", SWIG_FromInt((int)wxTOOL_STYLE_BUTTON
));
32078 PyDict_SetItemString(d
,"TOOL_STYLE_SEPARATOR", SWIG_FromInt((int)wxTOOL_STYLE_SEPARATOR
));
32079 PyDict_SetItemString(d
,"TOOL_STYLE_CONTROL", SWIG_FromInt((int)wxTOOL_STYLE_CONTROL
));
32080 PyDict_SetItemString(d
,"TB_HORIZONTAL", SWIG_FromInt((int)wxTB_HORIZONTAL
));
32081 PyDict_SetItemString(d
,"TB_VERTICAL", SWIG_FromInt((int)wxTB_VERTICAL
));
32082 PyDict_SetItemString(d
,"TB_3DBUTTONS", SWIG_FromInt((int)wxTB_3DBUTTONS
));
32083 PyDict_SetItemString(d
,"TB_FLAT", SWIG_FromInt((int)wxTB_FLAT
));
32084 PyDict_SetItemString(d
,"TB_DOCKABLE", SWIG_FromInt((int)wxTB_DOCKABLE
));
32085 PyDict_SetItemString(d
,"TB_NOICONS", SWIG_FromInt((int)wxTB_NOICONS
));
32086 PyDict_SetItemString(d
,"TB_TEXT", SWIG_FromInt((int)wxTB_TEXT
));
32087 PyDict_SetItemString(d
,"TB_NODIVIDER", SWIG_FromInt((int)wxTB_NODIVIDER
));
32088 PyDict_SetItemString(d
,"TB_NOALIGN", SWIG_FromInt((int)wxTB_NOALIGN
));
32089 PyDict_SetItemString(d
,"TB_HORZ_LAYOUT", SWIG_FromInt((int)wxTB_HORZ_LAYOUT
));
32090 PyDict_SetItemString(d
,"TB_HORZ_TEXT", SWIG_FromInt((int)wxTB_HORZ_TEXT
));
32091 SWIG_addvarlink(SWIG_globals
,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get
, _wrap_ListCtrlNameStr_set
);
32092 PyDict_SetItemString(d
,"LC_VRULES", SWIG_FromInt((int)wxLC_VRULES
));
32093 PyDict_SetItemString(d
,"LC_HRULES", SWIG_FromInt((int)wxLC_HRULES
));
32094 PyDict_SetItemString(d
,"LC_ICON", SWIG_FromInt((int)wxLC_ICON
));
32095 PyDict_SetItemString(d
,"LC_SMALL_ICON", SWIG_FromInt((int)wxLC_SMALL_ICON
));
32096 PyDict_SetItemString(d
,"LC_LIST", SWIG_FromInt((int)wxLC_LIST
));
32097 PyDict_SetItemString(d
,"LC_REPORT", SWIG_FromInt((int)wxLC_REPORT
));
32098 PyDict_SetItemString(d
,"LC_ALIGN_TOP", SWIG_FromInt((int)wxLC_ALIGN_TOP
));
32099 PyDict_SetItemString(d
,"LC_ALIGN_LEFT", SWIG_FromInt((int)wxLC_ALIGN_LEFT
));
32100 PyDict_SetItemString(d
,"LC_AUTOARRANGE", SWIG_FromInt((int)wxLC_AUTOARRANGE
));
32101 PyDict_SetItemString(d
,"LC_VIRTUAL", SWIG_FromInt((int)wxLC_VIRTUAL
));
32102 PyDict_SetItemString(d
,"LC_EDIT_LABELS", SWIG_FromInt((int)wxLC_EDIT_LABELS
));
32103 PyDict_SetItemString(d
,"LC_NO_HEADER", SWIG_FromInt((int)wxLC_NO_HEADER
));
32104 PyDict_SetItemString(d
,"LC_NO_SORT_HEADER", SWIG_FromInt((int)wxLC_NO_SORT_HEADER
));
32105 PyDict_SetItemString(d
,"LC_SINGLE_SEL", SWIG_FromInt((int)wxLC_SINGLE_SEL
));
32106 PyDict_SetItemString(d
,"LC_SORT_ASCENDING", SWIG_FromInt((int)wxLC_SORT_ASCENDING
));
32107 PyDict_SetItemString(d
,"LC_SORT_DESCENDING", SWIG_FromInt((int)wxLC_SORT_DESCENDING
));
32108 PyDict_SetItemString(d
,"LC_MASK_TYPE", SWIG_FromInt((int)wxLC_MASK_TYPE
));
32109 PyDict_SetItemString(d
,"LC_MASK_ALIGN", SWIG_FromInt((int)wxLC_MASK_ALIGN
));
32110 PyDict_SetItemString(d
,"LC_MASK_SORT", SWIG_FromInt((int)wxLC_MASK_SORT
));
32111 PyDict_SetItemString(d
,"LIST_MASK_STATE", SWIG_FromInt((int)wxLIST_MASK_STATE
));
32112 PyDict_SetItemString(d
,"LIST_MASK_TEXT", SWIG_FromInt((int)wxLIST_MASK_TEXT
));
32113 PyDict_SetItemString(d
,"LIST_MASK_IMAGE", SWIG_FromInt((int)wxLIST_MASK_IMAGE
));
32114 PyDict_SetItemString(d
,"LIST_MASK_DATA", SWIG_FromInt((int)wxLIST_MASK_DATA
));
32115 PyDict_SetItemString(d
,"LIST_SET_ITEM", SWIG_FromInt((int)wxLIST_SET_ITEM
));
32116 PyDict_SetItemString(d
,"LIST_MASK_WIDTH", SWIG_FromInt((int)wxLIST_MASK_WIDTH
));
32117 PyDict_SetItemString(d
,"LIST_MASK_FORMAT", SWIG_FromInt((int)wxLIST_MASK_FORMAT
));
32118 PyDict_SetItemString(d
,"LIST_STATE_DONTCARE", SWIG_FromInt((int)wxLIST_STATE_DONTCARE
));
32119 PyDict_SetItemString(d
,"LIST_STATE_DROPHILITED", SWIG_FromInt((int)wxLIST_STATE_DROPHILITED
));
32120 PyDict_SetItemString(d
,"LIST_STATE_FOCUSED", SWIG_FromInt((int)wxLIST_STATE_FOCUSED
));
32121 PyDict_SetItemString(d
,"LIST_STATE_SELECTED", SWIG_FromInt((int)wxLIST_STATE_SELECTED
));
32122 PyDict_SetItemString(d
,"LIST_STATE_CUT", SWIG_FromInt((int)wxLIST_STATE_CUT
));
32123 PyDict_SetItemString(d
,"LIST_STATE_DISABLED", SWIG_FromInt((int)wxLIST_STATE_DISABLED
));
32124 PyDict_SetItemString(d
,"LIST_STATE_FILTERED", SWIG_FromInt((int)wxLIST_STATE_FILTERED
));
32125 PyDict_SetItemString(d
,"LIST_STATE_INUSE", SWIG_FromInt((int)wxLIST_STATE_INUSE
));
32126 PyDict_SetItemString(d
,"LIST_STATE_PICKED", SWIG_FromInt((int)wxLIST_STATE_PICKED
));
32127 PyDict_SetItemString(d
,"LIST_STATE_SOURCE", SWIG_FromInt((int)wxLIST_STATE_SOURCE
));
32128 PyDict_SetItemString(d
,"LIST_HITTEST_ABOVE", SWIG_FromInt((int)wxLIST_HITTEST_ABOVE
));
32129 PyDict_SetItemString(d
,"LIST_HITTEST_BELOW", SWIG_FromInt((int)wxLIST_HITTEST_BELOW
));
32130 PyDict_SetItemString(d
,"LIST_HITTEST_NOWHERE", SWIG_FromInt((int)wxLIST_HITTEST_NOWHERE
));
32131 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMICON", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMICON
));
32132 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMLABEL", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMLABEL
));
32133 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMRIGHT", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMRIGHT
));
32134 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMSTATEICON", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMSTATEICON
));
32135 PyDict_SetItemString(d
,"LIST_HITTEST_TOLEFT", SWIG_FromInt((int)wxLIST_HITTEST_TOLEFT
));
32136 PyDict_SetItemString(d
,"LIST_HITTEST_TORIGHT", SWIG_FromInt((int)wxLIST_HITTEST_TORIGHT
));
32137 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEM", SWIG_FromInt((int)wxLIST_HITTEST_ONITEM
));
32138 PyDict_SetItemString(d
,"LIST_NEXT_ABOVE", SWIG_FromInt((int)wxLIST_NEXT_ABOVE
));
32139 PyDict_SetItemString(d
,"LIST_NEXT_ALL", SWIG_FromInt((int)wxLIST_NEXT_ALL
));
32140 PyDict_SetItemString(d
,"LIST_NEXT_BELOW", SWIG_FromInt((int)wxLIST_NEXT_BELOW
));
32141 PyDict_SetItemString(d
,"LIST_NEXT_LEFT", SWIG_FromInt((int)wxLIST_NEXT_LEFT
));
32142 PyDict_SetItemString(d
,"LIST_NEXT_RIGHT", SWIG_FromInt((int)wxLIST_NEXT_RIGHT
));
32143 PyDict_SetItemString(d
,"LIST_ALIGN_DEFAULT", SWIG_FromInt((int)wxLIST_ALIGN_DEFAULT
));
32144 PyDict_SetItemString(d
,"LIST_ALIGN_LEFT", SWIG_FromInt((int)wxLIST_ALIGN_LEFT
));
32145 PyDict_SetItemString(d
,"LIST_ALIGN_TOP", SWIG_FromInt((int)wxLIST_ALIGN_TOP
));
32146 PyDict_SetItemString(d
,"LIST_ALIGN_SNAP_TO_GRID", SWIG_FromInt((int)wxLIST_ALIGN_SNAP_TO_GRID
));
32147 PyDict_SetItemString(d
,"LIST_FORMAT_LEFT", SWIG_FromInt((int)wxLIST_FORMAT_LEFT
));
32148 PyDict_SetItemString(d
,"LIST_FORMAT_RIGHT", SWIG_FromInt((int)wxLIST_FORMAT_RIGHT
));
32149 PyDict_SetItemString(d
,"LIST_FORMAT_CENTRE", SWIG_FromInt((int)wxLIST_FORMAT_CENTRE
));
32150 PyDict_SetItemString(d
,"LIST_FORMAT_CENTER", SWIG_FromInt((int)wxLIST_FORMAT_CENTER
));
32151 PyDict_SetItemString(d
,"LIST_AUTOSIZE", SWIG_FromInt((int)wxLIST_AUTOSIZE
));
32152 PyDict_SetItemString(d
,"LIST_AUTOSIZE_USEHEADER", SWIG_FromInt((int)wxLIST_AUTOSIZE_USEHEADER
));
32153 PyDict_SetItemString(d
,"LIST_RECT_BOUNDS", SWIG_FromInt((int)wxLIST_RECT_BOUNDS
));
32154 PyDict_SetItemString(d
,"LIST_RECT_ICON", SWIG_FromInt((int)wxLIST_RECT_ICON
));
32155 PyDict_SetItemString(d
,"LIST_RECT_LABEL", SWIG_FromInt((int)wxLIST_RECT_LABEL
));
32156 PyDict_SetItemString(d
,"LIST_FIND_UP", SWIG_FromInt((int)wxLIST_FIND_UP
));
32157 PyDict_SetItemString(d
,"LIST_FIND_DOWN", SWIG_FromInt((int)wxLIST_FIND_DOWN
));
32158 PyDict_SetItemString(d
,"LIST_FIND_LEFT", SWIG_FromInt((int)wxLIST_FIND_LEFT
));
32159 PyDict_SetItemString(d
,"LIST_FIND_RIGHT", SWIG_FromInt((int)wxLIST_FIND_RIGHT
));
32160 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG
));
32161 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
32162 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
32163 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
32164 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM
));
32165 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
32166 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO
));
32167 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO
));
32168 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED
));
32169 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
32170 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN
));
32171 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM
));
32172 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK
));
32173 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
32174 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
32175 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
32176 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT
));
32177 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
32178 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
32179 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING
));
32180 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG
));
32181 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
32183 // Map renamed classes back to their common name for OOR
32184 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
32186 SWIG_addvarlink(SWIG_globals
,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get
, _wrap_TreeCtrlNameStr_set
);
32187 PyDict_SetItemString(d
,"TR_NO_BUTTONS", SWIG_FromInt((int)wxTR_NO_BUTTONS
));
32188 PyDict_SetItemString(d
,"TR_HAS_BUTTONS", SWIG_FromInt((int)wxTR_HAS_BUTTONS
));
32189 PyDict_SetItemString(d
,"TR_NO_LINES", SWIG_FromInt((int)wxTR_NO_LINES
));
32190 PyDict_SetItemString(d
,"TR_LINES_AT_ROOT", SWIG_FromInt((int)wxTR_LINES_AT_ROOT
));
32191 PyDict_SetItemString(d
,"TR_SINGLE", SWIG_FromInt((int)wxTR_SINGLE
));
32192 PyDict_SetItemString(d
,"TR_MULTIPLE", SWIG_FromInt((int)wxTR_MULTIPLE
));
32193 PyDict_SetItemString(d
,"TR_EXTENDED", SWIG_FromInt((int)wxTR_EXTENDED
));
32194 PyDict_SetItemString(d
,"TR_HAS_VARIABLE_ROW_HEIGHT", SWIG_FromInt((int)wxTR_HAS_VARIABLE_ROW_HEIGHT
));
32195 PyDict_SetItemString(d
,"TR_EDIT_LABELS", SWIG_FromInt((int)wxTR_EDIT_LABELS
));
32196 PyDict_SetItemString(d
,"TR_HIDE_ROOT", SWIG_FromInt((int)wxTR_HIDE_ROOT
));
32197 PyDict_SetItemString(d
,"TR_ROW_LINES", SWIG_FromInt((int)wxTR_ROW_LINES
));
32198 PyDict_SetItemString(d
,"TR_FULL_ROW_HIGHLIGHT", SWIG_FromInt((int)wxTR_FULL_ROW_HIGHLIGHT
));
32199 PyDict_SetItemString(d
,"TR_DEFAULT_STYLE", SWIG_FromInt((int)wxTR_DEFAULT_STYLE
));
32200 PyDict_SetItemString(d
,"TR_TWIST_BUTTONS", SWIG_FromInt((int)wxTR_TWIST_BUTTONS
));
32201 PyDict_SetItemString(d
,"TR_MAC_BUTTONS", SWIG_FromInt((int)wxTR_MAC_BUTTONS
));
32202 PyDict_SetItemString(d
,"TR_AQUA_BUTTONS", SWIG_FromInt((int)wxTR_AQUA_BUTTONS
));
32203 PyDict_SetItemString(d
,"TreeItemIcon_Normal", SWIG_FromInt((int)wxTreeItemIcon_Normal
));
32204 PyDict_SetItemString(d
,"TreeItemIcon_Selected", SWIG_FromInt((int)wxTreeItemIcon_Selected
));
32205 PyDict_SetItemString(d
,"TreeItemIcon_Expanded", SWIG_FromInt((int)wxTreeItemIcon_Expanded
));
32206 PyDict_SetItemString(d
,"TreeItemIcon_SelectedExpanded", SWIG_FromInt((int)wxTreeItemIcon_SelectedExpanded
));
32207 PyDict_SetItemString(d
,"TreeItemIcon_Max", SWIG_FromInt((int)wxTreeItemIcon_Max
));
32208 PyDict_SetItemString(d
,"TREE_HITTEST_ABOVE", SWIG_FromInt((int)wxTREE_HITTEST_ABOVE
));
32209 PyDict_SetItemString(d
,"TREE_HITTEST_BELOW", SWIG_FromInt((int)wxTREE_HITTEST_BELOW
));
32210 PyDict_SetItemString(d
,"TREE_HITTEST_NOWHERE", SWIG_FromInt((int)wxTREE_HITTEST_NOWHERE
));
32211 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMBUTTON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMBUTTON
));
32212 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMICON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMICON
));
32213 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMINDENT", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMINDENT
));
32214 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLABEL", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMLABEL
));
32215 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMRIGHT", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMRIGHT
));
32216 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMSTATEICON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMSTATEICON
));
32217 PyDict_SetItemString(d
,"TREE_HITTEST_TOLEFT", SWIG_FromInt((int)wxTREE_HITTEST_TOLEFT
));
32218 PyDict_SetItemString(d
,"TREE_HITTEST_TORIGHT", SWIG_FromInt((int)wxTREE_HITTEST_TORIGHT
));
32219 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMUPPERPART", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMUPPERPART
));
32220 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLOWERPART", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMLOWERPART
));
32221 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEM", SWIG_FromInt((int)wxTREE_HITTEST_ONITEM
));
32222 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG
));
32223 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
32224 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
32225 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
32226 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM
));
32227 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO
));
32228 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO
));
32229 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
32230 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
32231 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
32232 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
32233 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED
));
32234 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING
));
32235 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN
));
32236 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
32237 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
32238 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
32239 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG
));
32240 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
));
32241 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
));
32243 // Map renamed classes back to their common name for OOR
32244 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
32245 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
32247 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get
, _wrap_DirDialogDefaultFolderStr_set
);
32248 PyDict_SetItemString(d
,"DIRCTRL_DIR_ONLY", SWIG_FromInt((int)wxDIRCTRL_DIR_ONLY
));
32249 PyDict_SetItemString(d
,"DIRCTRL_SELECT_FIRST", SWIG_FromInt((int)wxDIRCTRL_SELECT_FIRST
));
32250 PyDict_SetItemString(d
,"DIRCTRL_SHOW_FILTERS", SWIG_FromInt((int)wxDIRCTRL_SHOW_FILTERS
));
32251 PyDict_SetItemString(d
,"DIRCTRL_3D_INTERNAL", SWIG_FromInt((int)wxDIRCTRL_3D_INTERNAL
));
32252 PyDict_SetItemString(d
,"DIRCTRL_EDIT_LABELS", SWIG_FromInt((int)wxDIRCTRL_EDIT_LABELS
));
32253 PyDict_SetItemString(d
,"FRAME_EX_CONTEXTHELP", SWIG_FromInt((int)wxFRAME_EX_CONTEXTHELP
));
32254 PyDict_SetItemString(d
,"DIALOG_EX_CONTEXTHELP", SWIG_FromInt((int)wxDIALOG_EX_CONTEXTHELP
));
32255 PyDict_SetItemString(d
, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP
));
32256 PyDict_SetItemString(d
, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP
));
32258 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");