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>
652 static const wxString
wxPyListCtrlNameStr(_T("wxListCtrl"));
653 void wxListItemAttr_Destroy(wxListItemAttr
*self
){ delete self
; }
654 // Python aware sorting function for wxPyListCtrl
655 static int wxCALLBACK
wxPyListCtrl_SortItems(long item1
, long item2
, long funcPtr
) {
657 PyObject
* func
= (PyObject
*)funcPtr
;
658 bool blocked
= wxPyBeginBlockThreads();
660 PyObject
* args
= Py_BuildValue("(ii)", item1
, item2
);
661 PyObject
* result
= PyEval_CallObject(func
, args
);
664 retval
= PyInt_AsLong(result
);
668 wxPyEndBlockThreads(blocked
);
672 // C++ Version of a Python aware class
673 class wxPyListCtrl
: public wxListCtrl
{
674 DECLARE_ABSTRACT_CLASS(wxPyListCtrl
);
676 wxPyListCtrl() : wxListCtrl() {}
677 wxPyListCtrl(wxWindow
* parent
, wxWindowID id
,
681 const wxValidator
& validator
,
682 const wxString
& name
) :
683 wxListCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
685 bool Create(wxWindow
* parent
, wxWindowID id
,
689 const wxValidator
& validator
,
690 const wxString
& name
) {
691 return wxListCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
694 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText
);
695 DEC_PYCALLBACK_INT_LONG(OnGetItemImage
);
696 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr
);
701 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl
, wxListCtrl
);
703 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemText
);
704 IMP_PYCALLBACK_INT_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemImage
);
705 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemAttr
);
707 wxListItem
*wxPyListCtrl_GetColumn(wxPyListCtrl
*self
,int col
){
709 item
.SetMask( wxLIST_MASK_STATE
|
717 if (self
->GetColumn(col
, item
))
718 return new wxListItem(item
);
722 wxListItem
*wxPyListCtrl_GetItem(wxPyListCtrl
*self
,long itemId
,int col
){
723 wxListItem
* info
= new wxListItem
;
724 info
->m_itemId
= itemId
;
726 info
->m_mask
= 0xFFFF;
727 self
->GetItem(*info
);
730 wxPoint
wxPyListCtrl_GetItemPosition(wxPyListCtrl
*self
,long item
){
732 self
->GetItemPosition(item
, pos
);
735 wxRect
wxPyListCtrl_GetItemRect(wxPyListCtrl
*self
,long item
,int code
){
737 self
->GetItemRect(item
, rect
, code
);
740 bool wxPyListCtrl_SortItems(wxPyListCtrl
*self
,PyObject
*func
){
741 if (!PyCallable_Check(func
))
743 return self
->SortItems((wxListCtrlCompare
)wxPyListCtrl_SortItems
, (long)func
);
745 wxWindow
*wxPyListCtrl_GetMainWindow(wxPyListCtrl
*self
){
749 return (wxWindow
*)self
->m_mainWin
;
753 #include <wx/treectrl.h>
754 #include "wx/wxPython/pytree.h"
756 static const wxString
wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
757 bool wxTreeItemId___eq__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
== *other
) : False
; }
758 bool wxTreeItemId___ne__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
!= *other
) : True
; }
759 void wxPyTreeItemData_Destroy(wxPyTreeItemData
*self
){ delete self
; }
760 // C++ version of Python aware wxTreeCtrl
761 class wxPyTreeCtrl
: public wxTreeCtrl
{
762 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl
);
764 wxPyTreeCtrl() : wxTreeCtrl() {}
765 wxPyTreeCtrl(wxWindow
*parent
, wxWindowID id
,
769 const wxValidator
& validator
,
770 const wxString
& name
) :
771 wxTreeCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
773 bool Create(wxWindow
*parent
, wxWindowID id
,
777 const wxValidator
& validator
,
778 const wxString
& name
) {
779 return wxTreeCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
783 int OnCompareItems(const wxTreeItemId
& item1
,
784 const wxTreeItemId
& item2
) {
787 bool blocked
= wxPyBeginBlockThreads();
788 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnCompareItems"))) {
789 PyObject
*o1
= wxPyConstructObject((void*)&item1
, wxT("wxTreeItemId"), False
);
790 PyObject
*o2
= wxPyConstructObject((void*)&item2
, wxT("wxTreeItemId"), False
);
791 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OO)",o1
,o2
));
795 wxPyEndBlockThreads(blocked
);
797 rval
= wxTreeCtrl::OnCompareItems(item1
, item2
);
803 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl
, wxTreeCtrl
);
807 #if UINT_MAX < LONG_MAX
808 #define SWIG_FromUnsignedInt SWIG_FromLong
810 #define SWIG_FromUnsignedInt SWIG_FromUnsignedLong
814 SWIGSTATICINLINE(unsigned long)
815 SWIG_CheckUnsignedLongInRange(unsigned long value
, const char* type
,
816 unsigned long max_value
)
818 if (!PyErr_Occurred()) {
819 if (value
> max_value
) {
821 PyString_FromFormat("value %ld is greater than '%s' minimum %ld",
822 value
, type
, max_value
);
823 PyErr_SetObject(PyExc_OverflowError
, err
);
831 #if UINT_MAX != ULONG_MAX
832 SWIGSTATICINLINE(unsigned int)
833 SWIG_AsUnsignedInt(PyObject
*obj
)
835 return swig_numeric_cast(unsigned int,
836 SWIG_CheckUnsignedLongInRange(SWIG_AsUnsignedLong(obj
),
837 "unsigned int", UINT_MAX
));
840 #define SWIG_AsUnsignedInt SWIG_AsUnsignedLong
844 SWIGSTATICINLINE(int)
845 SWIG_CheckUnsignedInt(PyObject
* obj
)
847 SWIG_AsUnsignedInt(obj
);
848 if (PyErr_Occurred()) {
856 wxPyTreeItemData
*wxPyTreeCtrl_GetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
857 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
859 data
= new wxPyTreeItemData();
860 data
->SetId(item
); // set the id
861 self
->SetItemData(item
, data
);
865 PyObject
*wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
866 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
868 data
= new wxPyTreeItemData();
869 data
->SetId(item
); // set the id
870 self
->SetItemData(item
, data
);
872 return data
->GetData();
874 void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,wxPyTreeItemData
*data
){
875 data
->SetId(item
); // set the id
876 self
->SetItemData(item
, data
);
878 void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,PyObject
*obj
){
879 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
881 data
= new wxPyTreeItemData(obj
);
882 data
->SetId(item
); // set the id
883 self
->SetItemData(item
, data
);
887 PyObject
*wxPyTreeCtrl_GetSelections(wxPyTreeCtrl
*self
){
888 bool blocked
= wxPyBeginBlockThreads();
889 PyObject
* rval
= PyList_New(0);
890 wxArrayTreeItemIds array
;
892 num
= self
->GetSelections(array
);
893 for (x
=0; x
< num
; x
++) {
894 wxTreeItemId
*tii
= new wxTreeItemId(array
.Item(x
));
895 PyObject
* item
= wxPyConstructObject((void*)tii
, wxT("wxTreeItemId"), True
);
896 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
) {}
948 void SetBestSize(const wxSize
& size
) { wxControl::SetBestSize(size
); }
950 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
951 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
952 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
953 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
955 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
956 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
957 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
959 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
960 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
962 DEC_PYCALLBACK__(InitDialog
);
963 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
964 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
965 DEC_PYCALLBACK_BOOL_(Validate
);
967 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
968 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
969 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
971 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
972 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
974 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
975 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground
);
976 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
981 IMPLEMENT_DYNAMIC_CLASS(wxPyControl
, wxControl
);
983 IMP_PYCALLBACK_VOID_INT4(wxPyControl
, wxControl
, DoMoveWindow
);
984 IMP_PYCALLBACK_VOID_INT5(wxPyControl
, wxControl
, DoSetSize
);
985 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetClientSize
);
986 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetVirtualSize
);
988 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetSize
);
989 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetClientSize
);
990 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetPosition
);
992 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetVirtualSize
);
993 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetBestSize
);
995 IMP_PYCALLBACK__(wxPyControl
, wxControl
, InitDialog
);
996 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataFromWindow
);
997 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataToWindow
);
998 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, Validate
);
1000 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocus
);
1001 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocusFromKeyboard
);
1002 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, GetMaxSize
);
1004 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, AddChild
);
1005 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, RemoveChild
);
1007 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, ShouldInheritColours
);
1008 IMP_PYCALLBACK__COLOUR(wxPyControl
, wxControl
, ApplyParentThemeBackground
);
1009 IMP_PYCALLBACK_VIZATTR_(wxPyControl
, wxControl
, GetDefaultAttributes
);
1013 void wxHelpProvider_Destroy(wxHelpProvider
*self
){ delete self
; }
1015 #include <wx/generic/dragimgg.h>
1020 static int _wrap_ButtonNameStr_set(PyObject
*_val
) {
1021 PyErr_SetString(PyExc_TypeError
,"Variable ButtonNameStr is read-only.");
1026 static PyObject
*_wrap_ButtonNameStr_get() {
1031 pyobj
= PyUnicode_FromWideChar((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
1033 pyobj
= PyString_FromStringAndSize((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
1040 static PyObject
*_wrap_new_Button(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1041 PyObject
*resultobj
;
1042 wxWindow
*arg1
= (wxWindow
*) 0 ;
1043 int arg2
= (int) -1 ;
1044 wxString
const &arg3_defvalue
= wxPyEmptyString
;
1045 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
1046 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1047 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1048 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1049 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1050 long arg6
= (long) 0 ;
1051 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
1052 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
1053 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
1054 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
1056 bool temp3
= False
;
1059 bool temp8
= False
;
1060 PyObject
* obj0
= 0 ;
1061 PyObject
* obj1
= 0 ;
1062 PyObject
* obj2
= 0 ;
1063 PyObject
* obj3
= 0 ;
1064 PyObject
* obj4
= 0 ;
1065 PyObject
* obj5
= 0 ;
1066 PyObject
* obj6
= 0 ;
1067 PyObject
* obj7
= 0 ;
1069 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Button",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1073 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1076 arg2
= (int) SWIG_AsInt(obj1
);
1077 if (PyErr_Occurred()) SWIG_fail
;
1081 arg3
= wxString_in_helper(obj2
);
1082 if (arg3
== NULL
) SWIG_fail
;
1089 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1095 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1099 arg6
= (long) SWIG_AsLong(obj5
);
1100 if (PyErr_Occurred()) SWIG_fail
;
1103 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
1104 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1107 PyErr_SetString(PyExc_TypeError
,"null reference");
1113 arg8
= wxString_in_helper(obj7
);
1114 if (arg8
== NULL
) SWIG_fail
;
1119 if (!wxPyCheckForApp()) SWIG_fail
;
1120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1121 result
= (wxButton
*)new wxButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
1123 wxPyEndAllowThreads(__tstate
);
1124 if (PyErr_Occurred()) SWIG_fail
;
1126 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxButton
, 1);
1149 static PyObject
*_wrap_new_PreButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1150 PyObject
*resultobj
;
1156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreButton",kwnames
)) goto fail
;
1158 if (!wxPyCheckForApp()) SWIG_fail
;
1159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1160 result
= (wxButton
*)new wxButton();
1162 wxPyEndAllowThreads(__tstate
);
1163 if (PyErr_Occurred()) SWIG_fail
;
1165 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxButton
, 1);
1172 static PyObject
*_wrap_Button_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1173 PyObject
*resultobj
;
1174 wxButton
*arg1
= (wxButton
*) 0 ;
1175 wxWindow
*arg2
= (wxWindow
*) 0 ;
1176 int arg3
= (int) -1 ;
1177 wxString
const &arg4_defvalue
= wxPyEmptyString
;
1178 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
1179 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
1180 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
1181 wxSize
const &arg6_defvalue
= wxDefaultSize
;
1182 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
1183 long arg7
= (long) 0 ;
1184 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
1185 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
1186 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
1187 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
1189 bool temp4
= False
;
1192 bool temp9
= False
;
1193 PyObject
* obj0
= 0 ;
1194 PyObject
* obj1
= 0 ;
1195 PyObject
* obj2
= 0 ;
1196 PyObject
* obj3
= 0 ;
1197 PyObject
* obj4
= 0 ;
1198 PyObject
* obj5
= 0 ;
1199 PyObject
* obj6
= 0 ;
1200 PyObject
* obj7
= 0 ;
1201 PyObject
* obj8
= 0 ;
1203 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Button_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
1207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxButton
,
1208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1209 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1212 arg3
= (int) SWIG_AsInt(obj2
);
1213 if (PyErr_Occurred()) SWIG_fail
;
1217 arg4
= wxString_in_helper(obj3
);
1218 if (arg4
== NULL
) SWIG_fail
;
1225 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
1231 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
1235 arg7
= (long) SWIG_AsLong(obj6
);
1236 if (PyErr_Occurred()) SWIG_fail
;
1239 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
1240 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1243 PyErr_SetString(PyExc_TypeError
,"null reference");
1249 arg9
= wxString_in_helper(obj8
);
1250 if (arg9
== NULL
) SWIG_fail
;
1255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1256 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
1258 wxPyEndAllowThreads(__tstate
);
1259 if (PyErr_Occurred()) SWIG_fail
;
1262 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1286 static PyObject
*_wrap_Button_SetDefault(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1287 PyObject
*resultobj
;
1288 wxButton
*arg1
= (wxButton
*) 0 ;
1289 PyObject
* obj0
= 0 ;
1291 (char *) "self", NULL
1294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Button_SetDefault",kwnames
,&obj0
)) goto fail
;
1295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxButton
,
1296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1299 (arg1
)->SetDefault();
1301 wxPyEndAllowThreads(__tstate
);
1302 if (PyErr_Occurred()) SWIG_fail
;
1304 Py_INCREF(Py_None
); resultobj
= Py_None
;
1311 static PyObject
*_wrap_Button_GetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1312 PyObject
*resultobj
;
1318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Button_GetDefaultSize",kwnames
)) goto fail
;
1320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1321 result
= wxButton::GetDefaultSize();
1323 wxPyEndAllowThreads(__tstate
);
1324 if (PyErr_Occurred()) SWIG_fail
;
1328 resultptr
= new wxSize((wxSize
&) result
);
1329 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
1337 static PyObject
*_wrap_Button_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1338 PyObject
*resultobj
;
1339 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
1340 wxVisualAttributes result
;
1341 PyObject
* obj0
= 0 ;
1343 (char *) "variant", NULL
1346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Button_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
1348 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
1349 if (PyErr_Occurred()) SWIG_fail
;
1352 if (!wxPyCheckForApp()) SWIG_fail
;
1353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1354 result
= wxButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
1356 wxPyEndAllowThreads(__tstate
);
1357 if (PyErr_Occurred()) SWIG_fail
;
1360 wxVisualAttributes
* resultptr
;
1361 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
1362 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
1370 static PyObject
* Button_swigregister(PyObject
*self
, PyObject
*args
) {
1372 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1373 SWIG_TypeClientData(SWIGTYPE_p_wxButton
, obj
);
1375 return Py_BuildValue((char *)"");
1377 static PyObject
*_wrap_new_BitmapButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1378 PyObject
*resultobj
;
1379 wxWindow
*arg1
= (wxWindow
*) 0 ;
1380 int arg2
= (int) -1 ;
1381 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
1382 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
1383 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1384 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1385 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1386 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1387 long arg6
= (long) wxBU_AUTODRAW
;
1388 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
1389 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
1390 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
1391 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
1392 wxBitmapButton
*result
;
1395 bool temp8
= False
;
1396 PyObject
* obj0
= 0 ;
1397 PyObject
* obj1
= 0 ;
1398 PyObject
* obj2
= 0 ;
1399 PyObject
* obj3
= 0 ;
1400 PyObject
* obj4
= 0 ;
1401 PyObject
* obj5
= 0 ;
1402 PyObject
* obj6
= 0 ;
1403 PyObject
* obj7
= 0 ;
1405 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_BitmapButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1409 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1412 arg2
= (int) SWIG_AsInt(obj1
);
1413 if (PyErr_Occurred()) SWIG_fail
;
1416 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
1417 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1420 PyErr_SetString(PyExc_TypeError
,"null reference");
1427 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1433 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1437 arg6
= (long) SWIG_AsLong(obj5
);
1438 if (PyErr_Occurred()) SWIG_fail
;
1441 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
1442 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1445 PyErr_SetString(PyExc_TypeError
,"null reference");
1451 arg8
= wxString_in_helper(obj7
);
1452 if (arg8
== NULL
) SWIG_fail
;
1457 if (!wxPyCheckForApp()) SWIG_fail
;
1458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1459 result
= (wxBitmapButton
*)new wxBitmapButton(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
1461 wxPyEndAllowThreads(__tstate
);
1462 if (PyErr_Occurred()) SWIG_fail
;
1464 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmapButton
, 1);
1479 static PyObject
*_wrap_new_PreBitmapButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1480 PyObject
*resultobj
;
1481 wxBitmapButton
*result
;
1486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreBitmapButton",kwnames
)) goto fail
;
1488 if (!wxPyCheckForApp()) SWIG_fail
;
1489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1490 result
= (wxBitmapButton
*)new wxBitmapButton();
1492 wxPyEndAllowThreads(__tstate
);
1493 if (PyErr_Occurred()) SWIG_fail
;
1495 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmapButton
, 1);
1502 static PyObject
*_wrap_BitmapButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1503 PyObject
*resultobj
;
1504 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1505 wxWindow
*arg2
= (wxWindow
*) 0 ;
1506 int arg3
= (int) -1 ;
1507 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
1508 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
1509 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
1510 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
1511 wxSize
const &arg6_defvalue
= wxDefaultSize
;
1512 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
1513 long arg7
= (long) wxBU_AUTODRAW
;
1514 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
1515 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
1516 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
1517 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
1521 bool temp9
= False
;
1522 PyObject
* obj0
= 0 ;
1523 PyObject
* obj1
= 0 ;
1524 PyObject
* obj2
= 0 ;
1525 PyObject
* obj3
= 0 ;
1526 PyObject
* obj4
= 0 ;
1527 PyObject
* obj5
= 0 ;
1528 PyObject
* obj6
= 0 ;
1529 PyObject
* obj7
= 0 ;
1530 PyObject
* obj8
= 0 ;
1532 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:BitmapButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
1536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1538 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1541 arg3
= (int) SWIG_AsInt(obj2
);
1542 if (PyErr_Occurred()) SWIG_fail
;
1545 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
1546 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1549 PyErr_SetString(PyExc_TypeError
,"null reference");
1556 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
1562 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
1566 arg7
= (long) SWIG_AsLong(obj6
);
1567 if (PyErr_Occurred()) SWIG_fail
;
1570 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
1571 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1574 PyErr_SetString(PyExc_TypeError
,"null reference");
1580 arg9
= wxString_in_helper(obj8
);
1581 if (arg9
== NULL
) SWIG_fail
;
1586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1587 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
1589 wxPyEndAllowThreads(__tstate
);
1590 if (PyErr_Occurred()) SWIG_fail
;
1593 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1609 static PyObject
*_wrap_BitmapButton_GetBitmapLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1610 PyObject
*resultobj
;
1611 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1613 PyObject
* obj0
= 0 ;
1615 (char *) "self", NULL
1618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapLabel",kwnames
,&obj0
)) goto fail
;
1619 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1623 result
= (arg1
)->GetBitmapLabel();
1625 wxPyEndAllowThreads(__tstate
);
1626 if (PyErr_Occurred()) SWIG_fail
;
1629 wxBitmap
* resultptr
;
1630 resultptr
= new wxBitmap((wxBitmap
&) result
);
1631 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1639 static PyObject
*_wrap_BitmapButton_GetBitmapDisabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1640 PyObject
*resultobj
;
1641 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1643 PyObject
* obj0
= 0 ;
1645 (char *) "self", NULL
1648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapDisabled",kwnames
,&obj0
)) goto fail
;
1649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1653 result
= (arg1
)->GetBitmapDisabled();
1655 wxPyEndAllowThreads(__tstate
);
1656 if (PyErr_Occurred()) SWIG_fail
;
1659 wxBitmap
* resultptr
;
1660 resultptr
= new wxBitmap((wxBitmap
&) result
);
1661 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1669 static PyObject
*_wrap_BitmapButton_GetBitmapFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1670 PyObject
*resultobj
;
1671 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1673 PyObject
* obj0
= 0 ;
1675 (char *) "self", NULL
1678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapFocus",kwnames
,&obj0
)) goto fail
;
1679 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1683 result
= (arg1
)->GetBitmapFocus();
1685 wxPyEndAllowThreads(__tstate
);
1686 if (PyErr_Occurred()) SWIG_fail
;
1689 wxBitmap
* resultptr
;
1690 resultptr
= new wxBitmap((wxBitmap
&) result
);
1691 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1699 static PyObject
*_wrap_BitmapButton_GetBitmapSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1700 PyObject
*resultobj
;
1701 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1703 PyObject
* obj0
= 0 ;
1705 (char *) "self", NULL
1708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapSelected",kwnames
,&obj0
)) goto fail
;
1709 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1713 result
= (arg1
)->GetBitmapSelected();
1715 wxPyEndAllowThreads(__tstate
);
1716 if (PyErr_Occurred()) SWIG_fail
;
1719 wxBitmap
* resultptr
;
1720 resultptr
= new wxBitmap((wxBitmap
&) result
);
1721 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1729 static PyObject
*_wrap_BitmapButton_SetBitmapDisabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1730 PyObject
*resultobj
;
1731 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1732 wxBitmap
*arg2
= 0 ;
1733 PyObject
* obj0
= 0 ;
1734 PyObject
* obj1
= 0 ;
1736 (char *) "self",(char *) "bitmap", NULL
1739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames
,&obj0
,&obj1
)) goto fail
;
1740 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1742 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1743 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1746 PyErr_SetString(PyExc_TypeError
,"null reference");
1750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1751 (arg1
)->SetBitmapDisabled((wxBitmap
const &)*arg2
);
1753 wxPyEndAllowThreads(__tstate
);
1754 if (PyErr_Occurred()) SWIG_fail
;
1756 Py_INCREF(Py_None
); resultobj
= Py_None
;
1763 static PyObject
*_wrap_BitmapButton_SetBitmapFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1764 PyObject
*resultobj
;
1765 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1766 wxBitmap
*arg2
= 0 ;
1767 PyObject
* obj0
= 0 ;
1768 PyObject
* obj1
= 0 ;
1770 (char *) "self",(char *) "bitmap", NULL
1773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
1774 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1776 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1777 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1780 PyErr_SetString(PyExc_TypeError
,"null reference");
1784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1785 (arg1
)->SetBitmapFocus((wxBitmap
const &)*arg2
);
1787 wxPyEndAllowThreads(__tstate
);
1788 if (PyErr_Occurred()) SWIG_fail
;
1790 Py_INCREF(Py_None
); resultobj
= Py_None
;
1797 static PyObject
*_wrap_BitmapButton_SetBitmapSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1798 PyObject
*resultobj
;
1799 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1800 wxBitmap
*arg2
= 0 ;
1801 PyObject
* obj0
= 0 ;
1802 PyObject
* obj1
= 0 ;
1804 (char *) "self",(char *) "bitmap", NULL
1807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
1808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1810 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1811 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1814 PyErr_SetString(PyExc_TypeError
,"null reference");
1818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1819 (arg1
)->SetBitmapSelected((wxBitmap
const &)*arg2
);
1821 wxPyEndAllowThreads(__tstate
);
1822 if (PyErr_Occurred()) SWIG_fail
;
1824 Py_INCREF(Py_None
); resultobj
= Py_None
;
1831 static PyObject
*_wrap_BitmapButton_SetBitmapLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1832 PyObject
*resultobj
;
1833 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1834 wxBitmap
*arg2
= 0 ;
1835 PyObject
* obj0
= 0 ;
1836 PyObject
* obj1
= 0 ;
1838 (char *) "self",(char *) "bitmap", NULL
1841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
1842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1844 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1845 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1848 PyErr_SetString(PyExc_TypeError
,"null reference");
1852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1853 (arg1
)->SetBitmapLabel((wxBitmap
const &)*arg2
);
1855 wxPyEndAllowThreads(__tstate
);
1856 if (PyErr_Occurred()) SWIG_fail
;
1858 Py_INCREF(Py_None
); resultobj
= Py_None
;
1865 static PyObject
*_wrap_BitmapButton_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1866 PyObject
*resultobj
;
1867 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1870 PyObject
* obj0
= 0 ;
1871 PyObject
* obj1
= 0 ;
1872 PyObject
* obj2
= 0 ;
1874 (char *) "self",(char *) "x",(char *) "y", NULL
1877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BitmapButton_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1878 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1880 arg2
= (int) SWIG_AsInt(obj1
);
1881 if (PyErr_Occurred()) SWIG_fail
;
1882 arg3
= (int) SWIG_AsInt(obj2
);
1883 if (PyErr_Occurred()) SWIG_fail
;
1885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1886 (arg1
)->SetMargins(arg2
,arg3
);
1888 wxPyEndAllowThreads(__tstate
);
1889 if (PyErr_Occurred()) SWIG_fail
;
1891 Py_INCREF(Py_None
); resultobj
= Py_None
;
1898 static PyObject
*_wrap_BitmapButton_GetMarginX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1899 PyObject
*resultobj
;
1900 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1902 PyObject
* obj0
= 0 ;
1904 (char *) "self", NULL
1907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginX",kwnames
,&obj0
)) goto fail
;
1908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1912 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginX();
1914 wxPyEndAllowThreads(__tstate
);
1915 if (PyErr_Occurred()) SWIG_fail
;
1917 resultobj
= SWIG_FromInt((int)result
);
1924 static PyObject
*_wrap_BitmapButton_GetMarginY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1925 PyObject
*resultobj
;
1926 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1928 PyObject
* obj0
= 0 ;
1930 (char *) "self", NULL
1933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginY",kwnames
,&obj0
)) goto fail
;
1934 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1935 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1938 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginY();
1940 wxPyEndAllowThreads(__tstate
);
1941 if (PyErr_Occurred()) SWIG_fail
;
1943 resultobj
= SWIG_FromInt((int)result
);
1950 static PyObject
* BitmapButton_swigregister(PyObject
*self
, PyObject
*args
) {
1952 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1953 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapButton
, obj
);
1955 return Py_BuildValue((char *)"");
1957 static int _wrap_CheckBoxNameStr_set(PyObject
*_val
) {
1958 PyErr_SetString(PyExc_TypeError
,"Variable CheckBoxNameStr is read-only.");
1963 static PyObject
*_wrap_CheckBoxNameStr_get() {
1968 pyobj
= PyUnicode_FromWideChar((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
1970 pyobj
= PyString_FromStringAndSize((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
1977 static PyObject
*_wrap_new_CheckBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1978 PyObject
*resultobj
;
1979 wxWindow
*arg1
= (wxWindow
*) 0 ;
1980 int arg2
= (int) -1 ;
1981 wxString
const &arg3_defvalue
= wxPyEmptyString
;
1982 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
1983 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1984 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1985 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1986 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1987 long arg6
= (long) 0 ;
1988 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
1989 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
1990 wxString
const &arg8_defvalue
= wxPyCheckBoxNameStr
;
1991 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
1993 bool temp3
= False
;
1996 bool temp8
= False
;
1997 PyObject
* obj0
= 0 ;
1998 PyObject
* obj1
= 0 ;
1999 PyObject
* obj2
= 0 ;
2000 PyObject
* obj3
= 0 ;
2001 PyObject
* obj4
= 0 ;
2002 PyObject
* obj5
= 0 ;
2003 PyObject
* obj6
= 0 ;
2004 PyObject
* obj7
= 0 ;
2006 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
2010 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
2011 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2013 arg2
= (int) SWIG_AsInt(obj1
);
2014 if (PyErr_Occurred()) SWIG_fail
;
2018 arg3
= wxString_in_helper(obj2
);
2019 if (arg3
== NULL
) SWIG_fail
;
2026 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2032 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2036 arg6
= (long) SWIG_AsLong(obj5
);
2037 if (PyErr_Occurred()) SWIG_fail
;
2040 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
2041 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2044 PyErr_SetString(PyExc_TypeError
,"null reference");
2050 arg8
= wxString_in_helper(obj7
);
2051 if (arg8
== NULL
) SWIG_fail
;
2056 if (!wxPyCheckForApp()) SWIG_fail
;
2057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2058 result
= (wxCheckBox
*)new wxCheckBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
2060 wxPyEndAllowThreads(__tstate
);
2061 if (PyErr_Occurred()) SWIG_fail
;
2063 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckBox
, 1);
2086 static PyObject
*_wrap_new_PreCheckBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2087 PyObject
*resultobj
;
2093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckBox",kwnames
)) goto fail
;
2095 if (!wxPyCheckForApp()) SWIG_fail
;
2096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2097 result
= (wxCheckBox
*)new wxCheckBox();
2099 wxPyEndAllowThreads(__tstate
);
2100 if (PyErr_Occurred()) SWIG_fail
;
2102 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckBox
, 1);
2109 static PyObject
*_wrap_CheckBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2110 PyObject
*resultobj
;
2111 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2112 wxWindow
*arg2
= (wxWindow
*) 0 ;
2113 int arg3
= (int) -1 ;
2114 wxString
const &arg4_defvalue
= wxPyEmptyString
;
2115 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
2116 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
2117 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
2118 wxSize
const &arg6_defvalue
= wxDefaultSize
;
2119 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
2120 long arg7
= (long) 0 ;
2121 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2122 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2123 wxString
const &arg9_defvalue
= wxPyCheckBoxNameStr
;
2124 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2126 bool temp4
= False
;
2129 bool temp9
= False
;
2130 PyObject
* obj0
= 0 ;
2131 PyObject
* obj1
= 0 ;
2132 PyObject
* obj2
= 0 ;
2133 PyObject
* obj3
= 0 ;
2134 PyObject
* obj4
= 0 ;
2135 PyObject
* obj5
= 0 ;
2136 PyObject
* obj6
= 0 ;
2137 PyObject
* obj7
= 0 ;
2138 PyObject
* obj8
= 0 ;
2140 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2144 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2146 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
2147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2149 arg3
= (int) SWIG_AsInt(obj2
);
2150 if (PyErr_Occurred()) SWIG_fail
;
2154 arg4
= wxString_in_helper(obj3
);
2155 if (arg4
== NULL
) SWIG_fail
;
2162 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
2168 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
2172 arg7
= (long) SWIG_AsLong(obj6
);
2173 if (PyErr_Occurred()) SWIG_fail
;
2176 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
2177 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2180 PyErr_SetString(PyExc_TypeError
,"null reference");
2186 arg9
= wxString_in_helper(obj8
);
2187 if (arg9
== NULL
) SWIG_fail
;
2192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2193 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
2195 wxPyEndAllowThreads(__tstate
);
2196 if (PyErr_Occurred()) SWIG_fail
;
2199 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2223 static PyObject
*_wrap_CheckBox_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2224 PyObject
*resultobj
;
2225 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2227 PyObject
* obj0
= 0 ;
2229 (char *) "self", NULL
2232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_GetValue",kwnames
,&obj0
)) goto fail
;
2233 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2237 result
= (bool)(arg1
)->GetValue();
2239 wxPyEndAllowThreads(__tstate
);
2240 if (PyErr_Occurred()) SWIG_fail
;
2243 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2251 static PyObject
*_wrap_CheckBox_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2252 PyObject
*resultobj
;
2253 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2255 PyObject
* obj0
= 0 ;
2257 (char *) "self", NULL
2260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_IsChecked",kwnames
,&obj0
)) goto fail
;
2261 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2265 result
= (bool)(arg1
)->IsChecked();
2267 wxPyEndAllowThreads(__tstate
);
2268 if (PyErr_Occurred()) SWIG_fail
;
2271 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2279 static PyObject
*_wrap_CheckBox_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2280 PyObject
*resultobj
;
2281 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2283 PyObject
* obj0
= 0 ;
2284 PyObject
* obj1
= 0 ;
2286 (char *) "self",(char *) "state", NULL
2289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
2290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2292 arg2
= (bool const) SWIG_AsBool(obj1
);
2293 if (PyErr_Occurred()) SWIG_fail
;
2295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2296 (arg1
)->SetValue(arg2
);
2298 wxPyEndAllowThreads(__tstate
);
2299 if (PyErr_Occurred()) SWIG_fail
;
2301 Py_INCREF(Py_None
); resultobj
= Py_None
;
2308 static PyObject
*_wrap_CheckBox_Get3StateValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2309 PyObject
*resultobj
;
2310 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2312 PyObject
* obj0
= 0 ;
2314 (char *) "self", NULL
2317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Get3StateValue",kwnames
,&obj0
)) goto fail
;
2318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2322 result
= (int)((wxCheckBox
const *)arg1
)->Get3StateValue();
2324 wxPyEndAllowThreads(__tstate
);
2325 if (PyErr_Occurred()) SWIG_fail
;
2327 resultobj
= SWIG_FromInt((int)result
);
2334 static PyObject
*_wrap_CheckBox_Set3StateValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2335 PyObject
*resultobj
;
2336 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2338 PyObject
* obj0
= 0 ;
2339 PyObject
* obj1
= 0 ;
2341 (char *) "self",(char *) "state", NULL
2344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_Set3StateValue",kwnames
,&obj0
,&obj1
)) goto fail
;
2345 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2347 arg2
= (wxCheckBoxState
) SWIG_AsInt(obj1
);
2348 if (PyErr_Occurred()) SWIG_fail
;
2350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2351 (arg1
)->Set3StateValue((wxCheckBoxState
)arg2
);
2353 wxPyEndAllowThreads(__tstate
);
2354 if (PyErr_Occurred()) SWIG_fail
;
2356 Py_INCREF(Py_None
); resultobj
= Py_None
;
2363 static PyObject
*_wrap_CheckBox_Is3State(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2364 PyObject
*resultobj
;
2365 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2367 PyObject
* obj0
= 0 ;
2369 (char *) "self", NULL
2372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3State",kwnames
,&obj0
)) goto fail
;
2373 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2377 result
= (bool)((wxCheckBox
const *)arg1
)->Is3State();
2379 wxPyEndAllowThreads(__tstate
);
2380 if (PyErr_Occurred()) SWIG_fail
;
2383 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2391 static PyObject
*_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2392 PyObject
*resultobj
;
2393 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2395 PyObject
* obj0
= 0 ;
2397 (char *) "self", NULL
2400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3rdStateAllowedForUser",kwnames
,&obj0
)) goto fail
;
2401 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2402 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2405 result
= (bool)((wxCheckBox
const *)arg1
)->Is3rdStateAllowedForUser();
2407 wxPyEndAllowThreads(__tstate
);
2408 if (PyErr_Occurred()) SWIG_fail
;
2411 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2419 static PyObject
*_wrap_CheckBox_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2420 PyObject
*resultobj
;
2421 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
2422 wxVisualAttributes result
;
2423 PyObject
* obj0
= 0 ;
2425 (char *) "variant", NULL
2428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:CheckBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
2430 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
2431 if (PyErr_Occurred()) SWIG_fail
;
2434 if (!wxPyCheckForApp()) SWIG_fail
;
2435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2436 result
= wxCheckBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
2438 wxPyEndAllowThreads(__tstate
);
2439 if (PyErr_Occurred()) SWIG_fail
;
2442 wxVisualAttributes
* resultptr
;
2443 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
2444 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
2452 static PyObject
* CheckBox_swigregister(PyObject
*self
, PyObject
*args
) {
2454 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2455 SWIG_TypeClientData(SWIGTYPE_p_wxCheckBox
, obj
);
2457 return Py_BuildValue((char *)"");
2459 static int _wrap_ChoiceNameStr_set(PyObject
*_val
) {
2460 PyErr_SetString(PyExc_TypeError
,"Variable ChoiceNameStr is read-only.");
2465 static PyObject
*_wrap_ChoiceNameStr_get() {
2470 pyobj
= PyUnicode_FromWideChar((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
2472 pyobj
= PyString_FromStringAndSize((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
2479 static PyObject
*_wrap_new_Choice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2480 PyObject
*resultobj
;
2481 wxWindow
*arg1
= (wxWindow
*) 0 ;
2482 int arg2
= (int) -1 ;
2483 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
2484 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
2485 wxSize
const &arg4_defvalue
= wxDefaultSize
;
2486 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
2487 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
2488 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
2489 long arg6
= (long) 0 ;
2490 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
2491 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
2492 wxString
const &arg8_defvalue
= wxPyChoiceNameStr
;
2493 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
2497 bool temp5
= False
;
2498 bool temp8
= False
;
2499 PyObject
* obj0
= 0 ;
2500 PyObject
* obj1
= 0 ;
2501 PyObject
* obj2
= 0 ;
2502 PyObject
* obj3
= 0 ;
2503 PyObject
* obj4
= 0 ;
2504 PyObject
* obj5
= 0 ;
2505 PyObject
* obj6
= 0 ;
2506 PyObject
* obj7
= 0 ;
2508 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Choice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
2512 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
2513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2515 arg2
= (int) SWIG_AsInt(obj1
);
2516 if (PyErr_Occurred()) SWIG_fail
;
2521 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
2527 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
2532 if (! PySequence_Check(obj4
)) {
2533 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
2536 arg5
= new wxArrayString
;
2538 int i
, len
=PySequence_Length(obj4
);
2539 for (i
=0; i
<len
; i
++) {
2540 PyObject
* item
= PySequence_GetItem(obj4
, i
);
2542 PyObject
* str
= PyObject_Unicode(item
);
2544 PyObject
* str
= PyObject_Str(item
);
2546 if (PyErr_Occurred()) SWIG_fail
;
2547 arg5
->Add(Py2wxString(str
));
2554 arg6
= (long) SWIG_AsLong(obj5
);
2555 if (PyErr_Occurred()) SWIG_fail
;
2558 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
2559 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2562 PyErr_SetString(PyExc_TypeError
,"null reference");
2568 arg8
= wxString_in_helper(obj7
);
2569 if (arg8
== NULL
) SWIG_fail
;
2574 if (!wxPyCheckForApp()) SWIG_fail
;
2575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2576 result
= (wxChoice
*)new wxChoice(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
2578 wxPyEndAllowThreads(__tstate
);
2579 if (PyErr_Occurred()) SWIG_fail
;
2581 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoice
, 1);
2583 if (temp5
) delete arg5
;
2592 if (temp5
) delete arg5
;
2602 static PyObject
*_wrap_new_PreChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2603 PyObject
*resultobj
;
2609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreChoice",kwnames
)) goto fail
;
2611 if (!wxPyCheckForApp()) SWIG_fail
;
2612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2613 result
= (wxChoice
*)new wxChoice();
2615 wxPyEndAllowThreads(__tstate
);
2616 if (PyErr_Occurred()) SWIG_fail
;
2618 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoice
, 1);
2625 static PyObject
*_wrap_Choice_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2626 PyObject
*resultobj
;
2627 wxChoice
*arg1
= (wxChoice
*) 0 ;
2628 wxWindow
*arg2
= (wxWindow
*) 0 ;
2629 int arg3
= (int) -1 ;
2630 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2631 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2632 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2633 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2634 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
2635 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
2636 long arg7
= (long) 0 ;
2637 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2638 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2639 wxString
const &arg9_defvalue
= wxPyChoiceNameStr
;
2640 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2644 bool temp6
= False
;
2645 bool temp9
= False
;
2646 PyObject
* obj0
= 0 ;
2647 PyObject
* obj1
= 0 ;
2648 PyObject
* obj2
= 0 ;
2649 PyObject
* obj3
= 0 ;
2650 PyObject
* obj4
= 0 ;
2651 PyObject
* obj5
= 0 ;
2652 PyObject
* obj6
= 0 ;
2653 PyObject
* obj7
= 0 ;
2654 PyObject
* obj8
= 0 ;
2656 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Choice_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2660 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2662 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
2663 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2665 arg3
= (int) SWIG_AsInt(obj2
);
2666 if (PyErr_Occurred()) SWIG_fail
;
2671 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2677 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2682 if (! PySequence_Check(obj5
)) {
2683 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
2686 arg6
= new wxArrayString
;
2688 int i
, len
=PySequence_Length(obj5
);
2689 for (i
=0; i
<len
; i
++) {
2690 PyObject
* item
= PySequence_GetItem(obj5
, i
);
2692 PyObject
* str
= PyObject_Unicode(item
);
2694 PyObject
* str
= PyObject_Str(item
);
2696 if (PyErr_Occurred()) SWIG_fail
;
2697 arg6
->Add(Py2wxString(str
));
2704 arg7
= (long) SWIG_AsLong(obj6
);
2705 if (PyErr_Occurred()) SWIG_fail
;
2708 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
2709 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2712 PyErr_SetString(PyExc_TypeError
,"null reference");
2718 arg9
= wxString_in_helper(obj8
);
2719 if (arg9
== NULL
) SWIG_fail
;
2724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2725 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
2727 wxPyEndAllowThreads(__tstate
);
2728 if (PyErr_Occurred()) SWIG_fail
;
2731 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2734 if (temp6
) delete arg6
;
2743 if (temp6
) delete arg6
;
2753 static PyObject
*_wrap_Choice_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2754 PyObject
*resultobj
;
2755 wxChoice
*arg1
= (wxChoice
*) 0 ;
2757 PyObject
* obj0
= 0 ;
2758 PyObject
* obj1
= 0 ;
2760 (char *) "self",(char *) "n", NULL
2763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Choice_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
2764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2766 arg2
= (int const) SWIG_AsInt(obj1
);
2767 if (PyErr_Occurred()) SWIG_fail
;
2769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2770 (arg1
)->SetSelection(arg2
);
2772 wxPyEndAllowThreads(__tstate
);
2773 if (PyErr_Occurred()) SWIG_fail
;
2775 Py_INCREF(Py_None
); resultobj
= Py_None
;
2782 static PyObject
*_wrap_Choice_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2783 PyObject
*resultobj
;
2784 wxChoice
*arg1
= (wxChoice
*) 0 ;
2785 wxString
*arg2
= 0 ;
2787 bool temp2
= False
;
2788 PyObject
* obj0
= 0 ;
2789 PyObject
* obj1
= 0 ;
2791 (char *) "self",(char *) "string", NULL
2794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Choice_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
2795 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2798 arg2
= wxString_in_helper(obj1
);
2799 if (arg2
== NULL
) SWIG_fail
;
2803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2804 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
2806 wxPyEndAllowThreads(__tstate
);
2807 if (PyErr_Occurred()) SWIG_fail
;
2810 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2826 static PyObject
*_wrap_Choice_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2827 PyObject
*resultobj
;
2828 wxChoice
*arg1
= (wxChoice
*) 0 ;
2830 wxString
*arg3
= 0 ;
2831 bool temp3
= False
;
2832 PyObject
* obj0
= 0 ;
2833 PyObject
* obj1
= 0 ;
2834 PyObject
* obj2
= 0 ;
2836 (char *) "self",(char *) "n",(char *) "string", NULL
2839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Choice_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2840 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2842 arg2
= (int) SWIG_AsInt(obj1
);
2843 if (PyErr_Occurred()) SWIG_fail
;
2845 arg3
= wxString_in_helper(obj2
);
2846 if (arg3
== NULL
) SWIG_fail
;
2850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2851 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
2853 wxPyEndAllowThreads(__tstate
);
2854 if (PyErr_Occurred()) SWIG_fail
;
2856 Py_INCREF(Py_None
); resultobj
= Py_None
;
2871 static PyObject
*_wrap_Choice_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2872 PyObject
*resultobj
;
2873 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
2874 wxVisualAttributes result
;
2875 PyObject
* obj0
= 0 ;
2877 (char *) "variant", NULL
2880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Choice_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
2882 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
2883 if (PyErr_Occurred()) SWIG_fail
;
2886 if (!wxPyCheckForApp()) SWIG_fail
;
2887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2888 result
= wxChoice::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
2890 wxPyEndAllowThreads(__tstate
);
2891 if (PyErr_Occurred()) SWIG_fail
;
2894 wxVisualAttributes
* resultptr
;
2895 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
2896 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
2904 static PyObject
* Choice_swigregister(PyObject
*self
, PyObject
*args
) {
2906 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2907 SWIG_TypeClientData(SWIGTYPE_p_wxChoice
, obj
);
2909 return Py_BuildValue((char *)"");
2911 static int _wrap_ComboBoxNameStr_set(PyObject
*_val
) {
2912 PyErr_SetString(PyExc_TypeError
,"Variable ComboBoxNameStr is read-only.");
2917 static PyObject
*_wrap_ComboBoxNameStr_get() {
2922 pyobj
= PyUnicode_FromWideChar((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
2924 pyobj
= PyString_FromStringAndSize((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
2931 static PyObject
*_wrap_new_ComboBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2932 PyObject
*resultobj
;
2933 wxWindow
*arg1
= (wxWindow
*) 0 ;
2934 int arg2
= (int) -1 ;
2935 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2936 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2937 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2938 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2939 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2940 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2941 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
2942 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
2943 long arg7
= (long) 0 ;
2944 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2945 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2946 wxString
const &arg9_defvalue
= wxPyComboBoxNameStr
;
2947 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2949 bool temp3
= False
;
2952 bool temp6
= False
;
2953 bool temp9
= False
;
2954 PyObject
* obj0
= 0 ;
2955 PyObject
* obj1
= 0 ;
2956 PyObject
* obj2
= 0 ;
2957 PyObject
* obj3
= 0 ;
2958 PyObject
* obj4
= 0 ;
2959 PyObject
* obj5
= 0 ;
2960 PyObject
* obj6
= 0 ;
2961 PyObject
* obj7
= 0 ;
2962 PyObject
* obj8
= 0 ;
2964 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_ComboBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2968 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
2969 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2971 arg2
= (int) SWIG_AsInt(obj1
);
2972 if (PyErr_Occurred()) SWIG_fail
;
2976 arg3
= wxString_in_helper(obj2
);
2977 if (arg3
== NULL
) SWIG_fail
;
2984 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2990 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2995 if (! PySequence_Check(obj5
)) {
2996 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
2999 arg6
= new wxArrayString
;
3001 int i
, len
=PySequence_Length(obj5
);
3002 for (i
=0; i
<len
; i
++) {
3003 PyObject
* item
= PySequence_GetItem(obj5
, i
);
3005 PyObject
* str
= PyObject_Unicode(item
);
3007 PyObject
* str
= PyObject_Str(item
);
3009 if (PyErr_Occurred()) SWIG_fail
;
3010 arg6
->Add(Py2wxString(str
));
3017 arg7
= (long) SWIG_AsLong(obj6
);
3018 if (PyErr_Occurred()) SWIG_fail
;
3021 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
3022 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3025 PyErr_SetString(PyExc_TypeError
,"null reference");
3031 arg9
= wxString_in_helper(obj8
);
3032 if (arg9
== NULL
) SWIG_fail
;
3037 if (!wxPyCheckForApp()) SWIG_fail
;
3038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3039 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
);
3041 wxPyEndAllowThreads(__tstate
);
3042 if (PyErr_Occurred()) SWIG_fail
;
3044 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxComboBox
, 1);
3050 if (temp6
) delete arg6
;
3063 if (temp6
) delete arg6
;
3073 static PyObject
*_wrap_new_PreComboBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3074 PyObject
*resultobj
;
3080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreComboBox",kwnames
)) goto fail
;
3082 if (!wxPyCheckForApp()) SWIG_fail
;
3083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3084 result
= (wxComboBox
*)new wxComboBox();
3086 wxPyEndAllowThreads(__tstate
);
3087 if (PyErr_Occurred()) SWIG_fail
;
3089 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxComboBox
, 1);
3096 static PyObject
*_wrap_ComboBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3097 PyObject
*resultobj
;
3098 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3099 wxWindow
*arg2
= (wxWindow
*) 0 ;
3100 int arg3
= (int) -1 ;
3101 wxString
const &arg4_defvalue
= wxPyEmptyString
;
3102 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3103 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3104 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3105 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3106 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3107 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
3108 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
3109 long arg8
= (long) 0 ;
3110 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
3111 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
3112 wxString
const &arg10_defvalue
= wxPyChoiceNameStr
;
3113 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
3115 bool temp4
= False
;
3118 bool temp7
= False
;
3119 bool temp10
= False
;
3120 PyObject
* obj0
= 0 ;
3121 PyObject
* obj1
= 0 ;
3122 PyObject
* obj2
= 0 ;
3123 PyObject
* obj3
= 0 ;
3124 PyObject
* obj4
= 0 ;
3125 PyObject
* obj5
= 0 ;
3126 PyObject
* obj6
= 0 ;
3127 PyObject
* obj7
= 0 ;
3128 PyObject
* obj8
= 0 ;
3129 PyObject
* obj9
= 0 ;
3131 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
3134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:ComboBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
3135 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3137 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
3138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3140 arg3
= (int) SWIG_AsInt(obj2
);
3141 if (PyErr_Occurred()) SWIG_fail
;
3145 arg4
= wxString_in_helper(obj3
);
3146 if (arg4
== NULL
) SWIG_fail
;
3153 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3159 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3164 if (! PySequence_Check(obj6
)) {
3165 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
3168 arg7
= new wxArrayString
;
3170 int i
, len
=PySequence_Length(obj6
);
3171 for (i
=0; i
<len
; i
++) {
3172 PyObject
* item
= PySequence_GetItem(obj6
, i
);
3174 PyObject
* str
= PyObject_Unicode(item
);
3176 PyObject
* str
= PyObject_Str(item
);
3178 if (PyErr_Occurred()) SWIG_fail
;
3179 arg7
->Add(Py2wxString(str
));
3186 arg8
= (long) SWIG_AsLong(obj7
);
3187 if (PyErr_Occurred()) SWIG_fail
;
3190 if ((SWIG_ConvertPtr(obj8
,(void **)(&arg9
),SWIGTYPE_p_wxValidator
,
3191 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3194 PyErr_SetString(PyExc_TypeError
,"null reference");
3200 arg10
= wxString_in_helper(obj9
);
3201 if (arg10
== NULL
) SWIG_fail
;
3206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3207 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
);
3209 wxPyEndAllowThreads(__tstate
);
3210 if (PyErr_Occurred()) SWIG_fail
;
3213 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3220 if (temp7
) delete arg7
;
3233 if (temp7
) delete arg7
;
3243 static PyObject
*_wrap_ComboBox_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3244 PyObject
*resultobj
;
3245 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3247 PyObject
* obj0
= 0 ;
3249 (char *) "self", NULL
3252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetValue",kwnames
,&obj0
)) goto fail
;
3253 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3257 result
= ((wxComboBox
const *)arg1
)->GetValue();
3259 wxPyEndAllowThreads(__tstate
);
3260 if (PyErr_Occurred()) SWIG_fail
;
3264 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3266 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3275 static PyObject
*_wrap_ComboBox_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3276 PyObject
*resultobj
;
3277 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3278 wxString
*arg2
= 0 ;
3279 bool temp2
= False
;
3280 PyObject
* obj0
= 0 ;
3281 PyObject
* obj1
= 0 ;
3283 (char *) "self",(char *) "value", NULL
3286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
3287 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3290 arg2
= wxString_in_helper(obj1
);
3291 if (arg2
== NULL
) SWIG_fail
;
3295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3296 (arg1
)->SetValue((wxString
const &)*arg2
);
3298 wxPyEndAllowThreads(__tstate
);
3299 if (PyErr_Occurred()) SWIG_fail
;
3301 Py_INCREF(Py_None
); resultobj
= Py_None
;
3316 static PyObject
*_wrap_ComboBox_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3317 PyObject
*resultobj
;
3318 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3319 PyObject
* obj0
= 0 ;
3321 (char *) "self", NULL
3324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Copy",kwnames
,&obj0
)) goto fail
;
3325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3331 wxPyEndAllowThreads(__tstate
);
3332 if (PyErr_Occurred()) SWIG_fail
;
3334 Py_INCREF(Py_None
); resultobj
= Py_None
;
3341 static PyObject
*_wrap_ComboBox_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3342 PyObject
*resultobj
;
3343 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3344 PyObject
* obj0
= 0 ;
3346 (char *) "self", NULL
3349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Cut",kwnames
,&obj0
)) goto fail
;
3350 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3356 wxPyEndAllowThreads(__tstate
);
3357 if (PyErr_Occurred()) SWIG_fail
;
3359 Py_INCREF(Py_None
); resultobj
= Py_None
;
3366 static PyObject
*_wrap_ComboBox_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3367 PyObject
*resultobj
;
3368 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3369 PyObject
* obj0
= 0 ;
3371 (char *) "self", NULL
3374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Paste",kwnames
,&obj0
)) goto fail
;
3375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3381 wxPyEndAllowThreads(__tstate
);
3382 if (PyErr_Occurred()) SWIG_fail
;
3384 Py_INCREF(Py_None
); resultobj
= Py_None
;
3391 static PyObject
*_wrap_ComboBox_SetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3392 PyObject
*resultobj
;
3393 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3395 PyObject
* obj0
= 0 ;
3396 PyObject
* obj1
= 0 ;
3398 (char *) "self",(char *) "pos", NULL
3401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
3402 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3404 arg2
= (long) SWIG_AsLong(obj1
);
3405 if (PyErr_Occurred()) SWIG_fail
;
3407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3408 (arg1
)->SetInsertionPoint(arg2
);
3410 wxPyEndAllowThreads(__tstate
);
3411 if (PyErr_Occurred()) SWIG_fail
;
3413 Py_INCREF(Py_None
); resultobj
= Py_None
;
3420 static PyObject
*_wrap_ComboBox_GetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3421 PyObject
*resultobj
;
3422 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3424 PyObject
* obj0
= 0 ;
3426 (char *) "self", NULL
3429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
3430 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3434 result
= (long)((wxComboBox
const *)arg1
)->GetInsertionPoint();
3436 wxPyEndAllowThreads(__tstate
);
3437 if (PyErr_Occurred()) SWIG_fail
;
3439 resultobj
= SWIG_FromLong((long)result
);
3446 static PyObject
*_wrap_ComboBox_GetLastPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3447 PyObject
*resultobj
;
3448 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3450 PyObject
* obj0
= 0 ;
3452 (char *) "self", NULL
3455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetLastPosition",kwnames
,&obj0
)) goto fail
;
3456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3460 result
= (long)((wxComboBox
const *)arg1
)->GetLastPosition();
3462 wxPyEndAllowThreads(__tstate
);
3463 if (PyErr_Occurred()) SWIG_fail
;
3465 resultobj
= SWIG_FromLong((long)result
);
3472 static PyObject
*_wrap_ComboBox_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3473 PyObject
*resultobj
;
3474 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3477 wxString
*arg4
= 0 ;
3478 bool temp4
= False
;
3479 PyObject
* obj0
= 0 ;
3480 PyObject
* obj1
= 0 ;
3481 PyObject
* obj2
= 0 ;
3482 PyObject
* obj3
= 0 ;
3484 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
3487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ComboBox_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3490 arg2
= (long) SWIG_AsLong(obj1
);
3491 if (PyErr_Occurred()) SWIG_fail
;
3492 arg3
= (long) SWIG_AsLong(obj2
);
3493 if (PyErr_Occurred()) SWIG_fail
;
3495 arg4
= wxString_in_helper(obj3
);
3496 if (arg4
== NULL
) SWIG_fail
;
3500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3501 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
3503 wxPyEndAllowThreads(__tstate
);
3504 if (PyErr_Occurred()) SWIG_fail
;
3506 Py_INCREF(Py_None
); resultobj
= Py_None
;
3521 static PyObject
*_wrap_ComboBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3522 PyObject
*resultobj
;
3523 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3525 PyObject
* obj0
= 0 ;
3526 PyObject
* obj1
= 0 ;
3528 (char *) "self",(char *) "n", NULL
3531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
3532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3534 arg2
= (int) SWIG_AsInt(obj1
);
3535 if (PyErr_Occurred()) SWIG_fail
;
3537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3538 (arg1
)->SetSelection(arg2
);
3540 wxPyEndAllowThreads(__tstate
);
3541 if (PyErr_Occurred()) SWIG_fail
;
3543 Py_INCREF(Py_None
); resultobj
= Py_None
;
3550 static PyObject
*_wrap_ComboBox_SetMark(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3551 PyObject
*resultobj
;
3552 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3555 PyObject
* obj0
= 0 ;
3556 PyObject
* obj1
= 0 ;
3557 PyObject
* obj2
= 0 ;
3559 (char *) "self",(char *) "from",(char *) "to", NULL
3562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetMark",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3563 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3565 arg2
= (long) SWIG_AsLong(obj1
);
3566 if (PyErr_Occurred()) SWIG_fail
;
3567 arg3
= (long) SWIG_AsLong(obj2
);
3568 if (PyErr_Occurred()) SWIG_fail
;
3570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3571 (arg1
)->SetSelection(arg2
,arg3
);
3573 wxPyEndAllowThreads(__tstate
);
3574 if (PyErr_Occurred()) SWIG_fail
;
3576 Py_INCREF(Py_None
); resultobj
= Py_None
;
3583 static PyObject
*_wrap_ComboBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3584 PyObject
*resultobj
;
3585 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3586 wxString
*arg2
= 0 ;
3588 bool temp2
= False
;
3589 PyObject
* obj0
= 0 ;
3590 PyObject
* obj1
= 0 ;
3592 (char *) "self",(char *) "string", NULL
3595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
3596 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3599 arg2
= wxString_in_helper(obj1
);
3600 if (arg2
== NULL
) SWIG_fail
;
3604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3605 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
3607 wxPyEndAllowThreads(__tstate
);
3608 if (PyErr_Occurred()) SWIG_fail
;
3611 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3627 static PyObject
*_wrap_ComboBox_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3628 PyObject
*resultobj
;
3629 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3631 wxString
*arg3
= 0 ;
3632 bool temp3
= False
;
3633 PyObject
* obj0
= 0 ;
3634 PyObject
* obj1
= 0 ;
3635 PyObject
* obj2
= 0 ;
3637 (char *) "self",(char *) "n",(char *) "string", NULL
3640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3641 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3643 arg2
= (int) SWIG_AsInt(obj1
);
3644 if (PyErr_Occurred()) SWIG_fail
;
3646 arg3
= wxString_in_helper(obj2
);
3647 if (arg3
== NULL
) SWIG_fail
;
3651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3652 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
3654 wxPyEndAllowThreads(__tstate
);
3655 if (PyErr_Occurred()) SWIG_fail
;
3657 Py_INCREF(Py_None
); resultobj
= Py_None
;
3672 static PyObject
*_wrap_ComboBox_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3673 PyObject
*resultobj
;
3674 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3676 PyObject
* obj0
= 0 ;
3677 PyObject
* obj1
= 0 ;
3679 (char *) "self",(char *) "editable", NULL
3682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
3683 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3685 arg2
= (bool) SWIG_AsBool(obj1
);
3686 if (PyErr_Occurred()) SWIG_fail
;
3688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3689 (arg1
)->SetEditable(arg2
);
3691 wxPyEndAllowThreads(__tstate
);
3692 if (PyErr_Occurred()) SWIG_fail
;
3694 Py_INCREF(Py_None
); resultobj
= Py_None
;
3701 static PyObject
*_wrap_ComboBox_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3702 PyObject
*resultobj
;
3703 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3704 PyObject
* obj0
= 0 ;
3706 (char *) "self", NULL
3709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
3710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3714 (arg1
)->SetInsertionPointEnd();
3716 wxPyEndAllowThreads(__tstate
);
3717 if (PyErr_Occurred()) SWIG_fail
;
3719 Py_INCREF(Py_None
); resultobj
= Py_None
;
3726 static PyObject
*_wrap_ComboBox_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3727 PyObject
*resultobj
;
3728 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3731 PyObject
* obj0
= 0 ;
3732 PyObject
* obj1
= 0 ;
3733 PyObject
* obj2
= 0 ;
3735 (char *) "self",(char *) "from",(char *) "to", NULL
3738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3739 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3741 arg2
= (long) SWIG_AsLong(obj1
);
3742 if (PyErr_Occurred()) SWIG_fail
;
3743 arg3
= (long) SWIG_AsLong(obj2
);
3744 if (PyErr_Occurred()) SWIG_fail
;
3746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3747 (arg1
)->Remove(arg2
,arg3
);
3749 wxPyEndAllowThreads(__tstate
);
3750 if (PyErr_Occurred()) SWIG_fail
;
3752 Py_INCREF(Py_None
); resultobj
= Py_None
;
3759 static PyObject
*_wrap_ComboBox_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3760 PyObject
*resultobj
;
3761 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
3762 wxVisualAttributes result
;
3763 PyObject
* obj0
= 0 ;
3765 (char *) "variant", NULL
3768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ComboBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
3770 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
3771 if (PyErr_Occurred()) SWIG_fail
;
3774 if (!wxPyCheckForApp()) SWIG_fail
;
3775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3776 result
= wxComboBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
3778 wxPyEndAllowThreads(__tstate
);
3779 if (PyErr_Occurred()) SWIG_fail
;
3782 wxVisualAttributes
* resultptr
;
3783 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
3784 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
3792 static PyObject
* ComboBox_swigregister(PyObject
*self
, PyObject
*args
) {
3794 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3795 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox
, obj
);
3797 return Py_BuildValue((char *)"");
3799 static int _wrap_GaugeNameStr_set(PyObject
*_val
) {
3800 PyErr_SetString(PyExc_TypeError
,"Variable GaugeNameStr is read-only.");
3805 static PyObject
*_wrap_GaugeNameStr_get() {
3810 pyobj
= PyUnicode_FromWideChar((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
3812 pyobj
= PyString_FromStringAndSize((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
3819 static PyObject
*_wrap_new_Gauge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3820 PyObject
*resultobj
;
3821 wxWindow
*arg1
= (wxWindow
*) 0 ;
3822 int arg2
= (int) -1 ;
3823 int arg3
= (int) 100 ;
3824 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3825 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3826 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3827 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3828 long arg6
= (long) wxGA_HORIZONTAL
;
3829 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3830 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3831 wxString
const &arg8_defvalue
= wxPyGaugeNameStr
;
3832 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3836 bool temp8
= False
;
3837 PyObject
* obj0
= 0 ;
3838 PyObject
* obj1
= 0 ;
3839 PyObject
* obj2
= 0 ;
3840 PyObject
* obj3
= 0 ;
3841 PyObject
* obj4
= 0 ;
3842 PyObject
* obj5
= 0 ;
3843 PyObject
* obj6
= 0 ;
3844 PyObject
* obj7
= 0 ;
3846 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Gauge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
3851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3853 arg2
= (int) SWIG_AsInt(obj1
);
3854 if (PyErr_Occurred()) SWIG_fail
;
3857 arg3
= (int) SWIG_AsInt(obj2
);
3858 if (PyErr_Occurred()) SWIG_fail
;
3863 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3869 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3873 arg6
= (long) SWIG_AsLong(obj5
);
3874 if (PyErr_Occurred()) SWIG_fail
;
3877 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
3878 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3881 PyErr_SetString(PyExc_TypeError
,"null reference");
3887 arg8
= wxString_in_helper(obj7
);
3888 if (arg8
== NULL
) SWIG_fail
;
3893 if (!wxPyCheckForApp()) SWIG_fail
;
3894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3895 result
= (wxGauge
*)new wxGauge(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3897 wxPyEndAllowThreads(__tstate
);
3898 if (PyErr_Occurred()) SWIG_fail
;
3900 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGauge
, 1);
3915 static PyObject
*_wrap_new_PreGauge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3916 PyObject
*resultobj
;
3922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGauge",kwnames
)) goto fail
;
3924 if (!wxPyCheckForApp()) SWIG_fail
;
3925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3926 result
= (wxGauge
*)new wxGauge();
3928 wxPyEndAllowThreads(__tstate
);
3929 if (PyErr_Occurred()) SWIG_fail
;
3931 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGauge
, 1);
3938 static PyObject
*_wrap_Gauge_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3939 PyObject
*resultobj
;
3940 wxGauge
*arg1
= (wxGauge
*) 0 ;
3941 wxWindow
*arg2
= (wxWindow
*) 0 ;
3942 int arg3
= (int) -1 ;
3943 int arg4
= (int) 100 ;
3944 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3945 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3946 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3947 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3948 long arg7
= (long) wxGA_HORIZONTAL
;
3949 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3950 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3951 wxString
const &arg9_defvalue
= wxPyGaugeNameStr
;
3952 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3956 bool temp9
= False
;
3957 PyObject
* obj0
= 0 ;
3958 PyObject
* obj1
= 0 ;
3959 PyObject
* obj2
= 0 ;
3960 PyObject
* obj3
= 0 ;
3961 PyObject
* obj4
= 0 ;
3962 PyObject
* obj5
= 0 ;
3963 PyObject
* obj6
= 0 ;
3964 PyObject
* obj7
= 0 ;
3965 PyObject
* obj8
= 0 ;
3967 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Gauge_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3971 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3973 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
3974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3976 arg3
= (int) SWIG_AsInt(obj2
);
3977 if (PyErr_Occurred()) SWIG_fail
;
3980 arg4
= (int) SWIG_AsInt(obj3
);
3981 if (PyErr_Occurred()) SWIG_fail
;
3986 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3992 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3996 arg7
= (long) SWIG_AsLong(obj6
);
3997 if (PyErr_Occurred()) SWIG_fail
;
4000 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
4001 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4004 PyErr_SetString(PyExc_TypeError
,"null reference");
4010 arg9
= wxString_in_helper(obj8
);
4011 if (arg9
== NULL
) SWIG_fail
;
4016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4017 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
4019 wxPyEndAllowThreads(__tstate
);
4020 if (PyErr_Occurred()) SWIG_fail
;
4023 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4039 static PyObject
*_wrap_Gauge_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4040 PyObject
*resultobj
;
4041 wxGauge
*arg1
= (wxGauge
*) 0 ;
4043 PyObject
* obj0
= 0 ;
4044 PyObject
* obj1
= 0 ;
4046 (char *) "self",(char *) "range", NULL
4049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetRange",kwnames
,&obj0
,&obj1
)) goto fail
;
4050 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4052 arg2
= (int) SWIG_AsInt(obj1
);
4053 if (PyErr_Occurred()) SWIG_fail
;
4055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4056 (arg1
)->SetRange(arg2
);
4058 wxPyEndAllowThreads(__tstate
);
4059 if (PyErr_Occurred()) SWIG_fail
;
4061 Py_INCREF(Py_None
); resultobj
= Py_None
;
4068 static PyObject
*_wrap_Gauge_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4069 PyObject
*resultobj
;
4070 wxGauge
*arg1
= (wxGauge
*) 0 ;
4072 PyObject
* obj0
= 0 ;
4074 (char *) "self", NULL
4077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetRange",kwnames
,&obj0
)) goto fail
;
4078 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4079 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4082 result
= (int)((wxGauge
const *)arg1
)->GetRange();
4084 wxPyEndAllowThreads(__tstate
);
4085 if (PyErr_Occurred()) SWIG_fail
;
4087 resultobj
= SWIG_FromInt((int)result
);
4094 static PyObject
*_wrap_Gauge_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4095 PyObject
*resultobj
;
4096 wxGauge
*arg1
= (wxGauge
*) 0 ;
4098 PyObject
* obj0
= 0 ;
4099 PyObject
* obj1
= 0 ;
4101 (char *) "self",(char *) "pos", NULL
4104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
4105 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4106 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4107 arg2
= (int) SWIG_AsInt(obj1
);
4108 if (PyErr_Occurred()) SWIG_fail
;
4110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4111 (arg1
)->SetValue(arg2
);
4113 wxPyEndAllowThreads(__tstate
);
4114 if (PyErr_Occurred()) SWIG_fail
;
4116 Py_INCREF(Py_None
); resultobj
= Py_None
;
4123 static PyObject
*_wrap_Gauge_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4124 PyObject
*resultobj
;
4125 wxGauge
*arg1
= (wxGauge
*) 0 ;
4127 PyObject
* obj0
= 0 ;
4129 (char *) "self", NULL
4132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetValue",kwnames
,&obj0
)) goto fail
;
4133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4137 result
= (int)((wxGauge
const *)arg1
)->GetValue();
4139 wxPyEndAllowThreads(__tstate
);
4140 if (PyErr_Occurred()) SWIG_fail
;
4142 resultobj
= SWIG_FromInt((int)result
);
4149 static PyObject
*_wrap_Gauge_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4150 PyObject
*resultobj
;
4151 wxGauge
*arg1
= (wxGauge
*) 0 ;
4153 PyObject
* obj0
= 0 ;
4155 (char *) "self", NULL
4158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_IsVertical",kwnames
,&obj0
)) goto fail
;
4159 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4160 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4163 result
= (bool)((wxGauge
const *)arg1
)->IsVertical();
4165 wxPyEndAllowThreads(__tstate
);
4166 if (PyErr_Occurred()) SWIG_fail
;
4169 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4177 static PyObject
*_wrap_Gauge_SetShadowWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4178 PyObject
*resultobj
;
4179 wxGauge
*arg1
= (wxGauge
*) 0 ;
4181 PyObject
* obj0
= 0 ;
4182 PyObject
* obj1
= 0 ;
4184 (char *) "self",(char *) "w", NULL
4187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetShadowWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
4188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4190 arg2
= (int) SWIG_AsInt(obj1
);
4191 if (PyErr_Occurred()) SWIG_fail
;
4193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4194 (arg1
)->SetShadowWidth(arg2
);
4196 wxPyEndAllowThreads(__tstate
);
4197 if (PyErr_Occurred()) SWIG_fail
;
4199 Py_INCREF(Py_None
); resultobj
= Py_None
;
4206 static PyObject
*_wrap_Gauge_GetShadowWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4207 PyObject
*resultobj
;
4208 wxGauge
*arg1
= (wxGauge
*) 0 ;
4210 PyObject
* obj0
= 0 ;
4212 (char *) "self", NULL
4215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetShadowWidth",kwnames
,&obj0
)) goto fail
;
4216 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4220 result
= (int)((wxGauge
const *)arg1
)->GetShadowWidth();
4222 wxPyEndAllowThreads(__tstate
);
4223 if (PyErr_Occurred()) SWIG_fail
;
4225 resultobj
= SWIG_FromInt((int)result
);
4232 static PyObject
*_wrap_Gauge_SetBezelFace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4233 PyObject
*resultobj
;
4234 wxGauge
*arg1
= (wxGauge
*) 0 ;
4236 PyObject
* obj0
= 0 ;
4237 PyObject
* obj1
= 0 ;
4239 (char *) "self",(char *) "w", NULL
4242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetBezelFace",kwnames
,&obj0
,&obj1
)) goto fail
;
4243 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4245 arg2
= (int) SWIG_AsInt(obj1
);
4246 if (PyErr_Occurred()) SWIG_fail
;
4248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4249 (arg1
)->SetBezelFace(arg2
);
4251 wxPyEndAllowThreads(__tstate
);
4252 if (PyErr_Occurred()) SWIG_fail
;
4254 Py_INCREF(Py_None
); resultobj
= Py_None
;
4261 static PyObject
*_wrap_Gauge_GetBezelFace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4262 PyObject
*resultobj
;
4263 wxGauge
*arg1
= (wxGauge
*) 0 ;
4265 PyObject
* obj0
= 0 ;
4267 (char *) "self", NULL
4270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetBezelFace",kwnames
,&obj0
)) goto fail
;
4271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4275 result
= (int)((wxGauge
const *)arg1
)->GetBezelFace();
4277 wxPyEndAllowThreads(__tstate
);
4278 if (PyErr_Occurred()) SWIG_fail
;
4280 resultobj
= SWIG_FromInt((int)result
);
4287 static PyObject
*_wrap_Gauge_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4288 PyObject
*resultobj
;
4289 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
4290 wxVisualAttributes result
;
4291 PyObject
* obj0
= 0 ;
4293 (char *) "variant", NULL
4296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Gauge_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
4298 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
4299 if (PyErr_Occurred()) SWIG_fail
;
4302 if (!wxPyCheckForApp()) SWIG_fail
;
4303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4304 result
= wxGauge::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
4306 wxPyEndAllowThreads(__tstate
);
4307 if (PyErr_Occurred()) SWIG_fail
;
4310 wxVisualAttributes
* resultptr
;
4311 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
4312 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4320 static PyObject
* Gauge_swigregister(PyObject
*self
, PyObject
*args
) {
4322 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4323 SWIG_TypeClientData(SWIGTYPE_p_wxGauge
, obj
);
4325 return Py_BuildValue((char *)"");
4327 static int _wrap_StaticBitmapNameStr_set(PyObject
*_val
) {
4328 PyErr_SetString(PyExc_TypeError
,"Variable StaticBitmapNameStr is read-only.");
4333 static PyObject
*_wrap_StaticBitmapNameStr_get() {
4338 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
4340 pyobj
= PyString_FromStringAndSize((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
4347 static int _wrap_StaticBoxNameStr_set(PyObject
*_val
) {
4348 PyErr_SetString(PyExc_TypeError
,"Variable StaticBoxNameStr is read-only.");
4353 static PyObject
*_wrap_StaticBoxNameStr_get() {
4358 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
4360 pyobj
= PyString_FromStringAndSize((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
4367 static int _wrap_StaticTextNameStr_set(PyObject
*_val
) {
4368 PyErr_SetString(PyExc_TypeError
,"Variable StaticTextNameStr is read-only.");
4373 static PyObject
*_wrap_StaticTextNameStr_get() {
4378 pyobj
= PyUnicode_FromWideChar((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
4380 pyobj
= PyString_FromStringAndSize((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
4387 static PyObject
*_wrap_new_StaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4388 PyObject
*resultobj
;
4389 wxWindow
*arg1
= (wxWindow
*) 0 ;
4390 int arg2
= (int) -1 ;
4391 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4392 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4393 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4394 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4395 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4396 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4397 long arg6
= (long) 0 ;
4398 wxString
const &arg7_defvalue
= wxPyStaticBoxNameStr
;
4399 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4400 wxStaticBox
*result
;
4401 bool temp3
= False
;
4404 bool temp7
= False
;
4405 PyObject
* obj0
= 0 ;
4406 PyObject
* obj1
= 0 ;
4407 PyObject
* obj2
= 0 ;
4408 PyObject
* obj3
= 0 ;
4409 PyObject
* obj4
= 0 ;
4410 PyObject
* obj5
= 0 ;
4411 PyObject
* obj6
= 0 ;
4413 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4417 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4420 arg2
= (int) SWIG_AsInt(obj1
);
4421 if (PyErr_Occurred()) SWIG_fail
;
4425 arg3
= wxString_in_helper(obj2
);
4426 if (arg3
== NULL
) SWIG_fail
;
4433 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4439 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4443 arg6
= (long) SWIG_AsLong(obj5
);
4444 if (PyErr_Occurred()) SWIG_fail
;
4448 arg7
= wxString_in_helper(obj6
);
4449 if (arg7
== NULL
) SWIG_fail
;
4454 if (!wxPyCheckForApp()) SWIG_fail
;
4455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4456 result
= (wxStaticBox
*)new wxStaticBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4458 wxPyEndAllowThreads(__tstate
);
4459 if (PyErr_Occurred()) SWIG_fail
;
4461 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBox
, 1);
4484 static PyObject
*_wrap_new_PreStaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4485 PyObject
*resultobj
;
4486 wxStaticBox
*result
;
4491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBox",kwnames
)) goto fail
;
4493 if (!wxPyCheckForApp()) SWIG_fail
;
4494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4495 result
= (wxStaticBox
*)new wxStaticBox();
4497 wxPyEndAllowThreads(__tstate
);
4498 if (PyErr_Occurred()) SWIG_fail
;
4500 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBox
, 1);
4507 static PyObject
*_wrap_StaticBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4508 PyObject
*resultobj
;
4509 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
4510 wxWindow
*arg2
= (wxWindow
*) 0 ;
4511 int arg3
= (int) -1 ;
4512 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4513 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4514 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4515 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4516 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4517 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4518 long arg7
= (long) 0 ;
4519 wxString
const &arg8_defvalue
= wxPyStaticBoxNameStr
;
4520 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4522 bool temp4
= False
;
4525 bool temp8
= False
;
4526 PyObject
* obj0
= 0 ;
4527 PyObject
* obj1
= 0 ;
4528 PyObject
* obj2
= 0 ;
4529 PyObject
* obj3
= 0 ;
4530 PyObject
* obj4
= 0 ;
4531 PyObject
* obj5
= 0 ;
4532 PyObject
* obj6
= 0 ;
4533 PyObject
* obj7
= 0 ;
4535 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4539 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBox
,
4540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4541 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4544 arg3
= (int) SWIG_AsInt(obj2
);
4545 if (PyErr_Occurred()) SWIG_fail
;
4549 arg4
= wxString_in_helper(obj3
);
4550 if (arg4
== NULL
) SWIG_fail
;
4557 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4563 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4567 arg7
= (long) SWIG_AsLong(obj6
);
4568 if (PyErr_Occurred()) SWIG_fail
;
4572 arg8
= wxString_in_helper(obj7
);
4573 if (arg8
== NULL
) SWIG_fail
;
4578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4579 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4581 wxPyEndAllowThreads(__tstate
);
4582 if (PyErr_Occurred()) SWIG_fail
;
4585 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4609 static PyObject
*_wrap_StaticBox_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4610 PyObject
*resultobj
;
4611 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
4612 wxVisualAttributes result
;
4613 PyObject
* obj0
= 0 ;
4615 (char *) "variant", NULL
4618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
4620 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
4621 if (PyErr_Occurred()) SWIG_fail
;
4624 if (!wxPyCheckForApp()) SWIG_fail
;
4625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4626 result
= wxStaticBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
4628 wxPyEndAllowThreads(__tstate
);
4629 if (PyErr_Occurred()) SWIG_fail
;
4632 wxVisualAttributes
* resultptr
;
4633 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
4634 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4642 static PyObject
* StaticBox_swigregister(PyObject
*self
, PyObject
*args
) {
4644 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4645 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox
, obj
);
4647 return Py_BuildValue((char *)"");
4649 static PyObject
*_wrap_new_StaticLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4650 PyObject
*resultobj
;
4651 wxWindow
*arg1
= (wxWindow
*) 0 ;
4652 int arg2
= (int) -1 ;
4653 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
4654 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
4655 wxSize
const &arg4_defvalue
= wxDefaultSize
;
4656 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
4657 long arg5
= (long) wxLI_HORIZONTAL
;
4658 wxString
const &arg6_defvalue
= wxPyStaticTextNameStr
;
4659 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
4660 wxStaticLine
*result
;
4663 bool temp6
= 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 ;
4671 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_StaticLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
4675 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4678 arg2
= (int) SWIG_AsInt(obj1
);
4679 if (PyErr_Occurred()) SWIG_fail
;
4684 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
4690 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
4694 arg5
= (long) SWIG_AsLong(obj4
);
4695 if (PyErr_Occurred()) SWIG_fail
;
4699 arg6
= wxString_in_helper(obj5
);
4700 if (arg6
== NULL
) SWIG_fail
;
4705 if (!wxPyCheckForApp()) SWIG_fail
;
4706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4707 result
= (wxStaticLine
*)new wxStaticLine(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
4709 wxPyEndAllowThreads(__tstate
);
4710 if (PyErr_Occurred()) SWIG_fail
;
4712 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticLine
, 1);
4727 static PyObject
*_wrap_new_PreStaticLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4728 PyObject
*resultobj
;
4729 wxStaticLine
*result
;
4734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticLine",kwnames
)) goto fail
;
4736 if (!wxPyCheckForApp()) SWIG_fail
;
4737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4738 result
= (wxStaticLine
*)new wxStaticLine();
4740 wxPyEndAllowThreads(__tstate
);
4741 if (PyErr_Occurred()) SWIG_fail
;
4743 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticLine
, 1);
4750 static PyObject
*_wrap_StaticLine_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4751 PyObject
*resultobj
;
4752 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
4753 wxWindow
*arg2
= (wxWindow
*) 0 ;
4754 int arg3
= (int) -1 ;
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) wxLI_HORIZONTAL
;
4760 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
4761 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
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 *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:StaticLine_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4778 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticLine
,
4779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4780 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4783 arg3
= (int) SWIG_AsInt(obj2
);
4784 if (PyErr_Occurred()) SWIG_fail
;
4789 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4795 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4799 arg6
= (long) SWIG_AsLong(obj5
);
4800 if (PyErr_Occurred()) SWIG_fail
;
4804 arg7
= wxString_in_helper(obj6
);
4805 if (arg7
== NULL
) SWIG_fail
;
4810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4811 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4813 wxPyEndAllowThreads(__tstate
);
4814 if (PyErr_Occurred()) SWIG_fail
;
4817 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4833 static PyObject
*_wrap_StaticLine_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4834 PyObject
*resultobj
;
4835 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
4837 PyObject
* obj0
= 0 ;
4839 (char *) "self", NULL
4842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticLine_IsVertical",kwnames
,&obj0
)) goto fail
;
4843 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticLine
,
4844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4847 result
= (bool)((wxStaticLine
const *)arg1
)->IsVertical();
4849 wxPyEndAllowThreads(__tstate
);
4850 if (PyErr_Occurred()) SWIG_fail
;
4853 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4861 static PyObject
*_wrap_StaticLine_GetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4862 PyObject
*resultobj
;
4868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StaticLine_GetDefaultSize",kwnames
)) goto fail
;
4870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4871 result
= (int)wxStaticLine::GetDefaultSize();
4873 wxPyEndAllowThreads(__tstate
);
4874 if (PyErr_Occurred()) SWIG_fail
;
4876 resultobj
= SWIG_FromInt((int)result
);
4883 static PyObject
*_wrap_StaticLine_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4884 PyObject
*resultobj
;
4885 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
4886 wxVisualAttributes result
;
4887 PyObject
* obj0
= 0 ;
4889 (char *) "variant", NULL
4892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
4894 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
4895 if (PyErr_Occurred()) SWIG_fail
;
4898 if (!wxPyCheckForApp()) SWIG_fail
;
4899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4900 result
= wxStaticLine::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
4902 wxPyEndAllowThreads(__tstate
);
4903 if (PyErr_Occurred()) SWIG_fail
;
4906 wxVisualAttributes
* resultptr
;
4907 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
4908 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4916 static PyObject
* StaticLine_swigregister(PyObject
*self
, PyObject
*args
) {
4918 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4919 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine
, obj
);
4921 return Py_BuildValue((char *)"");
4923 static PyObject
*_wrap_new_StaticText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4924 PyObject
*resultobj
;
4925 wxWindow
*arg1
= (wxWindow
*) 0 ;
4926 int arg2
= (int) -1 ;
4927 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4928 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4929 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4930 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4931 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4932 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4933 long arg6
= (long) 0 ;
4934 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
4935 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4936 wxStaticText
*result
;
4937 bool temp3
= False
;
4940 bool temp7
= False
;
4941 PyObject
* obj0
= 0 ;
4942 PyObject
* obj1
= 0 ;
4943 PyObject
* obj2
= 0 ;
4944 PyObject
* obj3
= 0 ;
4945 PyObject
* obj4
= 0 ;
4946 PyObject
* obj5
= 0 ;
4947 PyObject
* obj6
= 0 ;
4949 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4953 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4956 arg2
= (int) SWIG_AsInt(obj1
);
4957 if (PyErr_Occurred()) SWIG_fail
;
4961 arg3
= wxString_in_helper(obj2
);
4962 if (arg3
== NULL
) SWIG_fail
;
4969 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4975 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4979 arg6
= (long) SWIG_AsLong(obj5
);
4980 if (PyErr_Occurred()) SWIG_fail
;
4984 arg7
= wxString_in_helper(obj6
);
4985 if (arg7
== NULL
) SWIG_fail
;
4990 if (!wxPyCheckForApp()) SWIG_fail
;
4991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4992 result
= (wxStaticText
*)new wxStaticText(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4994 wxPyEndAllowThreads(__tstate
);
4995 if (PyErr_Occurred()) SWIG_fail
;
4997 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticText
, 1);
5020 static PyObject
*_wrap_new_PreStaticText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5021 PyObject
*resultobj
;
5022 wxStaticText
*result
;
5027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticText",kwnames
)) goto fail
;
5029 if (!wxPyCheckForApp()) SWIG_fail
;
5030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5031 result
= (wxStaticText
*)new wxStaticText();
5033 wxPyEndAllowThreads(__tstate
);
5034 if (PyErr_Occurred()) SWIG_fail
;
5036 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticText
, 1);
5043 static PyObject
*_wrap_StaticText_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5044 PyObject
*resultobj
;
5045 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
5046 wxWindow
*arg2
= (wxWindow
*) 0 ;
5047 int arg3
= (int) -1 ;
5048 wxString
const &arg4_defvalue
= wxPyEmptyString
;
5049 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5050 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
5051 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
5052 wxSize
const &arg6_defvalue
= wxDefaultSize
;
5053 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
5054 long arg7
= (long) 0 ;
5055 wxString
const &arg8_defvalue
= wxPyStaticTextNameStr
;
5056 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5058 bool temp4
= False
;
5061 bool temp8
= False
;
5062 PyObject
* obj0
= 0 ;
5063 PyObject
* obj1
= 0 ;
5064 PyObject
* obj2
= 0 ;
5065 PyObject
* obj3
= 0 ;
5066 PyObject
* obj4
= 0 ;
5067 PyObject
* obj5
= 0 ;
5068 PyObject
* obj6
= 0 ;
5069 PyObject
* obj7
= 0 ;
5071 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticText_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5075 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticText
,
5076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5077 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5078 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5080 arg3
= (int) SWIG_AsInt(obj2
);
5081 if (PyErr_Occurred()) SWIG_fail
;
5085 arg4
= wxString_in_helper(obj3
);
5086 if (arg4
== NULL
) SWIG_fail
;
5093 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
5099 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5103 arg7
= (long) SWIG_AsLong(obj6
);
5104 if (PyErr_Occurred()) SWIG_fail
;
5108 arg8
= wxString_in_helper(obj7
);
5109 if (arg8
== NULL
) SWIG_fail
;
5114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5115 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
5117 wxPyEndAllowThreads(__tstate
);
5118 if (PyErr_Occurred()) SWIG_fail
;
5121 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5145 static PyObject
*_wrap_StaticText_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5146 PyObject
*resultobj
;
5147 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
5148 wxVisualAttributes result
;
5149 PyObject
* obj0
= 0 ;
5151 (char *) "variant", NULL
5154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5156 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
5157 if (PyErr_Occurred()) SWIG_fail
;
5160 if (!wxPyCheckForApp()) SWIG_fail
;
5161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5162 result
= wxStaticText::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
5164 wxPyEndAllowThreads(__tstate
);
5165 if (PyErr_Occurred()) SWIG_fail
;
5168 wxVisualAttributes
* resultptr
;
5169 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
5170 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5178 static PyObject
* StaticText_swigregister(PyObject
*self
, PyObject
*args
) {
5180 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5181 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText
, obj
);
5183 return Py_BuildValue((char *)"");
5185 static PyObject
*_wrap_new_StaticBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5186 PyObject
*resultobj
;
5187 wxWindow
*arg1
= (wxWindow
*) 0 ;
5188 int arg2
= (int) -1 ;
5189 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
5190 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
5191 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5192 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5193 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5194 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5195 long arg6
= (long) 0 ;
5196 wxString
const &arg7_defvalue
= wxPyStaticBitmapNameStr
;
5197 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
5198 wxStaticBitmap
*result
;
5201 bool temp7
= False
;
5202 PyObject
* obj0
= 0 ;
5203 PyObject
* obj1
= 0 ;
5204 PyObject
* obj2
= 0 ;
5205 PyObject
* obj3
= 0 ;
5206 PyObject
* obj4
= 0 ;
5207 PyObject
* obj5
= 0 ;
5208 PyObject
* obj6
= 0 ;
5210 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
5214 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5217 arg2
= (int) SWIG_AsInt(obj1
);
5218 if (PyErr_Occurred()) SWIG_fail
;
5221 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
5222 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5225 PyErr_SetString(PyExc_TypeError
,"null reference");
5232 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5238 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5242 arg6
= (long) SWIG_AsLong(obj5
);
5243 if (PyErr_Occurred()) SWIG_fail
;
5247 arg7
= wxString_in_helper(obj6
);
5248 if (arg7
== NULL
) SWIG_fail
;
5253 if (!wxPyCheckForApp()) SWIG_fail
;
5254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5255 result
= (wxStaticBitmap
*)new wxStaticBitmap(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
5257 wxPyEndAllowThreads(__tstate
);
5258 if (PyErr_Occurred()) SWIG_fail
;
5260 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBitmap
, 1);
5275 static PyObject
*_wrap_new_PreStaticBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5276 PyObject
*resultobj
;
5277 wxStaticBitmap
*result
;
5282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBitmap",kwnames
)) goto fail
;
5284 if (!wxPyCheckForApp()) SWIG_fail
;
5285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5286 result
= (wxStaticBitmap
*)new wxStaticBitmap();
5288 wxPyEndAllowThreads(__tstate
);
5289 if (PyErr_Occurred()) SWIG_fail
;
5291 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBitmap
, 1);
5298 static PyObject
*_wrap_StaticBitmap_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5299 PyObject
*resultobj
;
5300 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
5301 wxWindow
*arg2
= (wxWindow
*) 0 ;
5302 int arg3
= (int) -1 ;
5303 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
5304 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
5305 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
5306 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
5307 wxSize
const &arg6_defvalue
= wxDefaultSize
;
5308 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
5309 long arg7
= (long) 0 ;
5310 wxString
const &arg8_defvalue
= wxPyStaticBitmapNameStr
;
5311 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5315 bool temp8
= False
;
5316 PyObject
* obj0
= 0 ;
5317 PyObject
* obj1
= 0 ;
5318 PyObject
* obj2
= 0 ;
5319 PyObject
* obj3
= 0 ;
5320 PyObject
* obj4
= 0 ;
5321 PyObject
* obj5
= 0 ;
5322 PyObject
* obj6
= 0 ;
5323 PyObject
* obj7
= 0 ;
5325 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBitmap_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5329 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
5330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5331 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5334 arg3
= (int) SWIG_AsInt(obj2
);
5335 if (PyErr_Occurred()) SWIG_fail
;
5338 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
5339 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5342 PyErr_SetString(PyExc_TypeError
,"null reference");
5349 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
5355 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5359 arg7
= (long) SWIG_AsLong(obj6
);
5360 if (PyErr_Occurred()) SWIG_fail
;
5364 arg8
= wxString_in_helper(obj7
);
5365 if (arg8
== NULL
) SWIG_fail
;
5370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5371 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
5373 wxPyEndAllowThreads(__tstate
);
5374 if (PyErr_Occurred()) SWIG_fail
;
5377 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5393 static PyObject
*_wrap_StaticBitmap_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5394 PyObject
*resultobj
;
5395 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
5397 PyObject
* obj0
= 0 ;
5399 (char *) "self", NULL
5402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBitmap_GetBitmap",kwnames
,&obj0
)) goto fail
;
5403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
5404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5407 result
= (arg1
)->GetBitmap();
5409 wxPyEndAllowThreads(__tstate
);
5410 if (PyErr_Occurred()) SWIG_fail
;
5413 wxBitmap
* resultptr
;
5414 resultptr
= new wxBitmap((wxBitmap
&) result
);
5415 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
5423 static PyObject
*_wrap_StaticBitmap_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5424 PyObject
*resultobj
;
5425 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
5426 wxBitmap
*arg2
= 0 ;
5427 PyObject
* obj0
= 0 ;
5428 PyObject
* obj1
= 0 ;
5430 (char *) "self",(char *) "bitmap", NULL
5433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
5434 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
5435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5436 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
5437 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5440 PyErr_SetString(PyExc_TypeError
,"null reference");
5444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5445 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
5447 wxPyEndAllowThreads(__tstate
);
5448 if (PyErr_Occurred()) SWIG_fail
;
5450 Py_INCREF(Py_None
); resultobj
= Py_None
;
5457 static PyObject
*_wrap_StaticBitmap_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5458 PyObject
*resultobj
;
5459 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
5461 PyObject
* obj0
= 0 ;
5462 PyObject
* obj1
= 0 ;
5464 (char *) "self",(char *) "icon", NULL
5467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
5468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
5469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5470 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
5471 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5474 PyErr_SetString(PyExc_TypeError
,"null reference");
5478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5479 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
5481 wxPyEndAllowThreads(__tstate
);
5482 if (PyErr_Occurred()) SWIG_fail
;
5484 Py_INCREF(Py_None
); resultobj
= Py_None
;
5491 static PyObject
*_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5492 PyObject
*resultobj
;
5493 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
5494 wxVisualAttributes result
;
5495 PyObject
* obj0
= 0 ;
5497 (char *) "variant", NULL
5500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5502 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
5503 if (PyErr_Occurred()) SWIG_fail
;
5506 if (!wxPyCheckForApp()) SWIG_fail
;
5507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5508 result
= wxStaticBitmap::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
5510 wxPyEndAllowThreads(__tstate
);
5511 if (PyErr_Occurred()) SWIG_fail
;
5514 wxVisualAttributes
* resultptr
;
5515 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
5516 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5524 static PyObject
* StaticBitmap_swigregister(PyObject
*self
, PyObject
*args
) {
5526 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5527 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap
, obj
);
5529 return Py_BuildValue((char *)"");
5531 static int _wrap_ListBoxNameStr_set(PyObject
*_val
) {
5532 PyErr_SetString(PyExc_TypeError
,"Variable ListBoxNameStr is read-only.");
5537 static PyObject
*_wrap_ListBoxNameStr_get() {
5542 pyobj
= PyUnicode_FromWideChar((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
5544 pyobj
= PyString_FromStringAndSize((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
5551 static PyObject
*_wrap_new_ListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5552 PyObject
*resultobj
;
5553 wxWindow
*arg1
= (wxWindow
*) 0 ;
5554 int arg2
= (int) -1 ;
5555 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5556 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5557 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5558 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5559 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
5560 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
5561 long arg6
= (long) 0 ;
5562 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
5563 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
5564 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
5565 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5569 bool temp5
= False
;
5570 bool temp8
= False
;
5571 PyObject
* obj0
= 0 ;
5572 PyObject
* obj1
= 0 ;
5573 PyObject
* obj2
= 0 ;
5574 PyObject
* obj3
= 0 ;
5575 PyObject
* obj4
= 0 ;
5576 PyObject
* obj5
= 0 ;
5577 PyObject
* obj6
= 0 ;
5578 PyObject
* obj7
= 0 ;
5580 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5587 arg2
= (int) SWIG_AsInt(obj1
);
5588 if (PyErr_Occurred()) SWIG_fail
;
5593 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5599 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5604 if (! PySequence_Check(obj4
)) {
5605 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5608 arg5
= new wxArrayString
;
5610 int i
, len
=PySequence_Length(obj4
);
5611 for (i
=0; i
<len
; i
++) {
5612 PyObject
* item
= PySequence_GetItem(obj4
, i
);
5614 PyObject
* str
= PyObject_Unicode(item
);
5616 PyObject
* str
= PyObject_Str(item
);
5618 if (PyErr_Occurred()) SWIG_fail
;
5619 arg5
->Add(Py2wxString(str
));
5626 arg6
= (long) SWIG_AsLong(obj5
);
5627 if (PyErr_Occurred()) SWIG_fail
;
5630 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
5631 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5634 PyErr_SetString(PyExc_TypeError
,"null reference");
5640 arg8
= wxString_in_helper(obj7
);
5641 if (arg8
== NULL
) SWIG_fail
;
5646 if (!wxPyCheckForApp()) SWIG_fail
;
5647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5648 result
= (wxListBox
*)new wxListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
5650 wxPyEndAllowThreads(__tstate
);
5651 if (PyErr_Occurred()) SWIG_fail
;
5653 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListBox
, 1);
5655 if (temp5
) delete arg5
;
5664 if (temp5
) delete arg5
;
5674 static PyObject
*_wrap_new_PreListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5675 PyObject
*resultobj
;
5681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListBox",kwnames
)) goto fail
;
5683 if (!wxPyCheckForApp()) SWIG_fail
;
5684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5685 result
= (wxListBox
*)new wxListBox();
5687 wxPyEndAllowThreads(__tstate
);
5688 if (PyErr_Occurred()) SWIG_fail
;
5690 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListBox
, 1);
5697 static PyObject
*_wrap_ListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5698 PyObject
*resultobj
;
5699 wxListBox
*arg1
= (wxListBox
*) 0 ;
5700 wxWindow
*arg2
= (wxWindow
*) 0 ;
5701 int arg3
= (int) -1 ;
5702 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5703 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5704 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5705 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5706 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
5707 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
5708 long arg7
= (long) 0 ;
5709 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5710 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5711 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
5712 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5716 bool temp6
= False
;
5717 bool temp9
= False
;
5718 PyObject
* obj0
= 0 ;
5719 PyObject
* obj1
= 0 ;
5720 PyObject
* obj2
= 0 ;
5721 PyObject
* obj3
= 0 ;
5722 PyObject
* obj4
= 0 ;
5723 PyObject
* obj5
= 0 ;
5724 PyObject
* obj6
= 0 ;
5725 PyObject
* obj7
= 0 ;
5726 PyObject
* obj8
= 0 ;
5728 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
5732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5734 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5737 arg3
= (int) SWIG_AsInt(obj2
);
5738 if (PyErr_Occurred()) SWIG_fail
;
5743 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5749 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5754 if (! PySequence_Check(obj5
)) {
5755 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5758 arg6
= new wxArrayString
;
5760 int i
, len
=PySequence_Length(obj5
);
5761 for (i
=0; i
<len
; i
++) {
5762 PyObject
* item
= PySequence_GetItem(obj5
, i
);
5764 PyObject
* str
= PyObject_Unicode(item
);
5766 PyObject
* str
= PyObject_Str(item
);
5768 if (PyErr_Occurred()) SWIG_fail
;
5769 arg6
->Add(Py2wxString(str
));
5776 arg7
= (long) SWIG_AsLong(obj6
);
5777 if (PyErr_Occurred()) SWIG_fail
;
5780 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
5781 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5784 PyErr_SetString(PyExc_TypeError
,"null reference");
5790 arg9
= wxString_in_helper(obj8
);
5791 if (arg9
== NULL
) SWIG_fail
;
5796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5797 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
5799 wxPyEndAllowThreads(__tstate
);
5800 if (PyErr_Occurred()) SWIG_fail
;
5803 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5806 if (temp6
) delete arg6
;
5815 if (temp6
) delete arg6
;
5825 static PyObject
*_wrap_ListBox_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5826 PyObject
*resultobj
;
5827 wxListBox
*arg1
= (wxListBox
*) 0 ;
5828 wxString
*arg2
= 0 ;
5830 PyObject
*arg4
= (PyObject
*) NULL
;
5831 bool temp2
= False
;
5832 PyObject
* obj0
= 0 ;
5833 PyObject
* obj1
= 0 ;
5834 PyObject
* obj2
= 0 ;
5835 PyObject
* obj3
= 0 ;
5837 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
5840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListBox_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5841 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5844 arg2
= wxString_in_helper(obj1
);
5845 if (arg2
== NULL
) SWIG_fail
;
5848 arg3
= (int) SWIG_AsInt(obj2
);
5849 if (PyErr_Occurred()) SWIG_fail
;
5854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5855 wxListBox_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
5857 wxPyEndAllowThreads(__tstate
);
5858 if (PyErr_Occurred()) SWIG_fail
;
5860 Py_INCREF(Py_None
); resultobj
= Py_None
;
5875 static PyObject
*_wrap_ListBox_InsertItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5876 PyObject
*resultobj
;
5877 wxListBox
*arg1
= (wxListBox
*) 0 ;
5878 wxArrayString
*arg2
= 0 ;
5880 bool temp2
= False
;
5881 PyObject
* obj0
= 0 ;
5882 PyObject
* obj1
= 0 ;
5883 PyObject
* obj2
= 0 ;
5885 (char *) "self",(char *) "items",(char *) "pos", NULL
5888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_InsertItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5892 if (! PySequence_Check(obj1
)) {
5893 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5896 arg2
= new wxArrayString
;
5898 int i
, len
=PySequence_Length(obj1
);
5899 for (i
=0; i
<len
; i
++) {
5900 PyObject
* item
= PySequence_GetItem(obj1
, i
);
5902 PyObject
* str
= PyObject_Unicode(item
);
5904 PyObject
* str
= PyObject_Str(item
);
5906 if (PyErr_Occurred()) SWIG_fail
;
5907 arg2
->Add(Py2wxString(str
));
5912 arg3
= (int) SWIG_AsInt(obj2
);
5913 if (PyErr_Occurred()) SWIG_fail
;
5915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5916 (arg1
)->InsertItems((wxArrayString
const &)*arg2
,arg3
);
5918 wxPyEndAllowThreads(__tstate
);
5919 if (PyErr_Occurred()) SWIG_fail
;
5921 Py_INCREF(Py_None
); resultobj
= Py_None
;
5923 if (temp2
) delete arg2
;
5928 if (temp2
) delete arg2
;
5934 static PyObject
*_wrap_ListBox_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5935 PyObject
*resultobj
;
5936 wxListBox
*arg1
= (wxListBox
*) 0 ;
5937 wxArrayString
*arg2
= 0 ;
5938 bool temp2
= False
;
5939 PyObject
* obj0
= 0 ;
5940 PyObject
* obj1
= 0 ;
5942 (char *) "self",(char *) "items", NULL
5945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Set",kwnames
,&obj0
,&obj1
)) goto fail
;
5946 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5947 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5949 if (! PySequence_Check(obj1
)) {
5950 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5953 arg2
= new wxArrayString
;
5955 int i
, len
=PySequence_Length(obj1
);
5956 for (i
=0; i
<len
; i
++) {
5957 PyObject
* item
= PySequence_GetItem(obj1
, i
);
5959 PyObject
* str
= PyObject_Unicode(item
);
5961 PyObject
* str
= PyObject_Str(item
);
5963 if (PyErr_Occurred()) SWIG_fail
;
5964 arg2
->Add(Py2wxString(str
));
5970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5971 (arg1
)->Set((wxArrayString
const &)*arg2
);
5973 wxPyEndAllowThreads(__tstate
);
5974 if (PyErr_Occurred()) SWIG_fail
;
5976 Py_INCREF(Py_None
); resultobj
= Py_None
;
5978 if (temp2
) delete arg2
;
5983 if (temp2
) delete arg2
;
5989 static PyObject
*_wrap_ListBox_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5990 PyObject
*resultobj
;
5991 wxListBox
*arg1
= (wxListBox
*) 0 ;
5994 PyObject
* obj0
= 0 ;
5995 PyObject
* obj1
= 0 ;
5997 (char *) "self",(char *) "n", NULL
6000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
6001 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6003 arg2
= (int) SWIG_AsInt(obj1
);
6004 if (PyErr_Occurred()) SWIG_fail
;
6006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6007 result
= (bool)((wxListBox
const *)arg1
)->IsSelected(arg2
);
6009 wxPyEndAllowThreads(__tstate
);
6010 if (PyErr_Occurred()) SWIG_fail
;
6013 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6021 static PyObject
*_wrap_ListBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6022 PyObject
*resultobj
;
6023 wxListBox
*arg1
= (wxListBox
*) 0 ;
6025 bool arg3
= (bool) True
;
6026 PyObject
* obj0
= 0 ;
6027 PyObject
* obj1
= 0 ;
6028 PyObject
* obj2
= 0 ;
6030 (char *) "self",(char *) "n",(char *) "select", NULL
6033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6034 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6036 arg2
= (int) SWIG_AsInt(obj1
);
6037 if (PyErr_Occurred()) SWIG_fail
;
6039 arg3
= (bool) SWIG_AsBool(obj2
);
6040 if (PyErr_Occurred()) SWIG_fail
;
6043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6044 (arg1
)->SetSelection(arg2
,arg3
);
6046 wxPyEndAllowThreads(__tstate
);
6047 if (PyErr_Occurred()) SWIG_fail
;
6049 Py_INCREF(Py_None
); resultobj
= Py_None
;
6056 static PyObject
*_wrap_ListBox_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6057 PyObject
*resultobj
;
6058 wxListBox
*arg1
= (wxListBox
*) 0 ;
6060 PyObject
* obj0
= 0 ;
6061 PyObject
* obj1
= 0 ;
6063 (char *) "self",(char *) "n", NULL
6066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
6067 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6069 arg2
= (int) SWIG_AsInt(obj1
);
6070 if (PyErr_Occurred()) SWIG_fail
;
6072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6073 (arg1
)->Select(arg2
);
6075 wxPyEndAllowThreads(__tstate
);
6076 if (PyErr_Occurred()) SWIG_fail
;
6078 Py_INCREF(Py_None
); resultobj
= Py_None
;
6085 static PyObject
*_wrap_ListBox_Deselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6086 PyObject
*resultobj
;
6087 wxListBox
*arg1
= (wxListBox
*) 0 ;
6089 PyObject
* obj0
= 0 ;
6090 PyObject
* obj1
= 0 ;
6092 (char *) "self",(char *) "n", NULL
6095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Deselect",kwnames
,&obj0
,&obj1
)) goto fail
;
6096 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6098 arg2
= (int) SWIG_AsInt(obj1
);
6099 if (PyErr_Occurred()) SWIG_fail
;
6101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6102 (arg1
)->Deselect(arg2
);
6104 wxPyEndAllowThreads(__tstate
);
6105 if (PyErr_Occurred()) SWIG_fail
;
6107 Py_INCREF(Py_None
); resultobj
= Py_None
;
6114 static PyObject
*_wrap_ListBox_DeselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6115 PyObject
*resultobj
;
6116 wxListBox
*arg1
= (wxListBox
*) 0 ;
6117 int arg2
= (int) -1 ;
6118 PyObject
* obj0
= 0 ;
6119 PyObject
* obj1
= 0 ;
6121 (char *) "self",(char *) "itemToLeaveSelected", NULL
6124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListBox_DeselectAll",kwnames
,&obj0
,&obj1
)) goto fail
;
6125 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6128 arg2
= (int) SWIG_AsInt(obj1
);
6129 if (PyErr_Occurred()) SWIG_fail
;
6132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6133 (arg1
)->DeselectAll(arg2
);
6135 wxPyEndAllowThreads(__tstate
);
6136 if (PyErr_Occurred()) SWIG_fail
;
6138 Py_INCREF(Py_None
); resultobj
= Py_None
;
6145 static PyObject
*_wrap_ListBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6146 PyObject
*resultobj
;
6147 wxListBox
*arg1
= (wxListBox
*) 0 ;
6148 wxString
*arg2
= 0 ;
6149 bool arg3
= (bool) True
;
6151 bool temp2
= False
;
6152 PyObject
* obj0
= 0 ;
6153 PyObject
* obj1
= 0 ;
6154 PyObject
* obj2
= 0 ;
6156 (char *) "self",(char *) "s",(char *) "select", NULL
6159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetStringSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6160 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6161 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6163 arg2
= wxString_in_helper(obj1
);
6164 if (arg2
== NULL
) SWIG_fail
;
6168 arg3
= (bool) SWIG_AsBool(obj2
);
6169 if (PyErr_Occurred()) SWIG_fail
;
6172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6173 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
,arg3
);
6175 wxPyEndAllowThreads(__tstate
);
6176 if (PyErr_Occurred()) SWIG_fail
;
6179 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6195 static PyObject
*_wrap_ListBox_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6196 PyObject
*resultobj
;
6197 wxListBox
*arg1
= (wxListBox
*) 0 ;
6199 PyObject
* obj0
= 0 ;
6201 (char *) "self", NULL
6204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_GetSelections",kwnames
,&obj0
)) goto fail
;
6205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6209 result
= (PyObject
*)wxListBox_GetSelections(arg1
);
6211 wxPyEndAllowThreads(__tstate
);
6212 if (PyErr_Occurred()) SWIG_fail
;
6221 static PyObject
*_wrap_ListBox_SetFirstItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6222 PyObject
*resultobj
;
6223 wxListBox
*arg1
= (wxListBox
*) 0 ;
6225 PyObject
* obj0
= 0 ;
6226 PyObject
* obj1
= 0 ;
6228 (char *) "self",(char *) "n", NULL
6231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItem",kwnames
,&obj0
,&obj1
)) goto fail
;
6232 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6234 arg2
= (int) SWIG_AsInt(obj1
);
6235 if (PyErr_Occurred()) SWIG_fail
;
6237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6238 (arg1
)->SetFirstItem(arg2
);
6240 wxPyEndAllowThreads(__tstate
);
6241 if (PyErr_Occurred()) SWIG_fail
;
6243 Py_INCREF(Py_None
); resultobj
= Py_None
;
6250 static PyObject
*_wrap_ListBox_SetFirstItemStr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6251 PyObject
*resultobj
;
6252 wxListBox
*arg1
= (wxListBox
*) 0 ;
6253 wxString
*arg2
= 0 ;
6254 bool temp2
= False
;
6255 PyObject
* obj0
= 0 ;
6256 PyObject
* obj1
= 0 ;
6258 (char *) "self",(char *) "s", NULL
6261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItemStr",kwnames
,&obj0
,&obj1
)) goto fail
;
6262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6265 arg2
= wxString_in_helper(obj1
);
6266 if (arg2
== NULL
) SWIG_fail
;
6270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6271 (arg1
)->SetFirstItem((wxString
const &)*arg2
);
6273 wxPyEndAllowThreads(__tstate
);
6274 if (PyErr_Occurred()) SWIG_fail
;
6276 Py_INCREF(Py_None
); resultobj
= Py_None
;
6291 static PyObject
*_wrap_ListBox_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6292 PyObject
*resultobj
;
6293 wxListBox
*arg1
= (wxListBox
*) 0 ;
6295 PyObject
* obj0
= 0 ;
6296 PyObject
* obj1
= 0 ;
6298 (char *) "self",(char *) "n", NULL
6301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
6302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6304 arg2
= (int) SWIG_AsInt(obj1
);
6305 if (PyErr_Occurred()) SWIG_fail
;
6307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6308 (arg1
)->EnsureVisible(arg2
);
6310 wxPyEndAllowThreads(__tstate
);
6311 if (PyErr_Occurred()) SWIG_fail
;
6313 Py_INCREF(Py_None
); resultobj
= Py_None
;
6320 static PyObject
*_wrap_ListBox_AppendAndEnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6321 PyObject
*resultobj
;
6322 wxListBox
*arg1
= (wxListBox
*) 0 ;
6323 wxString
*arg2
= 0 ;
6324 bool temp2
= False
;
6325 PyObject
* obj0
= 0 ;
6326 PyObject
* obj1
= 0 ;
6328 (char *) "self",(char *) "s", NULL
6331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
6332 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6335 arg2
= wxString_in_helper(obj1
);
6336 if (arg2
== NULL
) SWIG_fail
;
6340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6341 (arg1
)->AppendAndEnsureVisible((wxString
const &)*arg2
);
6343 wxPyEndAllowThreads(__tstate
);
6344 if (PyErr_Occurred()) SWIG_fail
;
6346 Py_INCREF(Py_None
); resultobj
= Py_None
;
6361 static PyObject
*_wrap_ListBox_IsSorted(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6362 PyObject
*resultobj
;
6363 wxListBox
*arg1
= (wxListBox
*) 0 ;
6365 PyObject
* obj0
= 0 ;
6367 (char *) "self", NULL
6370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_IsSorted",kwnames
,&obj0
)) goto fail
;
6371 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6372 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6375 result
= (bool)((wxListBox
const *)arg1
)->IsSorted();
6377 wxPyEndAllowThreads(__tstate
);
6378 if (PyErr_Occurred()) SWIG_fail
;
6381 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6389 static PyObject
*_wrap_ListBox_SetItemForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6390 PyObject
*resultobj
;
6391 wxListBox
*arg1
= (wxListBox
*) 0 ;
6393 wxColour
*arg3
= 0 ;
6395 PyObject
* obj0
= 0 ;
6396 PyObject
* obj1
= 0 ;
6397 PyObject
* obj2
= 0 ;
6399 (char *) "self",(char *) "item",(char *) "c", NULL
6402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6405 arg2
= (int) SWIG_AsInt(obj1
);
6406 if (PyErr_Occurred()) SWIG_fail
;
6409 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
6412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6413 wxListBox_SetItemForegroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
6415 wxPyEndAllowThreads(__tstate
);
6416 if (PyErr_Occurred()) SWIG_fail
;
6418 Py_INCREF(Py_None
); resultobj
= Py_None
;
6425 static PyObject
*_wrap_ListBox_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6426 PyObject
*resultobj
;
6427 wxListBox
*arg1
= (wxListBox
*) 0 ;
6429 wxColour
*arg3
= 0 ;
6431 PyObject
* obj0
= 0 ;
6432 PyObject
* obj1
= 0 ;
6433 PyObject
* obj2
= 0 ;
6435 (char *) "self",(char *) "item",(char *) "c", NULL
6438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6441 arg2
= (int) SWIG_AsInt(obj1
);
6442 if (PyErr_Occurred()) SWIG_fail
;
6445 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
6448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6449 wxListBox_SetItemBackgroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
6451 wxPyEndAllowThreads(__tstate
);
6452 if (PyErr_Occurred()) SWIG_fail
;
6454 Py_INCREF(Py_None
); resultobj
= Py_None
;
6461 static PyObject
*_wrap_ListBox_SetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6462 PyObject
*resultobj
;
6463 wxListBox
*arg1
= (wxListBox
*) 0 ;
6466 PyObject
* obj0
= 0 ;
6467 PyObject
* obj1
= 0 ;
6468 PyObject
* obj2
= 0 ;
6470 (char *) "self",(char *) "item",(char *) "f", NULL
6473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6474 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6476 arg2
= (int) SWIG_AsInt(obj1
);
6477 if (PyErr_Occurred()) SWIG_fail
;
6478 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
6479 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6482 PyErr_SetString(PyExc_TypeError
,"null reference");
6486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6487 wxListBox_SetItemFont(arg1
,arg2
,(wxFont
const &)*arg3
);
6489 wxPyEndAllowThreads(__tstate
);
6490 if (PyErr_Occurred()) SWIG_fail
;
6492 Py_INCREF(Py_None
); resultobj
= Py_None
;
6499 static PyObject
*_wrap_ListBox_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6500 PyObject
*resultobj
;
6501 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
6502 wxVisualAttributes result
;
6503 PyObject
* obj0
= 0 ;
6505 (char *) "variant", NULL
6508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6510 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
6511 if (PyErr_Occurred()) SWIG_fail
;
6514 if (!wxPyCheckForApp()) SWIG_fail
;
6515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6516 result
= wxListBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
6518 wxPyEndAllowThreads(__tstate
);
6519 if (PyErr_Occurred()) SWIG_fail
;
6522 wxVisualAttributes
* resultptr
;
6523 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
6524 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6532 static PyObject
* ListBox_swigregister(PyObject
*self
, PyObject
*args
) {
6534 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6535 SWIG_TypeClientData(SWIGTYPE_p_wxListBox
, obj
);
6537 return Py_BuildValue((char *)"");
6539 static PyObject
*_wrap_new_CheckListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6540 PyObject
*resultobj
;
6541 wxWindow
*arg1
= (wxWindow
*) 0 ;
6542 int arg2
= (int) -1 ;
6543 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
6544 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
6545 wxSize
const &arg4_defvalue
= wxDefaultSize
;
6546 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
6547 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
6548 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
6549 long arg6
= (long) 0 ;
6550 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
6551 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
6552 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
6553 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6554 wxCheckListBox
*result
;
6557 bool temp5
= False
;
6558 bool temp8
= False
;
6559 PyObject
* obj0
= 0 ;
6560 PyObject
* obj1
= 0 ;
6561 PyObject
* obj2
= 0 ;
6562 PyObject
* obj3
= 0 ;
6563 PyObject
* obj4
= 0 ;
6564 PyObject
* obj5
= 0 ;
6565 PyObject
* obj6
= 0 ;
6566 PyObject
* obj7
= 0 ;
6568 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
6571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6572 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
6573 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6575 arg2
= (int) SWIG_AsInt(obj1
);
6576 if (PyErr_Occurred()) SWIG_fail
;
6581 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
6587 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
6592 if (! PySequence_Check(obj4
)) {
6593 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
6596 arg5
= new wxArrayString
;
6598 int i
, len
=PySequence_Length(obj4
);
6599 for (i
=0; i
<len
; i
++) {
6600 PyObject
* item
= PySequence_GetItem(obj4
, i
);
6602 PyObject
* str
= PyObject_Unicode(item
);
6604 PyObject
* str
= PyObject_Str(item
);
6606 if (PyErr_Occurred()) SWIG_fail
;
6607 arg5
->Add(Py2wxString(str
));
6614 arg6
= (long) SWIG_AsLong(obj5
);
6615 if (PyErr_Occurred()) SWIG_fail
;
6618 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
6619 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6622 PyErr_SetString(PyExc_TypeError
,"null reference");
6628 arg8
= wxString_in_helper(obj7
);
6629 if (arg8
== NULL
) SWIG_fail
;
6634 if (!wxPyCheckForApp()) SWIG_fail
;
6635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6636 result
= (wxCheckListBox
*)new wxCheckListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
6638 wxPyEndAllowThreads(__tstate
);
6639 if (PyErr_Occurred()) SWIG_fail
;
6641 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckListBox
, 1);
6643 if (temp5
) delete arg5
;
6652 if (temp5
) delete arg5
;
6662 static PyObject
*_wrap_new_PreCheckListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6663 PyObject
*resultobj
;
6664 wxCheckListBox
*result
;
6669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckListBox",kwnames
)) goto fail
;
6671 if (!wxPyCheckForApp()) SWIG_fail
;
6672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6673 result
= (wxCheckListBox
*)new wxCheckListBox();
6675 wxPyEndAllowThreads(__tstate
);
6676 if (PyErr_Occurred()) SWIG_fail
;
6678 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckListBox
, 1);
6685 static PyObject
*_wrap_CheckListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6686 PyObject
*resultobj
;
6687 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6688 wxWindow
*arg2
= (wxWindow
*) 0 ;
6689 int arg3
= (int) -1 ;
6690 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6691 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6692 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6693 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6694 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
6695 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
6696 long arg7
= (long) 0 ;
6697 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
6698 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
6699 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
6700 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
6704 bool temp6
= False
;
6705 bool temp9
= False
;
6706 PyObject
* obj0
= 0 ;
6707 PyObject
* obj1
= 0 ;
6708 PyObject
* obj2
= 0 ;
6709 PyObject
* obj3
= 0 ;
6710 PyObject
* obj4
= 0 ;
6711 PyObject
* obj5
= 0 ;
6712 PyObject
* obj6
= 0 ;
6713 PyObject
* obj7
= 0 ;
6714 PyObject
* obj8
= 0 ;
6716 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
6719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
6720 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6722 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6725 arg3
= (int) SWIG_AsInt(obj2
);
6726 if (PyErr_Occurred()) SWIG_fail
;
6731 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6737 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6742 if (! PySequence_Check(obj5
)) {
6743 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
6746 arg6
= new wxArrayString
;
6748 int i
, len
=PySequence_Length(obj5
);
6749 for (i
=0; i
<len
; i
++) {
6750 PyObject
* item
= PySequence_GetItem(obj5
, i
);
6752 PyObject
* str
= PyObject_Unicode(item
);
6754 PyObject
* str
= PyObject_Str(item
);
6756 if (PyErr_Occurred()) SWIG_fail
;
6757 arg6
->Add(Py2wxString(str
));
6764 arg7
= (long) SWIG_AsLong(obj6
);
6765 if (PyErr_Occurred()) SWIG_fail
;
6768 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
6769 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6772 PyErr_SetString(PyExc_TypeError
,"null reference");
6778 arg9
= wxString_in_helper(obj8
);
6779 if (arg9
== NULL
) SWIG_fail
;
6784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6785 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
6787 wxPyEndAllowThreads(__tstate
);
6788 if (PyErr_Occurred()) SWIG_fail
;
6791 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6794 if (temp6
) delete arg6
;
6803 if (temp6
) delete arg6
;
6813 static PyObject
*_wrap_CheckListBox_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6814 PyObject
*resultobj
;
6815 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6818 PyObject
* obj0
= 0 ;
6819 PyObject
* obj1
= 0 ;
6821 (char *) "self",(char *) "index", NULL
6824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
6825 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6827 arg2
= (int) SWIG_AsInt(obj1
);
6828 if (PyErr_Occurred()) SWIG_fail
;
6830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6831 result
= (bool)(arg1
)->IsChecked(arg2
);
6833 wxPyEndAllowThreads(__tstate
);
6834 if (PyErr_Occurred()) SWIG_fail
;
6837 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6845 static PyObject
*_wrap_CheckListBox_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6846 PyObject
*resultobj
;
6847 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6849 int arg3
= (int) True
;
6850 PyObject
* obj0
= 0 ;
6851 PyObject
* obj1
= 0 ;
6852 PyObject
* obj2
= 0 ;
6854 (char *) "self",(char *) "index",(char *) "check", NULL
6857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:CheckListBox_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6858 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6859 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6860 arg2
= (int) SWIG_AsInt(obj1
);
6861 if (PyErr_Occurred()) SWIG_fail
;
6863 arg3
= (int) SWIG_AsInt(obj2
);
6864 if (PyErr_Occurred()) SWIG_fail
;
6867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6868 (arg1
)->Check(arg2
,arg3
);
6870 wxPyEndAllowThreads(__tstate
);
6871 if (PyErr_Occurred()) SWIG_fail
;
6873 Py_INCREF(Py_None
); resultobj
= Py_None
;
6880 static PyObject
*_wrap_CheckListBox_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6881 PyObject
*resultobj
;
6882 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6886 PyObject
* obj0
= 0 ;
6887 PyObject
* obj1
= 0 ;
6889 (char *) "self",(char *) "pt", NULL
6892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
6893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6897 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6901 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
6903 wxPyEndAllowThreads(__tstate
);
6904 if (PyErr_Occurred()) SWIG_fail
;
6906 resultobj
= SWIG_FromInt((int)result
);
6913 static PyObject
*_wrap_CheckListBox_HitTestXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6914 PyObject
*resultobj
;
6915 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6919 PyObject
* obj0
= 0 ;
6920 PyObject
* obj1
= 0 ;
6921 PyObject
* obj2
= 0 ;
6923 (char *) "self",(char *) "x",(char *) "y", NULL
6926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:CheckListBox_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6927 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6929 arg2
= (int) SWIG_AsInt(obj1
);
6930 if (PyErr_Occurred()) SWIG_fail
;
6931 arg3
= (int) SWIG_AsInt(obj2
);
6932 if (PyErr_Occurred()) SWIG_fail
;
6934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6935 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest(arg2
,arg3
);
6937 wxPyEndAllowThreads(__tstate
);
6938 if (PyErr_Occurred()) SWIG_fail
;
6940 resultobj
= SWIG_FromInt((int)result
);
6947 static PyObject
* CheckListBox_swigregister(PyObject
*self
, PyObject
*args
) {
6949 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6950 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox
, obj
);
6952 return Py_BuildValue((char *)"");
6954 static int _wrap_TextCtrlNameStr_set(PyObject
*_val
) {
6955 PyErr_SetString(PyExc_TypeError
,"Variable TextCtrlNameStr is read-only.");
6960 static PyObject
*_wrap_TextCtrlNameStr_get() {
6965 pyobj
= PyUnicode_FromWideChar((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
6967 pyobj
= PyString_FromStringAndSize((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
6974 static PyObject
*_wrap_new_TextAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6975 PyObject
*resultobj
;
6976 wxColour
const &arg1_defvalue
= wxNullColour
;
6977 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
6978 wxColour
const &arg2_defvalue
= wxNullColour
;
6979 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
6980 wxFont
const &arg3_defvalue
= wxNullFont
;
6981 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
6982 int arg4
= (int) wxTEXT_ALIGNMENT_DEFAULT
;
6986 PyObject
* obj0
= 0 ;
6987 PyObject
* obj1
= 0 ;
6988 PyObject
* obj2
= 0 ;
6989 PyObject
* obj3
= 0 ;
6991 (char *) "colText",(char *) "colBack",(char *) "font",(char *) "alignment", NULL
6994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TextAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6998 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
7004 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
7008 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
7009 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7012 PyErr_SetString(PyExc_TypeError
,"null reference");
7017 arg4
= (wxTextAttrAlignment
) SWIG_AsInt(obj3
);
7018 if (PyErr_Occurred()) SWIG_fail
;
7021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7022 result
= (wxTextAttr
*)new wxTextAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
,(wxTextAttrAlignment
)arg4
);
7024 wxPyEndAllowThreads(__tstate
);
7025 if (PyErr_Occurred()) SWIG_fail
;
7027 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 1);
7034 static PyObject
*_wrap_delete_TextAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7035 PyObject
*resultobj
;
7036 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7037 PyObject
* obj0
= 0 ;
7039 (char *) "self", NULL
7042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TextAttr",kwnames
,&obj0
)) goto fail
;
7043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7049 wxPyEndAllowThreads(__tstate
);
7050 if (PyErr_Occurred()) SWIG_fail
;
7052 Py_INCREF(Py_None
); resultobj
= Py_None
;
7059 static PyObject
*_wrap_TextAttr_Init(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7060 PyObject
*resultobj
;
7061 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7062 PyObject
* obj0
= 0 ;
7064 (char *) "self", NULL
7067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_Init",kwnames
,&obj0
)) goto fail
;
7068 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7074 wxPyEndAllowThreads(__tstate
);
7075 if (PyErr_Occurred()) SWIG_fail
;
7077 Py_INCREF(Py_None
); resultobj
= Py_None
;
7084 static PyObject
*_wrap_TextAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7085 PyObject
*resultobj
;
7086 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7087 wxColour
*arg2
= 0 ;
7089 PyObject
* obj0
= 0 ;
7090 PyObject
* obj1
= 0 ;
7092 (char *) "self",(char *) "colText", NULL
7095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
7096 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7100 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
7103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7104 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
7106 wxPyEndAllowThreads(__tstate
);
7107 if (PyErr_Occurred()) SWIG_fail
;
7109 Py_INCREF(Py_None
); resultobj
= Py_None
;
7116 static PyObject
*_wrap_TextAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7117 PyObject
*resultobj
;
7118 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7119 wxColour
*arg2
= 0 ;
7121 PyObject
* obj0
= 0 ;
7122 PyObject
* obj1
= 0 ;
7124 (char *) "self",(char *) "colBack", NULL
7127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
7128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7132 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
7135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7136 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
7138 wxPyEndAllowThreads(__tstate
);
7139 if (PyErr_Occurred()) SWIG_fail
;
7141 Py_INCREF(Py_None
); resultobj
= Py_None
;
7148 static PyObject
*_wrap_TextAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7149 PyObject
*resultobj
;
7150 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7152 long arg3
= (long) wxTEXT_ATTR_FONT
;
7153 PyObject
* obj0
= 0 ;
7154 PyObject
* obj1
= 0 ;
7155 PyObject
* obj2
= 0 ;
7157 (char *) "self",(char *) "font",(char *) "flags", NULL
7160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7163 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
7164 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7167 PyErr_SetString(PyExc_TypeError
,"null reference");
7171 arg3
= (long) SWIG_AsLong(obj2
);
7172 if (PyErr_Occurred()) SWIG_fail
;
7175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7176 (arg1
)->SetFont((wxFont
const &)*arg2
,arg3
);
7178 wxPyEndAllowThreads(__tstate
);
7179 if (PyErr_Occurred()) SWIG_fail
;
7181 Py_INCREF(Py_None
); resultobj
= Py_None
;
7188 static PyObject
*_wrap_TextAttr_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7189 PyObject
*resultobj
;
7190 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7192 PyObject
* obj0
= 0 ;
7193 PyObject
* obj1
= 0 ;
7195 (char *) "self",(char *) "alignment", NULL
7198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
7199 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7200 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7201 arg2
= (wxTextAttrAlignment
) SWIG_AsInt(obj1
);
7202 if (PyErr_Occurred()) SWIG_fail
;
7204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7205 (arg1
)->SetAlignment((wxTextAttrAlignment
)arg2
);
7207 wxPyEndAllowThreads(__tstate
);
7208 if (PyErr_Occurred()) SWIG_fail
;
7210 Py_INCREF(Py_None
); resultobj
= Py_None
;
7217 static PyObject
*_wrap_TextAttr_SetTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7218 PyObject
*resultobj
;
7219 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7220 wxArrayInt
*arg2
= 0 ;
7221 bool temp2
= False
;
7222 PyObject
* obj0
= 0 ;
7223 PyObject
* obj1
= 0 ;
7225 (char *) "self",(char *) "tabs", NULL
7228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) goto fail
;
7229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7232 if (! PySequence_Check(obj1
)) {
7233 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
7236 arg2
= new wxArrayInt
;
7238 int i
, len
=PySequence_Length(obj1
);
7239 for (i
=0; i
<len
; i
++) {
7240 PyObject
* item
= PySequence_GetItem(obj1
, i
);
7241 PyObject
* number
= PyNumber_Int(item
);
7242 arg2
->Add(PyInt_AS_LONG(number
));
7248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7249 (arg1
)->SetTabs((wxArrayInt
const &)*arg2
);
7251 wxPyEndAllowThreads(__tstate
);
7252 if (PyErr_Occurred()) SWIG_fail
;
7254 Py_INCREF(Py_None
); resultobj
= Py_None
;
7256 if (temp2
) delete arg2
;
7261 if (temp2
) delete arg2
;
7267 static PyObject
*_wrap_TextAttr_SetLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7268 PyObject
*resultobj
;
7269 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7271 int arg3
= (int) 0 ;
7272 PyObject
* obj0
= 0 ;
7273 PyObject
* obj1
= 0 ;
7274 PyObject
* obj2
= 0 ;
7276 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
7279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetLeftIndent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7280 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7281 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7282 arg2
= (int) SWIG_AsInt(obj1
);
7283 if (PyErr_Occurred()) SWIG_fail
;
7285 arg3
= (int) SWIG_AsInt(obj2
);
7286 if (PyErr_Occurred()) SWIG_fail
;
7289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7290 (arg1
)->SetLeftIndent(arg2
,arg3
);
7292 wxPyEndAllowThreads(__tstate
);
7293 if (PyErr_Occurred()) SWIG_fail
;
7295 Py_INCREF(Py_None
); resultobj
= Py_None
;
7302 static PyObject
*_wrap_TextAttr_SetRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7303 PyObject
*resultobj
;
7304 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7306 PyObject
* obj0
= 0 ;
7307 PyObject
* obj1
= 0 ;
7309 (char *) "self",(char *) "indent", NULL
7312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetRightIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
7313 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7315 arg2
= (int) SWIG_AsInt(obj1
);
7316 if (PyErr_Occurred()) SWIG_fail
;
7318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7319 (arg1
)->SetRightIndent(arg2
);
7321 wxPyEndAllowThreads(__tstate
);
7322 if (PyErr_Occurred()) SWIG_fail
;
7324 Py_INCREF(Py_None
); resultobj
= Py_None
;
7331 static PyObject
*_wrap_TextAttr_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7332 PyObject
*resultobj
;
7333 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7335 PyObject
* obj0
= 0 ;
7336 PyObject
* obj1
= 0 ;
7338 (char *) "self",(char *) "flags", NULL
7341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
7342 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7344 arg2
= (long) SWIG_AsLong(obj1
);
7345 if (PyErr_Occurred()) SWIG_fail
;
7347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7348 (arg1
)->SetFlags(arg2
);
7350 wxPyEndAllowThreads(__tstate
);
7351 if (PyErr_Occurred()) SWIG_fail
;
7353 Py_INCREF(Py_None
); resultobj
= Py_None
;
7360 static PyObject
*_wrap_TextAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7361 PyObject
*resultobj
;
7362 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7364 PyObject
* obj0
= 0 ;
7366 (char *) "self", NULL
7369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
7370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7374 result
= (bool)((wxTextAttr
const *)arg1
)->HasTextColour();
7376 wxPyEndAllowThreads(__tstate
);
7377 if (PyErr_Occurred()) SWIG_fail
;
7380 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7388 static PyObject
*_wrap_TextAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7389 PyObject
*resultobj
;
7390 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7392 PyObject
* obj0
= 0 ;
7394 (char *) "self", NULL
7397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasBackgroundColour",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
)->HasBackgroundColour();
7404 wxPyEndAllowThreads(__tstate
);
7405 if (PyErr_Occurred()) SWIG_fail
;
7408 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7416 static PyObject
*_wrap_TextAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7417 PyObject
*resultobj
;
7418 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7420 PyObject
* obj0
= 0 ;
7422 (char *) "self", NULL
7425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasFont",kwnames
,&obj0
)) goto fail
;
7426 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7430 result
= (bool)((wxTextAttr
const *)arg1
)->HasFont();
7432 wxPyEndAllowThreads(__tstate
);
7433 if (PyErr_Occurred()) SWIG_fail
;
7436 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7444 static PyObject
*_wrap_TextAttr_HasAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7445 PyObject
*resultobj
;
7446 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7448 PyObject
* obj0
= 0 ;
7450 (char *) "self", NULL
7453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasAlignment",kwnames
,&obj0
)) goto fail
;
7454 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7455 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7458 result
= (bool)((wxTextAttr
const *)arg1
)->HasAlignment();
7460 wxPyEndAllowThreads(__tstate
);
7461 if (PyErr_Occurred()) SWIG_fail
;
7464 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7472 static PyObject
*_wrap_TextAttr_HasTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7473 PyObject
*resultobj
;
7474 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7476 PyObject
* obj0
= 0 ;
7478 (char *) "self", NULL
7481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTabs",kwnames
,&obj0
)) goto fail
;
7482 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7486 result
= (bool)((wxTextAttr
const *)arg1
)->HasTabs();
7488 wxPyEndAllowThreads(__tstate
);
7489 if (PyErr_Occurred()) SWIG_fail
;
7492 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7500 static PyObject
*_wrap_TextAttr_HasLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7501 PyObject
*resultobj
;
7502 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7504 PyObject
* obj0
= 0 ;
7506 (char *) "self", NULL
7509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasLeftIndent",kwnames
,&obj0
)) goto fail
;
7510 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7514 result
= (bool)((wxTextAttr
const *)arg1
)->HasLeftIndent();
7516 wxPyEndAllowThreads(__tstate
);
7517 if (PyErr_Occurred()) SWIG_fail
;
7520 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7528 static PyObject
*_wrap_TextAttr_HasRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7529 PyObject
*resultobj
;
7530 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7532 PyObject
* obj0
= 0 ;
7534 (char *) "self", NULL
7537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasRightIndent",kwnames
,&obj0
)) goto fail
;
7538 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7542 result
= (bool)((wxTextAttr
const *)arg1
)->HasRightIndent();
7544 wxPyEndAllowThreads(__tstate
);
7545 if (PyErr_Occurred()) SWIG_fail
;
7548 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7556 static PyObject
*_wrap_TextAttr_HasFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7557 PyObject
*resultobj
;
7558 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7561 PyObject
* obj0
= 0 ;
7562 PyObject
* obj1
= 0 ;
7564 (char *) "self",(char *) "flag", NULL
7567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
7568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7570 arg2
= (long) SWIG_AsLong(obj1
);
7571 if (PyErr_Occurred()) SWIG_fail
;
7573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7574 result
= (bool)((wxTextAttr
const *)arg1
)->HasFlag(arg2
);
7576 wxPyEndAllowThreads(__tstate
);
7577 if (PyErr_Occurred()) SWIG_fail
;
7580 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7588 static PyObject
*_wrap_TextAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7589 PyObject
*resultobj
;
7590 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7592 PyObject
* obj0
= 0 ;
7594 (char *) "self", NULL
7597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
7598 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7603 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTextColour();
7604 result
= (wxColour
*) &_result_ref
;
7607 wxPyEndAllowThreads(__tstate
);
7608 if (PyErr_Occurred()) SWIG_fail
;
7610 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
7617 static PyObject
*_wrap_TextAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7618 PyObject
*resultobj
;
7619 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7621 PyObject
* obj0
= 0 ;
7623 (char *) "self", NULL
7626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
7627 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7628 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7632 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetBackgroundColour();
7633 result
= (wxColour
*) &_result_ref
;
7636 wxPyEndAllowThreads(__tstate
);
7637 if (PyErr_Occurred()) SWIG_fail
;
7639 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
7646 static PyObject
*_wrap_TextAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7647 PyObject
*resultobj
;
7648 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7650 PyObject
* obj0
= 0 ;
7652 (char *) "self", NULL
7655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFont",kwnames
,&obj0
)) goto fail
;
7656 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7661 wxFont
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetFont();
7662 result
= (wxFont
*) &_result_ref
;
7665 wxPyEndAllowThreads(__tstate
);
7666 if (PyErr_Occurred()) SWIG_fail
;
7669 wxFont
* resultptr
= new wxFont(*result
);
7670 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
7678 static PyObject
*_wrap_TextAttr_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7679 PyObject
*resultobj
;
7680 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7682 PyObject
* obj0
= 0 ;
7684 (char *) "self", NULL
7687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetAlignment",kwnames
,&obj0
)) goto fail
;
7688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7692 result
= (int)((wxTextAttr
const *)arg1
)->GetAlignment();
7694 wxPyEndAllowThreads(__tstate
);
7695 if (PyErr_Occurred()) SWIG_fail
;
7697 resultobj
= SWIG_FromInt((int)result
);
7704 static PyObject
*_wrap_TextAttr_GetTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7705 PyObject
*resultobj
;
7706 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7708 PyObject
* obj0
= 0 ;
7710 (char *) "self", NULL
7713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTabs",kwnames
,&obj0
)) goto fail
;
7714 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7715 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7719 wxArrayInt
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTabs();
7720 result
= (wxArrayInt
*) &_result_ref
;
7723 wxPyEndAllowThreads(__tstate
);
7724 if (PyErr_Occurred()) SWIG_fail
;
7727 resultobj
= PyList_New(0);
7729 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
7730 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
7731 PyList_Append(resultobj
, val
);
7741 static PyObject
*_wrap_TextAttr_GetLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7742 PyObject
*resultobj
;
7743 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7745 PyObject
* obj0
= 0 ;
7747 (char *) "self", NULL
7750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetLeftIndent",kwnames
,&obj0
)) goto fail
;
7751 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7752 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7755 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftIndent();
7757 wxPyEndAllowThreads(__tstate
);
7758 if (PyErr_Occurred()) SWIG_fail
;
7760 resultobj
= SWIG_FromLong((long)result
);
7767 static PyObject
*_wrap_TextAttr_GetLeftSubIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7768 PyObject
*resultobj
;
7769 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7771 PyObject
* obj0
= 0 ;
7773 (char *) "self", NULL
7776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetLeftSubIndent",kwnames
,&obj0
)) goto fail
;
7777 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7781 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftSubIndent();
7783 wxPyEndAllowThreads(__tstate
);
7784 if (PyErr_Occurred()) SWIG_fail
;
7786 resultobj
= SWIG_FromLong((long)result
);
7793 static PyObject
*_wrap_TextAttr_GetRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7794 PyObject
*resultobj
;
7795 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7797 PyObject
* obj0
= 0 ;
7799 (char *) "self", NULL
7802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetRightIndent",kwnames
,&obj0
)) goto fail
;
7803 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7807 result
= (long)((wxTextAttr
const *)arg1
)->GetRightIndent();
7809 wxPyEndAllowThreads(__tstate
);
7810 if (PyErr_Occurred()) SWIG_fail
;
7812 resultobj
= SWIG_FromLong((long)result
);
7819 static PyObject
*_wrap_TextAttr_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7820 PyObject
*resultobj
;
7821 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7823 PyObject
* obj0
= 0 ;
7825 (char *) "self", NULL
7828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFlags",kwnames
,&obj0
)) goto fail
;
7829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7833 result
= (long)((wxTextAttr
const *)arg1
)->GetFlags();
7835 wxPyEndAllowThreads(__tstate
);
7836 if (PyErr_Occurred()) SWIG_fail
;
7838 resultobj
= SWIG_FromLong((long)result
);
7845 static PyObject
*_wrap_TextAttr_IsDefault(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7846 PyObject
*resultobj
;
7847 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7849 PyObject
* obj0
= 0 ;
7851 (char *) "self", NULL
7854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_IsDefault",kwnames
,&obj0
)) goto fail
;
7855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7859 result
= (bool)((wxTextAttr
const *)arg1
)->IsDefault();
7861 wxPyEndAllowThreads(__tstate
);
7862 if (PyErr_Occurred()) SWIG_fail
;
7865 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7873 static PyObject
*_wrap_TextAttr_Combine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7874 PyObject
*resultobj
;
7875 wxTextAttr
*arg1
= 0 ;
7876 wxTextAttr
*arg2
= 0 ;
7877 wxTextCtrl
*arg3
= (wxTextCtrl
*) 0 ;
7879 PyObject
* obj0
= 0 ;
7880 PyObject
* obj1
= 0 ;
7881 PyObject
* obj2
= 0 ;
7883 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
7886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextAttr_Combine",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7888 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7891 PyErr_SetString(PyExc_TypeError
,"null reference");
7894 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTextAttr
,
7895 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7898 PyErr_SetString(PyExc_TypeError
,"null reference");
7901 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTextCtrl
,
7902 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7905 result
= wxTextAttr::Combine((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
,(wxTextCtrl
const *)arg3
);
7907 wxPyEndAllowThreads(__tstate
);
7908 if (PyErr_Occurred()) SWIG_fail
;
7911 wxTextAttr
* resultptr
;
7912 resultptr
= new wxTextAttr((wxTextAttr
&) result
);
7913 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTextAttr
, 1);
7921 static PyObject
* TextAttr_swigregister(PyObject
*self
, PyObject
*args
) {
7923 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7924 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr
, obj
);
7926 return Py_BuildValue((char *)"");
7928 static PyObject
*_wrap_new_TextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7929 PyObject
*resultobj
;
7930 wxWindow
*arg1
= (wxWindow
*) 0 ;
7931 int arg2
= (int) -1 ;
7932 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7933 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7934 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7935 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7936 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7937 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7938 long arg6
= (long) 0 ;
7939 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
7940 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
7941 wxString
const &arg8_defvalue
= wxPyTextCtrlNameStr
;
7942 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7944 bool temp3
= False
;
7947 bool temp8
= False
;
7948 PyObject
* obj0
= 0 ;
7949 PyObject
* obj1
= 0 ;
7950 PyObject
* obj2
= 0 ;
7951 PyObject
* obj3
= 0 ;
7952 PyObject
* obj4
= 0 ;
7953 PyObject
* obj5
= 0 ;
7954 PyObject
* obj6
= 0 ;
7955 PyObject
* obj7
= 0 ;
7957 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
7960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_TextCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
7961 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
7962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7964 arg2
= (int) SWIG_AsInt(obj1
);
7965 if (PyErr_Occurred()) SWIG_fail
;
7969 arg3
= wxString_in_helper(obj2
);
7970 if (arg3
== NULL
) SWIG_fail
;
7977 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7983 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7987 arg6
= (long) SWIG_AsLong(obj5
);
7988 if (PyErr_Occurred()) SWIG_fail
;
7991 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
7992 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7995 PyErr_SetString(PyExc_TypeError
,"null reference");
8001 arg8
= wxString_in_helper(obj7
);
8002 if (arg8
== NULL
) SWIG_fail
;
8007 if (!wxPyCheckForApp()) SWIG_fail
;
8008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8009 result
= (wxTextCtrl
*)new wxTextCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
8011 wxPyEndAllowThreads(__tstate
);
8012 if (PyErr_Occurred()) SWIG_fail
;
8014 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextCtrl
, 1);
8037 static PyObject
*_wrap_new_PreTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8038 PyObject
*resultobj
;
8044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTextCtrl",kwnames
)) goto fail
;
8046 if (!wxPyCheckForApp()) SWIG_fail
;
8047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8048 result
= (wxTextCtrl
*)new wxTextCtrl();
8050 wxPyEndAllowThreads(__tstate
);
8051 if (PyErr_Occurred()) SWIG_fail
;
8053 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextCtrl
, 1);
8060 static PyObject
*_wrap_TextCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8061 PyObject
*resultobj
;
8062 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8063 wxWindow
*arg2
= (wxWindow
*) 0 ;
8064 int arg3
= (int) -1 ;
8065 wxString
const &arg4_defvalue
= wxPyEmptyString
;
8066 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8067 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8068 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8069 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8070 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8071 long arg7
= (long) 0 ;
8072 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
8073 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
8074 wxString
const &arg9_defvalue
= wxPyTextCtrlNameStr
;
8075 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
8077 bool temp4
= False
;
8080 bool temp9
= False
;
8081 PyObject
* obj0
= 0 ;
8082 PyObject
* obj1
= 0 ;
8083 PyObject
* obj2
= 0 ;
8084 PyObject
* obj3
= 0 ;
8085 PyObject
* obj4
= 0 ;
8086 PyObject
* obj5
= 0 ;
8087 PyObject
* obj6
= 0 ;
8088 PyObject
* obj7
= 0 ;
8089 PyObject
* obj8
= 0 ;
8091 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
8094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:TextCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
8095 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8097 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8100 arg3
= (int) SWIG_AsInt(obj2
);
8101 if (PyErr_Occurred()) SWIG_fail
;
8105 arg4
= wxString_in_helper(obj3
);
8106 if (arg4
== NULL
) SWIG_fail
;
8113 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8119 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8123 arg7
= (long) SWIG_AsLong(obj6
);
8124 if (PyErr_Occurred()) SWIG_fail
;
8127 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
8128 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8131 PyErr_SetString(PyExc_TypeError
,"null reference");
8137 arg9
= wxString_in_helper(obj8
);
8138 if (arg9
== NULL
) SWIG_fail
;
8143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8144 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
8146 wxPyEndAllowThreads(__tstate
);
8147 if (PyErr_Occurred()) SWIG_fail
;
8150 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8174 static PyObject
*_wrap_TextCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8175 PyObject
*resultobj
;
8176 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8178 PyObject
* obj0
= 0 ;
8180 (char *) "self", NULL
8183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
8184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8188 result
= ((wxTextCtrl
const *)arg1
)->GetValue();
8190 wxPyEndAllowThreads(__tstate
);
8191 if (PyErr_Occurred()) SWIG_fail
;
8195 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8197 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8206 static PyObject
*_wrap_TextCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8207 PyObject
*resultobj
;
8208 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8209 wxString
*arg2
= 0 ;
8210 bool temp2
= False
;
8211 PyObject
* obj0
= 0 ;
8212 PyObject
* obj1
= 0 ;
8214 (char *) "self",(char *) "value", NULL
8217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
8218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8221 arg2
= wxString_in_helper(obj1
);
8222 if (arg2
== NULL
) SWIG_fail
;
8226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8227 (arg1
)->SetValue((wxString
const &)*arg2
);
8229 wxPyEndAllowThreads(__tstate
);
8230 if (PyErr_Occurred()) SWIG_fail
;
8232 Py_INCREF(Py_None
); resultobj
= Py_None
;
8247 static PyObject
*_wrap_TextCtrl_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8248 PyObject
*resultobj
;
8249 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8253 PyObject
* obj0
= 0 ;
8254 PyObject
* obj1
= 0 ;
8255 PyObject
* obj2
= 0 ;
8257 (char *) "self",(char *) "from",(char *) "to", NULL
8260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8261 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8263 arg2
= (long) SWIG_AsLong(obj1
);
8264 if (PyErr_Occurred()) SWIG_fail
;
8265 arg3
= (long) SWIG_AsLong(obj2
);
8266 if (PyErr_Occurred()) SWIG_fail
;
8268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8269 result
= ((wxTextCtrl
const *)arg1
)->GetRange(arg2
,arg3
);
8271 wxPyEndAllowThreads(__tstate
);
8272 if (PyErr_Occurred()) SWIG_fail
;
8276 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8278 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8287 static PyObject
*_wrap_TextCtrl_GetLineLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8288 PyObject
*resultobj
;
8289 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8292 PyObject
* obj0
= 0 ;
8293 PyObject
* obj1
= 0 ;
8295 (char *) "self",(char *) "lineNo", NULL
8298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineLength",kwnames
,&obj0
,&obj1
)) goto fail
;
8299 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8301 arg2
= (long) SWIG_AsLong(obj1
);
8302 if (PyErr_Occurred()) SWIG_fail
;
8304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8305 result
= (int)((wxTextCtrl
const *)arg1
)->GetLineLength(arg2
);
8307 wxPyEndAllowThreads(__tstate
);
8308 if (PyErr_Occurred()) SWIG_fail
;
8310 resultobj
= SWIG_FromInt((int)result
);
8317 static PyObject
*_wrap_TextCtrl_GetLineText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8318 PyObject
*resultobj
;
8319 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8322 PyObject
* obj0
= 0 ;
8323 PyObject
* obj1
= 0 ;
8325 (char *) "self",(char *) "lineNo", NULL
8328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineText",kwnames
,&obj0
,&obj1
)) goto fail
;
8329 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8331 arg2
= (long) SWIG_AsLong(obj1
);
8332 if (PyErr_Occurred()) SWIG_fail
;
8334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8335 result
= ((wxTextCtrl
const *)arg1
)->GetLineText(arg2
);
8337 wxPyEndAllowThreads(__tstate
);
8338 if (PyErr_Occurred()) SWIG_fail
;
8342 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8344 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8353 static PyObject
*_wrap_TextCtrl_GetNumberOfLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8354 PyObject
*resultobj
;
8355 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8357 PyObject
* obj0
= 0 ;
8359 (char *) "self", NULL
8362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetNumberOfLines",kwnames
,&obj0
)) goto fail
;
8363 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8367 result
= (int)((wxTextCtrl
const *)arg1
)->GetNumberOfLines();
8369 wxPyEndAllowThreads(__tstate
);
8370 if (PyErr_Occurred()) SWIG_fail
;
8372 resultobj
= SWIG_FromInt((int)result
);
8379 static PyObject
*_wrap_TextCtrl_IsModified(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8380 PyObject
*resultobj
;
8381 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8383 PyObject
* obj0
= 0 ;
8385 (char *) "self", NULL
8388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsModified",kwnames
,&obj0
)) goto fail
;
8389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8393 result
= (bool)((wxTextCtrl
const *)arg1
)->IsModified();
8395 wxPyEndAllowThreads(__tstate
);
8396 if (PyErr_Occurred()) SWIG_fail
;
8399 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8407 static PyObject
*_wrap_TextCtrl_IsEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8408 PyObject
*resultobj
;
8409 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8411 PyObject
* obj0
= 0 ;
8413 (char *) "self", NULL
8416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsEditable",kwnames
,&obj0
)) goto fail
;
8417 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8421 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEditable();
8423 wxPyEndAllowThreads(__tstate
);
8424 if (PyErr_Occurred()) SWIG_fail
;
8427 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8435 static PyObject
*_wrap_TextCtrl_IsSingleLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8436 PyObject
*resultobj
;
8437 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8439 PyObject
* obj0
= 0 ;
8441 (char *) "self", NULL
8444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsSingleLine",kwnames
,&obj0
)) goto fail
;
8445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8449 result
= (bool)((wxTextCtrl
const *)arg1
)->IsSingleLine();
8451 wxPyEndAllowThreads(__tstate
);
8452 if (PyErr_Occurred()) SWIG_fail
;
8455 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8463 static PyObject
*_wrap_TextCtrl_IsMultiLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8464 PyObject
*resultobj
;
8465 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8467 PyObject
* obj0
= 0 ;
8469 (char *) "self", NULL
8472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsMultiLine",kwnames
,&obj0
)) goto fail
;
8473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8477 result
= (bool)((wxTextCtrl
const *)arg1
)->IsMultiLine();
8479 wxPyEndAllowThreads(__tstate
);
8480 if (PyErr_Occurred()) SWIG_fail
;
8483 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8491 static PyObject
*_wrap_TextCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8492 PyObject
*resultobj
;
8493 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8494 long *arg2
= (long *) 0 ;
8495 long *arg3
= (long *) 0 ;
8498 PyObject
* obj0
= 0 ;
8500 (char *) "self", NULL
8505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
8506 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8510 ((wxTextCtrl
const *)arg1
)->GetSelection(arg2
,arg3
);
8512 wxPyEndAllowThreads(__tstate
);
8513 if (PyErr_Occurred()) SWIG_fail
;
8515 Py_INCREF(Py_None
); resultobj
= Py_None
;
8517 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
8518 resultobj
= t_output_helper(resultobj
,o
);
8521 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
8522 resultobj
= t_output_helper(resultobj
,o
);
8530 static PyObject
*_wrap_TextCtrl_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8531 PyObject
*resultobj
;
8532 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8534 PyObject
* obj0
= 0 ;
8536 (char *) "self", NULL
8539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetStringSelection",kwnames
,&obj0
)) goto fail
;
8540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8544 result
= ((wxTextCtrl
const *)arg1
)->GetStringSelection();
8546 wxPyEndAllowThreads(__tstate
);
8547 if (PyErr_Occurred()) SWIG_fail
;
8551 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8553 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8562 static PyObject
*_wrap_TextCtrl_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8563 PyObject
*resultobj
;
8564 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8565 PyObject
* obj0
= 0 ;
8567 (char *) "self", NULL
8570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Clear",kwnames
,&obj0
)) goto fail
;
8571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8577 wxPyEndAllowThreads(__tstate
);
8578 if (PyErr_Occurred()) SWIG_fail
;
8580 Py_INCREF(Py_None
); resultobj
= Py_None
;
8587 static PyObject
*_wrap_TextCtrl_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8588 PyObject
*resultobj
;
8589 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8592 wxString
*arg4
= 0 ;
8593 bool temp4
= False
;
8594 PyObject
* obj0
= 0 ;
8595 PyObject
* obj1
= 0 ;
8596 PyObject
* obj2
= 0 ;
8597 PyObject
* obj3
= 0 ;
8599 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
8602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8605 arg2
= (long) SWIG_AsLong(obj1
);
8606 if (PyErr_Occurred()) SWIG_fail
;
8607 arg3
= (long) SWIG_AsLong(obj2
);
8608 if (PyErr_Occurred()) SWIG_fail
;
8610 arg4
= wxString_in_helper(obj3
);
8611 if (arg4
== NULL
) SWIG_fail
;
8615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8616 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
8618 wxPyEndAllowThreads(__tstate
);
8619 if (PyErr_Occurred()) SWIG_fail
;
8621 Py_INCREF(Py_None
); resultobj
= Py_None
;
8636 static PyObject
*_wrap_TextCtrl_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8637 PyObject
*resultobj
;
8638 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8641 PyObject
* obj0
= 0 ;
8642 PyObject
* obj1
= 0 ;
8643 PyObject
* obj2
= 0 ;
8645 (char *) "self",(char *) "from",(char *) "to", NULL
8648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8651 arg2
= (long) SWIG_AsLong(obj1
);
8652 if (PyErr_Occurred()) SWIG_fail
;
8653 arg3
= (long) SWIG_AsLong(obj2
);
8654 if (PyErr_Occurred()) SWIG_fail
;
8656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8657 (arg1
)->Remove(arg2
,arg3
);
8659 wxPyEndAllowThreads(__tstate
);
8660 if (PyErr_Occurred()) SWIG_fail
;
8662 Py_INCREF(Py_None
); resultobj
= Py_None
;
8669 static PyObject
*_wrap_TextCtrl_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8670 PyObject
*resultobj
;
8671 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8672 wxString
*arg2
= 0 ;
8674 bool temp2
= False
;
8675 PyObject
* obj0
= 0 ;
8676 PyObject
* obj1
= 0 ;
8678 (char *) "self",(char *) "file", NULL
8681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_LoadFile",kwnames
,&obj0
,&obj1
)) goto fail
;
8682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8685 arg2
= wxString_in_helper(obj1
);
8686 if (arg2
== NULL
) SWIG_fail
;
8690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8691 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
);
8693 wxPyEndAllowThreads(__tstate
);
8694 if (PyErr_Occurred()) SWIG_fail
;
8697 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8713 static PyObject
*_wrap_TextCtrl_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8714 PyObject
*resultobj
;
8715 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8716 wxString
const &arg2_defvalue
= wxPyEmptyString
;
8717 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
8719 bool temp2
= False
;
8720 PyObject
* obj0
= 0 ;
8721 PyObject
* obj1
= 0 ;
8723 (char *) "self",(char *) "file", NULL
8726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_SaveFile",kwnames
,&obj0
,&obj1
)) goto fail
;
8727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8731 arg2
= wxString_in_helper(obj1
);
8732 if (arg2
== NULL
) SWIG_fail
;
8737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8738 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
);
8740 wxPyEndAllowThreads(__tstate
);
8741 if (PyErr_Occurred()) SWIG_fail
;
8744 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8760 static PyObject
*_wrap_TextCtrl_MarkDirty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8761 PyObject
*resultobj
;
8762 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8763 PyObject
* obj0
= 0 ;
8765 (char *) "self", NULL
8768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_MarkDirty",kwnames
,&obj0
)) goto fail
;
8769 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8773 (arg1
)->MarkDirty();
8775 wxPyEndAllowThreads(__tstate
);
8776 if (PyErr_Occurred()) SWIG_fail
;
8778 Py_INCREF(Py_None
); resultobj
= Py_None
;
8785 static PyObject
*_wrap_TextCtrl_DiscardEdits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8786 PyObject
*resultobj
;
8787 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8788 PyObject
* obj0
= 0 ;
8790 (char *) "self", NULL
8793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_DiscardEdits",kwnames
,&obj0
)) goto fail
;
8794 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8795 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8798 (arg1
)->DiscardEdits();
8800 wxPyEndAllowThreads(__tstate
);
8801 if (PyErr_Occurred()) SWIG_fail
;
8803 Py_INCREF(Py_None
); resultobj
= Py_None
;
8810 static PyObject
*_wrap_TextCtrl_SetMaxLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8811 PyObject
*resultobj
;
8812 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8813 unsigned long arg2
;
8814 PyObject
* obj0
= 0 ;
8815 PyObject
* obj1
= 0 ;
8817 (char *) "self",(char *) "len", NULL
8820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) goto fail
;
8821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8823 arg2
= (unsigned long) SWIG_AsUnsignedLong(obj1
);
8824 if (PyErr_Occurred()) SWIG_fail
;
8826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8827 (arg1
)->SetMaxLength(arg2
);
8829 wxPyEndAllowThreads(__tstate
);
8830 if (PyErr_Occurred()) SWIG_fail
;
8832 Py_INCREF(Py_None
); resultobj
= Py_None
;
8839 static PyObject
*_wrap_TextCtrl_WriteText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8840 PyObject
*resultobj
;
8841 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8842 wxString
*arg2
= 0 ;
8843 bool temp2
= False
;
8844 PyObject
* obj0
= 0 ;
8845 PyObject
* obj1
= 0 ;
8847 (char *) "self",(char *) "text", NULL
8850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) goto fail
;
8851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8854 arg2
= wxString_in_helper(obj1
);
8855 if (arg2
== NULL
) SWIG_fail
;
8859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8860 (arg1
)->WriteText((wxString
const &)*arg2
);
8862 wxPyEndAllowThreads(__tstate
);
8863 if (PyErr_Occurred()) SWIG_fail
;
8865 Py_INCREF(Py_None
); resultobj
= Py_None
;
8880 static PyObject
*_wrap_TextCtrl_AppendText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8881 PyObject
*resultobj
;
8882 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8883 wxString
*arg2
= 0 ;
8884 bool temp2
= False
;
8885 PyObject
* obj0
= 0 ;
8886 PyObject
* obj1
= 0 ;
8888 (char *) "self",(char *) "text", NULL
8891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) goto fail
;
8892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8895 arg2
= wxString_in_helper(obj1
);
8896 if (arg2
== NULL
) SWIG_fail
;
8900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8901 (arg1
)->AppendText((wxString
const &)*arg2
);
8903 wxPyEndAllowThreads(__tstate
);
8904 if (PyErr_Occurred()) SWIG_fail
;
8906 Py_INCREF(Py_None
); resultobj
= Py_None
;
8921 static PyObject
*_wrap_TextCtrl_EmulateKeyPress(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8922 PyObject
*resultobj
;
8923 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8924 wxKeyEvent
*arg2
= 0 ;
8926 PyObject
* obj0
= 0 ;
8927 PyObject
* obj1
= 0 ;
8929 (char *) "self",(char *) "event", NULL
8932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames
,&obj0
,&obj1
)) goto fail
;
8933 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8935 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxKeyEvent
,
8936 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8939 PyErr_SetString(PyExc_TypeError
,"null reference");
8943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8944 result
= (bool)(arg1
)->EmulateKeyPress((wxKeyEvent
const &)*arg2
);
8946 wxPyEndAllowThreads(__tstate
);
8947 if (PyErr_Occurred()) SWIG_fail
;
8950 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8958 static PyObject
*_wrap_TextCtrl_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8959 PyObject
*resultobj
;
8960 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8963 wxTextAttr
*arg4
= 0 ;
8965 PyObject
* obj0
= 0 ;
8966 PyObject
* obj1
= 0 ;
8967 PyObject
* obj2
= 0 ;
8968 PyObject
* obj3
= 0 ;
8970 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
8973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_SetStyle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8974 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8976 arg2
= (long) SWIG_AsLong(obj1
);
8977 if (PyErr_Occurred()) SWIG_fail
;
8978 arg3
= (long) SWIG_AsLong(obj2
);
8979 if (PyErr_Occurred()) SWIG_fail
;
8980 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxTextAttr
,
8981 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8984 PyErr_SetString(PyExc_TypeError
,"null reference");
8988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8989 result
= (bool)(arg1
)->SetStyle(arg2
,arg3
,(wxTextAttr
const &)*arg4
);
8991 wxPyEndAllowThreads(__tstate
);
8992 if (PyErr_Occurred()) SWIG_fail
;
8995 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9003 static PyObject
*_wrap_TextCtrl_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9004 PyObject
*resultobj
;
9005 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9007 wxTextAttr
*arg3
= 0 ;
9009 PyObject
* obj0
= 0 ;
9010 PyObject
* obj1
= 0 ;
9011 PyObject
* obj2
= 0 ;
9013 (char *) "self",(char *) "position",(char *) "style", NULL
9016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9019 arg2
= (long) SWIG_AsLong(obj1
);
9020 if (PyErr_Occurred()) SWIG_fail
;
9021 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTextAttr
,
9022 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9025 PyErr_SetString(PyExc_TypeError
,"null reference");
9029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9030 result
= (bool)(arg1
)->GetStyle(arg2
,*arg3
);
9032 wxPyEndAllowThreads(__tstate
);
9033 if (PyErr_Occurred()) SWIG_fail
;
9036 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9044 static PyObject
*_wrap_TextCtrl_SetDefaultStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9045 PyObject
*resultobj
;
9046 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9047 wxTextAttr
*arg2
= 0 ;
9049 PyObject
* obj0
= 0 ;
9050 PyObject
* obj1
= 0 ;
9052 (char *) "self",(char *) "style", NULL
9055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
9056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9058 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTextAttr
,
9059 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9062 PyErr_SetString(PyExc_TypeError
,"null reference");
9066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9067 result
= (bool)(arg1
)->SetDefaultStyle((wxTextAttr
const &)*arg2
);
9069 wxPyEndAllowThreads(__tstate
);
9070 if (PyErr_Occurred()) SWIG_fail
;
9073 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9081 static PyObject
*_wrap_TextCtrl_GetDefaultStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9082 PyObject
*resultobj
;
9083 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9085 PyObject
* obj0
= 0 ;
9087 (char *) "self", NULL
9090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetDefaultStyle",kwnames
,&obj0
)) goto fail
;
9091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9096 wxTextAttr
const &_result_ref
= ((wxTextCtrl
const *)arg1
)->GetDefaultStyle();
9097 result
= (wxTextAttr
*) &_result_ref
;
9100 wxPyEndAllowThreads(__tstate
);
9101 if (PyErr_Occurred()) SWIG_fail
;
9103 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 0);
9110 static PyObject
*_wrap_TextCtrl_XYToPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9111 PyObject
*resultobj
;
9112 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9116 PyObject
* obj0
= 0 ;
9117 PyObject
* obj1
= 0 ;
9118 PyObject
* obj2
= 0 ;
9120 (char *) "self",(char *) "x",(char *) "y", NULL
9123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_XYToPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9126 arg2
= (long) SWIG_AsLong(obj1
);
9127 if (PyErr_Occurred()) SWIG_fail
;
9128 arg3
= (long) SWIG_AsLong(obj2
);
9129 if (PyErr_Occurred()) SWIG_fail
;
9131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9132 result
= (long)((wxTextCtrl
const *)arg1
)->XYToPosition(arg2
,arg3
);
9134 wxPyEndAllowThreads(__tstate
);
9135 if (PyErr_Occurred()) SWIG_fail
;
9137 resultobj
= SWIG_FromLong((long)result
);
9144 static PyObject
*_wrap_TextCtrl_PositionToXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9145 PyObject
*resultobj
;
9146 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9148 long *arg3
= (long *) 0 ;
9149 long *arg4
= (long *) 0 ;
9152 PyObject
* obj0
= 0 ;
9153 PyObject
* obj1
= 0 ;
9155 (char *) "self",(char *) "pos", NULL
9160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_PositionToXY",kwnames
,&obj0
,&obj1
)) goto fail
;
9161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9163 arg2
= (long) SWIG_AsLong(obj1
);
9164 if (PyErr_Occurred()) SWIG_fail
;
9166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9167 ((wxTextCtrl
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
);
9169 wxPyEndAllowThreads(__tstate
);
9170 if (PyErr_Occurred()) SWIG_fail
;
9172 Py_INCREF(Py_None
); resultobj
= Py_None
;
9174 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
9175 resultobj
= t_output_helper(resultobj
,o
);
9178 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
9179 resultobj
= t_output_helper(resultobj
,o
);
9187 static PyObject
*_wrap_TextCtrl_ShowPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9188 PyObject
*resultobj
;
9189 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9191 PyObject
* obj0
= 0 ;
9192 PyObject
* obj1
= 0 ;
9194 (char *) "self",(char *) "pos", NULL
9197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ShowPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
9198 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9199 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9200 arg2
= (long) SWIG_AsLong(obj1
);
9201 if (PyErr_Occurred()) SWIG_fail
;
9203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9204 (arg1
)->ShowPosition(arg2
);
9206 wxPyEndAllowThreads(__tstate
);
9207 if (PyErr_Occurred()) SWIG_fail
;
9209 Py_INCREF(Py_None
); resultobj
= Py_None
;
9216 static PyObject
*_wrap_TextCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9217 PyObject
*resultobj
;
9218 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9220 long *arg3
= (long *) 0 ;
9221 long *arg4
= (long *) 0 ;
9226 PyObject
* obj0
= 0 ;
9227 PyObject
* obj1
= 0 ;
9229 (char *) "self",(char *) "pt", NULL
9234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
9235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9239 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9243 result
= (int)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
,arg4
);
9245 wxPyEndAllowThreads(__tstate
);
9246 if (PyErr_Occurred()) SWIG_fail
;
9248 resultobj
= SWIG_FromInt((int)result
);
9250 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
9251 resultobj
= t_output_helper(resultobj
,o
);
9254 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
9255 resultobj
= t_output_helper(resultobj
,o
);
9263 static PyObject
*_wrap_TextCtrl_HitTestPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9264 PyObject
*resultobj
;
9265 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9267 long *arg3
= (long *) 0 ;
9271 PyObject
* obj0
= 0 ;
9272 PyObject
* obj1
= 0 ;
9274 (char *) "self",(char *) "pt", NULL
9278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTestPos",kwnames
,&obj0
,&obj1
)) goto fail
;
9279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9283 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9287 result
= (int)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
9289 wxPyEndAllowThreads(__tstate
);
9290 if (PyErr_Occurred()) SWIG_fail
;
9292 resultobj
= SWIG_FromInt((int)result
);
9294 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
9295 resultobj
= t_output_helper(resultobj
,o
);
9303 static PyObject
*_wrap_TextCtrl_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9304 PyObject
*resultobj
;
9305 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9306 PyObject
* obj0
= 0 ;
9308 (char *) "self", NULL
9311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Copy",kwnames
,&obj0
)) goto fail
;
9312 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9318 wxPyEndAllowThreads(__tstate
);
9319 if (PyErr_Occurred()) SWIG_fail
;
9321 Py_INCREF(Py_None
); resultobj
= Py_None
;
9328 static PyObject
*_wrap_TextCtrl_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9329 PyObject
*resultobj
;
9330 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9331 PyObject
* obj0
= 0 ;
9333 (char *) "self", NULL
9336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Cut",kwnames
,&obj0
)) goto fail
;
9337 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9343 wxPyEndAllowThreads(__tstate
);
9344 if (PyErr_Occurred()) SWIG_fail
;
9346 Py_INCREF(Py_None
); resultobj
= Py_None
;
9353 static PyObject
*_wrap_TextCtrl_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9354 PyObject
*resultobj
;
9355 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9356 PyObject
* obj0
= 0 ;
9358 (char *) "self", NULL
9361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Paste",kwnames
,&obj0
)) goto fail
;
9362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9368 wxPyEndAllowThreads(__tstate
);
9369 if (PyErr_Occurred()) SWIG_fail
;
9371 Py_INCREF(Py_None
); resultobj
= Py_None
;
9378 static PyObject
*_wrap_TextCtrl_CanCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9379 PyObject
*resultobj
;
9380 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9382 PyObject
* obj0
= 0 ;
9384 (char *) "self", NULL
9387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCopy",kwnames
,&obj0
)) goto fail
;
9388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9392 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCopy();
9394 wxPyEndAllowThreads(__tstate
);
9395 if (PyErr_Occurred()) SWIG_fail
;
9398 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9406 static PyObject
*_wrap_TextCtrl_CanCut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9407 PyObject
*resultobj
;
9408 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9410 PyObject
* obj0
= 0 ;
9412 (char *) "self", NULL
9415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCut",kwnames
,&obj0
)) goto fail
;
9416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9420 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCut();
9422 wxPyEndAllowThreads(__tstate
);
9423 if (PyErr_Occurred()) SWIG_fail
;
9426 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9434 static PyObject
*_wrap_TextCtrl_CanPaste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9435 PyObject
*resultobj
;
9436 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9438 PyObject
* obj0
= 0 ;
9440 (char *) "self", NULL
9443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanPaste",kwnames
,&obj0
)) goto fail
;
9444 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9448 result
= (bool)((wxTextCtrl
const *)arg1
)->CanPaste();
9450 wxPyEndAllowThreads(__tstate
);
9451 if (PyErr_Occurred()) SWIG_fail
;
9454 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9462 static PyObject
*_wrap_TextCtrl_Undo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9463 PyObject
*resultobj
;
9464 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9465 PyObject
* obj0
= 0 ;
9467 (char *) "self", NULL
9470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Undo",kwnames
,&obj0
)) goto fail
;
9471 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9472 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9477 wxPyEndAllowThreads(__tstate
);
9478 if (PyErr_Occurred()) SWIG_fail
;
9480 Py_INCREF(Py_None
); resultobj
= Py_None
;
9487 static PyObject
*_wrap_TextCtrl_Redo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9488 PyObject
*resultobj
;
9489 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9490 PyObject
* obj0
= 0 ;
9492 (char *) "self", NULL
9495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Redo",kwnames
,&obj0
)) goto fail
;
9496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9502 wxPyEndAllowThreads(__tstate
);
9503 if (PyErr_Occurred()) SWIG_fail
;
9505 Py_INCREF(Py_None
); resultobj
= Py_None
;
9512 static PyObject
*_wrap_TextCtrl_CanUndo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9513 PyObject
*resultobj
;
9514 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9516 PyObject
* obj0
= 0 ;
9518 (char *) "self", NULL
9521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanUndo",kwnames
,&obj0
)) goto fail
;
9522 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9523 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9526 result
= (bool)((wxTextCtrl
const *)arg1
)->CanUndo();
9528 wxPyEndAllowThreads(__tstate
);
9529 if (PyErr_Occurred()) SWIG_fail
;
9532 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9540 static PyObject
*_wrap_TextCtrl_CanRedo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9541 PyObject
*resultobj
;
9542 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9544 PyObject
* obj0
= 0 ;
9546 (char *) "self", NULL
9549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanRedo",kwnames
,&obj0
)) goto fail
;
9550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9554 result
= (bool)((wxTextCtrl
const *)arg1
)->CanRedo();
9556 wxPyEndAllowThreads(__tstate
);
9557 if (PyErr_Occurred()) SWIG_fail
;
9560 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9568 static PyObject
*_wrap_TextCtrl_SetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9569 PyObject
*resultobj
;
9570 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9572 PyObject
* obj0
= 0 ;
9573 PyObject
* obj1
= 0 ;
9575 (char *) "self",(char *) "pos", NULL
9578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
9579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9581 arg2
= (long) SWIG_AsLong(obj1
);
9582 if (PyErr_Occurred()) SWIG_fail
;
9584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9585 (arg1
)->SetInsertionPoint(arg2
);
9587 wxPyEndAllowThreads(__tstate
);
9588 if (PyErr_Occurred()) SWIG_fail
;
9590 Py_INCREF(Py_None
); resultobj
= Py_None
;
9597 static PyObject
*_wrap_TextCtrl_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9598 PyObject
*resultobj
;
9599 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9600 PyObject
* obj0
= 0 ;
9602 (char *) "self", NULL
9605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
9606 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9610 (arg1
)->SetInsertionPointEnd();
9612 wxPyEndAllowThreads(__tstate
);
9613 if (PyErr_Occurred()) SWIG_fail
;
9615 Py_INCREF(Py_None
); resultobj
= Py_None
;
9622 static PyObject
*_wrap_TextCtrl_GetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9623 PyObject
*resultobj
;
9624 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9626 PyObject
* obj0
= 0 ;
9628 (char *) "self", NULL
9631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
9632 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9633 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9636 result
= (long)((wxTextCtrl
const *)arg1
)->GetInsertionPoint();
9638 wxPyEndAllowThreads(__tstate
);
9639 if (PyErr_Occurred()) SWIG_fail
;
9641 resultobj
= SWIG_FromLong((long)result
);
9648 static PyObject
*_wrap_TextCtrl_GetLastPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9649 PyObject
*resultobj
;
9650 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9652 PyObject
* obj0
= 0 ;
9654 (char *) "self", NULL
9657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetLastPosition",kwnames
,&obj0
)) goto fail
;
9658 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9662 result
= (long)((wxTextCtrl
const *)arg1
)->GetLastPosition();
9664 wxPyEndAllowThreads(__tstate
);
9665 if (PyErr_Occurred()) SWIG_fail
;
9667 resultobj
= SWIG_FromLong((long)result
);
9674 static PyObject
*_wrap_TextCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9675 PyObject
*resultobj
;
9676 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9679 PyObject
* obj0
= 0 ;
9680 PyObject
* obj1
= 0 ;
9681 PyObject
* obj2
= 0 ;
9683 (char *) "self",(char *) "from",(char *) "to", NULL
9686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9687 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9688 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9689 arg2
= (long) SWIG_AsLong(obj1
);
9690 if (PyErr_Occurred()) SWIG_fail
;
9691 arg3
= (long) SWIG_AsLong(obj2
);
9692 if (PyErr_Occurred()) SWIG_fail
;
9694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9695 (arg1
)->SetSelection(arg2
,arg3
);
9697 wxPyEndAllowThreads(__tstate
);
9698 if (PyErr_Occurred()) SWIG_fail
;
9700 Py_INCREF(Py_None
); resultobj
= Py_None
;
9707 static PyObject
*_wrap_TextCtrl_SelectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9708 PyObject
*resultobj
;
9709 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9710 PyObject
* obj0
= 0 ;
9712 (char *) "self", NULL
9715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SelectAll",kwnames
,&obj0
)) goto fail
;
9716 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9717 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9720 (arg1
)->SelectAll();
9722 wxPyEndAllowThreads(__tstate
);
9723 if (PyErr_Occurred()) SWIG_fail
;
9725 Py_INCREF(Py_None
); resultobj
= Py_None
;
9732 static PyObject
*_wrap_TextCtrl_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9733 PyObject
*resultobj
;
9734 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9736 PyObject
* obj0
= 0 ;
9737 PyObject
* obj1
= 0 ;
9739 (char *) "self",(char *) "editable", NULL
9742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
9743 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9744 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9745 arg2
= (bool) SWIG_AsBool(obj1
);
9746 if (PyErr_Occurred()) SWIG_fail
;
9748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9749 (arg1
)->SetEditable(arg2
);
9751 wxPyEndAllowThreads(__tstate
);
9752 if (PyErr_Occurred()) SWIG_fail
;
9754 Py_INCREF(Py_None
); resultobj
= Py_None
;
9761 static PyObject
*_wrap_TextCtrl_write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9762 PyObject
*resultobj
;
9763 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9764 wxString
*arg2
= 0 ;
9765 bool temp2
= False
;
9766 PyObject
* obj0
= 0 ;
9767 PyObject
* obj1
= 0 ;
9769 (char *) "self",(char *) "text", NULL
9772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_write",kwnames
,&obj0
,&obj1
)) goto fail
;
9773 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9774 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9776 arg2
= wxString_in_helper(obj1
);
9777 if (arg2
== NULL
) SWIG_fail
;
9781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9782 wxTextCtrl_write(arg1
,(wxString
const &)*arg2
);
9784 wxPyEndAllowThreads(__tstate
);
9785 if (PyErr_Occurred()) SWIG_fail
;
9787 Py_INCREF(Py_None
); resultobj
= Py_None
;
9802 static PyObject
*_wrap_TextCtrl_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9803 PyObject
*resultobj
;
9804 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9808 PyObject
* obj0
= 0 ;
9809 PyObject
* obj1
= 0 ;
9810 PyObject
* obj2
= 0 ;
9812 (char *) "self",(char *) "from",(char *) "to", NULL
9815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9818 arg2
= (long) SWIG_AsLong(obj1
);
9819 if (PyErr_Occurred()) SWIG_fail
;
9820 arg3
= (long) SWIG_AsLong(obj2
);
9821 if (PyErr_Occurred()) SWIG_fail
;
9823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9824 result
= wxTextCtrl_GetString(arg1
,arg2
,arg3
);
9826 wxPyEndAllowThreads(__tstate
);
9827 if (PyErr_Occurred()) SWIG_fail
;
9831 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9833 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9842 static PyObject
*_wrap_TextCtrl_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9843 PyObject
*resultobj
;
9844 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
9845 wxVisualAttributes result
;
9846 PyObject
* obj0
= 0 ;
9848 (char *) "variant", NULL
9851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
9853 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
9854 if (PyErr_Occurred()) SWIG_fail
;
9857 if (!wxPyCheckForApp()) SWIG_fail
;
9858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9859 result
= wxTextCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
9861 wxPyEndAllowThreads(__tstate
);
9862 if (PyErr_Occurred()) SWIG_fail
;
9865 wxVisualAttributes
* resultptr
;
9866 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
9867 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
9875 static PyObject
* TextCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
9877 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9878 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl
, obj
);
9880 return Py_BuildValue((char *)"");
9882 static PyObject
*_wrap_new_TextUrlEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9883 PyObject
*resultobj
;
9885 wxMouseEvent
*arg2
= 0 ;
9888 wxTextUrlEvent
*result
;
9889 PyObject
* obj0
= 0 ;
9890 PyObject
* obj1
= 0 ;
9891 PyObject
* obj2
= 0 ;
9892 PyObject
* obj3
= 0 ;
9894 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
9897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_TextUrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9898 arg1
= (int) SWIG_AsInt(obj0
);
9899 if (PyErr_Occurred()) SWIG_fail
;
9900 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMouseEvent
,
9901 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9904 PyErr_SetString(PyExc_TypeError
,"null reference");
9907 arg3
= (long) SWIG_AsLong(obj2
);
9908 if (PyErr_Occurred()) SWIG_fail
;
9909 arg4
= (long) SWIG_AsLong(obj3
);
9910 if (PyErr_Occurred()) SWIG_fail
;
9912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9913 result
= (wxTextUrlEvent
*)new wxTextUrlEvent(arg1
,(wxMouseEvent
const &)*arg2
,arg3
,arg4
);
9915 wxPyEndAllowThreads(__tstate
);
9916 if (PyErr_Occurred()) SWIG_fail
;
9918 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextUrlEvent
, 1);
9925 static PyObject
*_wrap_TextUrlEvent_GetMouseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9926 PyObject
*resultobj
;
9927 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
9928 wxMouseEvent
*result
;
9929 PyObject
* obj0
= 0 ;
9931 (char *) "self", NULL
9934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames
,&obj0
)) goto fail
;
9935 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextUrlEvent
,
9936 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9940 wxMouseEvent
const &_result_ref
= (arg1
)->GetMouseEvent();
9941 result
= (wxMouseEvent
*) &_result_ref
;
9944 wxPyEndAllowThreads(__tstate
);
9945 if (PyErr_Occurred()) SWIG_fail
;
9947 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseEvent
, 0);
9954 static PyObject
*_wrap_TextUrlEvent_GetURLStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9955 PyObject
*resultobj
;
9956 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
9958 PyObject
* obj0
= 0 ;
9960 (char *) "self", NULL
9963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLStart",kwnames
,&obj0
)) goto fail
;
9964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextUrlEvent
,
9965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9968 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLStart();
9970 wxPyEndAllowThreads(__tstate
);
9971 if (PyErr_Occurred()) SWIG_fail
;
9973 resultobj
= SWIG_FromLong((long)result
);
9980 static PyObject
*_wrap_TextUrlEvent_GetURLEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9981 PyObject
*resultobj
;
9982 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
9984 PyObject
* obj0
= 0 ;
9986 (char *) "self", NULL
9989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLEnd",kwnames
,&obj0
)) goto fail
;
9990 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextUrlEvent
,
9991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9994 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLEnd();
9996 wxPyEndAllowThreads(__tstate
);
9997 if (PyErr_Occurred()) SWIG_fail
;
9999 resultobj
= SWIG_FromLong((long)result
);
10006 static PyObject
* TextUrlEvent_swigregister(PyObject
*self
, PyObject
*args
) {
10008 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10009 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent
, obj
);
10011 return Py_BuildValue((char *)"");
10013 static int _wrap_ScrollBarNameStr_set(PyObject
*_val
) {
10014 PyErr_SetString(PyExc_TypeError
,"Variable ScrollBarNameStr is read-only.");
10019 static PyObject
*_wrap_ScrollBarNameStr_get() {
10024 pyobj
= PyUnicode_FromWideChar((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
10026 pyobj
= PyString_FromStringAndSize((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
10033 static PyObject
*_wrap_new_ScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10034 PyObject
*resultobj
;
10035 wxWindow
*arg1
= (wxWindow
*) 0 ;
10036 int arg2
= (int) -1 ;
10037 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10038 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10039 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10040 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10041 long arg5
= (long) wxSB_HORIZONTAL
;
10042 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
10043 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
10044 wxString
const &arg7_defvalue
= wxPyScrollBarNameStr
;
10045 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10046 wxScrollBar
*result
;
10049 bool temp7
= False
;
10050 PyObject
* obj0
= 0 ;
10051 PyObject
* obj1
= 0 ;
10052 PyObject
* obj2
= 0 ;
10053 PyObject
* obj3
= 0 ;
10054 PyObject
* obj4
= 0 ;
10055 PyObject
* obj5
= 0 ;
10056 PyObject
* obj6
= 0 ;
10057 char *kwnames
[] = {
10058 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ScrollBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10062 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10065 arg2
= (int) SWIG_AsInt(obj1
);
10066 if (PyErr_Occurred()) SWIG_fail
;
10071 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10077 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10081 arg5
= (long) SWIG_AsLong(obj4
);
10082 if (PyErr_Occurred()) SWIG_fail
;
10085 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
10086 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10088 if (arg6
== NULL
) {
10089 PyErr_SetString(PyExc_TypeError
,"null reference");
10095 arg7
= wxString_in_helper(obj6
);
10096 if (arg7
== NULL
) SWIG_fail
;
10101 if (!wxPyCheckForApp()) SWIG_fail
;
10102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10103 result
= (wxScrollBar
*)new wxScrollBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
10105 wxPyEndAllowThreads(__tstate
);
10106 if (PyErr_Occurred()) SWIG_fail
;
10108 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollBar
, 1);
10123 static PyObject
*_wrap_new_PreScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10124 PyObject
*resultobj
;
10125 wxScrollBar
*result
;
10126 char *kwnames
[] = {
10130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrollBar",kwnames
)) goto fail
;
10132 if (!wxPyCheckForApp()) SWIG_fail
;
10133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10134 result
= (wxScrollBar
*)new wxScrollBar();
10136 wxPyEndAllowThreads(__tstate
);
10137 if (PyErr_Occurred()) SWIG_fail
;
10139 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollBar
, 1);
10146 static PyObject
*_wrap_ScrollBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10147 PyObject
*resultobj
;
10148 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10149 wxWindow
*arg2
= (wxWindow
*) 0 ;
10150 int arg3
= (int) -1 ;
10151 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10152 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10153 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10154 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10155 long arg6
= (long) wxSB_HORIZONTAL
;
10156 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
10157 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
10158 wxString
const &arg8_defvalue
= wxPyScrollBarNameStr
;
10159 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
10163 bool temp8
= False
;
10164 PyObject
* obj0
= 0 ;
10165 PyObject
* obj1
= 0 ;
10166 PyObject
* obj2
= 0 ;
10167 PyObject
* obj3
= 0 ;
10168 PyObject
* obj4
= 0 ;
10169 PyObject
* obj5
= 0 ;
10170 PyObject
* obj6
= 0 ;
10171 PyObject
* obj7
= 0 ;
10172 char *kwnames
[] = {
10173 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
10177 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10179 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10182 arg3
= (int) SWIG_AsInt(obj2
);
10183 if (PyErr_Occurred()) SWIG_fail
;
10188 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10194 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10198 arg6
= (long) SWIG_AsLong(obj5
);
10199 if (PyErr_Occurred()) SWIG_fail
;
10202 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
10203 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10205 if (arg7
== NULL
) {
10206 PyErr_SetString(PyExc_TypeError
,"null reference");
10212 arg8
= wxString_in_helper(obj7
);
10213 if (arg8
== NULL
) SWIG_fail
;
10218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10219 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
10221 wxPyEndAllowThreads(__tstate
);
10222 if (PyErr_Occurred()) SWIG_fail
;
10225 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10241 static PyObject
*_wrap_ScrollBar_GetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10242 PyObject
*resultobj
;
10243 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10245 PyObject
* obj0
= 0 ;
10246 char *kwnames
[] = {
10247 (char *) "self", NULL
10250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbPosition",kwnames
,&obj0
)) goto fail
;
10251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10255 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbPosition();
10257 wxPyEndAllowThreads(__tstate
);
10258 if (PyErr_Occurred()) SWIG_fail
;
10260 resultobj
= SWIG_FromInt((int)result
);
10267 static PyObject
*_wrap_ScrollBar_GetThumbSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10268 PyObject
*resultobj
;
10269 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10271 PyObject
* obj0
= 0 ;
10272 char *kwnames
[] = {
10273 (char *) "self", NULL
10276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbSize",kwnames
,&obj0
)) goto fail
;
10277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10281 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbSize();
10283 wxPyEndAllowThreads(__tstate
);
10284 if (PyErr_Occurred()) SWIG_fail
;
10286 resultobj
= SWIG_FromInt((int)result
);
10293 static PyObject
*_wrap_ScrollBar_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10294 PyObject
*resultobj
;
10295 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10297 PyObject
* obj0
= 0 ;
10298 char *kwnames
[] = {
10299 (char *) "self", NULL
10302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetPageSize",kwnames
,&obj0
)) goto fail
;
10303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10307 result
= (int)((wxScrollBar
const *)arg1
)->GetPageSize();
10309 wxPyEndAllowThreads(__tstate
);
10310 if (PyErr_Occurred()) SWIG_fail
;
10312 resultobj
= SWIG_FromInt((int)result
);
10319 static PyObject
*_wrap_ScrollBar_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10320 PyObject
*resultobj
;
10321 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10323 PyObject
* obj0
= 0 ;
10324 char *kwnames
[] = {
10325 (char *) "self", NULL
10328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetRange",kwnames
,&obj0
)) goto fail
;
10329 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10333 result
= (int)((wxScrollBar
const *)arg1
)->GetRange();
10335 wxPyEndAllowThreads(__tstate
);
10336 if (PyErr_Occurred()) SWIG_fail
;
10338 resultobj
= SWIG_FromInt((int)result
);
10345 static PyObject
*_wrap_ScrollBar_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10346 PyObject
*resultobj
;
10347 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10349 PyObject
* obj0
= 0 ;
10350 char *kwnames
[] = {
10351 (char *) "self", NULL
10354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_IsVertical",kwnames
,&obj0
)) goto fail
;
10355 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10359 result
= (bool)((wxScrollBar
const *)arg1
)->IsVertical();
10361 wxPyEndAllowThreads(__tstate
);
10362 if (PyErr_Occurred()) SWIG_fail
;
10365 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10373 static PyObject
*_wrap_ScrollBar_SetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10374 PyObject
*resultobj
;
10375 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10377 PyObject
* obj0
= 0 ;
10378 PyObject
* obj1
= 0 ;
10379 char *kwnames
[] = {
10380 (char *) "self",(char *) "viewStart", NULL
10383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollBar_SetThumbPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
10384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10386 arg2
= (int) SWIG_AsInt(obj1
);
10387 if (PyErr_Occurred()) SWIG_fail
;
10389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10390 (arg1
)->SetThumbPosition(arg2
);
10392 wxPyEndAllowThreads(__tstate
);
10393 if (PyErr_Occurred()) SWIG_fail
;
10395 Py_INCREF(Py_None
); resultobj
= Py_None
;
10402 static PyObject
*_wrap_ScrollBar_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10403 PyObject
*resultobj
;
10404 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10409 bool arg6
= (bool) True
;
10410 PyObject
* obj0
= 0 ;
10411 PyObject
* obj1
= 0 ;
10412 PyObject
* obj2
= 0 ;
10413 PyObject
* obj3
= 0 ;
10414 PyObject
* obj4
= 0 ;
10415 PyObject
* obj5
= 0 ;
10416 char *kwnames
[] = {
10417 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
10420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:ScrollBar_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10421 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10423 arg2
= (int) SWIG_AsInt(obj1
);
10424 if (PyErr_Occurred()) SWIG_fail
;
10425 arg3
= (int) SWIG_AsInt(obj2
);
10426 if (PyErr_Occurred()) SWIG_fail
;
10427 arg4
= (int) SWIG_AsInt(obj3
);
10428 if (PyErr_Occurred()) SWIG_fail
;
10429 arg5
= (int) SWIG_AsInt(obj4
);
10430 if (PyErr_Occurred()) SWIG_fail
;
10432 arg6
= (bool) SWIG_AsBool(obj5
);
10433 if (PyErr_Occurred()) SWIG_fail
;
10436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10437 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
10439 wxPyEndAllowThreads(__tstate
);
10440 if (PyErr_Occurred()) SWIG_fail
;
10442 Py_INCREF(Py_None
); resultobj
= Py_None
;
10449 static PyObject
*_wrap_ScrollBar_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10450 PyObject
*resultobj
;
10451 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
10452 wxVisualAttributes result
;
10453 PyObject
* obj0
= 0 ;
10454 char *kwnames
[] = {
10455 (char *) "variant", NULL
10458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
10460 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
10461 if (PyErr_Occurred()) SWIG_fail
;
10464 if (!wxPyCheckForApp()) SWIG_fail
;
10465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10466 result
= wxScrollBar::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
10468 wxPyEndAllowThreads(__tstate
);
10469 if (PyErr_Occurred()) SWIG_fail
;
10472 wxVisualAttributes
* resultptr
;
10473 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
10474 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
10482 static PyObject
* ScrollBar_swigregister(PyObject
*self
, PyObject
*args
) {
10484 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10485 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar
, obj
);
10487 return Py_BuildValue((char *)"");
10489 static int _wrap_SPIN_BUTTON_NAME_set(PyObject
*_val
) {
10490 PyErr_SetString(PyExc_TypeError
,"Variable SPIN_BUTTON_NAME is read-only.");
10495 static PyObject
*_wrap_SPIN_BUTTON_NAME_get() {
10500 pyobj
= PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
10502 pyobj
= PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
10509 static int _wrap_SpinCtrlNameStr_set(PyObject
*_val
) {
10510 PyErr_SetString(PyExc_TypeError
,"Variable SpinCtrlNameStr is read-only.");
10515 static PyObject
*_wrap_SpinCtrlNameStr_get() {
10520 pyobj
= PyUnicode_FromWideChar((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
10522 pyobj
= PyString_FromStringAndSize((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
10529 static PyObject
*_wrap_new_SpinButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10530 PyObject
*resultobj
;
10531 wxWindow
*arg1
= (wxWindow
*) 0 ;
10532 int arg2
= (int) -1 ;
10533 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10534 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10535 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10536 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10537 long arg5
= (long) wxSP_HORIZONTAL
;
10538 wxString
const &arg6_defvalue
= wxPySPIN_BUTTON_NAME
;
10539 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10540 wxSpinButton
*result
;
10543 bool temp6
= False
;
10544 PyObject
* obj0
= 0 ;
10545 PyObject
* obj1
= 0 ;
10546 PyObject
* obj2
= 0 ;
10547 PyObject
* obj3
= 0 ;
10548 PyObject
* obj4
= 0 ;
10549 PyObject
* obj5
= 0 ;
10550 char *kwnames
[] = {
10551 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SpinButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10555 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10558 arg2
= (int) SWIG_AsInt(obj1
);
10559 if (PyErr_Occurred()) SWIG_fail
;
10564 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10570 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10574 arg5
= (long) SWIG_AsLong(obj4
);
10575 if (PyErr_Occurred()) SWIG_fail
;
10579 arg6
= wxString_in_helper(obj5
);
10580 if (arg6
== NULL
) SWIG_fail
;
10585 if (!wxPyCheckForApp()) SWIG_fail
;
10586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10587 result
= (wxSpinButton
*)new wxSpinButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10589 wxPyEndAllowThreads(__tstate
);
10590 if (PyErr_Occurred()) SWIG_fail
;
10592 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinButton
, 1);
10607 static PyObject
*_wrap_new_PreSpinButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10608 PyObject
*resultobj
;
10609 wxSpinButton
*result
;
10610 char *kwnames
[] = {
10614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinButton",kwnames
)) goto fail
;
10616 if (!wxPyCheckForApp()) SWIG_fail
;
10617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10618 result
= (wxSpinButton
*)new wxSpinButton();
10620 wxPyEndAllowThreads(__tstate
);
10621 if (PyErr_Occurred()) SWIG_fail
;
10623 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinButton
, 1);
10630 static PyObject
*_wrap_SpinButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10631 PyObject
*resultobj
;
10632 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10633 wxWindow
*arg2
= (wxWindow
*) 0 ;
10634 int arg3
= (int) -1 ;
10635 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10636 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10637 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10638 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10639 long arg6
= (long) wxSP_HORIZONTAL
;
10640 wxString
const &arg7_defvalue
= wxPySPIN_BUTTON_NAME
;
10641 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10645 bool temp7
= False
;
10646 PyObject
* obj0
= 0 ;
10647 PyObject
* obj1
= 0 ;
10648 PyObject
* obj2
= 0 ;
10649 PyObject
* obj3
= 0 ;
10650 PyObject
* obj4
= 0 ;
10651 PyObject
* obj5
= 0 ;
10652 PyObject
* obj6
= 0 ;
10653 char *kwnames
[] = {
10654 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SpinButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10658 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10660 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10663 arg3
= (int) SWIG_AsInt(obj2
);
10664 if (PyErr_Occurred()) SWIG_fail
;
10669 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10675 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10679 arg6
= (long) SWIG_AsLong(obj5
);
10680 if (PyErr_Occurred()) SWIG_fail
;
10684 arg7
= wxString_in_helper(obj6
);
10685 if (arg7
== NULL
) SWIG_fail
;
10690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10691 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
10693 wxPyEndAllowThreads(__tstate
);
10694 if (PyErr_Occurred()) SWIG_fail
;
10697 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10713 static PyObject
*_wrap_SpinButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10714 PyObject
*resultobj
;
10715 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10717 PyObject
* obj0
= 0 ;
10718 char *kwnames
[] = {
10719 (char *) "self", NULL
10722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetValue",kwnames
,&obj0
)) goto fail
;
10723 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10724 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10727 result
= (int)((wxSpinButton
const *)arg1
)->GetValue();
10729 wxPyEndAllowThreads(__tstate
);
10730 if (PyErr_Occurred()) SWIG_fail
;
10732 resultobj
= SWIG_FromInt((int)result
);
10739 static PyObject
*_wrap_SpinButton_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10740 PyObject
*resultobj
;
10741 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10743 PyObject
* obj0
= 0 ;
10744 char *kwnames
[] = {
10745 (char *) "self", NULL
10748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMin",kwnames
,&obj0
)) goto fail
;
10749 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10750 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10753 result
= (int)((wxSpinButton
const *)arg1
)->GetMin();
10755 wxPyEndAllowThreads(__tstate
);
10756 if (PyErr_Occurred()) SWIG_fail
;
10758 resultobj
= SWIG_FromInt((int)result
);
10765 static PyObject
*_wrap_SpinButton_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10766 PyObject
*resultobj
;
10767 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10769 PyObject
* obj0
= 0 ;
10770 char *kwnames
[] = {
10771 (char *) "self", NULL
10774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMax",kwnames
,&obj0
)) goto fail
;
10775 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10779 result
= (int)((wxSpinButton
const *)arg1
)->GetMax();
10781 wxPyEndAllowThreads(__tstate
);
10782 if (PyErr_Occurred()) SWIG_fail
;
10784 resultobj
= SWIG_FromInt((int)result
);
10791 static PyObject
*_wrap_SpinButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10792 PyObject
*resultobj
;
10793 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10795 PyObject
* obj0
= 0 ;
10796 PyObject
* obj1
= 0 ;
10797 char *kwnames
[] = {
10798 (char *) "self",(char *) "val", NULL
10801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
10802 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10804 arg2
= (int) SWIG_AsInt(obj1
);
10805 if (PyErr_Occurred()) SWIG_fail
;
10807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10808 (arg1
)->SetValue(arg2
);
10810 wxPyEndAllowThreads(__tstate
);
10811 if (PyErr_Occurred()) SWIG_fail
;
10813 Py_INCREF(Py_None
); resultobj
= Py_None
;
10820 static PyObject
*_wrap_SpinButton_SetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10821 PyObject
*resultobj
;
10822 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10824 PyObject
* obj0
= 0 ;
10825 PyObject
* obj1
= 0 ;
10826 char *kwnames
[] = {
10827 (char *) "self",(char *) "minVal", NULL
10830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
10831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10833 arg2
= (int) SWIG_AsInt(obj1
);
10834 if (PyErr_Occurred()) SWIG_fail
;
10836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10837 (arg1
)->SetMin(arg2
);
10839 wxPyEndAllowThreads(__tstate
);
10840 if (PyErr_Occurred()) SWIG_fail
;
10842 Py_INCREF(Py_None
); resultobj
= Py_None
;
10849 static PyObject
*_wrap_SpinButton_SetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10850 PyObject
*resultobj
;
10851 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10853 PyObject
* obj0
= 0 ;
10854 PyObject
* obj1
= 0 ;
10855 char *kwnames
[] = {
10856 (char *) "self",(char *) "maxVal", NULL
10859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
10860 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10862 arg2
= (int) SWIG_AsInt(obj1
);
10863 if (PyErr_Occurred()) SWIG_fail
;
10865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10866 (arg1
)->SetMax(arg2
);
10868 wxPyEndAllowThreads(__tstate
);
10869 if (PyErr_Occurred()) SWIG_fail
;
10871 Py_INCREF(Py_None
); resultobj
= Py_None
;
10878 static PyObject
*_wrap_SpinButton_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10879 PyObject
*resultobj
;
10880 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10883 PyObject
* obj0
= 0 ;
10884 PyObject
* obj1
= 0 ;
10885 PyObject
* obj2
= 0 ;
10886 char *kwnames
[] = {
10887 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
10890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinButton_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10891 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10892 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10893 arg2
= (int) SWIG_AsInt(obj1
);
10894 if (PyErr_Occurred()) SWIG_fail
;
10895 arg3
= (int) SWIG_AsInt(obj2
);
10896 if (PyErr_Occurred()) SWIG_fail
;
10898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10899 (arg1
)->SetRange(arg2
,arg3
);
10901 wxPyEndAllowThreads(__tstate
);
10902 if (PyErr_Occurred()) SWIG_fail
;
10904 Py_INCREF(Py_None
); resultobj
= Py_None
;
10911 static PyObject
*_wrap_SpinButton_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10912 PyObject
*resultobj
;
10913 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10915 PyObject
* obj0
= 0 ;
10916 char *kwnames
[] = {
10917 (char *) "self", NULL
10920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_IsVertical",kwnames
,&obj0
)) goto fail
;
10921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10925 result
= (bool)((wxSpinButton
const *)arg1
)->IsVertical();
10927 wxPyEndAllowThreads(__tstate
);
10928 if (PyErr_Occurred()) SWIG_fail
;
10931 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10939 static PyObject
*_wrap_SpinButton_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10940 PyObject
*resultobj
;
10941 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
10942 wxVisualAttributes result
;
10943 PyObject
* obj0
= 0 ;
10944 char *kwnames
[] = {
10945 (char *) "variant", NULL
10948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
10950 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
10951 if (PyErr_Occurred()) SWIG_fail
;
10954 if (!wxPyCheckForApp()) SWIG_fail
;
10955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10956 result
= wxSpinButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
10958 wxPyEndAllowThreads(__tstate
);
10959 if (PyErr_Occurred()) SWIG_fail
;
10962 wxVisualAttributes
* resultptr
;
10963 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
10964 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
10972 static PyObject
* SpinButton_swigregister(PyObject
*self
, PyObject
*args
) {
10974 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10975 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton
, obj
);
10977 return Py_BuildValue((char *)"");
10979 static PyObject
*_wrap_new_SpinCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10980 PyObject
*resultobj
;
10981 wxWindow
*arg1
= (wxWindow
*) 0 ;
10982 int arg2
= (int) -1 ;
10983 wxString
const &arg3_defvalue
= wxPyEmptyString
;
10984 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
10985 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10986 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10987 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10988 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10989 long arg6
= (long) wxSP_ARROW_KEYS
;
10990 int arg7
= (int) 0 ;
10991 int arg8
= (int) 100 ;
10992 int arg9
= (int) 0 ;
10993 wxString
const &arg10_defvalue
= wxPySpinCtrlNameStr
;
10994 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
10995 wxSpinCtrl
*result
;
10996 bool temp3
= False
;
10999 bool temp10
= False
;
11000 PyObject
* obj0
= 0 ;
11001 PyObject
* obj1
= 0 ;
11002 PyObject
* obj2
= 0 ;
11003 PyObject
* obj3
= 0 ;
11004 PyObject
* obj4
= 0 ;
11005 PyObject
* obj5
= 0 ;
11006 PyObject
* obj6
= 0 ;
11007 PyObject
* obj7
= 0 ;
11008 PyObject
* obj8
= 0 ;
11009 PyObject
* obj9
= 0 ;
11010 char *kwnames
[] = {
11011 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
11014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
11015 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11016 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11018 arg2
= (int) SWIG_AsInt(obj1
);
11019 if (PyErr_Occurred()) SWIG_fail
;
11023 arg3
= wxString_in_helper(obj2
);
11024 if (arg3
== NULL
) SWIG_fail
;
11031 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11037 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11041 arg6
= (long) SWIG_AsLong(obj5
);
11042 if (PyErr_Occurred()) SWIG_fail
;
11045 arg7
= (int) SWIG_AsInt(obj6
);
11046 if (PyErr_Occurred()) SWIG_fail
;
11049 arg8
= (int) SWIG_AsInt(obj7
);
11050 if (PyErr_Occurred()) SWIG_fail
;
11053 arg9
= (int) SWIG_AsInt(obj8
);
11054 if (PyErr_Occurred()) SWIG_fail
;
11058 arg10
= wxString_in_helper(obj9
);
11059 if (arg10
== NULL
) SWIG_fail
;
11064 if (!wxPyCheckForApp()) SWIG_fail
;
11065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11066 result
= (wxSpinCtrl
*)new wxSpinCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,(wxString
const &)*arg10
);
11068 wxPyEndAllowThreads(__tstate
);
11069 if (PyErr_Occurred()) SWIG_fail
;
11071 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinCtrl
, 1);
11094 static PyObject
*_wrap_new_PreSpinCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11095 PyObject
*resultobj
;
11096 wxSpinCtrl
*result
;
11097 char *kwnames
[] = {
11101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinCtrl",kwnames
)) goto fail
;
11103 if (!wxPyCheckForApp()) SWIG_fail
;
11104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11105 result
= (wxSpinCtrl
*)new wxSpinCtrl();
11107 wxPyEndAllowThreads(__tstate
);
11108 if (PyErr_Occurred()) SWIG_fail
;
11110 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinCtrl
, 1);
11117 static PyObject
*_wrap_SpinCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11118 PyObject
*resultobj
;
11119 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11120 wxWindow
*arg2
= (wxWindow
*) 0 ;
11121 int arg3
= (int) -1 ;
11122 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11123 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11124 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11125 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11126 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11127 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11128 long arg7
= (long) wxSP_ARROW_KEYS
;
11129 int arg8
= (int) 0 ;
11130 int arg9
= (int) 100 ;
11131 int arg10
= (int) 0 ;
11132 wxString
const &arg11_defvalue
= wxPySpinCtrlNameStr
;
11133 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
11135 bool temp4
= False
;
11138 bool temp11
= False
;
11139 PyObject
* obj0
= 0 ;
11140 PyObject
* obj1
= 0 ;
11141 PyObject
* obj2
= 0 ;
11142 PyObject
* obj3
= 0 ;
11143 PyObject
* obj4
= 0 ;
11144 PyObject
* obj5
= 0 ;
11145 PyObject
* obj6
= 0 ;
11146 PyObject
* obj7
= 0 ;
11147 PyObject
* obj8
= 0 ;
11148 PyObject
* obj9
= 0 ;
11149 PyObject
* obj10
= 0 ;
11150 char *kwnames
[] = {
11151 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
11154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
11155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11157 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
11158 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11160 arg3
= (int) SWIG_AsInt(obj2
);
11161 if (PyErr_Occurred()) SWIG_fail
;
11165 arg4
= wxString_in_helper(obj3
);
11166 if (arg4
== NULL
) SWIG_fail
;
11173 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11179 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11183 arg7
= (long) SWIG_AsLong(obj6
);
11184 if (PyErr_Occurred()) SWIG_fail
;
11187 arg8
= (int) SWIG_AsInt(obj7
);
11188 if (PyErr_Occurred()) SWIG_fail
;
11191 arg9
= (int) SWIG_AsInt(obj8
);
11192 if (PyErr_Occurred()) SWIG_fail
;
11195 arg10
= (int) SWIG_AsInt(obj9
);
11196 if (PyErr_Occurred()) SWIG_fail
;
11200 arg11
= wxString_in_helper(obj10
);
11201 if (arg11
== NULL
) SWIG_fail
;
11206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11207 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,arg10
,(wxString
const &)*arg11
);
11209 wxPyEndAllowThreads(__tstate
);
11210 if (PyErr_Occurred()) SWIG_fail
;
11213 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11237 static PyObject
*_wrap_SpinCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11238 PyObject
*resultobj
;
11239 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11241 PyObject
* obj0
= 0 ;
11242 char *kwnames
[] = {
11243 (char *) "self", NULL
11246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
11247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11251 result
= (int)((wxSpinCtrl
const *)arg1
)->GetValue();
11253 wxPyEndAllowThreads(__tstate
);
11254 if (PyErr_Occurred()) SWIG_fail
;
11256 resultobj
= SWIG_FromInt((int)result
);
11263 static PyObject
*_wrap_SpinCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11264 PyObject
*resultobj
;
11265 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11267 PyObject
* obj0
= 0 ;
11268 PyObject
* obj1
= 0 ;
11269 char *kwnames
[] = {
11270 (char *) "self",(char *) "value", NULL
11273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
11274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11276 arg2
= (int) SWIG_AsInt(obj1
);
11277 if (PyErr_Occurred()) SWIG_fail
;
11279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11280 (arg1
)->SetValue(arg2
);
11282 wxPyEndAllowThreads(__tstate
);
11283 if (PyErr_Occurred()) SWIG_fail
;
11285 Py_INCREF(Py_None
); resultobj
= Py_None
;
11292 static PyObject
*_wrap_SpinCtrl_SetValueString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11293 PyObject
*resultobj
;
11294 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11295 wxString
*arg2
= 0 ;
11296 bool temp2
= False
;
11297 PyObject
* obj0
= 0 ;
11298 PyObject
* obj1
= 0 ;
11299 char *kwnames
[] = {
11300 (char *) "self",(char *) "text", NULL
11303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValueString",kwnames
,&obj0
,&obj1
)) goto fail
;
11304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11307 arg2
= wxString_in_helper(obj1
);
11308 if (arg2
== NULL
) SWIG_fail
;
11312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11313 (arg1
)->SetValue((wxString
const &)*arg2
);
11315 wxPyEndAllowThreads(__tstate
);
11316 if (PyErr_Occurred()) SWIG_fail
;
11318 Py_INCREF(Py_None
); resultobj
= Py_None
;
11333 static PyObject
*_wrap_SpinCtrl_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11334 PyObject
*resultobj
;
11335 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11338 PyObject
* obj0
= 0 ;
11339 PyObject
* obj1
= 0 ;
11340 PyObject
* obj2
= 0 ;
11341 char *kwnames
[] = {
11342 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
11345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11348 arg2
= (int) SWIG_AsInt(obj1
);
11349 if (PyErr_Occurred()) SWIG_fail
;
11350 arg3
= (int) SWIG_AsInt(obj2
);
11351 if (PyErr_Occurred()) SWIG_fail
;
11353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11354 (arg1
)->SetRange(arg2
,arg3
);
11356 wxPyEndAllowThreads(__tstate
);
11357 if (PyErr_Occurred()) SWIG_fail
;
11359 Py_INCREF(Py_None
); resultobj
= Py_None
;
11366 static PyObject
*_wrap_SpinCtrl_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11367 PyObject
*resultobj
;
11368 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11370 PyObject
* obj0
= 0 ;
11371 char *kwnames
[] = {
11372 (char *) "self", NULL
11375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMin",kwnames
,&obj0
)) goto fail
;
11376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11380 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMin();
11382 wxPyEndAllowThreads(__tstate
);
11383 if (PyErr_Occurred()) SWIG_fail
;
11385 resultobj
= SWIG_FromInt((int)result
);
11392 static PyObject
*_wrap_SpinCtrl_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11393 PyObject
*resultobj
;
11394 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11396 PyObject
* obj0
= 0 ;
11397 char *kwnames
[] = {
11398 (char *) "self", NULL
11401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMax",kwnames
,&obj0
)) goto fail
;
11402 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11406 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMax();
11408 wxPyEndAllowThreads(__tstate
);
11409 if (PyErr_Occurred()) SWIG_fail
;
11411 resultobj
= SWIG_FromInt((int)result
);
11418 static PyObject
*_wrap_SpinCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11419 PyObject
*resultobj
;
11420 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11423 PyObject
* obj0
= 0 ;
11424 PyObject
* obj1
= 0 ;
11425 PyObject
* obj2
= 0 ;
11426 char *kwnames
[] = {
11427 (char *) "self",(char *) "from",(char *) "to", NULL
11430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11431 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11433 arg2
= (long) SWIG_AsLong(obj1
);
11434 if (PyErr_Occurred()) SWIG_fail
;
11435 arg3
= (long) SWIG_AsLong(obj2
);
11436 if (PyErr_Occurred()) SWIG_fail
;
11438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11439 (arg1
)->SetSelection(arg2
,arg3
);
11441 wxPyEndAllowThreads(__tstate
);
11442 if (PyErr_Occurred()) SWIG_fail
;
11444 Py_INCREF(Py_None
); resultobj
= Py_None
;
11451 static PyObject
*_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11452 PyObject
*resultobj
;
11453 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
11454 wxVisualAttributes result
;
11455 PyObject
* obj0
= 0 ;
11456 char *kwnames
[] = {
11457 (char *) "variant", NULL
11460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
11462 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
11463 if (PyErr_Occurred()) SWIG_fail
;
11466 if (!wxPyCheckForApp()) SWIG_fail
;
11467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11468 result
= wxSpinCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
11470 wxPyEndAllowThreads(__tstate
);
11471 if (PyErr_Occurred()) SWIG_fail
;
11474 wxVisualAttributes
* resultptr
;
11475 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
11476 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
11484 static PyObject
* SpinCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
11486 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11487 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl
, obj
);
11489 return Py_BuildValue((char *)"");
11491 static PyObject
*_wrap_new_SpinEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11492 PyObject
*resultobj
;
11493 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
11494 int arg2
= (int) 0 ;
11495 wxSpinEvent
*result
;
11496 PyObject
* obj0
= 0 ;
11497 PyObject
* obj1
= 0 ;
11498 char *kwnames
[] = {
11499 (char *) "commandType",(char *) "winid", NULL
11502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SpinEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
11504 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
11505 if (PyErr_Occurred()) SWIG_fail
;
11508 arg2
= (int) SWIG_AsInt(obj1
);
11509 if (PyErr_Occurred()) SWIG_fail
;
11512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11513 result
= (wxSpinEvent
*)new wxSpinEvent(arg1
,arg2
);
11515 wxPyEndAllowThreads(__tstate
);
11516 if (PyErr_Occurred()) SWIG_fail
;
11518 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinEvent
, 1);
11525 static PyObject
*_wrap_SpinEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11526 PyObject
*resultobj
;
11527 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
11529 PyObject
* obj0
= 0 ;
11530 char *kwnames
[] = {
11531 (char *) "self", NULL
11534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
11535 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinEvent
,
11536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11539 result
= (int)((wxSpinEvent
const *)arg1
)->GetPosition();
11541 wxPyEndAllowThreads(__tstate
);
11542 if (PyErr_Occurred()) SWIG_fail
;
11544 resultobj
= SWIG_FromInt((int)result
);
11551 static PyObject
*_wrap_SpinEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11552 PyObject
*resultobj
;
11553 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
11555 PyObject
* obj0
= 0 ;
11556 PyObject
* obj1
= 0 ;
11557 char *kwnames
[] = {
11558 (char *) "self",(char *) "pos", NULL
11561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
11562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinEvent
,
11563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11564 arg2
= (int) SWIG_AsInt(obj1
);
11565 if (PyErr_Occurred()) SWIG_fail
;
11567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11568 (arg1
)->SetPosition(arg2
);
11570 wxPyEndAllowThreads(__tstate
);
11571 if (PyErr_Occurred()) SWIG_fail
;
11573 Py_INCREF(Py_None
); resultobj
= Py_None
;
11580 static PyObject
* SpinEvent_swigregister(PyObject
*self
, PyObject
*args
) {
11582 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11583 SWIG_TypeClientData(SWIGTYPE_p_wxSpinEvent
, obj
);
11585 return Py_BuildValue((char *)"");
11587 static int _wrap_RadioBoxNameStr_set(PyObject
*_val
) {
11588 PyErr_SetString(PyExc_TypeError
,"Variable RadioBoxNameStr is read-only.");
11593 static PyObject
*_wrap_RadioBoxNameStr_get() {
11598 pyobj
= PyUnicode_FromWideChar((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
11600 pyobj
= PyString_FromStringAndSize((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
11607 static int _wrap_RadioButtonNameStr_set(PyObject
*_val
) {
11608 PyErr_SetString(PyExc_TypeError
,"Variable RadioButtonNameStr is read-only.");
11613 static PyObject
*_wrap_RadioButtonNameStr_get() {
11618 pyobj
= PyUnicode_FromWideChar((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
11620 pyobj
= PyString_FromStringAndSize((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
11627 static PyObject
*_wrap_new_RadioBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11628 PyObject
*resultobj
;
11629 wxWindow
*arg1
= (wxWindow
*) 0 ;
11630 int arg2
= (int) -1 ;
11631 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11632 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11633 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11634 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11635 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11636 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11637 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
11638 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
11639 int arg7
= (int) 0 ;
11640 long arg8
= (long) wxRA_HORIZONTAL
;
11641 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
11642 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
11643 wxString
const &arg10_defvalue
= wxPyRadioBoxNameStr
;
11644 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
11645 wxRadioBox
*result
;
11646 bool temp3
= False
;
11649 bool temp6
= False
;
11650 bool temp10
= False
;
11651 PyObject
* obj0
= 0 ;
11652 PyObject
* obj1
= 0 ;
11653 PyObject
* obj2
= 0 ;
11654 PyObject
* obj3
= 0 ;
11655 PyObject
* obj4
= 0 ;
11656 PyObject
* obj5
= 0 ;
11657 PyObject
* obj6
= 0 ;
11658 PyObject
* obj7
= 0 ;
11659 PyObject
* obj8
= 0 ;
11660 PyObject
* obj9
= 0 ;
11661 char *kwnames
[] = {
11662 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
11665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_RadioBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
11666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11669 arg2
= (int) SWIG_AsInt(obj1
);
11670 if (PyErr_Occurred()) SWIG_fail
;
11674 arg3
= wxString_in_helper(obj2
);
11675 if (arg3
== NULL
) SWIG_fail
;
11682 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11688 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11693 if (! PySequence_Check(obj5
)) {
11694 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
11697 arg6
= new wxArrayString
;
11699 int i
, len
=PySequence_Length(obj5
);
11700 for (i
=0; i
<len
; i
++) {
11701 PyObject
* item
= PySequence_GetItem(obj5
, i
);
11703 PyObject
* str
= PyObject_Unicode(item
);
11705 PyObject
* str
= PyObject_Str(item
);
11707 if (PyErr_Occurred()) SWIG_fail
;
11708 arg6
->Add(Py2wxString(str
));
11715 arg7
= (int) SWIG_AsInt(obj6
);
11716 if (PyErr_Occurred()) SWIG_fail
;
11719 arg8
= (long) SWIG_AsLong(obj7
);
11720 if (PyErr_Occurred()) SWIG_fail
;
11723 if ((SWIG_ConvertPtr(obj8
,(void **)(&arg9
),SWIGTYPE_p_wxValidator
,
11724 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11726 if (arg9
== NULL
) {
11727 PyErr_SetString(PyExc_TypeError
,"null reference");
11733 arg10
= wxString_in_helper(obj9
);
11734 if (arg10
== NULL
) SWIG_fail
;
11739 if (!wxPyCheckForApp()) SWIG_fail
;
11740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11741 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
);
11743 wxPyEndAllowThreads(__tstate
);
11744 if (PyErr_Occurred()) SWIG_fail
;
11746 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioBox
, 1);
11752 if (temp6
) delete arg6
;
11765 if (temp6
) delete arg6
;
11775 static PyObject
*_wrap_new_PreRadioBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11776 PyObject
*resultobj
;
11777 wxRadioBox
*result
;
11778 char *kwnames
[] = {
11782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioBox",kwnames
)) goto fail
;
11784 if (!wxPyCheckForApp()) SWIG_fail
;
11785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11786 result
= (wxRadioBox
*)new wxRadioBox();
11788 wxPyEndAllowThreads(__tstate
);
11789 if (PyErr_Occurred()) SWIG_fail
;
11791 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioBox
, 1);
11798 static PyObject
*_wrap_RadioBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11799 PyObject
*resultobj
;
11800 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11801 wxWindow
*arg2
= (wxWindow
*) 0 ;
11802 int arg3
= (int) -1 ;
11803 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11804 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11805 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11806 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11807 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11808 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11809 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
11810 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
11811 int arg8
= (int) 0 ;
11812 long arg9
= (long) wxRA_HORIZONTAL
;
11813 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
11814 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
11815 wxString
const &arg11_defvalue
= wxPyRadioBoxNameStr
;
11816 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
11818 bool temp4
= False
;
11821 bool temp7
= False
;
11822 bool temp11
= False
;
11823 PyObject
* obj0
= 0 ;
11824 PyObject
* obj1
= 0 ;
11825 PyObject
* obj2
= 0 ;
11826 PyObject
* obj3
= 0 ;
11827 PyObject
* obj4
= 0 ;
11828 PyObject
* obj5
= 0 ;
11829 PyObject
* obj6
= 0 ;
11830 PyObject
* obj7
= 0 ;
11831 PyObject
* obj8
= 0 ;
11832 PyObject
* obj9
= 0 ;
11833 PyObject
* obj10
= 0 ;
11834 char *kwnames
[] = {
11835 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
11838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:RadioBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
11839 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11841 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
11842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11844 arg3
= (int) SWIG_AsInt(obj2
);
11845 if (PyErr_Occurred()) SWIG_fail
;
11849 arg4
= wxString_in_helper(obj3
);
11850 if (arg4
== NULL
) SWIG_fail
;
11857 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11863 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11868 if (! PySequence_Check(obj6
)) {
11869 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
11872 arg7
= new wxArrayString
;
11874 int i
, len
=PySequence_Length(obj6
);
11875 for (i
=0; i
<len
; i
++) {
11876 PyObject
* item
= PySequence_GetItem(obj6
, i
);
11878 PyObject
* str
= PyObject_Unicode(item
);
11880 PyObject
* str
= PyObject_Str(item
);
11882 if (PyErr_Occurred()) SWIG_fail
;
11883 arg7
->Add(Py2wxString(str
));
11890 arg8
= (int) SWIG_AsInt(obj7
);
11891 if (PyErr_Occurred()) SWIG_fail
;
11894 arg9
= (long) SWIG_AsLong(obj8
);
11895 if (PyErr_Occurred()) SWIG_fail
;
11898 if ((SWIG_ConvertPtr(obj9
,(void **)(&arg10
),SWIGTYPE_p_wxValidator
,
11899 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11901 if (arg10
== NULL
) {
11902 PyErr_SetString(PyExc_TypeError
,"null reference");
11908 arg11
= wxString_in_helper(obj10
);
11909 if (arg11
== NULL
) SWIG_fail
;
11914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11915 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
);
11917 wxPyEndAllowThreads(__tstate
);
11918 if (PyErr_Occurred()) SWIG_fail
;
11921 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11928 if (temp7
) delete arg7
;
11941 if (temp7
) delete arg7
;
11951 static PyObject
*_wrap_RadioBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11952 PyObject
*resultobj
;
11953 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11955 PyObject
* obj0
= 0 ;
11956 PyObject
* obj1
= 0 ;
11957 char *kwnames
[] = {
11958 (char *) "self",(char *) "n", NULL
11961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
11962 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11964 arg2
= (int) SWIG_AsInt(obj1
);
11965 if (PyErr_Occurred()) SWIG_fail
;
11967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11968 (arg1
)->SetSelection(arg2
);
11970 wxPyEndAllowThreads(__tstate
);
11971 if (PyErr_Occurred()) SWIG_fail
;
11973 Py_INCREF(Py_None
); resultobj
= Py_None
;
11980 static PyObject
*_wrap_RadioBox_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11981 PyObject
*resultobj
;
11982 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11984 PyObject
* obj0
= 0 ;
11985 char *kwnames
[] = {
11986 (char *) "self", NULL
11989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetSelection",kwnames
,&obj0
)) goto fail
;
11990 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11994 result
= (int)((wxRadioBox
const *)arg1
)->GetSelection();
11996 wxPyEndAllowThreads(__tstate
);
11997 if (PyErr_Occurred()) SWIG_fail
;
11999 resultobj
= SWIG_FromInt((int)result
);
12006 static PyObject
*_wrap_RadioBox_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12007 PyObject
*resultobj
;
12008 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12010 PyObject
* obj0
= 0 ;
12011 char *kwnames
[] = {
12012 (char *) "self", NULL
12015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetStringSelection",kwnames
,&obj0
)) goto fail
;
12016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12020 result
= ((wxRadioBox
const *)arg1
)->GetStringSelection();
12022 wxPyEndAllowThreads(__tstate
);
12023 if (PyErr_Occurred()) SWIG_fail
;
12027 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12029 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12038 static PyObject
*_wrap_RadioBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12039 PyObject
*resultobj
;
12040 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12041 wxString
*arg2
= 0 ;
12043 bool temp2
= False
;
12044 PyObject
* obj0
= 0 ;
12045 PyObject
* obj1
= 0 ;
12046 char *kwnames
[] = {
12047 (char *) "self",(char *) "s", NULL
12050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
12051 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12054 arg2
= wxString_in_helper(obj1
);
12055 if (arg2
== NULL
) SWIG_fail
;
12059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12060 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
12062 wxPyEndAllowThreads(__tstate
);
12063 if (PyErr_Occurred()) SWIG_fail
;
12066 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12082 static PyObject
*_wrap_RadioBox_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12083 PyObject
*resultobj
;
12084 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12086 PyObject
* obj0
= 0 ;
12087 char *kwnames
[] = {
12088 (char *) "self", NULL
12091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetCount",kwnames
,&obj0
)) goto fail
;
12092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12096 result
= (int)((wxRadioBox
const *)arg1
)->GetCount();
12098 wxPyEndAllowThreads(__tstate
);
12099 if (PyErr_Occurred()) SWIG_fail
;
12101 resultobj
= SWIG_FromInt((int)result
);
12108 static PyObject
*_wrap_RadioBox_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12109 PyObject
*resultobj
;
12110 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12111 wxString
*arg2
= 0 ;
12113 bool temp2
= False
;
12114 PyObject
* obj0
= 0 ;
12115 PyObject
* obj1
= 0 ;
12116 char *kwnames
[] = {
12117 (char *) "self",(char *) "s", NULL
12120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
12121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12124 arg2
= wxString_in_helper(obj1
);
12125 if (arg2
== NULL
) SWIG_fail
;
12129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12130 result
= (int)((wxRadioBox
const *)arg1
)->FindString((wxString
const &)*arg2
);
12132 wxPyEndAllowThreads(__tstate
);
12133 if (PyErr_Occurred()) SWIG_fail
;
12135 resultobj
= SWIG_FromInt((int)result
);
12150 static PyObject
*_wrap_RadioBox_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12151 PyObject
*resultobj
;
12152 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12155 PyObject
* obj0
= 0 ;
12156 PyObject
* obj1
= 0 ;
12157 char *kwnames
[] = {
12158 (char *) "self",(char *) "n", NULL
12161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
12162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12164 arg2
= (int) SWIG_AsInt(obj1
);
12165 if (PyErr_Occurred()) SWIG_fail
;
12167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12168 result
= ((wxRadioBox
const *)arg1
)->GetString(arg2
);
12170 wxPyEndAllowThreads(__tstate
);
12171 if (PyErr_Occurred()) SWIG_fail
;
12175 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12177 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12186 static PyObject
*_wrap_RadioBox_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12187 PyObject
*resultobj
;
12188 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12190 wxString
*arg3
= 0 ;
12191 bool temp3
= False
;
12192 PyObject
* obj0
= 0 ;
12193 PyObject
* obj1
= 0 ;
12194 PyObject
* obj2
= 0 ;
12195 char *kwnames
[] = {
12196 (char *) "self",(char *) "n",(char *) "label", NULL
12199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12202 arg2
= (int) SWIG_AsInt(obj1
);
12203 if (PyErr_Occurred()) SWIG_fail
;
12205 arg3
= wxString_in_helper(obj2
);
12206 if (arg3
== NULL
) SWIG_fail
;
12210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12211 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
12213 wxPyEndAllowThreads(__tstate
);
12214 if (PyErr_Occurred()) SWIG_fail
;
12216 Py_INCREF(Py_None
); resultobj
= Py_None
;
12231 static PyObject
*_wrap_RadioBox_EnableItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12232 PyObject
*resultobj
;
12233 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12235 bool arg3
= (bool) True
;
12236 PyObject
* obj0
= 0 ;
12237 PyObject
* obj1
= 0 ;
12238 PyObject
* obj2
= 0 ;
12239 char *kwnames
[] = {
12240 (char *) "self",(char *) "n",(char *) "enable", NULL
12243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_EnableItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12244 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12245 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12246 arg2
= (int) SWIG_AsInt(obj1
);
12247 if (PyErr_Occurred()) SWIG_fail
;
12249 arg3
= (bool) SWIG_AsBool(obj2
);
12250 if (PyErr_Occurred()) SWIG_fail
;
12253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12254 (arg1
)->Enable(arg2
,arg3
);
12256 wxPyEndAllowThreads(__tstate
);
12257 if (PyErr_Occurred()) SWIG_fail
;
12259 Py_INCREF(Py_None
); resultobj
= Py_None
;
12266 static PyObject
*_wrap_RadioBox_ShowItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12267 PyObject
*resultobj
;
12268 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12270 bool arg3
= (bool) True
;
12271 PyObject
* obj0
= 0 ;
12272 PyObject
* obj1
= 0 ;
12273 PyObject
* obj2
= 0 ;
12274 char *kwnames
[] = {
12275 (char *) "self",(char *) "n",(char *) "show", NULL
12278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_ShowItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12281 arg2
= (int) SWIG_AsInt(obj1
);
12282 if (PyErr_Occurred()) SWIG_fail
;
12284 arg3
= (bool) SWIG_AsBool(obj2
);
12285 if (PyErr_Occurred()) SWIG_fail
;
12288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12289 (arg1
)->Show(arg2
,arg3
);
12291 wxPyEndAllowThreads(__tstate
);
12292 if (PyErr_Occurred()) SWIG_fail
;
12294 Py_INCREF(Py_None
); resultobj
= Py_None
;
12301 static PyObject
*_wrap_RadioBox_GetColumnCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12302 PyObject
*resultobj
;
12303 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12305 PyObject
* obj0
= 0 ;
12306 char *kwnames
[] = {
12307 (char *) "self", NULL
12310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetColumnCount",kwnames
,&obj0
)) goto fail
;
12311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12315 result
= (int)((wxRadioBox
const *)arg1
)->GetColumnCount();
12317 wxPyEndAllowThreads(__tstate
);
12318 if (PyErr_Occurred()) SWIG_fail
;
12320 resultobj
= SWIG_FromInt((int)result
);
12327 static PyObject
*_wrap_RadioBox_GetRowCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12328 PyObject
*resultobj
;
12329 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12331 PyObject
* obj0
= 0 ;
12332 char *kwnames
[] = {
12333 (char *) "self", NULL
12336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetRowCount",kwnames
,&obj0
)) goto fail
;
12337 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12341 result
= (int)((wxRadioBox
const *)arg1
)->GetRowCount();
12343 wxPyEndAllowThreads(__tstate
);
12344 if (PyErr_Occurred()) SWIG_fail
;
12346 resultobj
= SWIG_FromInt((int)result
);
12353 static PyObject
*_wrap_RadioBox_GetNextItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12354 PyObject
*resultobj
;
12355 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12360 PyObject
* obj0
= 0 ;
12361 PyObject
* obj1
= 0 ;
12362 PyObject
* obj2
= 0 ;
12363 PyObject
* obj3
= 0 ;
12364 char *kwnames
[] = {
12365 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
12368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RadioBox_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12371 arg2
= (int) SWIG_AsInt(obj1
);
12372 if (PyErr_Occurred()) SWIG_fail
;
12373 arg3
= (wxDirection
) SWIG_AsInt(obj2
);
12374 if (PyErr_Occurred()) SWIG_fail
;
12375 arg4
= (long) SWIG_AsLong(obj3
);
12376 if (PyErr_Occurred()) SWIG_fail
;
12378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12379 result
= (int)((wxRadioBox
const *)arg1
)->GetNextItem(arg2
,(wxDirection
)arg3
,arg4
);
12381 wxPyEndAllowThreads(__tstate
);
12382 if (PyErr_Occurred()) SWIG_fail
;
12384 resultobj
= SWIG_FromInt((int)result
);
12391 static PyObject
*_wrap_RadioBox_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12392 PyObject
*resultobj
;
12393 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
12394 wxVisualAttributes result
;
12395 PyObject
* obj0
= 0 ;
12396 char *kwnames
[] = {
12397 (char *) "variant", NULL
12400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
12402 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
12403 if (PyErr_Occurred()) SWIG_fail
;
12406 if (!wxPyCheckForApp()) SWIG_fail
;
12407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12408 result
= wxRadioBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
12410 wxPyEndAllowThreads(__tstate
);
12411 if (PyErr_Occurred()) SWIG_fail
;
12414 wxVisualAttributes
* resultptr
;
12415 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
12416 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
12424 static PyObject
* RadioBox_swigregister(PyObject
*self
, PyObject
*args
) {
12426 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12427 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox
, obj
);
12429 return Py_BuildValue((char *)"");
12431 static PyObject
*_wrap_new_RadioButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12432 PyObject
*resultobj
;
12433 wxWindow
*arg1
= (wxWindow
*) 0 ;
12434 int arg2
= (int) -1 ;
12435 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12436 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12437 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12438 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12439 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12440 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12441 long arg6
= (long) 0 ;
12442 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
12443 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
12444 wxString
const &arg8_defvalue
= wxPyRadioButtonNameStr
;
12445 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
12446 wxRadioButton
*result
;
12447 bool temp3
= False
;
12450 bool temp8
= False
;
12451 PyObject
* obj0
= 0 ;
12452 PyObject
* obj1
= 0 ;
12453 PyObject
* obj2
= 0 ;
12454 PyObject
* obj3
= 0 ;
12455 PyObject
* obj4
= 0 ;
12456 PyObject
* obj5
= 0 ;
12457 PyObject
* obj6
= 0 ;
12458 PyObject
* obj7
= 0 ;
12459 char *kwnames
[] = {
12460 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_RadioButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
12464 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12467 arg2
= (int) SWIG_AsInt(obj1
);
12468 if (PyErr_Occurred()) SWIG_fail
;
12472 arg3
= wxString_in_helper(obj2
);
12473 if (arg3
== NULL
) SWIG_fail
;
12480 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12486 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12490 arg6
= (long) SWIG_AsLong(obj5
);
12491 if (PyErr_Occurred()) SWIG_fail
;
12494 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
12495 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12497 if (arg7
== NULL
) {
12498 PyErr_SetString(PyExc_TypeError
,"null reference");
12504 arg8
= wxString_in_helper(obj7
);
12505 if (arg8
== NULL
) SWIG_fail
;
12510 if (!wxPyCheckForApp()) SWIG_fail
;
12511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12512 result
= (wxRadioButton
*)new wxRadioButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
12514 wxPyEndAllowThreads(__tstate
);
12515 if (PyErr_Occurred()) SWIG_fail
;
12517 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioButton
, 1);
12540 static PyObject
*_wrap_new_PreRadioButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12541 PyObject
*resultobj
;
12542 wxRadioButton
*result
;
12543 char *kwnames
[] = {
12547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioButton",kwnames
)) goto fail
;
12549 if (!wxPyCheckForApp()) SWIG_fail
;
12550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12551 result
= (wxRadioButton
*)new wxRadioButton();
12553 wxPyEndAllowThreads(__tstate
);
12554 if (PyErr_Occurred()) SWIG_fail
;
12556 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioButton
, 1);
12563 static PyObject
*_wrap_RadioButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12564 PyObject
*resultobj
;
12565 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
12566 wxWindow
*arg2
= (wxWindow
*) 0 ;
12567 int arg3
= (int) -1 ;
12568 wxString
const &arg4_defvalue
= wxPyEmptyString
;
12569 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
12570 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
12571 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
12572 wxSize
const &arg6_defvalue
= wxDefaultSize
;
12573 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
12574 long arg7
= (long) 0 ;
12575 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
12576 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
12577 wxString
const &arg9_defvalue
= wxPyRadioButtonNameStr
;
12578 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
12580 bool temp4
= False
;
12583 bool temp9
= False
;
12584 PyObject
* obj0
= 0 ;
12585 PyObject
* obj1
= 0 ;
12586 PyObject
* obj2
= 0 ;
12587 PyObject
* obj3
= 0 ;
12588 PyObject
* obj4
= 0 ;
12589 PyObject
* obj5
= 0 ;
12590 PyObject
* obj6
= 0 ;
12591 PyObject
* obj7
= 0 ;
12592 PyObject
* obj8
= 0 ;
12593 char *kwnames
[] = {
12594 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:RadioButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
12598 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioButton
,
12599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12600 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
12601 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12603 arg3
= (int) SWIG_AsInt(obj2
);
12604 if (PyErr_Occurred()) SWIG_fail
;
12608 arg4
= wxString_in_helper(obj3
);
12609 if (arg4
== NULL
) SWIG_fail
;
12616 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
12622 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
12626 arg7
= (long) SWIG_AsLong(obj6
);
12627 if (PyErr_Occurred()) SWIG_fail
;
12630 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
12631 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12633 if (arg8
== NULL
) {
12634 PyErr_SetString(PyExc_TypeError
,"null reference");
12640 arg9
= wxString_in_helper(obj8
);
12641 if (arg9
== NULL
) SWIG_fail
;
12646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12647 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
12649 wxPyEndAllowThreads(__tstate
);
12650 if (PyErr_Occurred()) SWIG_fail
;
12653 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12677 static PyObject
*_wrap_RadioButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12678 PyObject
*resultobj
;
12679 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
12681 PyObject
* obj0
= 0 ;
12682 char *kwnames
[] = {
12683 (char *) "self", NULL
12686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioButton_GetValue",kwnames
,&obj0
)) goto fail
;
12687 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioButton
,
12688 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12691 result
= (bool)(arg1
)->GetValue();
12693 wxPyEndAllowThreads(__tstate
);
12694 if (PyErr_Occurred()) SWIG_fail
;
12697 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12705 static PyObject
*_wrap_RadioButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12706 PyObject
*resultobj
;
12707 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
12709 PyObject
* obj0
= 0 ;
12710 PyObject
* obj1
= 0 ;
12711 char *kwnames
[] = {
12712 (char *) "self",(char *) "value", NULL
12715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
12716 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioButton
,
12717 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12718 arg2
= (bool) SWIG_AsBool(obj1
);
12719 if (PyErr_Occurred()) SWIG_fail
;
12721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12722 (arg1
)->SetValue(arg2
);
12724 wxPyEndAllowThreads(__tstate
);
12725 if (PyErr_Occurred()) SWIG_fail
;
12727 Py_INCREF(Py_None
); resultobj
= Py_None
;
12734 static PyObject
*_wrap_RadioButton_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12735 PyObject
*resultobj
;
12736 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
12737 wxVisualAttributes result
;
12738 PyObject
* obj0
= 0 ;
12739 char *kwnames
[] = {
12740 (char *) "variant", NULL
12743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
12745 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
12746 if (PyErr_Occurred()) SWIG_fail
;
12749 if (!wxPyCheckForApp()) SWIG_fail
;
12750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12751 result
= wxRadioButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
12753 wxPyEndAllowThreads(__tstate
);
12754 if (PyErr_Occurred()) SWIG_fail
;
12757 wxVisualAttributes
* resultptr
;
12758 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
12759 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
12767 static PyObject
* RadioButton_swigregister(PyObject
*self
, PyObject
*args
) {
12769 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12770 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton
, obj
);
12772 return Py_BuildValue((char *)"");
12774 static int _wrap_SliderNameStr_set(PyObject
*_val
) {
12775 PyErr_SetString(PyExc_TypeError
,"Variable SliderNameStr is read-only.");
12780 static PyObject
*_wrap_SliderNameStr_get() {
12785 pyobj
= PyUnicode_FromWideChar((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
12787 pyobj
= PyString_FromStringAndSize((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
12794 static PyObject
*_wrap_new_Slider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12795 PyObject
*resultobj
;
12796 wxWindow
*arg1
= (wxWindow
*) 0 ;
12797 int arg2
= (int) -1 ;
12798 int arg3
= (int) 0 ;
12799 int arg4
= (int) 0 ;
12800 int arg5
= (int) 100 ;
12801 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
12802 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
12803 wxSize
const &arg7_defvalue
= wxDefaultSize
;
12804 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
12805 long arg8
= (long) wxSL_HORIZONTAL
;
12806 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
12807 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
12808 wxString
const &arg10_defvalue
= wxPySliderNameStr
;
12809 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
12813 bool temp10
= False
;
12814 PyObject
* obj0
= 0 ;
12815 PyObject
* obj1
= 0 ;
12816 PyObject
* obj2
= 0 ;
12817 PyObject
* obj3
= 0 ;
12818 PyObject
* obj4
= 0 ;
12819 PyObject
* obj5
= 0 ;
12820 PyObject
* obj6
= 0 ;
12821 PyObject
* obj7
= 0 ;
12822 PyObject
* obj8
= 0 ;
12823 PyObject
* obj9
= 0 ;
12824 char *kwnames
[] = {
12825 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_Slider",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
12829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12832 arg2
= (int) SWIG_AsInt(obj1
);
12833 if (PyErr_Occurred()) SWIG_fail
;
12836 arg3
= (int) SWIG_AsInt(obj2
);
12837 if (PyErr_Occurred()) SWIG_fail
;
12840 arg4
= (int) SWIG_AsInt(obj3
);
12841 if (PyErr_Occurred()) SWIG_fail
;
12844 arg5
= (int) SWIG_AsInt(obj4
);
12845 if (PyErr_Occurred()) SWIG_fail
;
12850 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
12856 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
12860 arg8
= (long) SWIG_AsLong(obj7
);
12861 if (PyErr_Occurred()) SWIG_fail
;
12864 if ((SWIG_ConvertPtr(obj8
,(void **)(&arg9
),SWIGTYPE_p_wxValidator
,
12865 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12867 if (arg9
== NULL
) {
12868 PyErr_SetString(PyExc_TypeError
,"null reference");
12874 arg10
= wxString_in_helper(obj9
);
12875 if (arg10
== NULL
) SWIG_fail
;
12880 if (!wxPyCheckForApp()) SWIG_fail
;
12881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12882 result
= (wxSlider
*)new wxSlider(arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
12884 wxPyEndAllowThreads(__tstate
);
12885 if (PyErr_Occurred()) SWIG_fail
;
12887 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSlider
, 1);
12902 static PyObject
*_wrap_new_PreSlider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12903 PyObject
*resultobj
;
12905 char *kwnames
[] = {
12909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSlider",kwnames
)) goto fail
;
12911 if (!wxPyCheckForApp()) SWIG_fail
;
12912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12913 result
= (wxSlider
*)new wxSlider();
12915 wxPyEndAllowThreads(__tstate
);
12916 if (PyErr_Occurred()) SWIG_fail
;
12918 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSlider
, 1);
12925 static PyObject
*_wrap_Slider_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12926 PyObject
*resultobj
;
12927 wxSlider
*arg1
= (wxSlider
*) 0 ;
12928 wxWindow
*arg2
= (wxWindow
*) 0 ;
12929 int arg3
= (int) -1 ;
12930 int arg4
= (int) 0 ;
12931 int arg5
= (int) 0 ;
12932 int arg6
= (int) 100 ;
12933 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
12934 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
12935 wxSize
const &arg8_defvalue
= wxDefaultSize
;
12936 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
12937 long arg9
= (long) wxSL_HORIZONTAL
;
12938 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
12939 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
12940 wxString
const &arg11_defvalue
= wxPySliderNameStr
;
12941 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
12945 bool temp11
= False
;
12946 PyObject
* obj0
= 0 ;
12947 PyObject
* obj1
= 0 ;
12948 PyObject
* obj2
= 0 ;
12949 PyObject
* obj3
= 0 ;
12950 PyObject
* obj4
= 0 ;
12951 PyObject
* obj5
= 0 ;
12952 PyObject
* obj6
= 0 ;
12953 PyObject
* obj7
= 0 ;
12954 PyObject
* obj8
= 0 ;
12955 PyObject
* obj9
= 0 ;
12956 PyObject
* obj10
= 0 ;
12957 char *kwnames
[] = {
12958 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:Slider_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
12962 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12964 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
12965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12967 arg3
= (int) SWIG_AsInt(obj2
);
12968 if (PyErr_Occurred()) SWIG_fail
;
12971 arg4
= (int) SWIG_AsInt(obj3
);
12972 if (PyErr_Occurred()) SWIG_fail
;
12975 arg5
= (int) SWIG_AsInt(obj4
);
12976 if (PyErr_Occurred()) SWIG_fail
;
12979 arg6
= (int) SWIG_AsInt(obj5
);
12980 if (PyErr_Occurred()) SWIG_fail
;
12985 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
12991 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
12995 arg9
= (long) SWIG_AsLong(obj8
);
12996 if (PyErr_Occurred()) SWIG_fail
;
12999 if ((SWIG_ConvertPtr(obj9
,(void **)(&arg10
),SWIGTYPE_p_wxValidator
,
13000 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13002 if (arg10
== NULL
) {
13003 PyErr_SetString(PyExc_TypeError
,"null reference");
13009 arg11
= wxString_in_helper(obj10
);
13010 if (arg11
== NULL
) SWIG_fail
;
13015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13016 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
,(wxSize
const &)*arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
13018 wxPyEndAllowThreads(__tstate
);
13019 if (PyErr_Occurred()) SWIG_fail
;
13022 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13038 static PyObject
*_wrap_Slider_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13039 PyObject
*resultobj
;
13040 wxSlider
*arg1
= (wxSlider
*) 0 ;
13042 PyObject
* obj0
= 0 ;
13043 char *kwnames
[] = {
13044 (char *) "self", NULL
13047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetValue",kwnames
,&obj0
)) goto fail
;
13048 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13052 result
= (int)((wxSlider
const *)arg1
)->GetValue();
13054 wxPyEndAllowThreads(__tstate
);
13055 if (PyErr_Occurred()) SWIG_fail
;
13057 resultobj
= SWIG_FromInt((int)result
);
13064 static PyObject
*_wrap_Slider_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13065 PyObject
*resultobj
;
13066 wxSlider
*arg1
= (wxSlider
*) 0 ;
13068 PyObject
* obj0
= 0 ;
13069 PyObject
* obj1
= 0 ;
13070 char *kwnames
[] = {
13071 (char *) "self",(char *) "value", NULL
13074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
13075 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13077 arg2
= (int) SWIG_AsInt(obj1
);
13078 if (PyErr_Occurred()) SWIG_fail
;
13080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13081 (arg1
)->SetValue(arg2
);
13083 wxPyEndAllowThreads(__tstate
);
13084 if (PyErr_Occurred()) SWIG_fail
;
13086 Py_INCREF(Py_None
); resultobj
= Py_None
;
13093 static PyObject
*_wrap_Slider_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13094 PyObject
*resultobj
;
13095 wxSlider
*arg1
= (wxSlider
*) 0 ;
13098 PyObject
* obj0
= 0 ;
13099 PyObject
* obj1
= 0 ;
13100 PyObject
* obj2
= 0 ;
13101 char *kwnames
[] = {
13102 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
13105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13106 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13108 arg2
= (int) SWIG_AsInt(obj1
);
13109 if (PyErr_Occurred()) SWIG_fail
;
13110 arg3
= (int) SWIG_AsInt(obj2
);
13111 if (PyErr_Occurred()) SWIG_fail
;
13113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13114 (arg1
)->SetRange(arg2
,arg3
);
13116 wxPyEndAllowThreads(__tstate
);
13117 if (PyErr_Occurred()) SWIG_fail
;
13119 Py_INCREF(Py_None
); resultobj
= Py_None
;
13126 static PyObject
*_wrap_Slider_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13127 PyObject
*resultobj
;
13128 wxSlider
*arg1
= (wxSlider
*) 0 ;
13130 PyObject
* obj0
= 0 ;
13131 char *kwnames
[] = {
13132 (char *) "self", NULL
13135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMin",kwnames
,&obj0
)) goto fail
;
13136 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13137 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13140 result
= (int)((wxSlider
const *)arg1
)->GetMin();
13142 wxPyEndAllowThreads(__tstate
);
13143 if (PyErr_Occurred()) SWIG_fail
;
13145 resultobj
= SWIG_FromInt((int)result
);
13152 static PyObject
*_wrap_Slider_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13153 PyObject
*resultobj
;
13154 wxSlider
*arg1
= (wxSlider
*) 0 ;
13156 PyObject
* obj0
= 0 ;
13157 char *kwnames
[] = {
13158 (char *) "self", NULL
13161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMax",kwnames
,&obj0
)) goto fail
;
13162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13166 result
= (int)((wxSlider
const *)arg1
)->GetMax();
13168 wxPyEndAllowThreads(__tstate
);
13169 if (PyErr_Occurred()) SWIG_fail
;
13171 resultobj
= SWIG_FromInt((int)result
);
13178 static PyObject
*_wrap_Slider_SetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13179 PyObject
*resultobj
;
13180 wxSlider
*arg1
= (wxSlider
*) 0 ;
13182 PyObject
* obj0
= 0 ;
13183 PyObject
* obj1
= 0 ;
13184 char *kwnames
[] = {
13185 (char *) "self",(char *) "minValue", NULL
13188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
13189 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13191 arg2
= (int) SWIG_AsInt(obj1
);
13192 if (PyErr_Occurred()) SWIG_fail
;
13194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13195 (arg1
)->SetMin(arg2
);
13197 wxPyEndAllowThreads(__tstate
);
13198 if (PyErr_Occurred()) SWIG_fail
;
13200 Py_INCREF(Py_None
); resultobj
= Py_None
;
13207 static PyObject
*_wrap_Slider_SetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13208 PyObject
*resultobj
;
13209 wxSlider
*arg1
= (wxSlider
*) 0 ;
13211 PyObject
* obj0
= 0 ;
13212 PyObject
* obj1
= 0 ;
13213 char *kwnames
[] = {
13214 (char *) "self",(char *) "maxValue", NULL
13217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
13218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13220 arg2
= (int) SWIG_AsInt(obj1
);
13221 if (PyErr_Occurred()) SWIG_fail
;
13223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13224 (arg1
)->SetMax(arg2
);
13226 wxPyEndAllowThreads(__tstate
);
13227 if (PyErr_Occurred()) SWIG_fail
;
13229 Py_INCREF(Py_None
); resultobj
= Py_None
;
13236 static PyObject
*_wrap_Slider_SetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13237 PyObject
*resultobj
;
13238 wxSlider
*arg1
= (wxSlider
*) 0 ;
13240 PyObject
* obj0
= 0 ;
13241 PyObject
* obj1
= 0 ;
13242 char *kwnames
[] = {
13243 (char *) "self",(char *) "lineSize", NULL
13246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetLineSize",kwnames
,&obj0
,&obj1
)) goto fail
;
13247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13249 arg2
= (int) SWIG_AsInt(obj1
);
13250 if (PyErr_Occurred()) SWIG_fail
;
13252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13253 (arg1
)->SetLineSize(arg2
);
13255 wxPyEndAllowThreads(__tstate
);
13256 if (PyErr_Occurred()) SWIG_fail
;
13258 Py_INCREF(Py_None
); resultobj
= Py_None
;
13265 static PyObject
*_wrap_Slider_SetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13266 PyObject
*resultobj
;
13267 wxSlider
*arg1
= (wxSlider
*) 0 ;
13269 PyObject
* obj0
= 0 ;
13270 PyObject
* obj1
= 0 ;
13271 char *kwnames
[] = {
13272 (char *) "self",(char *) "pageSize", NULL
13275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
13276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13278 arg2
= (int) SWIG_AsInt(obj1
);
13279 if (PyErr_Occurred()) SWIG_fail
;
13281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13282 (arg1
)->SetPageSize(arg2
);
13284 wxPyEndAllowThreads(__tstate
);
13285 if (PyErr_Occurred()) SWIG_fail
;
13287 Py_INCREF(Py_None
); resultobj
= Py_None
;
13294 static PyObject
*_wrap_Slider_GetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13295 PyObject
*resultobj
;
13296 wxSlider
*arg1
= (wxSlider
*) 0 ;
13298 PyObject
* obj0
= 0 ;
13299 char *kwnames
[] = {
13300 (char *) "self", NULL
13303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetLineSize",kwnames
,&obj0
)) goto fail
;
13304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13308 result
= (int)((wxSlider
const *)arg1
)->GetLineSize();
13310 wxPyEndAllowThreads(__tstate
);
13311 if (PyErr_Occurred()) SWIG_fail
;
13313 resultobj
= SWIG_FromInt((int)result
);
13320 static PyObject
*_wrap_Slider_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13321 PyObject
*resultobj
;
13322 wxSlider
*arg1
= (wxSlider
*) 0 ;
13324 PyObject
* obj0
= 0 ;
13325 char *kwnames
[] = {
13326 (char *) "self", NULL
13329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetPageSize",kwnames
,&obj0
)) goto fail
;
13330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13334 result
= (int)((wxSlider
const *)arg1
)->GetPageSize();
13336 wxPyEndAllowThreads(__tstate
);
13337 if (PyErr_Occurred()) SWIG_fail
;
13339 resultobj
= SWIG_FromInt((int)result
);
13346 static PyObject
*_wrap_Slider_SetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13347 PyObject
*resultobj
;
13348 wxSlider
*arg1
= (wxSlider
*) 0 ;
13350 PyObject
* obj0
= 0 ;
13351 PyObject
* obj1
= 0 ;
13352 char *kwnames
[] = {
13353 (char *) "self",(char *) "lenPixels", NULL
13356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetThumbLength",kwnames
,&obj0
,&obj1
)) goto fail
;
13357 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13358 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13359 arg2
= (int) SWIG_AsInt(obj1
);
13360 if (PyErr_Occurred()) SWIG_fail
;
13362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13363 (arg1
)->SetThumbLength(arg2
);
13365 wxPyEndAllowThreads(__tstate
);
13366 if (PyErr_Occurred()) SWIG_fail
;
13368 Py_INCREF(Py_None
); resultobj
= Py_None
;
13375 static PyObject
*_wrap_Slider_GetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13376 PyObject
*resultobj
;
13377 wxSlider
*arg1
= (wxSlider
*) 0 ;
13379 PyObject
* obj0
= 0 ;
13380 char *kwnames
[] = {
13381 (char *) "self", NULL
13384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetThumbLength",kwnames
,&obj0
)) goto fail
;
13385 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13389 result
= (int)((wxSlider
const *)arg1
)->GetThumbLength();
13391 wxPyEndAllowThreads(__tstate
);
13392 if (PyErr_Occurred()) SWIG_fail
;
13394 resultobj
= SWIG_FromInt((int)result
);
13401 static PyObject
*_wrap_Slider_SetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13402 PyObject
*resultobj
;
13403 wxSlider
*arg1
= (wxSlider
*) 0 ;
13405 int arg3
= (int) 1 ;
13406 PyObject
* obj0
= 0 ;
13407 PyObject
* obj1
= 0 ;
13408 PyObject
* obj2
= 0 ;
13409 char *kwnames
[] = {
13410 (char *) "self",(char *) "n",(char *) "pos", NULL
13413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Slider_SetTickFreq",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13414 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13415 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13416 arg2
= (int) SWIG_AsInt(obj1
);
13417 if (PyErr_Occurred()) SWIG_fail
;
13419 arg3
= (int) SWIG_AsInt(obj2
);
13420 if (PyErr_Occurred()) SWIG_fail
;
13423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13424 (arg1
)->SetTickFreq(arg2
,arg3
);
13426 wxPyEndAllowThreads(__tstate
);
13427 if (PyErr_Occurred()) SWIG_fail
;
13429 Py_INCREF(Py_None
); resultobj
= Py_None
;
13436 static PyObject
*_wrap_Slider_GetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13437 PyObject
*resultobj
;
13438 wxSlider
*arg1
= (wxSlider
*) 0 ;
13440 PyObject
* obj0
= 0 ;
13441 char *kwnames
[] = {
13442 (char *) "self", NULL
13445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetTickFreq",kwnames
,&obj0
)) goto fail
;
13446 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13450 result
= (int)((wxSlider
const *)arg1
)->GetTickFreq();
13452 wxPyEndAllowThreads(__tstate
);
13453 if (PyErr_Occurred()) SWIG_fail
;
13455 resultobj
= SWIG_FromInt((int)result
);
13462 static PyObject
*_wrap_Slider_ClearTicks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13463 PyObject
*resultobj
;
13464 wxSlider
*arg1
= (wxSlider
*) 0 ;
13465 PyObject
* obj0
= 0 ;
13466 char *kwnames
[] = {
13467 (char *) "self", NULL
13470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearTicks",kwnames
,&obj0
)) goto fail
;
13471 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13472 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13475 (arg1
)->ClearTicks();
13477 wxPyEndAllowThreads(__tstate
);
13478 if (PyErr_Occurred()) SWIG_fail
;
13480 Py_INCREF(Py_None
); resultobj
= Py_None
;
13487 static PyObject
*_wrap_Slider_SetTick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13488 PyObject
*resultobj
;
13489 wxSlider
*arg1
= (wxSlider
*) 0 ;
13491 PyObject
* obj0
= 0 ;
13492 PyObject
* obj1
= 0 ;
13493 char *kwnames
[] = {
13494 (char *) "self",(char *) "tickPos", NULL
13497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetTick",kwnames
,&obj0
,&obj1
)) goto fail
;
13498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13500 arg2
= (int) SWIG_AsInt(obj1
);
13501 if (PyErr_Occurred()) SWIG_fail
;
13503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13504 (arg1
)->SetTick(arg2
);
13506 wxPyEndAllowThreads(__tstate
);
13507 if (PyErr_Occurred()) SWIG_fail
;
13509 Py_INCREF(Py_None
); resultobj
= Py_None
;
13516 static PyObject
*_wrap_Slider_ClearSel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13517 PyObject
*resultobj
;
13518 wxSlider
*arg1
= (wxSlider
*) 0 ;
13519 PyObject
* obj0
= 0 ;
13520 char *kwnames
[] = {
13521 (char *) "self", NULL
13524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearSel",kwnames
,&obj0
)) goto fail
;
13525 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13526 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13529 (arg1
)->ClearSel();
13531 wxPyEndAllowThreads(__tstate
);
13532 if (PyErr_Occurred()) SWIG_fail
;
13534 Py_INCREF(Py_None
); resultobj
= Py_None
;
13541 static PyObject
*_wrap_Slider_GetSelEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13542 PyObject
*resultobj
;
13543 wxSlider
*arg1
= (wxSlider
*) 0 ;
13545 PyObject
* obj0
= 0 ;
13546 char *kwnames
[] = {
13547 (char *) "self", NULL
13550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelEnd",kwnames
,&obj0
)) goto fail
;
13551 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13555 result
= (int)((wxSlider
const *)arg1
)->GetSelEnd();
13557 wxPyEndAllowThreads(__tstate
);
13558 if (PyErr_Occurred()) SWIG_fail
;
13560 resultobj
= SWIG_FromInt((int)result
);
13567 static PyObject
*_wrap_Slider_GetSelStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13568 PyObject
*resultobj
;
13569 wxSlider
*arg1
= (wxSlider
*) 0 ;
13571 PyObject
* obj0
= 0 ;
13572 char *kwnames
[] = {
13573 (char *) "self", NULL
13576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelStart",kwnames
,&obj0
)) goto fail
;
13577 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13581 result
= (int)((wxSlider
const *)arg1
)->GetSelStart();
13583 wxPyEndAllowThreads(__tstate
);
13584 if (PyErr_Occurred()) SWIG_fail
;
13586 resultobj
= SWIG_FromInt((int)result
);
13593 static PyObject
*_wrap_Slider_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13594 PyObject
*resultobj
;
13595 wxSlider
*arg1
= (wxSlider
*) 0 ;
13598 PyObject
* obj0
= 0 ;
13599 PyObject
* obj1
= 0 ;
13600 PyObject
* obj2
= 0 ;
13601 char *kwnames
[] = {
13602 (char *) "self",(char *) "min",(char *) "max", NULL
13605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13606 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13608 arg2
= (int) SWIG_AsInt(obj1
);
13609 if (PyErr_Occurred()) SWIG_fail
;
13610 arg3
= (int) SWIG_AsInt(obj2
);
13611 if (PyErr_Occurred()) SWIG_fail
;
13613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13614 (arg1
)->SetSelection(arg2
,arg3
);
13616 wxPyEndAllowThreads(__tstate
);
13617 if (PyErr_Occurred()) SWIG_fail
;
13619 Py_INCREF(Py_None
); resultobj
= Py_None
;
13626 static PyObject
*_wrap_Slider_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13627 PyObject
*resultobj
;
13628 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
13629 wxVisualAttributes result
;
13630 PyObject
* obj0
= 0 ;
13631 char *kwnames
[] = {
13632 (char *) "variant", NULL
13635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
13637 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
13638 if (PyErr_Occurred()) SWIG_fail
;
13641 if (!wxPyCheckForApp()) SWIG_fail
;
13642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13643 result
= wxSlider::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
13645 wxPyEndAllowThreads(__tstate
);
13646 if (PyErr_Occurred()) SWIG_fail
;
13649 wxVisualAttributes
* resultptr
;
13650 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
13651 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
13659 static PyObject
* Slider_swigregister(PyObject
*self
, PyObject
*args
) {
13661 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13662 SWIG_TypeClientData(SWIGTYPE_p_wxSlider
, obj
);
13664 return Py_BuildValue((char *)"");
13666 static int _wrap_ToggleButtonNameStr_set(PyObject
*_val
) {
13667 PyErr_SetString(PyExc_TypeError
,"Variable ToggleButtonNameStr is read-only.");
13672 static PyObject
*_wrap_ToggleButtonNameStr_get() {
13677 pyobj
= PyUnicode_FromWideChar((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
13679 pyobj
= PyString_FromStringAndSize((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
13686 static PyObject
*_wrap_new_ToggleButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13687 PyObject
*resultobj
;
13688 wxWindow
*arg1
= (wxWindow
*) 0 ;
13689 int arg2
= (int) -1 ;
13690 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13691 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13692 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
13693 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
13694 wxSize
const &arg5_defvalue
= wxDefaultSize
;
13695 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
13696 long arg6
= (long) 0 ;
13697 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
13698 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
13699 wxString
const &arg8_defvalue
= wxPyToggleButtonNameStr
;
13700 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
13701 wxToggleButton
*result
;
13702 bool temp3
= False
;
13705 bool temp8
= False
;
13706 PyObject
* obj0
= 0 ;
13707 PyObject
* obj1
= 0 ;
13708 PyObject
* obj2
= 0 ;
13709 PyObject
* obj3
= 0 ;
13710 PyObject
* obj4
= 0 ;
13711 PyObject
* obj5
= 0 ;
13712 PyObject
* obj6
= 0 ;
13713 PyObject
* obj7
= 0 ;
13714 char *kwnames
[] = {
13715 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
13718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ToggleButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
13719 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
13720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13722 arg2
= (int) SWIG_AsInt(obj1
);
13723 if (PyErr_Occurred()) SWIG_fail
;
13727 arg3
= wxString_in_helper(obj2
);
13728 if (arg3
== NULL
) SWIG_fail
;
13735 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
13741 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
13745 arg6
= (long) SWIG_AsLong(obj5
);
13746 if (PyErr_Occurred()) SWIG_fail
;
13749 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
13750 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13752 if (arg7
== NULL
) {
13753 PyErr_SetString(PyExc_TypeError
,"null reference");
13759 arg8
= wxString_in_helper(obj7
);
13760 if (arg8
== NULL
) SWIG_fail
;
13765 if (!wxPyCheckForApp()) SWIG_fail
;
13766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13767 result
= (wxToggleButton
*)new wxToggleButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
13769 wxPyEndAllowThreads(__tstate
);
13770 if (PyErr_Occurred()) SWIG_fail
;
13772 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToggleButton
, 1);
13795 static PyObject
*_wrap_new_PreToggleButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13796 PyObject
*resultobj
;
13797 wxToggleButton
*result
;
13798 char *kwnames
[] = {
13802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToggleButton",kwnames
)) goto fail
;
13804 if (!wxPyCheckForApp()) SWIG_fail
;
13805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13806 result
= (wxToggleButton
*)new wxToggleButton();
13808 wxPyEndAllowThreads(__tstate
);
13809 if (PyErr_Occurred()) SWIG_fail
;
13811 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToggleButton
, 1);
13818 static PyObject
*_wrap_ToggleButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13819 PyObject
*resultobj
;
13820 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
13821 wxWindow
*arg2
= (wxWindow
*) 0 ;
13822 int arg3
= (int) -1 ;
13823 wxString
const &arg4_defvalue
= wxPyEmptyString
;
13824 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13825 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
13826 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
13827 wxSize
const &arg6_defvalue
= wxDefaultSize
;
13828 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
13829 long arg7
= (long) 0 ;
13830 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
13831 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
13832 wxString
const &arg9_defvalue
= wxPyToggleButtonNameStr
;
13833 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
13835 bool temp4
= False
;
13838 bool temp9
= False
;
13839 PyObject
* obj0
= 0 ;
13840 PyObject
* obj1
= 0 ;
13841 PyObject
* obj2
= 0 ;
13842 PyObject
* obj3
= 0 ;
13843 PyObject
* obj4
= 0 ;
13844 PyObject
* obj5
= 0 ;
13845 PyObject
* obj6
= 0 ;
13846 PyObject
* obj7
= 0 ;
13847 PyObject
* obj8
= 0 ;
13848 char *kwnames
[] = {
13849 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
13852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ToggleButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
13853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
13854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13855 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
13856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13858 arg3
= (int) SWIG_AsInt(obj2
);
13859 if (PyErr_Occurred()) SWIG_fail
;
13863 arg4
= wxString_in_helper(obj3
);
13864 if (arg4
== NULL
) SWIG_fail
;
13871 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
13877 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
13881 arg7
= (long) SWIG_AsLong(obj6
);
13882 if (PyErr_Occurred()) SWIG_fail
;
13885 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
13886 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13888 if (arg8
== NULL
) {
13889 PyErr_SetString(PyExc_TypeError
,"null reference");
13895 arg9
= wxString_in_helper(obj8
);
13896 if (arg9
== NULL
) SWIG_fail
;
13901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13902 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
13904 wxPyEndAllowThreads(__tstate
);
13905 if (PyErr_Occurred()) SWIG_fail
;
13908 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13932 static PyObject
*_wrap_ToggleButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13933 PyObject
*resultobj
;
13934 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
13936 PyObject
* obj0
= 0 ;
13937 PyObject
* obj1
= 0 ;
13938 char *kwnames
[] = {
13939 (char *) "self",(char *) "value", NULL
13942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
13943 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
13944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13945 arg2
= (bool) SWIG_AsBool(obj1
);
13946 if (PyErr_Occurred()) SWIG_fail
;
13948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13949 (arg1
)->SetValue(arg2
);
13951 wxPyEndAllowThreads(__tstate
);
13952 if (PyErr_Occurred()) SWIG_fail
;
13954 Py_INCREF(Py_None
); resultobj
= Py_None
;
13961 static PyObject
*_wrap_ToggleButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13962 PyObject
*resultobj
;
13963 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
13965 PyObject
* obj0
= 0 ;
13966 char *kwnames
[] = {
13967 (char *) "self", NULL
13970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToggleButton_GetValue",kwnames
,&obj0
)) goto fail
;
13971 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
13972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13975 result
= (bool)((wxToggleButton
const *)arg1
)->GetValue();
13977 wxPyEndAllowThreads(__tstate
);
13978 if (PyErr_Occurred()) SWIG_fail
;
13981 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13989 static PyObject
*_wrap_ToggleButton_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13990 PyObject
*resultobj
;
13991 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
13992 wxString
*arg2
= 0 ;
13993 bool temp2
= False
;
13994 PyObject
* obj0
= 0 ;
13995 PyObject
* obj1
= 0 ;
13996 char *kwnames
[] = {
13997 (char *) "self",(char *) "label", NULL
14000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
14001 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
14002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14004 arg2
= wxString_in_helper(obj1
);
14005 if (arg2
== NULL
) SWIG_fail
;
14009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14010 (arg1
)->SetLabel((wxString
const &)*arg2
);
14012 wxPyEndAllowThreads(__tstate
);
14013 if (PyErr_Occurred()) SWIG_fail
;
14015 Py_INCREF(Py_None
); resultobj
= Py_None
;
14030 static PyObject
*_wrap_ToggleButton_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14031 PyObject
*resultobj
;
14032 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
14033 wxVisualAttributes result
;
14034 PyObject
* obj0
= 0 ;
14035 char *kwnames
[] = {
14036 (char *) "variant", NULL
14039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
14041 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
14042 if (PyErr_Occurred()) SWIG_fail
;
14045 if (!wxPyCheckForApp()) SWIG_fail
;
14046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14047 result
= wxToggleButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
14049 wxPyEndAllowThreads(__tstate
);
14050 if (PyErr_Occurred()) SWIG_fail
;
14053 wxVisualAttributes
* resultptr
;
14054 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
14055 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
14063 static PyObject
* ToggleButton_swigregister(PyObject
*self
, PyObject
*args
) {
14065 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14066 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton
, obj
);
14068 return Py_BuildValue((char *)"");
14070 static int _wrap_NOTEBOOK_NAME_set(PyObject
*_val
) {
14071 PyErr_SetString(PyExc_TypeError
,"Variable NOTEBOOK_NAME is read-only.");
14076 static PyObject
*_wrap_NOTEBOOK_NAME_get() {
14081 pyobj
= PyUnicode_FromWideChar((&wxPyNOTEBOOK_NAME
)->c_str(), (&wxPyNOTEBOOK_NAME
)->Len());
14083 pyobj
= PyString_FromStringAndSize((&wxPyNOTEBOOK_NAME
)->c_str(), (&wxPyNOTEBOOK_NAME
)->Len());
14090 static PyObject
*_wrap_BookCtrl_GetPageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14091 PyObject
*resultobj
;
14092 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14094 PyObject
* obj0
= 0 ;
14095 char *kwnames
[] = {
14096 (char *) "self", NULL
14099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetPageCount",kwnames
,&obj0
)) goto fail
;
14100 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14104 result
= (size_t)((wxBookCtrl
const *)arg1
)->GetPageCount();
14106 wxPyEndAllowThreads(__tstate
);
14107 if (PyErr_Occurred()) SWIG_fail
;
14109 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
14116 static PyObject
*_wrap_BookCtrl_GetPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14117 PyObject
*resultobj
;
14118 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14121 PyObject
* obj0
= 0 ;
14122 PyObject
* obj1
= 0 ;
14123 char *kwnames
[] = {
14124 (char *) "self",(char *) "n", NULL
14127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPage",kwnames
,&obj0
,&obj1
)) goto fail
;
14128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14130 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14131 if (PyErr_Occurred()) SWIG_fail
;
14133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14134 result
= (wxWindow
*)(arg1
)->GetPage(arg2
);
14136 wxPyEndAllowThreads(__tstate
);
14137 if (PyErr_Occurred()) SWIG_fail
;
14140 resultobj
= wxPyMake_wxObject(result
, 0);
14148 static PyObject
*_wrap_BookCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14149 PyObject
*resultobj
;
14150 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14152 PyObject
* obj0
= 0 ;
14153 char *kwnames
[] = {
14154 (char *) "self", NULL
14157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
14158 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14159 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14162 result
= (int)((wxBookCtrl
const *)arg1
)->GetSelection();
14164 wxPyEndAllowThreads(__tstate
);
14165 if (PyErr_Occurred()) SWIG_fail
;
14167 resultobj
= SWIG_FromInt((int)result
);
14174 static PyObject
*_wrap_BookCtrl_SetPageText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14175 PyObject
*resultobj
;
14176 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14178 wxString
*arg3
= 0 ;
14180 bool temp3
= False
;
14181 PyObject
* obj0
= 0 ;
14182 PyObject
* obj1
= 0 ;
14183 PyObject
* obj2
= 0 ;
14184 char *kwnames
[] = {
14185 (char *) "self",(char *) "n",(char *) "strText", NULL
14188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrl_SetPageText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14189 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14191 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14192 if (PyErr_Occurred()) SWIG_fail
;
14194 arg3
= wxString_in_helper(obj2
);
14195 if (arg3
== NULL
) SWIG_fail
;
14199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14200 result
= (bool)(arg1
)->SetPageText(arg2
,(wxString
const &)*arg3
);
14202 wxPyEndAllowThreads(__tstate
);
14203 if (PyErr_Occurred()) SWIG_fail
;
14206 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14222 static PyObject
*_wrap_BookCtrl_GetPageText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14223 PyObject
*resultobj
;
14224 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14227 PyObject
* obj0
= 0 ;
14228 PyObject
* obj1
= 0 ;
14229 char *kwnames
[] = {
14230 (char *) "self",(char *) "n", NULL
14233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPageText",kwnames
,&obj0
,&obj1
)) goto fail
;
14234 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14236 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14237 if (PyErr_Occurred()) SWIG_fail
;
14239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14240 result
= ((wxBookCtrl
const *)arg1
)->GetPageText(arg2
);
14242 wxPyEndAllowThreads(__tstate
);
14243 if (PyErr_Occurred()) SWIG_fail
;
14247 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14249 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14258 static PyObject
*_wrap_BookCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14259 PyObject
*resultobj
;
14260 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14261 wxImageList
*arg2
= (wxImageList
*) 0 ;
14262 PyObject
* obj0
= 0 ;
14263 PyObject
* obj1
= 0 ;
14264 char *kwnames
[] = {
14265 (char *) "self",(char *) "imageList", NULL
14268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
14269 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14271 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
14272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14275 (arg1
)->SetImageList(arg2
);
14277 wxPyEndAllowThreads(__tstate
);
14278 if (PyErr_Occurred()) SWIG_fail
;
14280 Py_INCREF(Py_None
); resultobj
= Py_None
;
14287 static PyObject
*_wrap_BookCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14288 PyObject
*resultobj
;
14289 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14290 wxImageList
*arg2
= (wxImageList
*) 0 ;
14291 PyObject
* obj0
= 0 ;
14292 PyObject
* obj1
= 0 ;
14293 char *kwnames
[] = {
14294 (char *) "self",(char *) "imageList", NULL
14297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
14298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14300 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
14301 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
14303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14304 (arg1
)->AssignImageList(arg2
);
14306 wxPyEndAllowThreads(__tstate
);
14307 if (PyErr_Occurred()) SWIG_fail
;
14309 Py_INCREF(Py_None
); resultobj
= Py_None
;
14316 static PyObject
*_wrap_BookCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14317 PyObject
*resultobj
;
14318 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14319 wxImageList
*result
;
14320 PyObject
* obj0
= 0 ;
14321 char *kwnames
[] = {
14322 (char *) "self", NULL
14325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
14326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14330 result
= (wxImageList
*)((wxBookCtrl
const *)arg1
)->GetImageList();
14332 wxPyEndAllowThreads(__tstate
);
14333 if (PyErr_Occurred()) SWIG_fail
;
14336 resultobj
= wxPyMake_wxObject(result
, 0);
14344 static PyObject
*_wrap_BookCtrl_GetPageImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14345 PyObject
*resultobj
;
14346 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14349 PyObject
* obj0
= 0 ;
14350 PyObject
* obj1
= 0 ;
14351 char *kwnames
[] = {
14352 (char *) "self",(char *) "n", NULL
14355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPageImage",kwnames
,&obj0
,&obj1
)) goto fail
;
14356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14358 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14359 if (PyErr_Occurred()) SWIG_fail
;
14361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14362 result
= (int)((wxBookCtrl
const *)arg1
)->GetPageImage(arg2
);
14364 wxPyEndAllowThreads(__tstate
);
14365 if (PyErr_Occurred()) SWIG_fail
;
14367 resultobj
= SWIG_FromInt((int)result
);
14374 static PyObject
*_wrap_BookCtrl_SetPageImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14375 PyObject
*resultobj
;
14376 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14380 PyObject
* obj0
= 0 ;
14381 PyObject
* obj1
= 0 ;
14382 PyObject
* obj2
= 0 ;
14383 char *kwnames
[] = {
14384 (char *) "self",(char *) "n",(char *) "imageId", NULL
14387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrl_SetPageImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14390 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14391 if (PyErr_Occurred()) SWIG_fail
;
14392 arg3
= (int) SWIG_AsInt(obj2
);
14393 if (PyErr_Occurred()) SWIG_fail
;
14395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14396 result
= (bool)(arg1
)->SetPageImage(arg2
,arg3
);
14398 wxPyEndAllowThreads(__tstate
);
14399 if (PyErr_Occurred()) SWIG_fail
;
14402 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14410 static PyObject
*_wrap_BookCtrl_SetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14411 PyObject
*resultobj
;
14412 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14415 PyObject
* obj0
= 0 ;
14416 PyObject
* obj1
= 0 ;
14417 char *kwnames
[] = {
14418 (char *) "self",(char *) "size", NULL
14421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
14422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14426 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14430 (arg1
)->SetPageSize((wxSize
const &)*arg2
);
14432 wxPyEndAllowThreads(__tstate
);
14433 if (PyErr_Occurred()) SWIG_fail
;
14435 Py_INCREF(Py_None
); resultobj
= Py_None
;
14442 static PyObject
*_wrap_BookCtrl_CalcSizeFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14443 PyObject
*resultobj
;
14444 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14448 PyObject
* obj0
= 0 ;
14449 PyObject
* obj1
= 0 ;
14450 char *kwnames
[] = {
14451 (char *) "self",(char *) "sizePage", NULL
14454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
14455 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14456 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14459 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14463 result
= ((wxBookCtrl
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
14465 wxPyEndAllowThreads(__tstate
);
14466 if (PyErr_Occurred()) SWIG_fail
;
14469 wxSize
* resultptr
;
14470 resultptr
= new wxSize((wxSize
&) result
);
14471 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
14479 static PyObject
*_wrap_BookCtrl_DeletePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14480 PyObject
*resultobj
;
14481 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14484 PyObject
* obj0
= 0 ;
14485 PyObject
* obj1
= 0 ;
14486 char *kwnames
[] = {
14487 (char *) "self",(char *) "n", NULL
14490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_DeletePage",kwnames
,&obj0
,&obj1
)) goto fail
;
14491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14493 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14494 if (PyErr_Occurred()) SWIG_fail
;
14496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14497 result
= (bool)(arg1
)->DeletePage(arg2
);
14499 wxPyEndAllowThreads(__tstate
);
14500 if (PyErr_Occurred()) SWIG_fail
;
14503 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14511 static PyObject
*_wrap_BookCtrl_RemovePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14512 PyObject
*resultobj
;
14513 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14516 PyObject
* obj0
= 0 ;
14517 PyObject
* obj1
= 0 ;
14518 char *kwnames
[] = {
14519 (char *) "self",(char *) "n", NULL
14522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_RemovePage",kwnames
,&obj0
,&obj1
)) goto fail
;
14523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14525 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14526 if (PyErr_Occurred()) SWIG_fail
;
14528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14529 result
= (bool)(arg1
)->RemovePage(arg2
);
14531 wxPyEndAllowThreads(__tstate
);
14532 if (PyErr_Occurred()) SWIG_fail
;
14535 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14543 static PyObject
*_wrap_BookCtrl_DeleteAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14544 PyObject
*resultobj
;
14545 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14547 PyObject
* obj0
= 0 ;
14548 char *kwnames
[] = {
14549 (char *) "self", NULL
14552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_DeleteAllPages",kwnames
,&obj0
)) goto fail
;
14553 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14557 result
= (bool)(arg1
)->DeleteAllPages();
14559 wxPyEndAllowThreads(__tstate
);
14560 if (PyErr_Occurred()) SWIG_fail
;
14563 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14571 static PyObject
*_wrap_BookCtrl_AddPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14572 PyObject
*resultobj
;
14573 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14574 wxWindow
*arg2
= (wxWindow
*) 0 ;
14575 wxString
*arg3
= 0 ;
14576 bool arg4
= (bool) False
;
14577 int arg5
= (int) -1 ;
14579 bool temp3
= False
;
14580 PyObject
* obj0
= 0 ;
14581 PyObject
* obj1
= 0 ;
14582 PyObject
* obj2
= 0 ;
14583 PyObject
* obj3
= 0 ;
14584 PyObject
* obj4
= 0 ;
14585 char *kwnames
[] = {
14586 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
14589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:BookCtrl_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14590 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14592 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
14593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14595 arg3
= wxString_in_helper(obj2
);
14596 if (arg3
== NULL
) SWIG_fail
;
14600 arg4
= (bool) SWIG_AsBool(obj3
);
14601 if (PyErr_Occurred()) SWIG_fail
;
14604 arg5
= (int) SWIG_AsInt(obj4
);
14605 if (PyErr_Occurred()) SWIG_fail
;
14608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14609 result
= (bool)(arg1
)->AddPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
14611 wxPyEndAllowThreads(__tstate
);
14612 if (PyErr_Occurred()) SWIG_fail
;
14615 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14631 static PyObject
*_wrap_BookCtrl_InsertPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14632 PyObject
*resultobj
;
14633 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14635 wxWindow
*arg3
= (wxWindow
*) 0 ;
14636 wxString
*arg4
= 0 ;
14637 bool arg5
= (bool) False
;
14638 int arg6
= (int) -1 ;
14640 bool temp4
= False
;
14641 PyObject
* obj0
= 0 ;
14642 PyObject
* obj1
= 0 ;
14643 PyObject
* obj2
= 0 ;
14644 PyObject
* obj3
= 0 ;
14645 PyObject
* obj4
= 0 ;
14646 PyObject
* obj5
= 0 ;
14647 char *kwnames
[] = {
14648 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
14651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:BookCtrl_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14654 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14655 if (PyErr_Occurred()) SWIG_fail
;
14656 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
14657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14659 arg4
= wxString_in_helper(obj3
);
14660 if (arg4
== NULL
) SWIG_fail
;
14664 arg5
= (bool) SWIG_AsBool(obj4
);
14665 if (PyErr_Occurred()) SWIG_fail
;
14668 arg6
= (int) SWIG_AsInt(obj5
);
14669 if (PyErr_Occurred()) SWIG_fail
;
14672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14673 result
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
14675 wxPyEndAllowThreads(__tstate
);
14676 if (PyErr_Occurred()) SWIG_fail
;
14679 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14695 static PyObject
*_wrap_BookCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14696 PyObject
*resultobj
;
14697 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14700 PyObject
* obj0
= 0 ;
14701 PyObject
* obj1
= 0 ;
14702 char *kwnames
[] = {
14703 (char *) "self",(char *) "n", NULL
14706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
14707 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14709 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14710 if (PyErr_Occurred()) SWIG_fail
;
14712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14713 result
= (int)(arg1
)->SetSelection(arg2
);
14715 wxPyEndAllowThreads(__tstate
);
14716 if (PyErr_Occurred()) SWIG_fail
;
14718 resultobj
= SWIG_FromInt((int)result
);
14725 static PyObject
*_wrap_BookCtrl_AdvanceSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14726 PyObject
*resultobj
;
14727 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14728 bool arg2
= (bool) True
;
14729 PyObject
* obj0
= 0 ;
14730 PyObject
* obj1
= 0 ;
14731 char *kwnames
[] = {
14732 (char *) "self",(char *) "forward", NULL
14735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:BookCtrl_AdvanceSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
14736 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14739 arg2
= (bool) SWIG_AsBool(obj1
);
14740 if (PyErr_Occurred()) SWIG_fail
;
14743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14744 (arg1
)->AdvanceSelection(arg2
);
14746 wxPyEndAllowThreads(__tstate
);
14747 if (PyErr_Occurred()) SWIG_fail
;
14749 Py_INCREF(Py_None
); resultobj
= Py_None
;
14756 static PyObject
*_wrap_BookCtrl_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14757 PyObject
*resultobj
;
14758 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
14759 wxVisualAttributes result
;
14760 PyObject
* obj0
= 0 ;
14761 char *kwnames
[] = {
14762 (char *) "variant", NULL
14765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BookCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
14767 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
14768 if (PyErr_Occurred()) SWIG_fail
;
14771 if (!wxPyCheckForApp()) SWIG_fail
;
14772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14773 result
= wxBookCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
14775 wxPyEndAllowThreads(__tstate
);
14776 if (PyErr_Occurred()) SWIG_fail
;
14779 wxVisualAttributes
* resultptr
;
14780 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
14781 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
14789 static PyObject
* BookCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
14791 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14792 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrl
, obj
);
14794 return Py_BuildValue((char *)"");
14796 static PyObject
*_wrap_new_BookCtrlEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14797 PyObject
*resultobj
;
14798 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
14799 int arg2
= (int) 0 ;
14800 int arg3
= (int) -1 ;
14801 int arg4
= (int) -1 ;
14802 wxBookCtrlEvent
*result
;
14803 PyObject
* obj0
= 0 ;
14804 PyObject
* obj1
= 0 ;
14805 PyObject
* obj2
= 0 ;
14806 PyObject
* obj3
= 0 ;
14807 char *kwnames
[] = {
14808 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
14811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_BookCtrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14813 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
14814 if (PyErr_Occurred()) SWIG_fail
;
14817 arg2
= (int) SWIG_AsInt(obj1
);
14818 if (PyErr_Occurred()) SWIG_fail
;
14821 arg3
= (int) SWIG_AsInt(obj2
);
14822 if (PyErr_Occurred()) SWIG_fail
;
14825 arg4
= (int) SWIG_AsInt(obj3
);
14826 if (PyErr_Occurred()) SWIG_fail
;
14829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14830 result
= (wxBookCtrlEvent
*)new wxBookCtrlEvent(arg1
,arg2
,arg3
,arg4
);
14832 wxPyEndAllowThreads(__tstate
);
14833 if (PyErr_Occurred()) SWIG_fail
;
14835 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlEvent
, 1);
14842 static PyObject
*_wrap_BookCtrlEvent_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14843 PyObject
*resultobj
;
14844 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
14846 PyObject
* obj0
= 0 ;
14847 char *kwnames
[] = {
14848 (char *) "self", NULL
14851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
14852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
14853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14856 result
= (int)((wxBookCtrlEvent
const *)arg1
)->GetSelection();
14858 wxPyEndAllowThreads(__tstate
);
14859 if (PyErr_Occurred()) SWIG_fail
;
14861 resultobj
= SWIG_FromInt((int)result
);
14868 static PyObject
*_wrap_BookCtrlEvent_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14869 PyObject
*resultobj
;
14870 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
14872 PyObject
* obj0
= 0 ;
14873 PyObject
* obj1
= 0 ;
14874 char *kwnames
[] = {
14875 (char *) "self",(char *) "nSel", NULL
14878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlEvent_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
14879 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
14880 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14881 arg2
= (int) SWIG_AsInt(obj1
);
14882 if (PyErr_Occurred()) SWIG_fail
;
14884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14885 (arg1
)->SetSelection(arg2
);
14887 wxPyEndAllowThreads(__tstate
);
14888 if (PyErr_Occurred()) SWIG_fail
;
14890 Py_INCREF(Py_None
); resultobj
= Py_None
;
14897 static PyObject
*_wrap_BookCtrlEvent_GetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14898 PyObject
*resultobj
;
14899 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
14901 PyObject
* obj0
= 0 ;
14902 char *kwnames
[] = {
14903 (char *) "self", NULL
14906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlEvent_GetOldSelection",kwnames
,&obj0
)) goto fail
;
14907 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
14908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14911 result
= (int)((wxBookCtrlEvent
const *)arg1
)->GetOldSelection();
14913 wxPyEndAllowThreads(__tstate
);
14914 if (PyErr_Occurred()) SWIG_fail
;
14916 resultobj
= SWIG_FromInt((int)result
);
14923 static PyObject
*_wrap_BookCtrlEvent_SetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14924 PyObject
*resultobj
;
14925 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
14927 PyObject
* obj0
= 0 ;
14928 PyObject
* obj1
= 0 ;
14929 char *kwnames
[] = {
14930 (char *) "self",(char *) "nOldSel", NULL
14933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlEvent_SetOldSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
14934 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
14935 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14936 arg2
= (int) SWIG_AsInt(obj1
);
14937 if (PyErr_Occurred()) SWIG_fail
;
14939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14940 (arg1
)->SetOldSelection(arg2
);
14942 wxPyEndAllowThreads(__tstate
);
14943 if (PyErr_Occurred()) SWIG_fail
;
14945 Py_INCREF(Py_None
); resultobj
= Py_None
;
14952 static PyObject
* BookCtrlEvent_swigregister(PyObject
*self
, PyObject
*args
) {
14954 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14955 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlEvent
, obj
);
14957 return Py_BuildValue((char *)"");
14959 static PyObject
*_wrap_new_Notebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14960 PyObject
*resultobj
;
14961 wxWindow
*arg1
= (wxWindow
*) 0 ;
14962 int arg2
= (int) -1 ;
14963 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14964 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14965 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14966 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14967 long arg5
= (long) 0 ;
14968 wxString
const &arg6_defvalue
= wxPyNOTEBOOK_NAME
;
14969 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14970 wxNotebook
*result
;
14973 bool temp6
= False
;
14974 PyObject
* obj0
= 0 ;
14975 PyObject
* obj1
= 0 ;
14976 PyObject
* obj2
= 0 ;
14977 PyObject
* obj3
= 0 ;
14978 PyObject
* obj4
= 0 ;
14979 PyObject
* obj5
= 0 ;
14980 char *kwnames
[] = {
14981 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Notebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
14986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14988 arg2
= (int) SWIG_AsInt(obj1
);
14989 if (PyErr_Occurred()) SWIG_fail
;
14994 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15000 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15004 arg5
= (long) SWIG_AsLong(obj4
);
15005 if (PyErr_Occurred()) SWIG_fail
;
15009 arg6
= wxString_in_helper(obj5
);
15010 if (arg6
== NULL
) SWIG_fail
;
15015 if (!wxPyCheckForApp()) SWIG_fail
;
15016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15017 result
= (wxNotebook
*)new wxNotebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15019 wxPyEndAllowThreads(__tstate
);
15020 if (PyErr_Occurred()) SWIG_fail
;
15022 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebook
, 1);
15037 static PyObject
*_wrap_new_PreNotebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15038 PyObject
*resultobj
;
15039 wxNotebook
*result
;
15040 char *kwnames
[] = {
15044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreNotebook",kwnames
)) goto fail
;
15046 if (!wxPyCheckForApp()) SWIG_fail
;
15047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15048 result
= (wxNotebook
*)new wxNotebook();
15050 wxPyEndAllowThreads(__tstate
);
15051 if (PyErr_Occurred()) SWIG_fail
;
15053 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebook
, 1);
15060 static PyObject
*_wrap_Notebook_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15061 PyObject
*resultobj
;
15062 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15063 wxWindow
*arg2
= (wxWindow
*) 0 ;
15064 int arg3
= (int) -1 ;
15065 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15066 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15067 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15068 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15069 long arg6
= (long) 0 ;
15070 wxString
const &arg7_defvalue
= wxPyNOTEBOOK_NAME
;
15071 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15075 bool temp7
= False
;
15076 PyObject
* obj0
= 0 ;
15077 PyObject
* obj1
= 0 ;
15078 PyObject
* obj2
= 0 ;
15079 PyObject
* obj3
= 0 ;
15080 PyObject
* obj4
= 0 ;
15081 PyObject
* obj5
= 0 ;
15082 PyObject
* obj6
= 0 ;
15083 char *kwnames
[] = {
15084 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Notebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
15088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15090 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
15091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15093 arg3
= (int) SWIG_AsInt(obj2
);
15094 if (PyErr_Occurred()) SWIG_fail
;
15099 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15105 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15109 arg6
= (long) SWIG_AsLong(obj5
);
15110 if (PyErr_Occurred()) SWIG_fail
;
15114 arg7
= wxString_in_helper(obj6
);
15115 if (arg7
== NULL
) SWIG_fail
;
15120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15121 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
15123 wxPyEndAllowThreads(__tstate
);
15124 if (PyErr_Occurred()) SWIG_fail
;
15127 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15143 static PyObject
*_wrap_Notebook_GetRowCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15144 PyObject
*resultobj
;
15145 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15147 PyObject
* obj0
= 0 ;
15148 char *kwnames
[] = {
15149 (char *) "self", NULL
15152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Notebook_GetRowCount",kwnames
,&obj0
)) goto fail
;
15153 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15157 result
= (int)((wxNotebook
const *)arg1
)->GetRowCount();
15159 wxPyEndAllowThreads(__tstate
);
15160 if (PyErr_Occurred()) SWIG_fail
;
15162 resultobj
= SWIG_FromInt((int)result
);
15169 static PyObject
*_wrap_Notebook_SetPadding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15170 PyObject
*resultobj
;
15171 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15174 PyObject
* obj0
= 0 ;
15175 PyObject
* obj1
= 0 ;
15176 char *kwnames
[] = {
15177 (char *) "self",(char *) "padding", NULL
15180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetPadding",kwnames
,&obj0
,&obj1
)) goto fail
;
15181 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15185 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15189 (arg1
)->SetPadding((wxSize
const &)*arg2
);
15191 wxPyEndAllowThreads(__tstate
);
15192 if (PyErr_Occurred()) SWIG_fail
;
15194 Py_INCREF(Py_None
); resultobj
= Py_None
;
15201 static PyObject
*_wrap_Notebook_SetTabSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15202 PyObject
*resultobj
;
15203 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15206 PyObject
* obj0
= 0 ;
15207 PyObject
* obj1
= 0 ;
15208 char *kwnames
[] = {
15209 (char *) "self",(char *) "sz", NULL
15212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetTabSize",kwnames
,&obj0
,&obj1
)) goto fail
;
15213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15217 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15221 (arg1
)->SetTabSize((wxSize
const &)*arg2
);
15223 wxPyEndAllowThreads(__tstate
);
15224 if (PyErr_Occurred()) SWIG_fail
;
15226 Py_INCREF(Py_None
); resultobj
= Py_None
;
15233 static PyObject
*_wrap_Notebook_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15234 PyObject
*resultobj
;
15235 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15236 wxPoint
*arg2
= 0 ;
15237 long *arg3
= (long *) 0 ;
15241 PyObject
* obj0
= 0 ;
15242 PyObject
* obj1
= 0 ;
15243 char *kwnames
[] = {
15244 (char *) "self",(char *) "pt", NULL
15248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
15249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15253 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15257 result
= (int)((wxNotebook
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
15259 wxPyEndAllowThreads(__tstate
);
15260 if (PyErr_Occurred()) SWIG_fail
;
15262 resultobj
= SWIG_FromInt((int)result
);
15264 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15265 resultobj
= t_output_helper(resultobj
,o
);
15273 static PyObject
*_wrap_Notebook_CalcSizeFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15274 PyObject
*resultobj
;
15275 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15279 PyObject
* obj0
= 0 ;
15280 PyObject
* obj1
= 0 ;
15281 char *kwnames
[] = {
15282 (char *) "self",(char *) "sizePage", NULL
15285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
15286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15290 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15294 result
= ((wxNotebook
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
15296 wxPyEndAllowThreads(__tstate
);
15297 if (PyErr_Occurred()) SWIG_fail
;
15300 wxSize
* resultptr
;
15301 resultptr
= new wxSize((wxSize
&) result
);
15302 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15310 static PyObject
*_wrap_Notebook_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15311 PyObject
*resultobj
;
15312 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
15313 wxVisualAttributes result
;
15314 PyObject
* obj0
= 0 ;
15315 char *kwnames
[] = {
15316 (char *) "variant", NULL
15319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
15321 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
15322 if (PyErr_Occurred()) SWIG_fail
;
15325 if (!wxPyCheckForApp()) SWIG_fail
;
15326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15327 result
= wxNotebook::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
15329 wxPyEndAllowThreads(__tstate
);
15330 if (PyErr_Occurred()) SWIG_fail
;
15333 wxVisualAttributes
* resultptr
;
15334 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
15335 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
15343 static PyObject
* Notebook_swigregister(PyObject
*self
, PyObject
*args
) {
15345 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15346 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook
, obj
);
15348 return Py_BuildValue((char *)"");
15350 static PyObject
*_wrap_new_NotebookEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15351 PyObject
*resultobj
;
15352 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15353 int arg2
= (int) 0 ;
15354 int arg3
= (int) -1 ;
15355 int arg4
= (int) -1 ;
15356 wxNotebookEvent
*result
;
15357 PyObject
* obj0
= 0 ;
15358 PyObject
* obj1
= 0 ;
15359 PyObject
* obj2
= 0 ;
15360 PyObject
* obj3
= 0 ;
15361 char *kwnames
[] = {
15362 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
15365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_NotebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15367 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
15368 if (PyErr_Occurred()) SWIG_fail
;
15371 arg2
= (int) SWIG_AsInt(obj1
);
15372 if (PyErr_Occurred()) SWIG_fail
;
15375 arg3
= (int) SWIG_AsInt(obj2
);
15376 if (PyErr_Occurred()) SWIG_fail
;
15379 arg4
= (int) SWIG_AsInt(obj3
);
15380 if (PyErr_Occurred()) SWIG_fail
;
15383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15384 result
= (wxNotebookEvent
*)new wxNotebookEvent(arg1
,arg2
,arg3
,arg4
);
15386 wxPyEndAllowThreads(__tstate
);
15387 if (PyErr_Occurred()) SWIG_fail
;
15389 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebookEvent
, 1);
15396 static PyObject
* NotebookEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15398 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15399 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent
, obj
);
15401 return Py_BuildValue((char *)"");
15403 static PyObject
*_wrap_new_Listbook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15404 PyObject
*resultobj
;
15405 wxWindow
*arg1
= (wxWindow
*) 0 ;
15406 int arg2
= (int) -1 ;
15407 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15408 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15409 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15410 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15411 long arg5
= (long) 0 ;
15412 wxString
const &arg6_defvalue
= wxPyEmptyString
;
15413 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15414 wxListbook
*result
;
15417 bool temp6
= False
;
15418 PyObject
* obj0
= 0 ;
15419 PyObject
* obj1
= 0 ;
15420 PyObject
* obj2
= 0 ;
15421 PyObject
* obj3
= 0 ;
15422 PyObject
* obj4
= 0 ;
15423 PyObject
* obj5
= 0 ;
15424 char *kwnames
[] = {
15425 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Listbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15429 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15432 arg2
= (int) SWIG_AsInt(obj1
);
15433 if (PyErr_Occurred()) SWIG_fail
;
15438 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15444 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15448 arg5
= (long) SWIG_AsLong(obj4
);
15449 if (PyErr_Occurred()) SWIG_fail
;
15453 arg6
= wxString_in_helper(obj5
);
15454 if (arg6
== NULL
) SWIG_fail
;
15459 if (!wxPyCheckForApp()) SWIG_fail
;
15460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15461 result
= (wxListbook
*)new wxListbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15463 wxPyEndAllowThreads(__tstate
);
15464 if (PyErr_Occurred()) SWIG_fail
;
15466 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1);
15481 static PyObject
*_wrap_new_PreListbook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15482 PyObject
*resultobj
;
15483 wxListbook
*result
;
15484 char *kwnames
[] = {
15488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListbook",kwnames
)) goto fail
;
15490 if (!wxPyCheckForApp()) SWIG_fail
;
15491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15492 result
= (wxListbook
*)new wxListbook();
15494 wxPyEndAllowThreads(__tstate
);
15495 if (PyErr_Occurred()) SWIG_fail
;
15497 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1);
15504 static PyObject
*_wrap_Listbook_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15505 PyObject
*resultobj
;
15506 wxListbook
*arg1
= (wxListbook
*) 0 ;
15507 wxWindow
*arg2
= (wxWindow
*) 0 ;
15508 int arg3
= (int) -1 ;
15509 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15510 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15511 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15512 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15513 long arg6
= (long) 0 ;
15514 wxString
const &arg7_defvalue
= wxPyEmptyString
;
15515 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15519 bool temp7
= False
;
15520 PyObject
* obj0
= 0 ;
15521 PyObject
* obj1
= 0 ;
15522 PyObject
* obj2
= 0 ;
15523 PyObject
* obj3
= 0 ;
15524 PyObject
* obj4
= 0 ;
15525 PyObject
* obj5
= 0 ;
15526 PyObject
* obj6
= 0 ;
15527 char *kwnames
[] = {
15528 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Listbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
15532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListbook
,
15533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15534 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
15535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15537 arg3
= (int) SWIG_AsInt(obj2
);
15538 if (PyErr_Occurred()) SWIG_fail
;
15543 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15549 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15553 arg6
= (long) SWIG_AsLong(obj5
);
15554 if (PyErr_Occurred()) SWIG_fail
;
15558 arg7
= wxString_in_helper(obj6
);
15559 if (arg7
== NULL
) SWIG_fail
;
15564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15565 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
15567 wxPyEndAllowThreads(__tstate
);
15568 if (PyErr_Occurred()) SWIG_fail
;
15571 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15587 static PyObject
*_wrap_Listbook_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15588 PyObject
*resultobj
;
15589 wxListbook
*arg1
= (wxListbook
*) 0 ;
15591 PyObject
* obj0
= 0 ;
15592 char *kwnames
[] = {
15593 (char *) "self", NULL
15596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Listbook_IsVertical",kwnames
,&obj0
)) goto fail
;
15597 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListbook
,
15598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15601 result
= (bool)((wxListbook
const *)arg1
)->IsVertical();
15603 wxPyEndAllowThreads(__tstate
);
15604 if (PyErr_Occurred()) SWIG_fail
;
15607 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15615 static PyObject
* Listbook_swigregister(PyObject
*self
, PyObject
*args
) {
15617 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15618 SWIG_TypeClientData(SWIGTYPE_p_wxListbook
, obj
);
15620 return Py_BuildValue((char *)"");
15622 static PyObject
*_wrap_new_ListbookEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15623 PyObject
*resultobj
;
15624 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15625 int arg2
= (int) 0 ;
15626 int arg3
= (int) -1 ;
15627 int arg4
= (int) -1 ;
15628 wxListbookEvent
*result
;
15629 PyObject
* obj0
= 0 ;
15630 PyObject
* obj1
= 0 ;
15631 PyObject
* obj2
= 0 ;
15632 PyObject
* obj3
= 0 ;
15633 char *kwnames
[] = {
15634 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
15637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ListbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15639 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
15640 if (PyErr_Occurred()) SWIG_fail
;
15643 arg2
= (int) SWIG_AsInt(obj1
);
15644 if (PyErr_Occurred()) SWIG_fail
;
15647 arg3
= (int) SWIG_AsInt(obj2
);
15648 if (PyErr_Occurred()) SWIG_fail
;
15651 arg4
= (int) SWIG_AsInt(obj3
);
15652 if (PyErr_Occurred()) SWIG_fail
;
15655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15656 result
= (wxListbookEvent
*)new wxListbookEvent(arg1
,arg2
,arg3
,arg4
);
15658 wxPyEndAllowThreads(__tstate
);
15659 if (PyErr_Occurred()) SWIG_fail
;
15661 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbookEvent
, 1);
15668 static PyObject
* ListbookEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15670 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15671 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent
, obj
);
15673 return Py_BuildValue((char *)"");
15675 static PyObject
*_wrap_new_BookCtrlSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15676 PyObject
*resultobj
;
15677 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
15678 wxBookCtrlSizer
*result
;
15679 PyObject
* obj0
= 0 ;
15680 char *kwnames
[] = {
15681 (char *) "nb", NULL
15684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BookCtrlSizer",kwnames
,&obj0
)) goto fail
;
15685 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
15686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15689 result
= (wxBookCtrlSizer
*)new wxBookCtrlSizer(arg1
);
15691 wxPyEndAllowThreads(__tstate
);
15692 if (PyErr_Occurred()) SWIG_fail
;
15694 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlSizer
, 1);
15701 static PyObject
*_wrap_BookCtrlSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15702 PyObject
*resultobj
;
15703 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
15704 PyObject
* obj0
= 0 ;
15705 char *kwnames
[] = {
15706 (char *) "self", NULL
15709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
15710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlSizer
,
15711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15714 (arg1
)->RecalcSizes();
15716 wxPyEndAllowThreads(__tstate
);
15717 if (PyErr_Occurred()) SWIG_fail
;
15719 Py_INCREF(Py_None
); resultobj
= Py_None
;
15726 static PyObject
*_wrap_BookCtrlSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15727 PyObject
*resultobj
;
15728 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
15730 PyObject
* obj0
= 0 ;
15731 char *kwnames
[] = {
15732 (char *) "self", NULL
15735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
15736 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlSizer
,
15737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15740 result
= (arg1
)->CalcMin();
15742 wxPyEndAllowThreads(__tstate
);
15743 if (PyErr_Occurred()) SWIG_fail
;
15746 wxSize
* resultptr
;
15747 resultptr
= new wxSize((wxSize
&) result
);
15748 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15756 static PyObject
*_wrap_BookCtrlSizer_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15757 PyObject
*resultobj
;
15758 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
15759 wxBookCtrl
*result
;
15760 PyObject
* obj0
= 0 ;
15761 char *kwnames
[] = {
15762 (char *) "self", NULL
15765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_GetControl",kwnames
,&obj0
)) goto fail
;
15766 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlSizer
,
15767 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15770 result
= (wxBookCtrl
*)(arg1
)->GetControl();
15772 wxPyEndAllowThreads(__tstate
);
15773 if (PyErr_Occurred()) SWIG_fail
;
15775 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrl
, 0);
15782 static PyObject
* BookCtrlSizer_swigregister(PyObject
*self
, PyObject
*args
) {
15784 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15785 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer
, obj
);
15787 return Py_BuildValue((char *)"");
15789 static PyObject
*_wrap_new_NotebookSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15790 PyObject
*resultobj
;
15791 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15792 wxNotebookSizer
*result
;
15793 PyObject
* obj0
= 0 ;
15794 char *kwnames
[] = {
15795 (char *) "nb", NULL
15798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NotebookSizer",kwnames
,&obj0
)) goto fail
;
15799 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15803 result
= (wxNotebookSizer
*)new wxNotebookSizer(arg1
);
15805 wxPyEndAllowThreads(__tstate
);
15806 if (PyErr_Occurred()) SWIG_fail
;
15808 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebookSizer
, 1);
15815 static PyObject
*_wrap_NotebookSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15816 PyObject
*resultobj
;
15817 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
15818 PyObject
* obj0
= 0 ;
15819 char *kwnames
[] = {
15820 (char *) "self", NULL
15823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
15824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebookSizer
,
15825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15828 (arg1
)->RecalcSizes();
15830 wxPyEndAllowThreads(__tstate
);
15831 if (PyErr_Occurred()) SWIG_fail
;
15833 Py_INCREF(Py_None
); resultobj
= Py_None
;
15840 static PyObject
*_wrap_NotebookSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15841 PyObject
*resultobj
;
15842 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
15844 PyObject
* obj0
= 0 ;
15845 char *kwnames
[] = {
15846 (char *) "self", NULL
15849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
15850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebookSizer
,
15851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15854 result
= (arg1
)->CalcMin();
15856 wxPyEndAllowThreads(__tstate
);
15857 if (PyErr_Occurred()) SWIG_fail
;
15860 wxSize
* resultptr
;
15861 resultptr
= new wxSize((wxSize
&) result
);
15862 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15870 static PyObject
*_wrap_NotebookSizer_GetNotebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15871 PyObject
*resultobj
;
15872 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
15873 wxNotebook
*result
;
15874 PyObject
* obj0
= 0 ;
15875 char *kwnames
[] = {
15876 (char *) "self", NULL
15879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_GetNotebook",kwnames
,&obj0
)) goto fail
;
15880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebookSizer
,
15881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15884 result
= (wxNotebook
*)(arg1
)->GetNotebook();
15886 wxPyEndAllowThreads(__tstate
);
15887 if (PyErr_Occurred()) SWIG_fail
;
15890 resultobj
= wxPyMake_wxObject(result
, 0);
15898 static PyObject
* NotebookSizer_swigregister(PyObject
*self
, PyObject
*args
) {
15900 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15901 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer
, obj
);
15903 return Py_BuildValue((char *)"");
15905 static PyObject
*_wrap_ToolBarToolBase_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15906 PyObject
*resultobj
;
15907 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15909 PyObject
* obj0
= 0 ;
15910 char *kwnames
[] = {
15911 (char *) "self", NULL
15914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetId",kwnames
,&obj0
)) goto fail
;
15915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15919 result
= (int)(arg1
)->GetId();
15921 wxPyEndAllowThreads(__tstate
);
15922 if (PyErr_Occurred()) SWIG_fail
;
15924 resultobj
= SWIG_FromInt((int)result
);
15931 static PyObject
*_wrap_ToolBarToolBase_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15932 PyObject
*resultobj
;
15933 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15935 PyObject
* obj0
= 0 ;
15936 char *kwnames
[] = {
15937 (char *) "self", NULL
15940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetControl",kwnames
,&obj0
)) goto fail
;
15941 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15945 result
= (wxControl
*)(arg1
)->GetControl();
15947 wxPyEndAllowThreads(__tstate
);
15948 if (PyErr_Occurred()) SWIG_fail
;
15951 resultobj
= wxPyMake_wxObject(result
, 0);
15959 static PyObject
*_wrap_ToolBarToolBase_GetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15960 PyObject
*resultobj
;
15961 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15962 wxToolBarBase
*result
;
15963 PyObject
* obj0
= 0 ;
15964 char *kwnames
[] = {
15965 (char *) "self", NULL
15968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetToolBar",kwnames
,&obj0
)) goto fail
;
15969 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15973 result
= (wxToolBarBase
*)(arg1
)->GetToolBar();
15975 wxPyEndAllowThreads(__tstate
);
15976 if (PyErr_Occurred()) SWIG_fail
;
15979 resultobj
= wxPyMake_wxObject(result
, 0);
15987 static PyObject
*_wrap_ToolBarToolBase_IsButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15988 PyObject
*resultobj
;
15989 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15991 PyObject
* obj0
= 0 ;
15992 char *kwnames
[] = {
15993 (char *) "self", NULL
15996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsButton",kwnames
,&obj0
)) goto fail
;
15997 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16001 result
= (int)(arg1
)->IsButton();
16003 wxPyEndAllowThreads(__tstate
);
16004 if (PyErr_Occurred()) SWIG_fail
;
16006 resultobj
= SWIG_FromInt((int)result
);
16013 static PyObject
*_wrap_ToolBarToolBase_IsControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16014 PyObject
*resultobj
;
16015 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16017 PyObject
* obj0
= 0 ;
16018 char *kwnames
[] = {
16019 (char *) "self", NULL
16022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsControl",kwnames
,&obj0
)) goto fail
;
16023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16027 result
= (int)(arg1
)->IsControl();
16029 wxPyEndAllowThreads(__tstate
);
16030 if (PyErr_Occurred()) SWIG_fail
;
16032 resultobj
= SWIG_FromInt((int)result
);
16039 static PyObject
*_wrap_ToolBarToolBase_IsSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16040 PyObject
*resultobj
;
16041 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16043 PyObject
* obj0
= 0 ;
16044 char *kwnames
[] = {
16045 (char *) "self", NULL
16048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsSeparator",kwnames
,&obj0
)) goto fail
;
16049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16053 result
= (int)(arg1
)->IsSeparator();
16055 wxPyEndAllowThreads(__tstate
);
16056 if (PyErr_Occurred()) SWIG_fail
;
16058 resultobj
= SWIG_FromInt((int)result
);
16065 static PyObject
*_wrap_ToolBarToolBase_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16066 PyObject
*resultobj
;
16067 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16069 PyObject
* obj0
= 0 ;
16070 char *kwnames
[] = {
16071 (char *) "self", NULL
16074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetStyle",kwnames
,&obj0
)) goto fail
;
16075 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16079 result
= (int)(arg1
)->GetStyle();
16081 wxPyEndAllowThreads(__tstate
);
16082 if (PyErr_Occurred()) SWIG_fail
;
16084 resultobj
= SWIG_FromInt((int)result
);
16091 static PyObject
*_wrap_ToolBarToolBase_GetKind(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16092 PyObject
*resultobj
;
16093 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16095 PyObject
* obj0
= 0 ;
16096 char *kwnames
[] = {
16097 (char *) "self", NULL
16100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetKind",kwnames
,&obj0
)) goto fail
;
16101 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16105 result
= (int)(arg1
)->GetKind();
16107 wxPyEndAllowThreads(__tstate
);
16108 if (PyErr_Occurred()) SWIG_fail
;
16110 resultobj
= SWIG_FromInt((int)result
);
16117 static PyObject
*_wrap_ToolBarToolBase_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16118 PyObject
*resultobj
;
16119 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16121 PyObject
* obj0
= 0 ;
16122 char *kwnames
[] = {
16123 (char *) "self", NULL
16126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsEnabled",kwnames
,&obj0
)) goto fail
;
16127 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16131 result
= (bool)(arg1
)->IsEnabled();
16133 wxPyEndAllowThreads(__tstate
);
16134 if (PyErr_Occurred()) SWIG_fail
;
16137 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16145 static PyObject
*_wrap_ToolBarToolBase_IsToggled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16146 PyObject
*resultobj
;
16147 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16149 PyObject
* obj0
= 0 ;
16150 char *kwnames
[] = {
16151 (char *) "self", NULL
16154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsToggled",kwnames
,&obj0
)) goto fail
;
16155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16159 result
= (bool)(arg1
)->IsToggled();
16161 wxPyEndAllowThreads(__tstate
);
16162 if (PyErr_Occurred()) SWIG_fail
;
16165 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16173 static PyObject
*_wrap_ToolBarToolBase_CanBeToggled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16174 PyObject
*resultobj
;
16175 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16177 PyObject
* obj0
= 0 ;
16178 char *kwnames
[] = {
16179 (char *) "self", NULL
16182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames
,&obj0
)) goto fail
;
16183 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16184 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16187 result
= (bool)(arg1
)->CanBeToggled();
16189 wxPyEndAllowThreads(__tstate
);
16190 if (PyErr_Occurred()) SWIG_fail
;
16193 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16201 static PyObject
*_wrap_ToolBarToolBase_GetNormalBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16202 PyObject
*resultobj
;
16203 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16205 PyObject
* obj0
= 0 ;
16206 char *kwnames
[] = {
16207 (char *) "self", NULL
16210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames
,&obj0
)) goto fail
;
16211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16216 wxBitmap
const &_result_ref
= (arg1
)->GetNormalBitmap();
16217 result
= (wxBitmap
*) &_result_ref
;
16220 wxPyEndAllowThreads(__tstate
);
16221 if (PyErr_Occurred()) SWIG_fail
;
16224 wxBitmap
* resultptr
= new wxBitmap(*result
);
16225 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
16233 static PyObject
*_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16234 PyObject
*resultobj
;
16235 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16237 PyObject
* obj0
= 0 ;
16238 char *kwnames
[] = {
16239 (char *) "self", NULL
16242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
;
16243 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16248 wxBitmap
const &_result_ref
= (arg1
)->GetDisabledBitmap();
16249 result
= (wxBitmap
*) &_result_ref
;
16252 wxPyEndAllowThreads(__tstate
);
16253 if (PyErr_Occurred()) SWIG_fail
;
16256 wxBitmap
* resultptr
= new wxBitmap(*result
);
16257 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
16265 static PyObject
*_wrap_ToolBarToolBase_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16266 PyObject
*resultobj
;
16267 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16269 PyObject
* obj0
= 0 ;
16270 char *kwnames
[] = {
16271 (char *) "self", NULL
16274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetBitmap",kwnames
,&obj0
)) goto fail
;
16275 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16279 result
= (arg1
)->GetBitmap();
16281 wxPyEndAllowThreads(__tstate
);
16282 if (PyErr_Occurred()) SWIG_fail
;
16285 wxBitmap
* resultptr
;
16286 resultptr
= new wxBitmap((wxBitmap
&) result
);
16287 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
16295 static PyObject
*_wrap_ToolBarToolBase_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16296 PyObject
*resultobj
;
16297 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16299 PyObject
* obj0
= 0 ;
16300 char *kwnames
[] = {
16301 (char *) "self", NULL
16304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLabel",kwnames
,&obj0
)) goto fail
;
16305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16309 result
= (arg1
)->GetLabel();
16311 wxPyEndAllowThreads(__tstate
);
16312 if (PyErr_Occurred()) SWIG_fail
;
16316 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16318 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16327 static PyObject
*_wrap_ToolBarToolBase_GetShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16328 PyObject
*resultobj
;
16329 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16331 PyObject
* obj0
= 0 ;
16332 char *kwnames
[] = {
16333 (char *) "self", NULL
16336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames
,&obj0
)) goto fail
;
16337 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16341 result
= (arg1
)->GetShortHelp();
16343 wxPyEndAllowThreads(__tstate
);
16344 if (PyErr_Occurred()) SWIG_fail
;
16348 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16350 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16359 static PyObject
*_wrap_ToolBarToolBase_GetLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16360 PyObject
*resultobj
;
16361 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16363 PyObject
* obj0
= 0 ;
16364 char *kwnames
[] = {
16365 (char *) "self", NULL
16368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames
,&obj0
)) goto fail
;
16369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16373 result
= (arg1
)->GetLongHelp();
16375 wxPyEndAllowThreads(__tstate
);
16376 if (PyErr_Occurred()) SWIG_fail
;
16380 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16382 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16391 static PyObject
*_wrap_ToolBarToolBase_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16392 PyObject
*resultobj
;
16393 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16396 PyObject
* obj0
= 0 ;
16397 PyObject
* obj1
= 0 ;
16398 char *kwnames
[] = {
16399 (char *) "self",(char *) "enable", NULL
16402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
16403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16405 arg2
= (bool) SWIG_AsBool(obj1
);
16406 if (PyErr_Occurred()) SWIG_fail
;
16408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16409 result
= (bool)(arg1
)->Enable(arg2
);
16411 wxPyEndAllowThreads(__tstate
);
16412 if (PyErr_Occurred()) SWIG_fail
;
16415 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16423 static PyObject
*_wrap_ToolBarToolBase_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16424 PyObject
*resultobj
;
16425 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16426 PyObject
* obj0
= 0 ;
16427 char *kwnames
[] = {
16428 (char *) "self", NULL
16431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Toggle",kwnames
,&obj0
)) goto fail
;
16432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16438 wxPyEndAllowThreads(__tstate
);
16439 if (PyErr_Occurred()) SWIG_fail
;
16441 Py_INCREF(Py_None
); resultobj
= Py_None
;
16448 static PyObject
*_wrap_ToolBarToolBase_SetToggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16449 PyObject
*resultobj
;
16450 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16453 PyObject
* obj0
= 0 ;
16454 PyObject
* obj1
= 0 ;
16455 char *kwnames
[] = {
16456 (char *) "self",(char *) "toggle", NULL
16459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetToggle",kwnames
,&obj0
,&obj1
)) goto fail
;
16460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16462 arg2
= (bool) SWIG_AsBool(obj1
);
16463 if (PyErr_Occurred()) SWIG_fail
;
16465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16466 result
= (bool)(arg1
)->SetToggle(arg2
);
16468 wxPyEndAllowThreads(__tstate
);
16469 if (PyErr_Occurred()) SWIG_fail
;
16472 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16480 static PyObject
*_wrap_ToolBarToolBase_SetShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16481 PyObject
*resultobj
;
16482 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16483 wxString
*arg2
= 0 ;
16485 bool temp2
= False
;
16486 PyObject
* obj0
= 0 ;
16487 PyObject
* obj1
= 0 ;
16488 char *kwnames
[] = {
16489 (char *) "self",(char *) "help", NULL
16492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
16493 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16496 arg2
= wxString_in_helper(obj1
);
16497 if (arg2
== NULL
) SWIG_fail
;
16501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16502 result
= (bool)(arg1
)->SetShortHelp((wxString
const &)*arg2
);
16504 wxPyEndAllowThreads(__tstate
);
16505 if (PyErr_Occurred()) SWIG_fail
;
16508 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16524 static PyObject
*_wrap_ToolBarToolBase_SetLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16525 PyObject
*resultobj
;
16526 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16527 wxString
*arg2
= 0 ;
16529 bool temp2
= False
;
16530 PyObject
* obj0
= 0 ;
16531 PyObject
* obj1
= 0 ;
16532 char *kwnames
[] = {
16533 (char *) "self",(char *) "help", NULL
16536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
16537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16540 arg2
= wxString_in_helper(obj1
);
16541 if (arg2
== NULL
) SWIG_fail
;
16545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16546 result
= (bool)(arg1
)->SetLongHelp((wxString
const &)*arg2
);
16548 wxPyEndAllowThreads(__tstate
);
16549 if (PyErr_Occurred()) SWIG_fail
;
16552 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16568 static PyObject
*_wrap_ToolBarToolBase_SetNormalBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16569 PyObject
*resultobj
;
16570 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16571 wxBitmap
*arg2
= 0 ;
16572 PyObject
* obj0
= 0 ;
16573 PyObject
* obj1
= 0 ;
16574 char *kwnames
[] = {
16575 (char *) "self",(char *) "bmp", NULL
16578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
16579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16581 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
16582 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16584 if (arg2
== NULL
) {
16585 PyErr_SetString(PyExc_TypeError
,"null reference");
16589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16590 (arg1
)->SetNormalBitmap((wxBitmap
const &)*arg2
);
16592 wxPyEndAllowThreads(__tstate
);
16593 if (PyErr_Occurred()) SWIG_fail
;
16595 Py_INCREF(Py_None
); resultobj
= Py_None
;
16602 static PyObject
*_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16603 PyObject
*resultobj
;
16604 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16605 wxBitmap
*arg2
= 0 ;
16606 PyObject
* obj0
= 0 ;
16607 PyObject
* obj1
= 0 ;
16608 char *kwnames
[] = {
16609 (char *) "self",(char *) "bmp", NULL
16612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
16613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16615 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
16616 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16618 if (arg2
== NULL
) {
16619 PyErr_SetString(PyExc_TypeError
,"null reference");
16623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16624 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
16626 wxPyEndAllowThreads(__tstate
);
16627 if (PyErr_Occurred()) SWIG_fail
;
16629 Py_INCREF(Py_None
); resultobj
= Py_None
;
16636 static PyObject
*_wrap_ToolBarToolBase_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16637 PyObject
*resultobj
;
16638 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16639 wxString
*arg2
= 0 ;
16640 bool temp2
= False
;
16641 PyObject
* obj0
= 0 ;
16642 PyObject
* obj1
= 0 ;
16643 char *kwnames
[] = {
16644 (char *) "self",(char *) "label", NULL
16647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
16648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16651 arg2
= wxString_in_helper(obj1
);
16652 if (arg2
== NULL
) SWIG_fail
;
16656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16657 (arg1
)->SetLabel((wxString
const &)*arg2
);
16659 wxPyEndAllowThreads(__tstate
);
16660 if (PyErr_Occurred()) SWIG_fail
;
16662 Py_INCREF(Py_None
); resultobj
= Py_None
;
16677 static PyObject
*_wrap_ToolBarToolBase_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16678 PyObject
*resultobj
;
16679 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16680 PyObject
* obj0
= 0 ;
16681 char *kwnames
[] = {
16682 (char *) "self", NULL
16685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Detach",kwnames
,&obj0
)) goto fail
;
16686 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16687 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16692 wxPyEndAllowThreads(__tstate
);
16693 if (PyErr_Occurred()) SWIG_fail
;
16695 Py_INCREF(Py_None
); resultobj
= Py_None
;
16702 static PyObject
*_wrap_ToolBarToolBase_Attach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16703 PyObject
*resultobj
;
16704 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16705 wxToolBarBase
*arg2
= (wxToolBarBase
*) 0 ;
16706 PyObject
* obj0
= 0 ;
16707 PyObject
* obj1
= 0 ;
16708 char *kwnames
[] = {
16709 (char *) "self",(char *) "tbar", NULL
16712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
16713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16715 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBarBase
,
16716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16719 (arg1
)->Attach(arg2
);
16721 wxPyEndAllowThreads(__tstate
);
16722 if (PyErr_Occurred()) SWIG_fail
;
16724 Py_INCREF(Py_None
); resultobj
= Py_None
;
16731 static PyObject
*_wrap_ToolBarToolBase_GetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16732 PyObject
*resultobj
;
16733 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16735 PyObject
* obj0
= 0 ;
16736 char *kwnames
[] = {
16737 (char *) "self", NULL
16740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetClientData",kwnames
,&obj0
)) goto fail
;
16741 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16745 result
= (PyObject
*)wxToolBarToolBase_GetClientData(arg1
);
16747 wxPyEndAllowThreads(__tstate
);
16748 if (PyErr_Occurred()) SWIG_fail
;
16750 resultobj
= result
;
16757 static PyObject
*_wrap_ToolBarToolBase_SetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16758 PyObject
*resultobj
;
16759 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16760 PyObject
*arg2
= (PyObject
*) 0 ;
16761 PyObject
* obj0
= 0 ;
16762 PyObject
* obj1
= 0 ;
16763 char *kwnames
[] = {
16764 (char *) "self",(char *) "clientData", NULL
16767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
16768 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16773 wxToolBarToolBase_SetClientData(arg1
,arg2
);
16775 wxPyEndAllowThreads(__tstate
);
16776 if (PyErr_Occurred()) SWIG_fail
;
16778 Py_INCREF(Py_None
); resultobj
= Py_None
;
16785 static PyObject
* ToolBarToolBase_swigregister(PyObject
*self
, PyObject
*args
) {
16787 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16788 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase
, obj
);
16790 return Py_BuildValue((char *)"");
16792 static PyObject
*_wrap_ToolBarBase_DoAddTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16793 PyObject
*resultobj
;
16794 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16796 wxString
*arg3
= 0 ;
16797 wxBitmap
*arg4
= 0 ;
16798 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
16799 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
16800 int arg6
= (int) wxITEM_NORMAL
;
16801 wxString
const &arg7_defvalue
= wxPyEmptyString
;
16802 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
16803 wxString
const &arg8_defvalue
= wxPyEmptyString
;
16804 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
16805 PyObject
*arg9
= (PyObject
*) NULL
;
16806 wxToolBarToolBase
*result
;
16807 bool temp3
= False
;
16808 bool temp7
= False
;
16809 bool temp8
= False
;
16810 PyObject
* obj0
= 0 ;
16811 PyObject
* obj1
= 0 ;
16812 PyObject
* obj2
= 0 ;
16813 PyObject
* obj3
= 0 ;
16814 PyObject
* obj4
= 0 ;
16815 PyObject
* obj5
= 0 ;
16816 PyObject
* obj6
= 0 ;
16817 PyObject
* obj7
= 0 ;
16818 PyObject
* obj8
= 0 ;
16819 char *kwnames
[] = {
16820 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
16823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
16824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16826 arg2
= (int) SWIG_AsInt(obj1
);
16827 if (PyErr_Occurred()) SWIG_fail
;
16829 arg3
= wxString_in_helper(obj2
);
16830 if (arg3
== NULL
) SWIG_fail
;
16833 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
16834 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16836 if (arg4
== NULL
) {
16837 PyErr_SetString(PyExc_TypeError
,"null reference");
16841 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxBitmap
,
16842 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16844 if (arg5
== NULL
) {
16845 PyErr_SetString(PyExc_TypeError
,"null reference");
16850 arg6
= (wxItemKind
) SWIG_AsInt(obj5
);
16851 if (PyErr_Occurred()) SWIG_fail
;
16855 arg7
= wxString_in_helper(obj6
);
16856 if (arg7
== NULL
) SWIG_fail
;
16862 arg8
= wxString_in_helper(obj7
);
16863 if (arg8
== NULL
) SWIG_fail
;
16871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16872 result
= (wxToolBarToolBase
*)wxToolBarBase_DoAddTool(arg1
,arg2
,(wxString
const &)*arg3
,(wxBitmap
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxItemKind
)arg6
,(wxString
const &)*arg7
,(wxString
const &)*arg8
,arg9
);
16874 wxPyEndAllowThreads(__tstate
);
16875 if (PyErr_Occurred()) SWIG_fail
;
16878 resultobj
= wxPyMake_wxObject(result
, 0);
16910 static PyObject
*_wrap_ToolBarBase_DoInsertTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16911 PyObject
*resultobj
;
16912 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16915 wxString
*arg4
= 0 ;
16916 wxBitmap
*arg5
= 0 ;
16917 wxBitmap
const &arg6_defvalue
= wxNullBitmap
;
16918 wxBitmap
*arg6
= (wxBitmap
*) &arg6_defvalue
;
16919 int arg7
= (int) wxITEM_NORMAL
;
16920 wxString
const &arg8_defvalue
= wxPyEmptyString
;
16921 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
16922 wxString
const &arg9_defvalue
= wxPyEmptyString
;
16923 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
16924 PyObject
*arg10
= (PyObject
*) NULL
;
16925 wxToolBarToolBase
*result
;
16926 bool temp4
= False
;
16927 bool temp8
= False
;
16928 bool temp9
= False
;
16929 PyObject
* obj0
= 0 ;
16930 PyObject
* obj1
= 0 ;
16931 PyObject
* obj2
= 0 ;
16932 PyObject
* obj3
= 0 ;
16933 PyObject
* obj4
= 0 ;
16934 PyObject
* obj5
= 0 ;
16935 PyObject
* obj6
= 0 ;
16936 PyObject
* obj7
= 0 ;
16937 PyObject
* obj8
= 0 ;
16938 PyObject
* obj9
= 0 ;
16939 char *kwnames
[] = {
16940 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
16943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
16944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16946 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
16947 if (PyErr_Occurred()) SWIG_fail
;
16948 arg3
= (int) SWIG_AsInt(obj2
);
16949 if (PyErr_Occurred()) SWIG_fail
;
16951 arg4
= wxString_in_helper(obj3
);
16952 if (arg4
== NULL
) SWIG_fail
;
16955 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxBitmap
,
16956 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16958 if (arg5
== NULL
) {
16959 PyErr_SetString(PyExc_TypeError
,"null reference");
16963 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxBitmap
,
16964 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16966 if (arg6
== NULL
) {
16967 PyErr_SetString(PyExc_TypeError
,"null reference");
16972 arg7
= (wxItemKind
) SWIG_AsInt(obj6
);
16973 if (PyErr_Occurred()) SWIG_fail
;
16977 arg8
= wxString_in_helper(obj7
);
16978 if (arg8
== NULL
) SWIG_fail
;
16984 arg9
= wxString_in_helper(obj8
);
16985 if (arg9
== NULL
) SWIG_fail
;
16993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16994 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
);
16996 wxPyEndAllowThreads(__tstate
);
16997 if (PyErr_Occurred()) SWIG_fail
;
17000 resultobj
= wxPyMake_wxObject(result
, 0);
17032 static PyObject
*_wrap_ToolBarBase_AddToolItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17033 PyObject
*resultobj
;
17034 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17035 wxToolBarToolBase
*arg2
= (wxToolBarToolBase
*) 0 ;
17036 wxToolBarToolBase
*result
;
17037 PyObject
* obj0
= 0 ;
17038 PyObject
* obj1
= 0 ;
17039 char *kwnames
[] = {
17040 (char *) "self",(char *) "tool", NULL
17043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddToolItem",kwnames
,&obj0
,&obj1
)) goto fail
;
17044 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17046 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBarToolBase
,
17047 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17050 result
= (wxToolBarToolBase
*)(arg1
)->AddTool(arg2
);
17052 wxPyEndAllowThreads(__tstate
);
17053 if (PyErr_Occurred()) SWIG_fail
;
17056 resultobj
= wxPyMake_wxObject(result
, 0);
17064 static PyObject
*_wrap_ToolBarBase_InsertToolItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17065 PyObject
*resultobj
;
17066 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17068 wxToolBarToolBase
*arg3
= (wxToolBarToolBase
*) 0 ;
17069 wxToolBarToolBase
*result
;
17070 PyObject
* obj0
= 0 ;
17071 PyObject
* obj1
= 0 ;
17072 PyObject
* obj2
= 0 ;
17073 char *kwnames
[] = {
17074 (char *) "self",(char *) "pos",(char *) "tool", NULL
17077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17078 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17079 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17080 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
17081 if (PyErr_Occurred()) SWIG_fail
;
17082 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxToolBarToolBase
,
17083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17086 result
= (wxToolBarToolBase
*)(arg1
)->InsertTool(arg2
,arg3
);
17088 wxPyEndAllowThreads(__tstate
);
17089 if (PyErr_Occurred()) SWIG_fail
;
17092 resultobj
= wxPyMake_wxObject(result
, 0);
17100 static PyObject
*_wrap_ToolBarBase_AddControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17101 PyObject
*resultobj
;
17102 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17103 wxControl
*arg2
= (wxControl
*) 0 ;
17104 wxToolBarToolBase
*result
;
17105 PyObject
* obj0
= 0 ;
17106 PyObject
* obj1
= 0 ;
17107 char *kwnames
[] = {
17108 (char *) "self",(char *) "control", NULL
17111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddControl",kwnames
,&obj0
,&obj1
)) goto fail
;
17112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17114 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxControl
,
17115 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17118 result
= (wxToolBarToolBase
*)(arg1
)->AddControl(arg2
);
17120 wxPyEndAllowThreads(__tstate
);
17121 if (PyErr_Occurred()) SWIG_fail
;
17124 resultobj
= wxPyMake_wxObject(result
, 0);
17132 static PyObject
*_wrap_ToolBarBase_InsertControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17133 PyObject
*resultobj
;
17134 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17136 wxControl
*arg3
= (wxControl
*) 0 ;
17137 wxToolBarToolBase
*result
;
17138 PyObject
* obj0
= 0 ;
17139 PyObject
* obj1
= 0 ;
17140 PyObject
* obj2
= 0 ;
17141 char *kwnames
[] = {
17142 (char *) "self",(char *) "pos",(char *) "control", NULL
17145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertControl",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17146 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17148 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
17149 if (PyErr_Occurred()) SWIG_fail
;
17150 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxControl
,
17151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17154 result
= (wxToolBarToolBase
*)(arg1
)->InsertControl(arg2
,arg3
);
17156 wxPyEndAllowThreads(__tstate
);
17157 if (PyErr_Occurred()) SWIG_fail
;
17160 resultobj
= wxPyMake_wxObject(result
, 0);
17168 static PyObject
*_wrap_ToolBarBase_FindControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17169 PyObject
*resultobj
;
17170 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17173 PyObject
* obj0
= 0 ;
17174 PyObject
* obj1
= 0 ;
17175 char *kwnames
[] = {
17176 (char *) "self",(char *) "id", NULL
17179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindControl",kwnames
,&obj0
,&obj1
)) goto fail
;
17180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17182 arg2
= (int) SWIG_AsInt(obj1
);
17183 if (PyErr_Occurred()) SWIG_fail
;
17185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17186 result
= (wxControl
*)(arg1
)->FindControl(arg2
);
17188 wxPyEndAllowThreads(__tstate
);
17189 if (PyErr_Occurred()) SWIG_fail
;
17192 resultobj
= wxPyMake_wxObject(result
, 0);
17200 static PyObject
*_wrap_ToolBarBase_AddSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17201 PyObject
*resultobj
;
17202 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17203 wxToolBarToolBase
*result
;
17204 PyObject
* obj0
= 0 ;
17205 char *kwnames
[] = {
17206 (char *) "self", NULL
17209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_AddSeparator",kwnames
,&obj0
)) goto fail
;
17210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17214 result
= (wxToolBarToolBase
*)(arg1
)->AddSeparator();
17216 wxPyEndAllowThreads(__tstate
);
17217 if (PyErr_Occurred()) SWIG_fail
;
17220 resultobj
= wxPyMake_wxObject(result
, 0);
17228 static PyObject
*_wrap_ToolBarBase_InsertSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17229 PyObject
*resultobj
;
17230 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17232 wxToolBarToolBase
*result
;
17233 PyObject
* obj0
= 0 ;
17234 PyObject
* obj1
= 0 ;
17235 char *kwnames
[] = {
17236 (char *) "self",(char *) "pos", NULL
17239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
17240 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17241 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17242 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
17243 if (PyErr_Occurred()) SWIG_fail
;
17245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17246 result
= (wxToolBarToolBase
*)(arg1
)->InsertSeparator(arg2
);
17248 wxPyEndAllowThreads(__tstate
);
17249 if (PyErr_Occurred()) SWIG_fail
;
17252 resultobj
= wxPyMake_wxObject(result
, 0);
17260 static PyObject
*_wrap_ToolBarBase_RemoveTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17261 PyObject
*resultobj
;
17262 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17264 wxToolBarToolBase
*result
;
17265 PyObject
* obj0
= 0 ;
17266 PyObject
* obj1
= 0 ;
17267 char *kwnames
[] = {
17268 (char *) "self",(char *) "id", NULL
17271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_RemoveTool",kwnames
,&obj0
,&obj1
)) goto fail
;
17272 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17274 arg2
= (int) SWIG_AsInt(obj1
);
17275 if (PyErr_Occurred()) SWIG_fail
;
17277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17278 result
= (wxToolBarToolBase
*)(arg1
)->RemoveTool(arg2
);
17280 wxPyEndAllowThreads(__tstate
);
17281 if (PyErr_Occurred()) SWIG_fail
;
17284 resultobj
= wxPyMake_wxObject(result
, 0);
17292 static PyObject
*_wrap_ToolBarBase_DeleteToolByPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17293 PyObject
*resultobj
;
17294 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17297 PyObject
* obj0
= 0 ;
17298 PyObject
* obj1
= 0 ;
17299 char *kwnames
[] = {
17300 (char *) "self",(char *) "pos", NULL
17303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames
,&obj0
,&obj1
)) goto fail
;
17304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17306 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
17307 if (PyErr_Occurred()) SWIG_fail
;
17309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17310 result
= (bool)(arg1
)->DeleteToolByPos(arg2
);
17312 wxPyEndAllowThreads(__tstate
);
17313 if (PyErr_Occurred()) SWIG_fail
;
17316 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17324 static PyObject
*_wrap_ToolBarBase_DeleteTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17325 PyObject
*resultobj
;
17326 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17329 PyObject
* obj0
= 0 ;
17330 PyObject
* obj1
= 0 ;
17331 char *kwnames
[] = {
17332 (char *) "self",(char *) "id", NULL
17335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteTool",kwnames
,&obj0
,&obj1
)) goto fail
;
17336 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17337 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17338 arg2
= (int) SWIG_AsInt(obj1
);
17339 if (PyErr_Occurred()) SWIG_fail
;
17341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17342 result
= (bool)(arg1
)->DeleteTool(arg2
);
17344 wxPyEndAllowThreads(__tstate
);
17345 if (PyErr_Occurred()) SWIG_fail
;
17348 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17356 static PyObject
*_wrap_ToolBarBase_ClearTools(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17357 PyObject
*resultobj
;
17358 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17359 PyObject
* obj0
= 0 ;
17360 char *kwnames
[] = {
17361 (char *) "self", NULL
17364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_ClearTools",kwnames
,&obj0
)) goto fail
;
17365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17369 (arg1
)->ClearTools();
17371 wxPyEndAllowThreads(__tstate
);
17372 if (PyErr_Occurred()) SWIG_fail
;
17374 Py_INCREF(Py_None
); resultobj
= Py_None
;
17381 static PyObject
*_wrap_ToolBarBase_Realize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17382 PyObject
*resultobj
;
17383 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17385 PyObject
* obj0
= 0 ;
17386 char *kwnames
[] = {
17387 (char *) "self", NULL
17390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_Realize",kwnames
,&obj0
)) goto fail
;
17391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17395 result
= (bool)(arg1
)->Realize();
17397 wxPyEndAllowThreads(__tstate
);
17398 if (PyErr_Occurred()) SWIG_fail
;
17401 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17409 static PyObject
*_wrap_ToolBarBase_EnableTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17410 PyObject
*resultobj
;
17411 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17414 PyObject
* obj0
= 0 ;
17415 PyObject
* obj1
= 0 ;
17416 PyObject
* obj2
= 0 ;
17417 char *kwnames
[] = {
17418 (char *) "self",(char *) "id",(char *) "enable", NULL
17421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_EnableTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17424 arg2
= (int) SWIG_AsInt(obj1
);
17425 if (PyErr_Occurred()) SWIG_fail
;
17426 arg3
= (bool) SWIG_AsBool(obj2
);
17427 if (PyErr_Occurred()) SWIG_fail
;
17429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17430 (arg1
)->EnableTool(arg2
,arg3
);
17432 wxPyEndAllowThreads(__tstate
);
17433 if (PyErr_Occurred()) SWIG_fail
;
17435 Py_INCREF(Py_None
); resultobj
= Py_None
;
17442 static PyObject
*_wrap_ToolBarBase_ToggleTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17443 PyObject
*resultobj
;
17444 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17447 PyObject
* obj0
= 0 ;
17448 PyObject
* obj1
= 0 ;
17449 PyObject
* obj2
= 0 ;
17450 char *kwnames
[] = {
17451 (char *) "self",(char *) "id",(char *) "toggle", NULL
17454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_ToggleTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17455 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17456 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17457 arg2
= (int) SWIG_AsInt(obj1
);
17458 if (PyErr_Occurred()) SWIG_fail
;
17459 arg3
= (bool) SWIG_AsBool(obj2
);
17460 if (PyErr_Occurred()) SWIG_fail
;
17462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17463 (arg1
)->ToggleTool(arg2
,arg3
);
17465 wxPyEndAllowThreads(__tstate
);
17466 if (PyErr_Occurred()) SWIG_fail
;
17468 Py_INCREF(Py_None
); resultobj
= Py_None
;
17475 static PyObject
*_wrap_ToolBarBase_SetToggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17476 PyObject
*resultobj
;
17477 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17480 PyObject
* obj0
= 0 ;
17481 PyObject
* obj1
= 0 ;
17482 PyObject
* obj2
= 0 ;
17483 char *kwnames
[] = {
17484 (char *) "self",(char *) "id",(char *) "toggle", NULL
17487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToggle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17490 arg2
= (int) SWIG_AsInt(obj1
);
17491 if (PyErr_Occurred()) SWIG_fail
;
17492 arg3
= (bool) SWIG_AsBool(obj2
);
17493 if (PyErr_Occurred()) SWIG_fail
;
17495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17496 (arg1
)->SetToggle(arg2
,arg3
);
17498 wxPyEndAllowThreads(__tstate
);
17499 if (PyErr_Occurred()) SWIG_fail
;
17501 Py_INCREF(Py_None
); resultobj
= Py_None
;
17508 static PyObject
*_wrap_ToolBarBase_GetToolClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17509 PyObject
*resultobj
;
17510 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17513 PyObject
* obj0
= 0 ;
17514 PyObject
* obj1
= 0 ;
17515 char *kwnames
[] = {
17516 (char *) "self",(char *) "id", NULL
17519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
17520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17522 arg2
= (int) SWIG_AsInt(obj1
);
17523 if (PyErr_Occurred()) SWIG_fail
;
17525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17526 result
= (PyObject
*)wxToolBarBase_GetToolClientData(arg1
,arg2
);
17528 wxPyEndAllowThreads(__tstate
);
17529 if (PyErr_Occurred()) SWIG_fail
;
17531 resultobj
= result
;
17538 static PyObject
*_wrap_ToolBarBase_SetToolClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17539 PyObject
*resultobj
;
17540 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17542 PyObject
*arg3
= (PyObject
*) 0 ;
17543 PyObject
* obj0
= 0 ;
17544 PyObject
* obj1
= 0 ;
17545 PyObject
* obj2
= 0 ;
17546 char *kwnames
[] = {
17547 (char *) "self",(char *) "id",(char *) "clientData", NULL
17550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17551 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17553 arg2
= (int) SWIG_AsInt(obj1
);
17554 if (PyErr_Occurred()) SWIG_fail
;
17557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17558 wxToolBarBase_SetToolClientData(arg1
,arg2
,arg3
);
17560 wxPyEndAllowThreads(__tstate
);
17561 if (PyErr_Occurred()) SWIG_fail
;
17563 Py_INCREF(Py_None
); resultobj
= Py_None
;
17570 static PyObject
*_wrap_ToolBarBase_GetToolPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17571 PyObject
*resultobj
;
17572 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17575 PyObject
* obj0
= 0 ;
17576 PyObject
* obj1
= 0 ;
17577 char *kwnames
[] = {
17578 (char *) "self",(char *) "id", NULL
17581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolPos",kwnames
,&obj0
,&obj1
)) goto fail
;
17582 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17584 arg2
= (int) SWIG_AsInt(obj1
);
17585 if (PyErr_Occurred()) SWIG_fail
;
17587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17588 result
= (int)((wxToolBarBase
const *)arg1
)->GetToolPos(arg2
);
17590 wxPyEndAllowThreads(__tstate
);
17591 if (PyErr_Occurred()) SWIG_fail
;
17593 resultobj
= SWIG_FromInt((int)result
);
17600 static PyObject
*_wrap_ToolBarBase_GetToolState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17601 PyObject
*resultobj
;
17602 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17605 PyObject
* obj0
= 0 ;
17606 PyObject
* obj1
= 0 ;
17607 char *kwnames
[] = {
17608 (char *) "self",(char *) "id", NULL
17611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolState",kwnames
,&obj0
,&obj1
)) goto fail
;
17612 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17614 arg2
= (int) SWIG_AsInt(obj1
);
17615 if (PyErr_Occurred()) SWIG_fail
;
17617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17618 result
= (bool)(arg1
)->GetToolState(arg2
);
17620 wxPyEndAllowThreads(__tstate
);
17621 if (PyErr_Occurred()) SWIG_fail
;
17624 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17632 static PyObject
*_wrap_ToolBarBase_GetToolEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17633 PyObject
*resultobj
;
17634 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17637 PyObject
* obj0
= 0 ;
17638 PyObject
* obj1
= 0 ;
17639 char *kwnames
[] = {
17640 (char *) "self",(char *) "id", NULL
17643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
17644 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17645 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17646 arg2
= (int) SWIG_AsInt(obj1
);
17647 if (PyErr_Occurred()) SWIG_fail
;
17649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17650 result
= (bool)(arg1
)->GetToolEnabled(arg2
);
17652 wxPyEndAllowThreads(__tstate
);
17653 if (PyErr_Occurred()) SWIG_fail
;
17656 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17664 static PyObject
*_wrap_ToolBarBase_SetToolShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17665 PyObject
*resultobj
;
17666 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17668 wxString
*arg3
= 0 ;
17669 bool temp3
= False
;
17670 PyObject
* obj0
= 0 ;
17671 PyObject
* obj1
= 0 ;
17672 PyObject
* obj2
= 0 ;
17673 char *kwnames
[] = {
17674 (char *) "self",(char *) "id",(char *) "helpString", NULL
17677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17678 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17679 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17680 arg2
= (int) SWIG_AsInt(obj1
);
17681 if (PyErr_Occurred()) SWIG_fail
;
17683 arg3
= wxString_in_helper(obj2
);
17684 if (arg3
== NULL
) SWIG_fail
;
17688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17689 (arg1
)->SetToolShortHelp(arg2
,(wxString
const &)*arg3
);
17691 wxPyEndAllowThreads(__tstate
);
17692 if (PyErr_Occurred()) SWIG_fail
;
17694 Py_INCREF(Py_None
); resultobj
= Py_None
;
17709 static PyObject
*_wrap_ToolBarBase_GetToolShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17710 PyObject
*resultobj
;
17711 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17714 PyObject
* obj0
= 0 ;
17715 PyObject
* obj1
= 0 ;
17716 char *kwnames
[] = {
17717 (char *) "self",(char *) "id", NULL
17720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
17721 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17723 arg2
= (int) SWIG_AsInt(obj1
);
17724 if (PyErr_Occurred()) SWIG_fail
;
17726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17727 result
= (arg1
)->GetToolShortHelp(arg2
);
17729 wxPyEndAllowThreads(__tstate
);
17730 if (PyErr_Occurred()) SWIG_fail
;
17734 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17736 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17745 static PyObject
*_wrap_ToolBarBase_SetToolLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17746 PyObject
*resultobj
;
17747 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17749 wxString
*arg3
= 0 ;
17750 bool temp3
= False
;
17751 PyObject
* obj0
= 0 ;
17752 PyObject
* obj1
= 0 ;
17753 PyObject
* obj2
= 0 ;
17754 char *kwnames
[] = {
17755 (char *) "self",(char *) "id",(char *) "helpString", NULL
17758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17761 arg2
= (int) SWIG_AsInt(obj1
);
17762 if (PyErr_Occurred()) SWIG_fail
;
17764 arg3
= wxString_in_helper(obj2
);
17765 if (arg3
== NULL
) SWIG_fail
;
17769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17770 (arg1
)->SetToolLongHelp(arg2
,(wxString
const &)*arg3
);
17772 wxPyEndAllowThreads(__tstate
);
17773 if (PyErr_Occurred()) SWIG_fail
;
17775 Py_INCREF(Py_None
); resultobj
= Py_None
;
17790 static PyObject
*_wrap_ToolBarBase_GetToolLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17791 PyObject
*resultobj
;
17792 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17795 PyObject
* obj0
= 0 ;
17796 PyObject
* obj1
= 0 ;
17797 char *kwnames
[] = {
17798 (char *) "self",(char *) "id", NULL
17801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
17802 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17804 arg2
= (int) SWIG_AsInt(obj1
);
17805 if (PyErr_Occurred()) SWIG_fail
;
17807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17808 result
= (arg1
)->GetToolLongHelp(arg2
);
17810 wxPyEndAllowThreads(__tstate
);
17811 if (PyErr_Occurred()) SWIG_fail
;
17815 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17817 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17826 static PyObject
*_wrap_ToolBarBase_SetMarginsXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17827 PyObject
*resultobj
;
17828 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17831 PyObject
* obj0
= 0 ;
17832 PyObject
* obj1
= 0 ;
17833 PyObject
* obj2
= 0 ;
17834 char *kwnames
[] = {
17835 (char *) "self",(char *) "x",(char *) "y", NULL
17838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17839 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17841 arg2
= (int) SWIG_AsInt(obj1
);
17842 if (PyErr_Occurred()) SWIG_fail
;
17843 arg3
= (int) SWIG_AsInt(obj2
);
17844 if (PyErr_Occurred()) SWIG_fail
;
17846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17847 (arg1
)->SetMargins(arg2
,arg3
);
17849 wxPyEndAllowThreads(__tstate
);
17850 if (PyErr_Occurred()) SWIG_fail
;
17852 Py_INCREF(Py_None
); resultobj
= Py_None
;
17859 static PyObject
*_wrap_ToolBarBase_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17860 PyObject
*resultobj
;
17861 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17864 PyObject
* obj0
= 0 ;
17865 PyObject
* obj1
= 0 ;
17866 char *kwnames
[] = {
17867 (char *) "self",(char *) "size", NULL
17870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
17871 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17875 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17879 (arg1
)->SetMargins((wxSize
const &)*arg2
);
17881 wxPyEndAllowThreads(__tstate
);
17882 if (PyErr_Occurred()) SWIG_fail
;
17884 Py_INCREF(Py_None
); resultobj
= Py_None
;
17891 static PyObject
*_wrap_ToolBarBase_SetToolPacking(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17892 PyObject
*resultobj
;
17893 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17895 PyObject
* obj0
= 0 ;
17896 PyObject
* obj1
= 0 ;
17897 char *kwnames
[] = {
17898 (char *) "self",(char *) "packing", NULL
17901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolPacking",kwnames
,&obj0
,&obj1
)) goto fail
;
17902 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17904 arg2
= (int) SWIG_AsInt(obj1
);
17905 if (PyErr_Occurred()) SWIG_fail
;
17907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17908 (arg1
)->SetToolPacking(arg2
);
17910 wxPyEndAllowThreads(__tstate
);
17911 if (PyErr_Occurred()) SWIG_fail
;
17913 Py_INCREF(Py_None
); resultobj
= Py_None
;
17920 static PyObject
*_wrap_ToolBarBase_SetToolSeparation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17921 PyObject
*resultobj
;
17922 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17924 PyObject
* obj0
= 0 ;
17925 PyObject
* obj1
= 0 ;
17926 char *kwnames
[] = {
17927 (char *) "self",(char *) "separation", NULL
17930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames
,&obj0
,&obj1
)) goto fail
;
17931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17933 arg2
= (int) SWIG_AsInt(obj1
);
17934 if (PyErr_Occurred()) SWIG_fail
;
17936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17937 (arg1
)->SetToolSeparation(arg2
);
17939 wxPyEndAllowThreads(__tstate
);
17940 if (PyErr_Occurred()) SWIG_fail
;
17942 Py_INCREF(Py_None
); resultobj
= Py_None
;
17949 static PyObject
*_wrap_ToolBarBase_GetToolMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17950 PyObject
*resultobj
;
17951 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17953 PyObject
* obj0
= 0 ;
17954 char *kwnames
[] = {
17955 (char *) "self", NULL
17958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolMargins",kwnames
,&obj0
)) goto fail
;
17959 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17963 result
= (arg1
)->GetToolMargins();
17965 wxPyEndAllowThreads(__tstate
);
17966 if (PyErr_Occurred()) SWIG_fail
;
17969 wxSize
* resultptr
;
17970 resultptr
= new wxSize((wxSize
&) result
);
17971 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17979 static PyObject
*_wrap_ToolBarBase_GetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17980 PyObject
*resultobj
;
17981 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17983 PyObject
* obj0
= 0 ;
17984 char *kwnames
[] = {
17985 (char *) "self", NULL
17988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMargins",kwnames
,&obj0
)) goto fail
;
17989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17993 result
= (arg1
)->GetMargins();
17995 wxPyEndAllowThreads(__tstate
);
17996 if (PyErr_Occurred()) SWIG_fail
;
17999 wxSize
* resultptr
;
18000 resultptr
= new wxSize((wxSize
&) result
);
18001 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18009 static PyObject
*_wrap_ToolBarBase_GetToolPacking(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18010 PyObject
*resultobj
;
18011 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18013 PyObject
* obj0
= 0 ;
18014 char *kwnames
[] = {
18015 (char *) "self", NULL
18018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolPacking",kwnames
,&obj0
)) goto fail
;
18019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18023 result
= (int)(arg1
)->GetToolPacking();
18025 wxPyEndAllowThreads(__tstate
);
18026 if (PyErr_Occurred()) SWIG_fail
;
18028 resultobj
= SWIG_FromInt((int)result
);
18035 static PyObject
*_wrap_ToolBarBase_GetToolSeparation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18036 PyObject
*resultobj
;
18037 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18039 PyObject
* obj0
= 0 ;
18040 char *kwnames
[] = {
18041 (char *) "self", NULL
18044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSeparation",kwnames
,&obj0
)) goto fail
;
18045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18049 result
= (int)(arg1
)->GetToolSeparation();
18051 wxPyEndAllowThreads(__tstate
);
18052 if (PyErr_Occurred()) SWIG_fail
;
18054 resultobj
= SWIG_FromInt((int)result
);
18061 static PyObject
*_wrap_ToolBarBase_SetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18062 PyObject
*resultobj
;
18063 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18065 PyObject
* obj0
= 0 ;
18066 PyObject
* obj1
= 0 ;
18067 char *kwnames
[] = {
18068 (char *) "self",(char *) "nRows", NULL
18071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
18072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18074 arg2
= (int) SWIG_AsInt(obj1
);
18075 if (PyErr_Occurred()) SWIG_fail
;
18077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18078 (arg1
)->SetRows(arg2
);
18080 wxPyEndAllowThreads(__tstate
);
18081 if (PyErr_Occurred()) SWIG_fail
;
18083 Py_INCREF(Py_None
); resultobj
= Py_None
;
18090 static PyObject
*_wrap_ToolBarBase_SetMaxRowsCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18091 PyObject
*resultobj
;
18092 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18095 PyObject
* obj0
= 0 ;
18096 PyObject
* obj1
= 0 ;
18097 PyObject
* obj2
= 0 ;
18098 char *kwnames
[] = {
18099 (char *) "self",(char *) "rows",(char *) "cols", NULL
18102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18103 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18105 arg2
= (int) SWIG_AsInt(obj1
);
18106 if (PyErr_Occurred()) SWIG_fail
;
18107 arg3
= (int) SWIG_AsInt(obj2
);
18108 if (PyErr_Occurred()) SWIG_fail
;
18110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18111 (arg1
)->SetMaxRowsCols(arg2
,arg3
);
18113 wxPyEndAllowThreads(__tstate
);
18114 if (PyErr_Occurred()) SWIG_fail
;
18116 Py_INCREF(Py_None
); resultobj
= Py_None
;
18123 static PyObject
*_wrap_ToolBarBase_GetMaxRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18124 PyObject
*resultobj
;
18125 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18127 PyObject
* obj0
= 0 ;
18128 char *kwnames
[] = {
18129 (char *) "self", NULL
18132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxRows",kwnames
,&obj0
)) goto fail
;
18133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18137 result
= (int)(arg1
)->GetMaxRows();
18139 wxPyEndAllowThreads(__tstate
);
18140 if (PyErr_Occurred()) SWIG_fail
;
18142 resultobj
= SWIG_FromInt((int)result
);
18149 static PyObject
*_wrap_ToolBarBase_GetMaxCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18150 PyObject
*resultobj
;
18151 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18153 PyObject
* obj0
= 0 ;
18154 char *kwnames
[] = {
18155 (char *) "self", NULL
18158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxCols",kwnames
,&obj0
)) goto fail
;
18159 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18160 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18163 result
= (int)(arg1
)->GetMaxCols();
18165 wxPyEndAllowThreads(__tstate
);
18166 if (PyErr_Occurred()) SWIG_fail
;
18168 resultobj
= SWIG_FromInt((int)result
);
18175 static PyObject
*_wrap_ToolBarBase_SetToolBitmapSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18176 PyObject
*resultobj
;
18177 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18180 PyObject
* obj0
= 0 ;
18181 PyObject
* obj1
= 0 ;
18182 char *kwnames
[] = {
18183 (char *) "self",(char *) "size", NULL
18186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames
,&obj0
,&obj1
)) goto fail
;
18187 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18191 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
18194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18195 (arg1
)->SetToolBitmapSize((wxSize
const &)*arg2
);
18197 wxPyEndAllowThreads(__tstate
);
18198 if (PyErr_Occurred()) SWIG_fail
;
18200 Py_INCREF(Py_None
); resultobj
= Py_None
;
18207 static PyObject
*_wrap_ToolBarBase_GetToolBitmapSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18208 PyObject
*resultobj
;
18209 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18211 PyObject
* obj0
= 0 ;
18212 char *kwnames
[] = {
18213 (char *) "self", NULL
18216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames
,&obj0
)) goto fail
;
18217 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18218 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18221 result
= (arg1
)->GetToolBitmapSize();
18223 wxPyEndAllowThreads(__tstate
);
18224 if (PyErr_Occurred()) SWIG_fail
;
18227 wxSize
* resultptr
;
18228 resultptr
= new wxSize((wxSize
&) result
);
18229 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18237 static PyObject
*_wrap_ToolBarBase_GetToolSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18238 PyObject
*resultobj
;
18239 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18241 PyObject
* obj0
= 0 ;
18242 char *kwnames
[] = {
18243 (char *) "self", NULL
18246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSize",kwnames
,&obj0
)) goto fail
;
18247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18251 result
= (arg1
)->GetToolSize();
18253 wxPyEndAllowThreads(__tstate
);
18254 if (PyErr_Occurred()) SWIG_fail
;
18257 wxSize
* resultptr
;
18258 resultptr
= new wxSize((wxSize
&) result
);
18259 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18267 static PyObject
*_wrap_ToolBarBase_FindToolForPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18268 PyObject
*resultobj
;
18269 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18272 wxToolBarToolBase
*result
;
18273 PyObject
* obj0
= 0 ;
18274 PyObject
* obj1
= 0 ;
18275 PyObject
* obj2
= 0 ;
18276 char *kwnames
[] = {
18277 (char *) "self",(char *) "x",(char *) "y", NULL
18280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18281 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18283 arg2
= (int) SWIG_AsInt(obj1
);
18284 if (PyErr_Occurred()) SWIG_fail
;
18285 arg3
= (int) SWIG_AsInt(obj2
);
18286 if (PyErr_Occurred()) SWIG_fail
;
18288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18289 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
18291 wxPyEndAllowThreads(__tstate
);
18292 if (PyErr_Occurred()) SWIG_fail
;
18295 resultobj
= wxPyMake_wxObject(result
, 0);
18303 static PyObject
*_wrap_ToolBarBase_FindById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18304 PyObject
*resultobj
;
18305 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18307 wxToolBarToolBase
*result
;
18308 PyObject
* obj0
= 0 ;
18309 PyObject
* obj1
= 0 ;
18310 char *kwnames
[] = {
18311 (char *) "self",(char *) "toolid", NULL
18314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindById",kwnames
,&obj0
,&obj1
)) goto fail
;
18315 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18317 arg2
= (int) SWIG_AsInt(obj1
);
18318 if (PyErr_Occurred()) SWIG_fail
;
18320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18321 result
= (wxToolBarToolBase
*)((wxToolBarBase
const *)arg1
)->FindById(arg2
);
18323 wxPyEndAllowThreads(__tstate
);
18324 if (PyErr_Occurred()) SWIG_fail
;
18327 resultobj
= wxPyMake_wxObject(result
, 0);
18335 static PyObject
*_wrap_ToolBarBase_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18336 PyObject
*resultobj
;
18337 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18339 PyObject
* obj0
= 0 ;
18340 char *kwnames
[] = {
18341 (char *) "self", NULL
18344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_IsVertical",kwnames
,&obj0
)) goto fail
;
18345 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18349 result
= (bool)(arg1
)->IsVertical();
18351 wxPyEndAllowThreads(__tstate
);
18352 if (PyErr_Occurred()) SWIG_fail
;
18355 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18363 static PyObject
* ToolBarBase_swigregister(PyObject
*self
, PyObject
*args
) {
18365 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18366 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase
, obj
);
18368 return Py_BuildValue((char *)"");
18370 static PyObject
*_wrap_new_ToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18371 PyObject
*resultobj
;
18372 wxWindow
*arg1
= (wxWindow
*) 0 ;
18373 int arg2
= (int) -1 ;
18374 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
18375 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
18376 wxSize
const &arg4_defvalue
= wxDefaultSize
;
18377 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
18378 long arg5
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
18379 wxString
const &arg6_defvalue
= wxPyToolBarNameStr
;
18380 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
18384 bool temp6
= False
;
18385 PyObject
* obj0
= 0 ;
18386 PyObject
* obj1
= 0 ;
18387 PyObject
* obj2
= 0 ;
18388 PyObject
* obj3
= 0 ;
18389 PyObject
* obj4
= 0 ;
18390 PyObject
* obj5
= 0 ;
18391 char *kwnames
[] = {
18392 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
18397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18399 arg2
= (int) SWIG_AsInt(obj1
);
18400 if (PyErr_Occurred()) SWIG_fail
;
18405 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18411 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
18415 arg5
= (long) SWIG_AsLong(obj4
);
18416 if (PyErr_Occurred()) SWIG_fail
;
18420 arg6
= wxString_in_helper(obj5
);
18421 if (arg6
== NULL
) SWIG_fail
;
18426 if (!wxPyCheckForApp()) SWIG_fail
;
18427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18428 result
= (wxToolBar
*)new wxToolBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
18430 wxPyEndAllowThreads(__tstate
);
18431 if (PyErr_Occurred()) SWIG_fail
;
18433 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToolBar
, 1);
18448 static PyObject
*_wrap_new_PreToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18449 PyObject
*resultobj
;
18451 char *kwnames
[] = {
18455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToolBar",kwnames
)) goto fail
;
18457 if (!wxPyCheckForApp()) SWIG_fail
;
18458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18459 result
= (wxToolBar
*)new wxToolBar();
18461 wxPyEndAllowThreads(__tstate
);
18462 if (PyErr_Occurred()) SWIG_fail
;
18464 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToolBar
, 1);
18471 static PyObject
*_wrap_ToolBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18472 PyObject
*resultobj
;
18473 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
18474 wxWindow
*arg2
= (wxWindow
*) 0 ;
18475 int arg3
= (int) -1 ;
18476 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
18477 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
18478 wxSize
const &arg5_defvalue
= wxDefaultSize
;
18479 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
18480 long arg6
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
18481 wxString
const &arg7_defvalue
= wxPyToolBarNameStr
;
18482 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
18486 bool temp7
= False
;
18487 PyObject
* obj0
= 0 ;
18488 PyObject
* obj1
= 0 ;
18489 PyObject
* obj2
= 0 ;
18490 PyObject
* obj3
= 0 ;
18491 PyObject
* obj4
= 0 ;
18492 PyObject
* obj5
= 0 ;
18493 PyObject
* obj6
= 0 ;
18494 char *kwnames
[] = {
18495 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ToolBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
18499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBar
,
18500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18501 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18504 arg3
= (int) SWIG_AsInt(obj2
);
18505 if (PyErr_Occurred()) SWIG_fail
;
18510 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18516 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
18520 arg6
= (long) SWIG_AsLong(obj5
);
18521 if (PyErr_Occurred()) SWIG_fail
;
18525 arg7
= wxString_in_helper(obj6
);
18526 if (arg7
== NULL
) SWIG_fail
;
18531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18532 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
18534 wxPyEndAllowThreads(__tstate
);
18535 if (PyErr_Occurred()) SWIG_fail
;
18538 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18554 static PyObject
*_wrap_ToolBar_FindToolForPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18555 PyObject
*resultobj
;
18556 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
18559 wxToolBarToolBase
*result
;
18560 PyObject
* obj0
= 0 ;
18561 PyObject
* obj1
= 0 ;
18562 PyObject
* obj2
= 0 ;
18563 char *kwnames
[] = {
18564 (char *) "self",(char *) "x",(char *) "y", NULL
18567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBar_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBar
,
18569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18570 arg2
= (int) SWIG_AsInt(obj1
);
18571 if (PyErr_Occurred()) SWIG_fail
;
18572 arg3
= (int) SWIG_AsInt(obj2
);
18573 if (PyErr_Occurred()) SWIG_fail
;
18575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18576 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
18578 wxPyEndAllowThreads(__tstate
);
18579 if (PyErr_Occurred()) SWIG_fail
;
18582 resultobj
= wxPyMake_wxObject(result
, 0);
18590 static PyObject
*_wrap_ToolBar_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18591 PyObject
*resultobj
;
18592 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
18593 wxVisualAttributes result
;
18594 PyObject
* obj0
= 0 ;
18595 char *kwnames
[] = {
18596 (char *) "variant", NULL
18599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
18601 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
18602 if (PyErr_Occurred()) SWIG_fail
;
18605 if (!wxPyCheckForApp()) SWIG_fail
;
18606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18607 result
= wxToolBar::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
18609 wxPyEndAllowThreads(__tstate
);
18610 if (PyErr_Occurred()) SWIG_fail
;
18613 wxVisualAttributes
* resultptr
;
18614 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
18615 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
18623 static PyObject
* ToolBar_swigregister(PyObject
*self
, PyObject
*args
) {
18625 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18626 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar
, obj
);
18628 return Py_BuildValue((char *)"");
18630 static int _wrap_ListCtrlNameStr_set(PyObject
*_val
) {
18631 PyErr_SetString(PyExc_TypeError
,"Variable ListCtrlNameStr is read-only.");
18636 static PyObject
*_wrap_ListCtrlNameStr_get() {
18641 pyobj
= PyUnicode_FromWideChar((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
18643 pyobj
= PyString_FromStringAndSize((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
18650 static PyObject
*_wrap_new_ListItemAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18651 PyObject
*resultobj
;
18652 wxColour
const &arg1_defvalue
= wxNullColour
;
18653 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
18654 wxColour
const &arg2_defvalue
= wxNullColour
;
18655 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
18656 wxFont
const &arg3_defvalue
= wxNullFont
;
18657 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
18658 wxListItemAttr
*result
;
18661 PyObject
* obj0
= 0 ;
18662 PyObject
* obj1
= 0 ;
18663 PyObject
* obj2
= 0 ;
18664 char *kwnames
[] = {
18665 (char *) "colText",(char *) "colBack",(char *) "font", NULL
18668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ListItemAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18672 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
18678 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18682 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
18683 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18685 if (arg3
== NULL
) {
18686 PyErr_SetString(PyExc_TypeError
,"null reference");
18691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18692 result
= (wxListItemAttr
*)new wxListItemAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
);
18694 wxPyEndAllowThreads(__tstate
);
18695 if (PyErr_Occurred()) SWIG_fail
;
18697 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 1);
18704 static PyObject
*_wrap_ListItemAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18705 PyObject
*resultobj
;
18706 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18707 wxColour
*arg2
= 0 ;
18709 PyObject
* obj0
= 0 ;
18710 PyObject
* obj1
= 0 ;
18711 char *kwnames
[] = {
18712 (char *) "self",(char *) "colText", NULL
18715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18716 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18717 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18720 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18724 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
18726 wxPyEndAllowThreads(__tstate
);
18727 if (PyErr_Occurred()) SWIG_fail
;
18729 Py_INCREF(Py_None
); resultobj
= Py_None
;
18736 static PyObject
*_wrap_ListItemAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18737 PyObject
*resultobj
;
18738 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18739 wxColour
*arg2
= 0 ;
18741 PyObject
* obj0
= 0 ;
18742 PyObject
* obj1
= 0 ;
18743 char *kwnames
[] = {
18744 (char *) "self",(char *) "colBack", NULL
18747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18748 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18752 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18756 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
18758 wxPyEndAllowThreads(__tstate
);
18759 if (PyErr_Occurred()) SWIG_fail
;
18761 Py_INCREF(Py_None
); resultobj
= Py_None
;
18768 static PyObject
*_wrap_ListItemAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18769 PyObject
*resultobj
;
18770 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18772 PyObject
* obj0
= 0 ;
18773 PyObject
* obj1
= 0 ;
18774 char *kwnames
[] = {
18775 (char *) "self",(char *) "font", NULL
18778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
18779 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18781 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
18782 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18784 if (arg2
== NULL
) {
18785 PyErr_SetString(PyExc_TypeError
,"null reference");
18789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18790 (arg1
)->SetFont((wxFont
const &)*arg2
);
18792 wxPyEndAllowThreads(__tstate
);
18793 if (PyErr_Occurred()) SWIG_fail
;
18795 Py_INCREF(Py_None
); resultobj
= Py_None
;
18802 static PyObject
*_wrap_ListItemAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18803 PyObject
*resultobj
;
18804 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18806 PyObject
* obj0
= 0 ;
18807 char *kwnames
[] = {
18808 (char *) "self", NULL
18811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
18812 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18813 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18816 result
= (bool)(arg1
)->HasTextColour();
18818 wxPyEndAllowThreads(__tstate
);
18819 if (PyErr_Occurred()) SWIG_fail
;
18822 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18830 static PyObject
*_wrap_ListItemAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18831 PyObject
*resultobj
;
18832 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18834 PyObject
* obj0
= 0 ;
18835 char *kwnames
[] = {
18836 (char *) "self", NULL
18839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
18840 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18844 result
= (bool)(arg1
)->HasBackgroundColour();
18846 wxPyEndAllowThreads(__tstate
);
18847 if (PyErr_Occurred()) SWIG_fail
;
18850 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18858 static PyObject
*_wrap_ListItemAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18859 PyObject
*resultobj
;
18860 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18862 PyObject
* obj0
= 0 ;
18863 char *kwnames
[] = {
18864 (char *) "self", NULL
18867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasFont",kwnames
,&obj0
)) goto fail
;
18868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18872 result
= (bool)(arg1
)->HasFont();
18874 wxPyEndAllowThreads(__tstate
);
18875 if (PyErr_Occurred()) SWIG_fail
;
18878 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18886 static PyObject
*_wrap_ListItemAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18887 PyObject
*resultobj
;
18888 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18890 PyObject
* obj0
= 0 ;
18891 char *kwnames
[] = {
18892 (char *) "self", NULL
18895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
18896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18900 result
= (arg1
)->GetTextColour();
18902 wxPyEndAllowThreads(__tstate
);
18903 if (PyErr_Occurred()) SWIG_fail
;
18906 wxColour
* resultptr
;
18907 resultptr
= new wxColour((wxColour
&) result
);
18908 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18916 static PyObject
*_wrap_ListItemAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18917 PyObject
*resultobj
;
18918 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18920 PyObject
* obj0
= 0 ;
18921 char *kwnames
[] = {
18922 (char *) "self", NULL
18925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
18926 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18927 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18930 result
= (arg1
)->GetBackgroundColour();
18932 wxPyEndAllowThreads(__tstate
);
18933 if (PyErr_Occurred()) SWIG_fail
;
18936 wxColour
* resultptr
;
18937 resultptr
= new wxColour((wxColour
&) result
);
18938 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18946 static PyObject
*_wrap_ListItemAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18947 PyObject
*resultobj
;
18948 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18950 PyObject
* obj0
= 0 ;
18951 char *kwnames
[] = {
18952 (char *) "self", NULL
18955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetFont",kwnames
,&obj0
)) goto fail
;
18956 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18960 result
= (arg1
)->GetFont();
18962 wxPyEndAllowThreads(__tstate
);
18963 if (PyErr_Occurred()) SWIG_fail
;
18966 wxFont
* resultptr
;
18967 resultptr
= new wxFont((wxFont
&) result
);
18968 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
18976 static PyObject
*_wrap_ListItemAttr_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18977 PyObject
*resultobj
;
18978 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18979 PyObject
* obj0
= 0 ;
18980 char *kwnames
[] = {
18981 (char *) "self", NULL
18984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_Destroy",kwnames
,&obj0
)) goto fail
;
18985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18989 wxListItemAttr_Destroy(arg1
);
18991 wxPyEndAllowThreads(__tstate
);
18992 if (PyErr_Occurred()) SWIG_fail
;
18994 Py_INCREF(Py_None
); resultobj
= Py_None
;
19001 static PyObject
* ListItemAttr_swigregister(PyObject
*self
, PyObject
*args
) {
19003 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19004 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr
, obj
);
19006 return Py_BuildValue((char *)"");
19008 static PyObject
*_wrap_new_ListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19009 PyObject
*resultobj
;
19010 wxListItem
*result
;
19011 char *kwnames
[] = {
19015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ListItem",kwnames
)) goto fail
;
19017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19018 result
= (wxListItem
*)new wxListItem();
19020 wxPyEndAllowThreads(__tstate
);
19021 if (PyErr_Occurred()) SWIG_fail
;
19024 resultobj
= wxPyMake_wxObject(result
, 1);
19032 static PyObject
*_wrap_delete_ListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19033 PyObject
*resultobj
;
19034 wxListItem
*arg1
= (wxListItem
*) 0 ;
19035 PyObject
* obj0
= 0 ;
19036 char *kwnames
[] = {
19037 (char *) "self", NULL
19040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ListItem",kwnames
,&obj0
)) goto fail
;
19041 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19047 wxPyEndAllowThreads(__tstate
);
19048 if (PyErr_Occurred()) SWIG_fail
;
19050 Py_INCREF(Py_None
); resultobj
= Py_None
;
19057 static PyObject
*_wrap_ListItem_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19058 PyObject
*resultobj
;
19059 wxListItem
*arg1
= (wxListItem
*) 0 ;
19060 PyObject
* obj0
= 0 ;
19061 char *kwnames
[] = {
19062 (char *) "self", NULL
19065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_Clear",kwnames
,&obj0
)) goto fail
;
19066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19072 wxPyEndAllowThreads(__tstate
);
19073 if (PyErr_Occurred()) SWIG_fail
;
19075 Py_INCREF(Py_None
); resultobj
= Py_None
;
19082 static PyObject
*_wrap_ListItem_ClearAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19083 PyObject
*resultobj
;
19084 wxListItem
*arg1
= (wxListItem
*) 0 ;
19085 PyObject
* obj0
= 0 ;
19086 char *kwnames
[] = {
19087 (char *) "self", NULL
19090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_ClearAttributes",kwnames
,&obj0
)) goto fail
;
19091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19095 (arg1
)->ClearAttributes();
19097 wxPyEndAllowThreads(__tstate
);
19098 if (PyErr_Occurred()) SWIG_fail
;
19100 Py_INCREF(Py_None
); resultobj
= Py_None
;
19107 static PyObject
*_wrap_ListItem_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19108 PyObject
*resultobj
;
19109 wxListItem
*arg1
= (wxListItem
*) 0 ;
19111 PyObject
* obj0
= 0 ;
19112 PyObject
* obj1
= 0 ;
19113 char *kwnames
[] = {
19114 (char *) "self",(char *) "mask", NULL
19117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
19118 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19120 arg2
= (long) SWIG_AsLong(obj1
);
19121 if (PyErr_Occurred()) SWIG_fail
;
19123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19124 (arg1
)->SetMask(arg2
);
19126 wxPyEndAllowThreads(__tstate
);
19127 if (PyErr_Occurred()) SWIG_fail
;
19129 Py_INCREF(Py_None
); resultobj
= Py_None
;
19136 static PyObject
*_wrap_ListItem_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19137 PyObject
*resultobj
;
19138 wxListItem
*arg1
= (wxListItem
*) 0 ;
19140 PyObject
* obj0
= 0 ;
19141 PyObject
* obj1
= 0 ;
19142 char *kwnames
[] = {
19143 (char *) "self",(char *) "id", NULL
19146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
19147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19149 arg2
= (long) SWIG_AsLong(obj1
);
19150 if (PyErr_Occurred()) SWIG_fail
;
19152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19153 (arg1
)->SetId(arg2
);
19155 wxPyEndAllowThreads(__tstate
);
19156 if (PyErr_Occurred()) SWIG_fail
;
19158 Py_INCREF(Py_None
); resultobj
= Py_None
;
19165 static PyObject
*_wrap_ListItem_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19166 PyObject
*resultobj
;
19167 wxListItem
*arg1
= (wxListItem
*) 0 ;
19169 PyObject
* obj0
= 0 ;
19170 PyObject
* obj1
= 0 ;
19171 char *kwnames
[] = {
19172 (char *) "self",(char *) "col", NULL
19175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
19176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19178 arg2
= (int) SWIG_AsInt(obj1
);
19179 if (PyErr_Occurred()) SWIG_fail
;
19181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19182 (arg1
)->SetColumn(arg2
);
19184 wxPyEndAllowThreads(__tstate
);
19185 if (PyErr_Occurred()) SWIG_fail
;
19187 Py_INCREF(Py_None
); resultobj
= Py_None
;
19194 static PyObject
*_wrap_ListItem_SetState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19195 PyObject
*resultobj
;
19196 wxListItem
*arg1
= (wxListItem
*) 0 ;
19198 PyObject
* obj0
= 0 ;
19199 PyObject
* obj1
= 0 ;
19200 char *kwnames
[] = {
19201 (char *) "self",(char *) "state", NULL
19204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetState",kwnames
,&obj0
,&obj1
)) goto fail
;
19205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19207 arg2
= (long) SWIG_AsLong(obj1
);
19208 if (PyErr_Occurred()) SWIG_fail
;
19210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19211 (arg1
)->SetState(arg2
);
19213 wxPyEndAllowThreads(__tstate
);
19214 if (PyErr_Occurred()) SWIG_fail
;
19216 Py_INCREF(Py_None
); resultobj
= Py_None
;
19223 static PyObject
*_wrap_ListItem_SetStateMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19224 PyObject
*resultobj
;
19225 wxListItem
*arg1
= (wxListItem
*) 0 ;
19227 PyObject
* obj0
= 0 ;
19228 PyObject
* obj1
= 0 ;
19229 char *kwnames
[] = {
19230 (char *) "self",(char *) "stateMask", NULL
19233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetStateMask",kwnames
,&obj0
,&obj1
)) goto fail
;
19234 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19236 arg2
= (long) SWIG_AsLong(obj1
);
19237 if (PyErr_Occurred()) SWIG_fail
;
19239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19240 (arg1
)->SetStateMask(arg2
);
19242 wxPyEndAllowThreads(__tstate
);
19243 if (PyErr_Occurred()) SWIG_fail
;
19245 Py_INCREF(Py_None
); resultobj
= Py_None
;
19252 static PyObject
*_wrap_ListItem_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19253 PyObject
*resultobj
;
19254 wxListItem
*arg1
= (wxListItem
*) 0 ;
19255 wxString
*arg2
= 0 ;
19256 bool temp2
= False
;
19257 PyObject
* obj0
= 0 ;
19258 PyObject
* obj1
= 0 ;
19259 char *kwnames
[] = {
19260 (char *) "self",(char *) "text", NULL
19263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
19264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19267 arg2
= wxString_in_helper(obj1
);
19268 if (arg2
== NULL
) SWIG_fail
;
19272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19273 (arg1
)->SetText((wxString
const &)*arg2
);
19275 wxPyEndAllowThreads(__tstate
);
19276 if (PyErr_Occurred()) SWIG_fail
;
19278 Py_INCREF(Py_None
); resultobj
= Py_None
;
19293 static PyObject
*_wrap_ListItem_SetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19294 PyObject
*resultobj
;
19295 wxListItem
*arg1
= (wxListItem
*) 0 ;
19297 PyObject
* obj0
= 0 ;
19298 PyObject
* obj1
= 0 ;
19299 char *kwnames
[] = {
19300 (char *) "self",(char *) "image", NULL
19303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetImage",kwnames
,&obj0
,&obj1
)) goto fail
;
19304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19306 arg2
= (int) SWIG_AsInt(obj1
);
19307 if (PyErr_Occurred()) SWIG_fail
;
19309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19310 (arg1
)->SetImage(arg2
);
19312 wxPyEndAllowThreads(__tstate
);
19313 if (PyErr_Occurred()) SWIG_fail
;
19315 Py_INCREF(Py_None
); resultobj
= Py_None
;
19322 static PyObject
*_wrap_ListItem_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19323 PyObject
*resultobj
;
19324 wxListItem
*arg1
= (wxListItem
*) 0 ;
19326 PyObject
* obj0
= 0 ;
19327 PyObject
* obj1
= 0 ;
19328 char *kwnames
[] = {
19329 (char *) "self",(char *) "data", NULL
19332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
19333 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19334 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19335 arg2
= (long) SWIG_AsLong(obj1
);
19336 if (PyErr_Occurred()) SWIG_fail
;
19338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19339 (arg1
)->SetData(arg2
);
19341 wxPyEndAllowThreads(__tstate
);
19342 if (PyErr_Occurred()) SWIG_fail
;
19344 Py_INCREF(Py_None
); resultobj
= Py_None
;
19351 static PyObject
*_wrap_ListItem_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19352 PyObject
*resultobj
;
19353 wxListItem
*arg1
= (wxListItem
*) 0 ;
19355 PyObject
* obj0
= 0 ;
19356 PyObject
* obj1
= 0 ;
19357 char *kwnames
[] = {
19358 (char *) "self",(char *) "width", NULL
19361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
19362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19364 arg2
= (int) SWIG_AsInt(obj1
);
19365 if (PyErr_Occurred()) SWIG_fail
;
19367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19368 (arg1
)->SetWidth(arg2
);
19370 wxPyEndAllowThreads(__tstate
);
19371 if (PyErr_Occurred()) SWIG_fail
;
19373 Py_INCREF(Py_None
); resultobj
= Py_None
;
19380 static PyObject
*_wrap_ListItem_SetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19381 PyObject
*resultobj
;
19382 wxListItem
*arg1
= (wxListItem
*) 0 ;
19384 PyObject
* obj0
= 0 ;
19385 PyObject
* obj1
= 0 ;
19386 char *kwnames
[] = {
19387 (char *) "self",(char *) "align", NULL
19390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetAlign",kwnames
,&obj0
,&obj1
)) goto fail
;
19391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19393 arg2
= (wxListColumnFormat
) SWIG_AsInt(obj1
);
19394 if (PyErr_Occurred()) SWIG_fail
;
19396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19397 (arg1
)->SetAlign((wxListColumnFormat
)arg2
);
19399 wxPyEndAllowThreads(__tstate
);
19400 if (PyErr_Occurred()) SWIG_fail
;
19402 Py_INCREF(Py_None
); resultobj
= Py_None
;
19409 static PyObject
*_wrap_ListItem_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19410 PyObject
*resultobj
;
19411 wxListItem
*arg1
= (wxListItem
*) 0 ;
19412 wxColour
*arg2
= 0 ;
19414 PyObject
* obj0
= 0 ;
19415 PyObject
* obj1
= 0 ;
19416 char *kwnames
[] = {
19417 (char *) "self",(char *) "colText", NULL
19420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
19421 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19425 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19429 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
19431 wxPyEndAllowThreads(__tstate
);
19432 if (PyErr_Occurred()) SWIG_fail
;
19434 Py_INCREF(Py_None
); resultobj
= Py_None
;
19441 static PyObject
*_wrap_ListItem_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19442 PyObject
*resultobj
;
19443 wxListItem
*arg1
= (wxListItem
*) 0 ;
19444 wxColour
*arg2
= 0 ;
19446 PyObject
* obj0
= 0 ;
19447 PyObject
* obj1
= 0 ;
19448 char *kwnames
[] = {
19449 (char *) "self",(char *) "colBack", NULL
19452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
19453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19457 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19461 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
19463 wxPyEndAllowThreads(__tstate
);
19464 if (PyErr_Occurred()) SWIG_fail
;
19466 Py_INCREF(Py_None
); resultobj
= Py_None
;
19473 static PyObject
*_wrap_ListItem_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19474 PyObject
*resultobj
;
19475 wxListItem
*arg1
= (wxListItem
*) 0 ;
19477 PyObject
* obj0
= 0 ;
19478 PyObject
* obj1
= 0 ;
19479 char *kwnames
[] = {
19480 (char *) "self",(char *) "font", NULL
19483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
19484 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19486 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
19487 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19489 if (arg2
== NULL
) {
19490 PyErr_SetString(PyExc_TypeError
,"null reference");
19494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19495 (arg1
)->SetFont((wxFont
const &)*arg2
);
19497 wxPyEndAllowThreads(__tstate
);
19498 if (PyErr_Occurred()) SWIG_fail
;
19500 Py_INCREF(Py_None
); resultobj
= Py_None
;
19507 static PyObject
*_wrap_ListItem_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19508 PyObject
*resultobj
;
19509 wxListItem
*arg1
= (wxListItem
*) 0 ;
19511 PyObject
* obj0
= 0 ;
19512 char *kwnames
[] = {
19513 (char *) "self", NULL
19516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetMask",kwnames
,&obj0
)) goto fail
;
19517 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19518 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19521 result
= (long)(arg1
)->GetMask();
19523 wxPyEndAllowThreads(__tstate
);
19524 if (PyErr_Occurred()) SWIG_fail
;
19526 resultobj
= SWIG_FromLong((long)result
);
19533 static PyObject
*_wrap_ListItem_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19534 PyObject
*resultobj
;
19535 wxListItem
*arg1
= (wxListItem
*) 0 ;
19537 PyObject
* obj0
= 0 ;
19538 char *kwnames
[] = {
19539 (char *) "self", NULL
19542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetId",kwnames
,&obj0
)) goto fail
;
19543 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19547 result
= (long)(arg1
)->GetId();
19549 wxPyEndAllowThreads(__tstate
);
19550 if (PyErr_Occurred()) SWIG_fail
;
19552 resultobj
= SWIG_FromLong((long)result
);
19559 static PyObject
*_wrap_ListItem_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19560 PyObject
*resultobj
;
19561 wxListItem
*arg1
= (wxListItem
*) 0 ;
19563 PyObject
* obj0
= 0 ;
19564 char *kwnames
[] = {
19565 (char *) "self", NULL
19568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetColumn",kwnames
,&obj0
)) goto fail
;
19569 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19573 result
= (int)(arg1
)->GetColumn();
19575 wxPyEndAllowThreads(__tstate
);
19576 if (PyErr_Occurred()) SWIG_fail
;
19578 resultobj
= SWIG_FromInt((int)result
);
19585 static PyObject
*_wrap_ListItem_GetState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19586 PyObject
*resultobj
;
19587 wxListItem
*arg1
= (wxListItem
*) 0 ;
19589 PyObject
* obj0
= 0 ;
19590 char *kwnames
[] = {
19591 (char *) "self", NULL
19594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetState",kwnames
,&obj0
)) goto fail
;
19595 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19599 result
= (long)(arg1
)->GetState();
19601 wxPyEndAllowThreads(__tstate
);
19602 if (PyErr_Occurred()) SWIG_fail
;
19604 resultobj
= SWIG_FromLong((long)result
);
19611 static PyObject
*_wrap_ListItem_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19612 PyObject
*resultobj
;
19613 wxListItem
*arg1
= (wxListItem
*) 0 ;
19615 PyObject
* obj0
= 0 ;
19616 char *kwnames
[] = {
19617 (char *) "self", NULL
19620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetText",kwnames
,&obj0
)) goto fail
;
19621 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19622 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19626 wxString
const &_result_ref
= (arg1
)->GetText();
19627 result
= (wxString
*) &_result_ref
;
19630 wxPyEndAllowThreads(__tstate
);
19631 if (PyErr_Occurred()) SWIG_fail
;
19635 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19637 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19646 static PyObject
*_wrap_ListItem_GetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19647 PyObject
*resultobj
;
19648 wxListItem
*arg1
= (wxListItem
*) 0 ;
19650 PyObject
* obj0
= 0 ;
19651 char *kwnames
[] = {
19652 (char *) "self", NULL
19655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetImage",kwnames
,&obj0
)) goto fail
;
19656 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19660 result
= (int)(arg1
)->GetImage();
19662 wxPyEndAllowThreads(__tstate
);
19663 if (PyErr_Occurred()) SWIG_fail
;
19665 resultobj
= SWIG_FromInt((int)result
);
19672 static PyObject
*_wrap_ListItem_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19673 PyObject
*resultobj
;
19674 wxListItem
*arg1
= (wxListItem
*) 0 ;
19676 PyObject
* obj0
= 0 ;
19677 char *kwnames
[] = {
19678 (char *) "self", NULL
19681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetData",kwnames
,&obj0
)) goto fail
;
19682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19686 result
= (long)(arg1
)->GetData();
19688 wxPyEndAllowThreads(__tstate
);
19689 if (PyErr_Occurred()) SWIG_fail
;
19691 resultobj
= SWIG_FromLong((long)result
);
19698 static PyObject
*_wrap_ListItem_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19699 PyObject
*resultobj
;
19700 wxListItem
*arg1
= (wxListItem
*) 0 ;
19702 PyObject
* obj0
= 0 ;
19703 char *kwnames
[] = {
19704 (char *) "self", NULL
19707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetWidth",kwnames
,&obj0
)) goto fail
;
19708 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19709 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19712 result
= (int)(arg1
)->GetWidth();
19714 wxPyEndAllowThreads(__tstate
);
19715 if (PyErr_Occurred()) SWIG_fail
;
19717 resultobj
= SWIG_FromInt((int)result
);
19724 static PyObject
*_wrap_ListItem_GetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19725 PyObject
*resultobj
;
19726 wxListItem
*arg1
= (wxListItem
*) 0 ;
19728 PyObject
* obj0
= 0 ;
19729 char *kwnames
[] = {
19730 (char *) "self", NULL
19733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAlign",kwnames
,&obj0
)) goto fail
;
19734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19738 result
= (int)(arg1
)->GetAlign();
19740 wxPyEndAllowThreads(__tstate
);
19741 if (PyErr_Occurred()) SWIG_fail
;
19743 resultobj
= SWIG_FromInt((int)result
);
19750 static PyObject
*_wrap_ListItem_GetAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19751 PyObject
*resultobj
;
19752 wxListItem
*arg1
= (wxListItem
*) 0 ;
19753 wxListItemAttr
*result
;
19754 PyObject
* obj0
= 0 ;
19755 char *kwnames
[] = {
19756 (char *) "self", NULL
19759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAttributes",kwnames
,&obj0
)) goto fail
;
19760 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19764 result
= (wxListItemAttr
*)(arg1
)->GetAttributes();
19766 wxPyEndAllowThreads(__tstate
);
19767 if (PyErr_Occurred()) SWIG_fail
;
19769 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 0);
19776 static PyObject
*_wrap_ListItem_HasAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19777 PyObject
*resultobj
;
19778 wxListItem
*arg1
= (wxListItem
*) 0 ;
19780 PyObject
* obj0
= 0 ;
19781 char *kwnames
[] = {
19782 (char *) "self", NULL
19785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_HasAttributes",kwnames
,&obj0
)) goto fail
;
19786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19790 result
= (bool)(arg1
)->HasAttributes();
19792 wxPyEndAllowThreads(__tstate
);
19793 if (PyErr_Occurred()) SWIG_fail
;
19796 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19804 static PyObject
*_wrap_ListItem_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19805 PyObject
*resultobj
;
19806 wxListItem
*arg1
= (wxListItem
*) 0 ;
19808 PyObject
* obj0
= 0 ;
19809 char *kwnames
[] = {
19810 (char *) "self", NULL
19813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetTextColour",kwnames
,&obj0
)) goto fail
;
19814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19818 result
= ((wxListItem
const *)arg1
)->GetTextColour();
19820 wxPyEndAllowThreads(__tstate
);
19821 if (PyErr_Occurred()) SWIG_fail
;
19824 wxColour
* resultptr
;
19825 resultptr
= new wxColour((wxColour
&) result
);
19826 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
19834 static PyObject
*_wrap_ListItem_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19835 PyObject
*resultobj
;
19836 wxListItem
*arg1
= (wxListItem
*) 0 ;
19838 PyObject
* obj0
= 0 ;
19839 char *kwnames
[] = {
19840 (char *) "self", NULL
19843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
19844 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19848 result
= ((wxListItem
const *)arg1
)->GetBackgroundColour();
19850 wxPyEndAllowThreads(__tstate
);
19851 if (PyErr_Occurred()) SWIG_fail
;
19854 wxColour
* resultptr
;
19855 resultptr
= new wxColour((wxColour
&) result
);
19856 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
19864 static PyObject
*_wrap_ListItem_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19865 PyObject
*resultobj
;
19866 wxListItem
*arg1
= (wxListItem
*) 0 ;
19868 PyObject
* obj0
= 0 ;
19869 char *kwnames
[] = {
19870 (char *) "self", NULL
19873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetFont",kwnames
,&obj0
)) goto fail
;
19874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19878 result
= ((wxListItem
const *)arg1
)->GetFont();
19880 wxPyEndAllowThreads(__tstate
);
19881 if (PyErr_Occurred()) SWIG_fail
;
19884 wxFont
* resultptr
;
19885 resultptr
= new wxFont((wxFont
&) result
);
19886 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
19894 static PyObject
*_wrap_ListItem_m_mask_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19895 PyObject
*resultobj
;
19896 wxListItem
*arg1
= (wxListItem
*) 0 ;
19898 PyObject
* obj0
= 0 ;
19899 PyObject
* obj1
= 0 ;
19900 char *kwnames
[] = {
19901 (char *) "self",(char *) "m_mask", NULL
19904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_mask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19905 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19907 arg2
= (long) SWIG_AsLong(obj1
);
19908 if (PyErr_Occurred()) SWIG_fail
;
19909 if (arg1
) (arg1
)->m_mask
= arg2
;
19911 Py_INCREF(Py_None
); resultobj
= Py_None
;
19918 static PyObject
*_wrap_ListItem_m_mask_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19919 PyObject
*resultobj
;
19920 wxListItem
*arg1
= (wxListItem
*) 0 ;
19922 PyObject
* obj0
= 0 ;
19923 char *kwnames
[] = {
19924 (char *) "self", NULL
19927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_mask_get",kwnames
,&obj0
)) goto fail
;
19928 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19929 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19930 result
= (long) ((arg1
)->m_mask
);
19932 resultobj
= SWIG_FromLong((long)result
);
19939 static PyObject
*_wrap_ListItem_m_itemId_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19940 PyObject
*resultobj
;
19941 wxListItem
*arg1
= (wxListItem
*) 0 ;
19943 PyObject
* obj0
= 0 ;
19944 PyObject
* obj1
= 0 ;
19945 char *kwnames
[] = {
19946 (char *) "self",(char *) "m_itemId", NULL
19949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_itemId_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19952 arg2
= (long) SWIG_AsLong(obj1
);
19953 if (PyErr_Occurred()) SWIG_fail
;
19954 if (arg1
) (arg1
)->m_itemId
= arg2
;
19956 Py_INCREF(Py_None
); resultobj
= Py_None
;
19963 static PyObject
*_wrap_ListItem_m_itemId_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19964 PyObject
*resultobj
;
19965 wxListItem
*arg1
= (wxListItem
*) 0 ;
19967 PyObject
* obj0
= 0 ;
19968 char *kwnames
[] = {
19969 (char *) "self", NULL
19972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_itemId_get",kwnames
,&obj0
)) goto fail
;
19973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19975 result
= (long) ((arg1
)->m_itemId
);
19977 resultobj
= SWIG_FromLong((long)result
);
19984 static PyObject
*_wrap_ListItem_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19985 PyObject
*resultobj
;
19986 wxListItem
*arg1
= (wxListItem
*) 0 ;
19988 PyObject
* obj0
= 0 ;
19989 PyObject
* obj1
= 0 ;
19990 char *kwnames
[] = {
19991 (char *) "self",(char *) "m_col", NULL
19994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19997 arg2
= (int) SWIG_AsInt(obj1
);
19998 if (PyErr_Occurred()) SWIG_fail
;
19999 if (arg1
) (arg1
)->m_col
= arg2
;
20001 Py_INCREF(Py_None
); resultobj
= Py_None
;
20008 static PyObject
*_wrap_ListItem_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20009 PyObject
*resultobj
;
20010 wxListItem
*arg1
= (wxListItem
*) 0 ;
20012 PyObject
* obj0
= 0 ;
20013 char *kwnames
[] = {
20014 (char *) "self", NULL
20017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_col_get",kwnames
,&obj0
)) goto fail
;
20018 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20019 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20020 result
= (int) ((arg1
)->m_col
);
20022 resultobj
= SWIG_FromInt((int)result
);
20029 static PyObject
*_wrap_ListItem_m_state_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20030 PyObject
*resultobj
;
20031 wxListItem
*arg1
= (wxListItem
*) 0 ;
20033 PyObject
* obj0
= 0 ;
20034 PyObject
* obj1
= 0 ;
20035 char *kwnames
[] = {
20036 (char *) "self",(char *) "m_state", NULL
20039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_state_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20040 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20042 arg2
= (long) SWIG_AsLong(obj1
);
20043 if (PyErr_Occurred()) SWIG_fail
;
20044 if (arg1
) (arg1
)->m_state
= arg2
;
20046 Py_INCREF(Py_None
); resultobj
= Py_None
;
20053 static PyObject
*_wrap_ListItem_m_state_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20054 PyObject
*resultobj
;
20055 wxListItem
*arg1
= (wxListItem
*) 0 ;
20057 PyObject
* obj0
= 0 ;
20058 char *kwnames
[] = {
20059 (char *) "self", NULL
20062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_state_get",kwnames
,&obj0
)) goto fail
;
20063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20065 result
= (long) ((arg1
)->m_state
);
20067 resultobj
= SWIG_FromLong((long)result
);
20074 static PyObject
*_wrap_ListItem_m_stateMask_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20075 PyObject
*resultobj
;
20076 wxListItem
*arg1
= (wxListItem
*) 0 ;
20078 PyObject
* obj0
= 0 ;
20079 PyObject
* obj1
= 0 ;
20080 char *kwnames
[] = {
20081 (char *) "self",(char *) "m_stateMask", NULL
20084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_stateMask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20085 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20087 arg2
= (long) SWIG_AsLong(obj1
);
20088 if (PyErr_Occurred()) SWIG_fail
;
20089 if (arg1
) (arg1
)->m_stateMask
= arg2
;
20091 Py_INCREF(Py_None
); resultobj
= Py_None
;
20098 static PyObject
*_wrap_ListItem_m_stateMask_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20099 PyObject
*resultobj
;
20100 wxListItem
*arg1
= (wxListItem
*) 0 ;
20102 PyObject
* obj0
= 0 ;
20103 char *kwnames
[] = {
20104 (char *) "self", NULL
20107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_stateMask_get",kwnames
,&obj0
)) goto fail
;
20108 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20110 result
= (long) ((arg1
)->m_stateMask
);
20112 resultobj
= SWIG_FromLong((long)result
);
20119 static PyObject
*_wrap_ListItem_m_text_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20120 PyObject
*resultobj
;
20121 wxListItem
*arg1
= (wxListItem
*) 0 ;
20122 wxString
*arg2
= (wxString
*) 0 ;
20123 bool temp2
= False
;
20124 PyObject
* obj0
= 0 ;
20125 PyObject
* obj1
= 0 ;
20126 char *kwnames
[] = {
20127 (char *) "self",(char *) "m_text", NULL
20130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_text_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20131 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20132 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20134 arg2
= wxString_in_helper(obj1
);
20135 if (arg2
== NULL
) SWIG_fail
;
20138 if (arg1
) (arg1
)->m_text
= *arg2
;
20140 Py_INCREF(Py_None
); resultobj
= Py_None
;
20155 static PyObject
*_wrap_ListItem_m_text_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20156 PyObject
*resultobj
;
20157 wxListItem
*arg1
= (wxListItem
*) 0 ;
20159 PyObject
* obj0
= 0 ;
20160 char *kwnames
[] = {
20161 (char *) "self", NULL
20164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_text_get",kwnames
,&obj0
)) goto fail
;
20165 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20167 result
= (wxString
*)& ((arg1
)->m_text
);
20171 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20173 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20182 static PyObject
*_wrap_ListItem_m_image_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20183 PyObject
*resultobj
;
20184 wxListItem
*arg1
= (wxListItem
*) 0 ;
20186 PyObject
* obj0
= 0 ;
20187 PyObject
* obj1
= 0 ;
20188 char *kwnames
[] = {
20189 (char *) "self",(char *) "m_image", NULL
20192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_image_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20193 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20195 arg2
= (int) SWIG_AsInt(obj1
);
20196 if (PyErr_Occurred()) SWIG_fail
;
20197 if (arg1
) (arg1
)->m_image
= arg2
;
20199 Py_INCREF(Py_None
); resultobj
= Py_None
;
20206 static PyObject
*_wrap_ListItem_m_image_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20207 PyObject
*resultobj
;
20208 wxListItem
*arg1
= (wxListItem
*) 0 ;
20210 PyObject
* obj0
= 0 ;
20211 char *kwnames
[] = {
20212 (char *) "self", NULL
20215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_image_get",kwnames
,&obj0
)) goto fail
;
20216 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20218 result
= (int) ((arg1
)->m_image
);
20220 resultobj
= SWIG_FromInt((int)result
);
20227 static PyObject
*_wrap_ListItem_m_data_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20228 PyObject
*resultobj
;
20229 wxListItem
*arg1
= (wxListItem
*) 0 ;
20231 PyObject
* obj0
= 0 ;
20232 PyObject
* obj1
= 0 ;
20233 char *kwnames
[] = {
20234 (char *) "self",(char *) "m_data", NULL
20237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_data_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20238 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20240 arg2
= (long) SWIG_AsLong(obj1
);
20241 if (PyErr_Occurred()) SWIG_fail
;
20242 if (arg1
) (arg1
)->m_data
= arg2
;
20244 Py_INCREF(Py_None
); resultobj
= Py_None
;
20251 static PyObject
*_wrap_ListItem_m_data_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20252 PyObject
*resultobj
;
20253 wxListItem
*arg1
= (wxListItem
*) 0 ;
20255 PyObject
* obj0
= 0 ;
20256 char *kwnames
[] = {
20257 (char *) "self", NULL
20260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_data_get",kwnames
,&obj0
)) goto fail
;
20261 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20263 result
= (long) ((arg1
)->m_data
);
20265 resultobj
= SWIG_FromLong((long)result
);
20272 static PyObject
*_wrap_ListItem_m_format_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20273 PyObject
*resultobj
;
20274 wxListItem
*arg1
= (wxListItem
*) 0 ;
20276 PyObject
* obj0
= 0 ;
20277 PyObject
* obj1
= 0 ;
20278 char *kwnames
[] = {
20279 (char *) "self",(char *) "m_format", NULL
20282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_format_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20283 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20285 arg2
= (int) SWIG_AsInt(obj1
);
20286 if (PyErr_Occurred()) SWIG_fail
;
20287 if (arg1
) (arg1
)->m_format
= arg2
;
20289 Py_INCREF(Py_None
); resultobj
= Py_None
;
20296 static PyObject
*_wrap_ListItem_m_format_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20297 PyObject
*resultobj
;
20298 wxListItem
*arg1
= (wxListItem
*) 0 ;
20300 PyObject
* obj0
= 0 ;
20301 char *kwnames
[] = {
20302 (char *) "self", NULL
20305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_format_get",kwnames
,&obj0
)) goto fail
;
20306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20308 result
= (int) ((arg1
)->m_format
);
20310 resultobj
= SWIG_FromInt((int)result
);
20317 static PyObject
*_wrap_ListItem_m_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20318 PyObject
*resultobj
;
20319 wxListItem
*arg1
= (wxListItem
*) 0 ;
20321 PyObject
* obj0
= 0 ;
20322 PyObject
* obj1
= 0 ;
20323 char *kwnames
[] = {
20324 (char *) "self",(char *) "m_width", NULL
20327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20328 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20329 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20330 arg2
= (int) SWIG_AsInt(obj1
);
20331 if (PyErr_Occurred()) SWIG_fail
;
20332 if (arg1
) (arg1
)->m_width
= arg2
;
20334 Py_INCREF(Py_None
); resultobj
= Py_None
;
20341 static PyObject
*_wrap_ListItem_m_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20342 PyObject
*resultobj
;
20343 wxListItem
*arg1
= (wxListItem
*) 0 ;
20345 PyObject
* obj0
= 0 ;
20346 char *kwnames
[] = {
20347 (char *) "self", NULL
20350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_width_get",kwnames
,&obj0
)) goto fail
;
20351 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20353 result
= (int) ((arg1
)->m_width
);
20355 resultobj
= SWIG_FromInt((int)result
);
20362 static PyObject
* ListItem_swigregister(PyObject
*self
, PyObject
*args
) {
20364 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20365 SWIG_TypeClientData(SWIGTYPE_p_wxListItem
, obj
);
20367 return Py_BuildValue((char *)"");
20369 static PyObject
*_wrap_new_ListEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20370 PyObject
*resultobj
;
20371 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20372 int arg2
= (int) 0 ;
20373 wxListEvent
*result
;
20374 PyObject
* obj0
= 0 ;
20375 PyObject
* obj1
= 0 ;
20376 char *kwnames
[] = {
20377 (char *) "commandType",(char *) "id", NULL
20380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ListEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20382 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
20383 if (PyErr_Occurred()) SWIG_fail
;
20386 arg2
= (int) SWIG_AsInt(obj1
);
20387 if (PyErr_Occurred()) SWIG_fail
;
20390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20391 result
= (wxListEvent
*)new wxListEvent(arg1
,arg2
);
20393 wxPyEndAllowThreads(__tstate
);
20394 if (PyErr_Occurred()) SWIG_fail
;
20396 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListEvent
, 1);
20403 static PyObject
*_wrap_ListEvent_m_code_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20404 PyObject
*resultobj
;
20405 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20407 PyObject
* obj0
= 0 ;
20408 PyObject
* obj1
= 0 ;
20409 char *kwnames
[] = {
20410 (char *) "self",(char *) "m_code", NULL
20413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_code_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20414 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20415 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20416 arg2
= (int) SWIG_AsInt(obj1
);
20417 if (PyErr_Occurred()) SWIG_fail
;
20418 if (arg1
) (arg1
)->m_code
= arg2
;
20420 Py_INCREF(Py_None
); resultobj
= Py_None
;
20427 static PyObject
*_wrap_ListEvent_m_code_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20428 PyObject
*resultobj
;
20429 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20431 PyObject
* obj0
= 0 ;
20432 char *kwnames
[] = {
20433 (char *) "self", NULL
20436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_code_get",kwnames
,&obj0
)) goto fail
;
20437 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20439 result
= (int) ((arg1
)->m_code
);
20441 resultobj
= SWIG_FromInt((int)result
);
20448 static PyObject
*_wrap_ListEvent_m_oldItemIndex_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20449 PyObject
*resultobj
;
20450 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20452 PyObject
* obj0
= 0 ;
20453 PyObject
* obj1
= 0 ;
20454 char *kwnames
[] = {
20455 (char *) "self",(char *) "m_oldItemIndex", NULL
20458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_oldItemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20461 arg2
= (long) SWIG_AsLong(obj1
);
20462 if (PyErr_Occurred()) SWIG_fail
;
20463 if (arg1
) (arg1
)->m_oldItemIndex
= arg2
;
20465 Py_INCREF(Py_None
); resultobj
= Py_None
;
20472 static PyObject
*_wrap_ListEvent_m_oldItemIndex_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20473 PyObject
*resultobj
;
20474 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20476 PyObject
* obj0
= 0 ;
20477 char *kwnames
[] = {
20478 (char *) "self", NULL
20481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames
,&obj0
)) goto fail
;
20482 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20484 result
= (long) ((arg1
)->m_oldItemIndex
);
20486 resultobj
= SWIG_FromLong((long)result
);
20493 static PyObject
*_wrap_ListEvent_m_itemIndex_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20494 PyObject
*resultobj
;
20495 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20497 PyObject
* obj0
= 0 ;
20498 PyObject
* obj1
= 0 ;
20499 char *kwnames
[] = {
20500 (char *) "self",(char *) "m_itemIndex", NULL
20503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_itemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20506 arg2
= (long) SWIG_AsLong(obj1
);
20507 if (PyErr_Occurred()) SWIG_fail
;
20508 if (arg1
) (arg1
)->m_itemIndex
= arg2
;
20510 Py_INCREF(Py_None
); resultobj
= Py_None
;
20517 static PyObject
*_wrap_ListEvent_m_itemIndex_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20518 PyObject
*resultobj
;
20519 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20521 PyObject
* obj0
= 0 ;
20522 char *kwnames
[] = {
20523 (char *) "self", NULL
20526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_itemIndex_get",kwnames
,&obj0
)) goto fail
;
20527 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20528 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20529 result
= (long) ((arg1
)->m_itemIndex
);
20531 resultobj
= SWIG_FromLong((long)result
);
20538 static PyObject
*_wrap_ListEvent_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20539 PyObject
*resultobj
;
20540 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20542 PyObject
* obj0
= 0 ;
20543 PyObject
* obj1
= 0 ;
20544 char *kwnames
[] = {
20545 (char *) "self",(char *) "m_col", NULL
20548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20551 arg2
= (int) SWIG_AsInt(obj1
);
20552 if (PyErr_Occurred()) SWIG_fail
;
20553 if (arg1
) (arg1
)->m_col
= arg2
;
20555 Py_INCREF(Py_None
); resultobj
= Py_None
;
20562 static PyObject
*_wrap_ListEvent_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20563 PyObject
*resultobj
;
20564 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20566 PyObject
* obj0
= 0 ;
20567 char *kwnames
[] = {
20568 (char *) "self", NULL
20571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_col_get",kwnames
,&obj0
)) goto fail
;
20572 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20573 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20574 result
= (int) ((arg1
)->m_col
);
20576 resultobj
= SWIG_FromInt((int)result
);
20583 static PyObject
*_wrap_ListEvent_m_pointDrag_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20584 PyObject
*resultobj
;
20585 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20586 wxPoint
*arg2
= (wxPoint
*) 0 ;
20587 PyObject
* obj0
= 0 ;
20588 PyObject
* obj1
= 0 ;
20589 char *kwnames
[] = {
20590 (char *) "self",(char *) "m_pointDrag", NULL
20593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_pointDrag_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20594 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20596 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPoint
,
20597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20598 if (arg1
) (arg1
)->m_pointDrag
= *arg2
;
20600 Py_INCREF(Py_None
); resultobj
= Py_None
;
20607 static PyObject
*_wrap_ListEvent_m_pointDrag_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20608 PyObject
*resultobj
;
20609 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20611 PyObject
* obj0
= 0 ;
20612 char *kwnames
[] = {
20613 (char *) "self", NULL
20616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_pointDrag_get",kwnames
,&obj0
)) goto fail
;
20617 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20619 result
= (wxPoint
*)& ((arg1
)->m_pointDrag
);
20621 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
20628 static PyObject
*_wrap_ListEvent_m_item_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20629 PyObject
*resultobj
;
20630 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20631 wxListItem
*result
;
20632 PyObject
* obj0
= 0 ;
20633 char *kwnames
[] = {
20634 (char *) "self", NULL
20637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_item_get",kwnames
,&obj0
)) goto fail
;
20638 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20639 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20640 result
= (wxListItem
*)& ((arg1
)->m_item
);
20643 resultobj
= wxPyMake_wxObject(result
, 0);
20651 static PyObject
*_wrap_ListEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20652 PyObject
*resultobj
;
20653 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20655 PyObject
* obj0
= 0 ;
20656 char *kwnames
[] = {
20657 (char *) "self", NULL
20660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
20661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20665 result
= (int)(arg1
)->GetKeyCode();
20667 wxPyEndAllowThreads(__tstate
);
20668 if (PyErr_Occurred()) SWIG_fail
;
20670 resultobj
= SWIG_FromInt((int)result
);
20677 static PyObject
*_wrap_ListEvent_GetIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20678 PyObject
*resultobj
;
20679 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20681 PyObject
* obj0
= 0 ;
20682 char *kwnames
[] = {
20683 (char *) "self", NULL
20686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetIndex",kwnames
,&obj0
)) goto fail
;
20687 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20688 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20691 result
= (long)(arg1
)->GetIndex();
20693 wxPyEndAllowThreads(__tstate
);
20694 if (PyErr_Occurred()) SWIG_fail
;
20696 resultobj
= SWIG_FromLong((long)result
);
20703 static PyObject
*_wrap_ListEvent_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20704 PyObject
*resultobj
;
20705 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20707 PyObject
* obj0
= 0 ;
20708 char *kwnames
[] = {
20709 (char *) "self", NULL
20712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetColumn",kwnames
,&obj0
)) goto fail
;
20713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20717 result
= (int)(arg1
)->GetColumn();
20719 wxPyEndAllowThreads(__tstate
);
20720 if (PyErr_Occurred()) SWIG_fail
;
20722 resultobj
= SWIG_FromInt((int)result
);
20729 static PyObject
*_wrap_ListEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20730 PyObject
*resultobj
;
20731 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20733 PyObject
* obj0
= 0 ;
20734 char *kwnames
[] = {
20735 (char *) "self", NULL
20738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
20739 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20743 result
= (arg1
)->GetPoint();
20745 wxPyEndAllowThreads(__tstate
);
20746 if (PyErr_Occurred()) SWIG_fail
;
20749 wxPoint
* resultptr
;
20750 resultptr
= new wxPoint((wxPoint
&) result
);
20751 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
20759 static PyObject
*_wrap_ListEvent_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20760 PyObject
*resultobj
;
20761 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20763 PyObject
* obj0
= 0 ;
20764 char *kwnames
[] = {
20765 (char *) "self", NULL
20768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
20769 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20774 wxString
const &_result_ref
= (arg1
)->GetLabel();
20775 result
= (wxString
*) &_result_ref
;
20778 wxPyEndAllowThreads(__tstate
);
20779 if (PyErr_Occurred()) SWIG_fail
;
20783 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20785 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20794 static PyObject
*_wrap_ListEvent_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20795 PyObject
*resultobj
;
20796 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20798 PyObject
* obj0
= 0 ;
20799 char *kwnames
[] = {
20800 (char *) "self", NULL
20803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetText",kwnames
,&obj0
)) goto fail
;
20804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20809 wxString
const &_result_ref
= (arg1
)->GetText();
20810 result
= (wxString
*) &_result_ref
;
20813 wxPyEndAllowThreads(__tstate
);
20814 if (PyErr_Occurred()) SWIG_fail
;
20818 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20820 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20829 static PyObject
*_wrap_ListEvent_GetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20830 PyObject
*resultobj
;
20831 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20833 PyObject
* obj0
= 0 ;
20834 char *kwnames
[] = {
20835 (char *) "self", NULL
20838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetImage",kwnames
,&obj0
)) goto fail
;
20839 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20843 result
= (int)(arg1
)->GetImage();
20845 wxPyEndAllowThreads(__tstate
);
20846 if (PyErr_Occurred()) SWIG_fail
;
20848 resultobj
= SWIG_FromInt((int)result
);
20855 static PyObject
*_wrap_ListEvent_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20856 PyObject
*resultobj
;
20857 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20859 PyObject
* obj0
= 0 ;
20860 char *kwnames
[] = {
20861 (char *) "self", NULL
20864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetData",kwnames
,&obj0
)) goto fail
;
20865 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20869 result
= (long)(arg1
)->GetData();
20871 wxPyEndAllowThreads(__tstate
);
20872 if (PyErr_Occurred()) SWIG_fail
;
20874 resultobj
= SWIG_FromLong((long)result
);
20881 static PyObject
*_wrap_ListEvent_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20882 PyObject
*resultobj
;
20883 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20885 PyObject
* obj0
= 0 ;
20886 char *kwnames
[] = {
20887 (char *) "self", NULL
20890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetMask",kwnames
,&obj0
)) goto fail
;
20891 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20892 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20895 result
= (long)(arg1
)->GetMask();
20897 wxPyEndAllowThreads(__tstate
);
20898 if (PyErr_Occurred()) SWIG_fail
;
20900 resultobj
= SWIG_FromLong((long)result
);
20907 static PyObject
*_wrap_ListEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20908 PyObject
*resultobj
;
20909 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20910 wxListItem
*result
;
20911 PyObject
* obj0
= 0 ;
20912 char *kwnames
[] = {
20913 (char *) "self", NULL
20916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetItem",kwnames
,&obj0
)) goto fail
;
20917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20922 wxListItem
const &_result_ref
= (arg1
)->GetItem();
20923 result
= (wxListItem
*) &_result_ref
;
20926 wxPyEndAllowThreads(__tstate
);
20927 if (PyErr_Occurred()) SWIG_fail
;
20929 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItem
, 0);
20936 static PyObject
*_wrap_ListEvent_GetCacheFrom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20937 PyObject
*resultobj
;
20938 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20940 PyObject
* obj0
= 0 ;
20941 char *kwnames
[] = {
20942 (char *) "self", NULL
20945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheFrom",kwnames
,&obj0
)) goto fail
;
20946 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20947 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20950 result
= (long)(arg1
)->GetCacheFrom();
20952 wxPyEndAllowThreads(__tstate
);
20953 if (PyErr_Occurred()) SWIG_fail
;
20955 resultobj
= SWIG_FromLong((long)result
);
20962 static PyObject
*_wrap_ListEvent_GetCacheTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20963 PyObject
*resultobj
;
20964 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20966 PyObject
* obj0
= 0 ;
20967 char *kwnames
[] = {
20968 (char *) "self", NULL
20971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheTo",kwnames
,&obj0
)) goto fail
;
20972 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20976 result
= (long)(arg1
)->GetCacheTo();
20978 wxPyEndAllowThreads(__tstate
);
20979 if (PyErr_Occurred()) SWIG_fail
;
20981 resultobj
= SWIG_FromLong((long)result
);
20988 static PyObject
*_wrap_ListEvent_IsEditCancelled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20989 PyObject
*resultobj
;
20990 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20992 PyObject
* obj0
= 0 ;
20993 char *kwnames
[] = {
20994 (char *) "self", NULL
20997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
20998 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21002 result
= (bool)((wxListEvent
const *)arg1
)->IsEditCancelled();
21004 wxPyEndAllowThreads(__tstate
);
21005 if (PyErr_Occurred()) SWIG_fail
;
21008 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21016 static PyObject
*_wrap_ListEvent_SetEditCanceled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21017 PyObject
*resultobj
;
21018 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21020 PyObject
* obj0
= 0 ;
21021 PyObject
* obj1
= 0 ;
21022 char *kwnames
[] = {
21023 (char *) "self",(char *) "editCancelled", NULL
21026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
21027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21029 arg2
= (bool) SWIG_AsBool(obj1
);
21030 if (PyErr_Occurred()) SWIG_fail
;
21032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21033 (arg1
)->SetEditCanceled(arg2
);
21035 wxPyEndAllowThreads(__tstate
);
21036 if (PyErr_Occurred()) SWIG_fail
;
21038 Py_INCREF(Py_None
); resultobj
= Py_None
;
21045 static PyObject
* ListEvent_swigregister(PyObject
*self
, PyObject
*args
) {
21047 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21048 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent
, obj
);
21050 return Py_BuildValue((char *)"");
21052 static PyObject
*_wrap_new_ListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21053 PyObject
*resultobj
;
21054 wxWindow
*arg1
= (wxWindow
*) 0 ;
21055 int arg2
= (int) -1 ;
21056 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21057 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21058 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21059 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21060 long arg5
= (long) wxLC_ICON
;
21061 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
21062 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
21063 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
21064 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21065 wxPyListCtrl
*result
;
21068 bool temp7
= False
;
21069 PyObject
* obj0
= 0 ;
21070 PyObject
* obj1
= 0 ;
21071 PyObject
* obj2
= 0 ;
21072 PyObject
* obj3
= 0 ;
21073 PyObject
* obj4
= 0 ;
21074 PyObject
* obj5
= 0 ;
21075 PyObject
* obj6
= 0 ;
21076 char *kwnames
[] = {
21077 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
21080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
21081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21084 arg2
= (int) SWIG_AsInt(obj1
);
21085 if (PyErr_Occurred()) SWIG_fail
;
21090 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21096 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21100 arg5
= (long) SWIG_AsLong(obj4
);
21101 if (PyErr_Occurred()) SWIG_fail
;
21104 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
21105 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21107 if (arg6
== NULL
) {
21108 PyErr_SetString(PyExc_TypeError
,"null reference");
21114 arg7
= wxString_in_helper(obj6
);
21115 if (arg7
== NULL
) SWIG_fail
;
21120 if (!wxPyCheckForApp()) SWIG_fail
;
21121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21122 result
= (wxPyListCtrl
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
21124 wxPyEndAllowThreads(__tstate
);
21125 if (PyErr_Occurred()) SWIG_fail
;
21127 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1);
21142 static PyObject
*_wrap_new_PreListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21143 PyObject
*resultobj
;
21144 wxPyListCtrl
*result
;
21145 char *kwnames
[] = {
21149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListCtrl",kwnames
)) goto fail
;
21151 if (!wxPyCheckForApp()) SWIG_fail
;
21152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21153 result
= (wxPyListCtrl
*)new wxPyListCtrl();
21155 wxPyEndAllowThreads(__tstate
);
21156 if (PyErr_Occurred()) SWIG_fail
;
21158 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1);
21165 static PyObject
*_wrap_ListCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21166 PyObject
*resultobj
;
21167 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21168 wxWindow
*arg2
= (wxWindow
*) 0 ;
21169 int arg3
= (int) -1 ;
21170 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21171 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21172 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21173 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21174 long arg6
= (long) wxLC_ICON
;
21175 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
21176 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
21177 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
21178 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
21182 bool temp8
= False
;
21183 PyObject
* obj0
= 0 ;
21184 PyObject
* obj1
= 0 ;
21185 PyObject
* obj2
= 0 ;
21186 PyObject
* obj3
= 0 ;
21187 PyObject
* obj4
= 0 ;
21188 PyObject
* obj5
= 0 ;
21189 PyObject
* obj6
= 0 ;
21190 PyObject
* obj7
= 0 ;
21191 char *kwnames
[] = {
21192 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
21195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
21196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21198 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21199 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21201 arg3
= (int) SWIG_AsInt(obj2
);
21202 if (PyErr_Occurred()) SWIG_fail
;
21207 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21213 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21217 arg6
= (long) SWIG_AsLong(obj5
);
21218 if (PyErr_Occurred()) SWIG_fail
;
21221 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
21222 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21224 if (arg7
== NULL
) {
21225 PyErr_SetString(PyExc_TypeError
,"null reference");
21231 arg8
= wxString_in_helper(obj7
);
21232 if (arg8
== NULL
) SWIG_fail
;
21237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21238 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
21240 wxPyEndAllowThreads(__tstate
);
21241 if (PyErr_Occurred()) SWIG_fail
;
21244 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21260 static PyObject
*_wrap_ListCtrl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21261 PyObject
*resultobj
;
21262 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21263 PyObject
*arg2
= (PyObject
*) 0 ;
21264 PyObject
*arg3
= (PyObject
*) 0 ;
21265 PyObject
* obj0
= 0 ;
21266 PyObject
* obj1
= 0 ;
21267 PyObject
* obj2
= 0 ;
21268 char *kwnames
[] = {
21269 (char *) "self",(char *) "self",(char *) "_class", NULL
21272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21279 (arg1
)->_setCallbackInfo(arg2
,arg3
);
21281 wxPyEndAllowThreads(__tstate
);
21282 if (PyErr_Occurred()) SWIG_fail
;
21284 Py_INCREF(Py_None
); resultobj
= Py_None
;
21291 static PyObject
*_wrap_ListCtrl_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21292 PyObject
*resultobj
;
21293 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21294 wxColour
*arg2
= 0 ;
21297 PyObject
* obj0
= 0 ;
21298 PyObject
* obj1
= 0 ;
21299 char *kwnames
[] = {
21300 (char *) "self",(char *) "col", NULL
21303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21308 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21312 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
21314 wxPyEndAllowThreads(__tstate
);
21315 if (PyErr_Occurred()) SWIG_fail
;
21318 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21326 static PyObject
*_wrap_ListCtrl_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21327 PyObject
*resultobj
;
21328 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21329 wxColour
*arg2
= 0 ;
21332 PyObject
* obj0
= 0 ;
21333 PyObject
* obj1
= 0 ;
21334 char *kwnames
[] = {
21335 (char *) "self",(char *) "col", NULL
21338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21343 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21347 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
21349 wxPyEndAllowThreads(__tstate
);
21350 if (PyErr_Occurred()) SWIG_fail
;
21353 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21361 static PyObject
*_wrap_ListCtrl_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21362 PyObject
*resultobj
;
21363 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21365 wxListItem
*result
;
21366 PyObject
* obj0
= 0 ;
21367 PyObject
* obj1
= 0 ;
21368 char *kwnames
[] = {
21369 (char *) "self",(char *) "col", NULL
21372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
21373 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21375 arg2
= (int) SWIG_AsInt(obj1
);
21376 if (PyErr_Occurred()) SWIG_fail
;
21378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21379 result
= (wxListItem
*)wxPyListCtrl_GetColumn(arg1
,arg2
);
21381 wxPyEndAllowThreads(__tstate
);
21382 if (PyErr_Occurred()) SWIG_fail
;
21385 resultobj
= wxPyMake_wxObject(result
, 0);
21393 static PyObject
*_wrap_ListCtrl_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21394 PyObject
*resultobj
;
21395 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21397 wxListItem
*arg3
= 0 ;
21399 PyObject
* obj0
= 0 ;
21400 PyObject
* obj1
= 0 ;
21401 PyObject
* obj2
= 0 ;
21402 char *kwnames
[] = {
21403 (char *) "self",(char *) "col",(char *) "item", NULL
21406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumn",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21407 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21408 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21409 arg2
= (int) SWIG_AsInt(obj1
);
21410 if (PyErr_Occurred()) SWIG_fail
;
21411 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxListItem
,
21412 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21414 if (arg3
== NULL
) {
21415 PyErr_SetString(PyExc_TypeError
,"null reference");
21419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21420 result
= (bool)(arg1
)->SetColumn(arg2
,*arg3
);
21422 wxPyEndAllowThreads(__tstate
);
21423 if (PyErr_Occurred()) SWIG_fail
;
21426 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21434 static PyObject
*_wrap_ListCtrl_GetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21435 PyObject
*resultobj
;
21436 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21439 PyObject
* obj0
= 0 ;
21440 PyObject
* obj1
= 0 ;
21441 char *kwnames
[] = {
21442 (char *) "self",(char *) "col", NULL
21445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
21446 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21448 arg2
= (int) SWIG_AsInt(obj1
);
21449 if (PyErr_Occurred()) SWIG_fail
;
21451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21452 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
21454 wxPyEndAllowThreads(__tstate
);
21455 if (PyErr_Occurred()) SWIG_fail
;
21457 resultobj
= SWIG_FromInt((int)result
);
21464 static PyObject
*_wrap_ListCtrl_SetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21465 PyObject
*resultobj
;
21466 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21470 PyObject
* obj0
= 0 ;
21471 PyObject
* obj1
= 0 ;
21472 PyObject
* obj2
= 0 ;
21473 char *kwnames
[] = {
21474 (char *) "self",(char *) "col",(char *) "width", NULL
21477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21480 arg2
= (int) SWIG_AsInt(obj1
);
21481 if (PyErr_Occurred()) SWIG_fail
;
21482 arg3
= (int) SWIG_AsInt(obj2
);
21483 if (PyErr_Occurred()) SWIG_fail
;
21485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21486 result
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
);
21488 wxPyEndAllowThreads(__tstate
);
21489 if (PyErr_Occurred()) SWIG_fail
;
21492 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21500 static PyObject
*_wrap_ListCtrl_GetCountPerPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21501 PyObject
*resultobj
;
21502 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21504 PyObject
* obj0
= 0 ;
21505 char *kwnames
[] = {
21506 (char *) "self", NULL
21509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetCountPerPage",kwnames
,&obj0
)) goto fail
;
21510 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21514 result
= (int)((wxPyListCtrl
const *)arg1
)->GetCountPerPage();
21516 wxPyEndAllowThreads(__tstate
);
21517 if (PyErr_Occurred()) SWIG_fail
;
21519 resultobj
= SWIG_FromInt((int)result
);
21526 static PyObject
*_wrap_ListCtrl_GetViewRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21527 PyObject
*resultobj
;
21528 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21530 PyObject
* obj0
= 0 ;
21531 char *kwnames
[] = {
21532 (char *) "self", NULL
21535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetViewRect",kwnames
,&obj0
)) goto fail
;
21536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21540 result
= ((wxPyListCtrl
const *)arg1
)->GetViewRect();
21542 wxPyEndAllowThreads(__tstate
);
21543 if (PyErr_Occurred()) SWIG_fail
;
21546 wxRect
* resultptr
;
21547 resultptr
= new wxRect((wxRect
&) result
);
21548 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
21556 static PyObject
*_wrap_ListCtrl_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21557 PyObject
*resultobj
;
21558 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21560 int arg3
= (int) 0 ;
21561 wxListItem
*result
;
21562 PyObject
* obj0
= 0 ;
21563 PyObject
* obj1
= 0 ;
21564 PyObject
* obj2
= 0 ;
21565 char *kwnames
[] = {
21566 (char *) "self",(char *) "itemId",(char *) "col", NULL
21569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21570 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21572 arg2
= (long) SWIG_AsLong(obj1
);
21573 if (PyErr_Occurred()) SWIG_fail
;
21575 arg3
= (int) SWIG_AsInt(obj2
);
21576 if (PyErr_Occurred()) SWIG_fail
;
21579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21580 result
= (wxListItem
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
);
21582 wxPyEndAllowThreads(__tstate
);
21583 if (PyErr_Occurred()) SWIG_fail
;
21586 resultobj
= wxPyMake_wxObject(result
, 0);
21594 static PyObject
*_wrap_ListCtrl_SetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21595 PyObject
*resultobj
;
21596 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21597 wxListItem
*arg2
= 0 ;
21599 PyObject
* obj0
= 0 ;
21600 PyObject
* obj1
= 0 ;
21601 char *kwnames
[] = {
21602 (char *) "self",(char *) "info", NULL
21605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
21606 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21608 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxListItem
,
21609 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21611 if (arg2
== NULL
) {
21612 PyErr_SetString(PyExc_TypeError
,"null reference");
21616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21617 result
= (bool)(arg1
)->SetItem(*arg2
);
21619 wxPyEndAllowThreads(__tstate
);
21620 if (PyErr_Occurred()) SWIG_fail
;
21623 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21631 static PyObject
*_wrap_ListCtrl_SetStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21632 PyObject
*resultobj
;
21633 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21636 wxString
*arg4
= 0 ;
21637 int arg5
= (int) -1 ;
21639 bool temp4
= False
;
21640 PyObject
* obj0
= 0 ;
21641 PyObject
* obj1
= 0 ;
21642 PyObject
* obj2
= 0 ;
21643 PyObject
* obj3
= 0 ;
21644 PyObject
* obj4
= 0 ;
21645 char *kwnames
[] = {
21646 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
21649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
21650 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21652 arg2
= (long) SWIG_AsLong(obj1
);
21653 if (PyErr_Occurred()) SWIG_fail
;
21654 arg3
= (int) SWIG_AsInt(obj2
);
21655 if (PyErr_Occurred()) SWIG_fail
;
21657 arg4
= wxString_in_helper(obj3
);
21658 if (arg4
== NULL
) SWIG_fail
;
21662 arg5
= (int) SWIG_AsInt(obj4
);
21663 if (PyErr_Occurred()) SWIG_fail
;
21666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21667 result
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
21669 wxPyEndAllowThreads(__tstate
);
21670 if (PyErr_Occurred()) SWIG_fail
;
21672 resultobj
= SWIG_FromLong((long)result
);
21687 static PyObject
*_wrap_ListCtrl_GetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21688 PyObject
*resultobj
;
21689 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21693 PyObject
* obj0
= 0 ;
21694 PyObject
* obj1
= 0 ;
21695 PyObject
* obj2
= 0 ;
21696 char *kwnames
[] = {
21697 (char *) "self",(char *) "item",(char *) "stateMask", NULL
21700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_GetItemState",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21703 arg2
= (long) SWIG_AsLong(obj1
);
21704 if (PyErr_Occurred()) SWIG_fail
;
21705 arg3
= (long) SWIG_AsLong(obj2
);
21706 if (PyErr_Occurred()) SWIG_fail
;
21708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21709 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemState(arg2
,arg3
);
21711 wxPyEndAllowThreads(__tstate
);
21712 if (PyErr_Occurred()) SWIG_fail
;
21714 resultobj
= SWIG_FromInt((int)result
);
21721 static PyObject
*_wrap_ListCtrl_SetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21722 PyObject
*resultobj
;
21723 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21728 PyObject
* obj0
= 0 ;
21729 PyObject
* obj1
= 0 ;
21730 PyObject
* obj2
= 0 ;
21731 PyObject
* obj3
= 0 ;
21732 char *kwnames
[] = {
21733 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
21736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemState",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21737 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21739 arg2
= (long) SWIG_AsLong(obj1
);
21740 if (PyErr_Occurred()) SWIG_fail
;
21741 arg3
= (long) SWIG_AsLong(obj2
);
21742 if (PyErr_Occurred()) SWIG_fail
;
21743 arg4
= (long) SWIG_AsLong(obj3
);
21744 if (PyErr_Occurred()) SWIG_fail
;
21746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21747 result
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
);
21749 wxPyEndAllowThreads(__tstate
);
21750 if (PyErr_Occurred()) SWIG_fail
;
21753 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21761 static PyObject
*_wrap_ListCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21762 PyObject
*resultobj
;
21763 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21768 PyObject
* obj0
= 0 ;
21769 PyObject
* obj1
= 0 ;
21770 PyObject
* obj2
= 0 ;
21771 PyObject
* obj3
= 0 ;
21772 char *kwnames
[] = {
21773 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
21776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21777 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21779 arg2
= (long) SWIG_AsLong(obj1
);
21780 if (PyErr_Occurred()) SWIG_fail
;
21781 arg3
= (int) SWIG_AsInt(obj2
);
21782 if (PyErr_Occurred()) SWIG_fail
;
21783 arg4
= (int) SWIG_AsInt(obj3
);
21784 if (PyErr_Occurred()) SWIG_fail
;
21786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21787 result
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
);
21789 wxPyEndAllowThreads(__tstate
);
21790 if (PyErr_Occurred()) SWIG_fail
;
21793 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21801 static PyObject
*_wrap_ListCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21802 PyObject
*resultobj
;
21803 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21806 PyObject
* obj0
= 0 ;
21807 PyObject
* obj1
= 0 ;
21808 char *kwnames
[] = {
21809 (char *) "self",(char *) "item", NULL
21812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
21813 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21815 arg2
= (long) SWIG_AsLong(obj1
);
21816 if (PyErr_Occurred()) SWIG_fail
;
21818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21819 result
= ((wxPyListCtrl
const *)arg1
)->GetItemText(arg2
);
21821 wxPyEndAllowThreads(__tstate
);
21822 if (PyErr_Occurred()) SWIG_fail
;
21826 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21828 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21837 static PyObject
*_wrap_ListCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21838 PyObject
*resultobj
;
21839 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21841 wxString
*arg3
= 0 ;
21842 bool temp3
= False
;
21843 PyObject
* obj0
= 0 ;
21844 PyObject
* obj1
= 0 ;
21845 PyObject
* obj2
= 0 ;
21846 char *kwnames
[] = {
21847 (char *) "self",(char *) "item",(char *) "str", NULL
21850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21853 arg2
= (long) SWIG_AsLong(obj1
);
21854 if (PyErr_Occurred()) SWIG_fail
;
21856 arg3
= wxString_in_helper(obj2
);
21857 if (arg3
== NULL
) SWIG_fail
;
21861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21862 (arg1
)->SetItemText(arg2
,(wxString
const &)*arg3
);
21864 wxPyEndAllowThreads(__tstate
);
21865 if (PyErr_Occurred()) SWIG_fail
;
21867 Py_INCREF(Py_None
); resultobj
= Py_None
;
21882 static PyObject
*_wrap_ListCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21883 PyObject
*resultobj
;
21884 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21887 PyObject
* obj0
= 0 ;
21888 PyObject
* obj1
= 0 ;
21889 char *kwnames
[] = {
21890 (char *) "self",(char *) "item", NULL
21893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
21894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21896 arg2
= (long) SWIG_AsLong(obj1
);
21897 if (PyErr_Occurred()) SWIG_fail
;
21899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21900 result
= (long)((wxPyListCtrl
const *)arg1
)->GetItemData(arg2
);
21902 wxPyEndAllowThreads(__tstate
);
21903 if (PyErr_Occurred()) SWIG_fail
;
21905 resultobj
= SWIG_FromLong((long)result
);
21912 static PyObject
*_wrap_ListCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21913 PyObject
*resultobj
;
21914 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21918 PyObject
* obj0
= 0 ;
21919 PyObject
* obj1
= 0 ;
21920 PyObject
* obj2
= 0 ;
21921 char *kwnames
[] = {
21922 (char *) "self",(char *) "item",(char *) "data", NULL
21925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21926 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21927 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21928 arg2
= (long) SWIG_AsLong(obj1
);
21929 if (PyErr_Occurred()) SWIG_fail
;
21930 arg3
= (long) SWIG_AsLong(obj2
);
21931 if (PyErr_Occurred()) SWIG_fail
;
21933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21934 result
= (bool)(arg1
)->SetItemData(arg2
,arg3
);
21936 wxPyEndAllowThreads(__tstate
);
21937 if (PyErr_Occurred()) SWIG_fail
;
21940 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21948 static PyObject
*_wrap_ListCtrl_GetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21949 PyObject
*resultobj
;
21950 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21953 PyObject
* obj0
= 0 ;
21954 PyObject
* obj1
= 0 ;
21955 char *kwnames
[] = {
21956 (char *) "self",(char *) "item", NULL
21959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
21960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21962 arg2
= (long) SWIG_AsLong(obj1
);
21963 if (PyErr_Occurred()) SWIG_fail
;
21965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21966 result
= wxPyListCtrl_GetItemPosition(arg1
,arg2
);
21968 wxPyEndAllowThreads(__tstate
);
21969 if (PyErr_Occurred()) SWIG_fail
;
21972 wxPoint
* resultptr
;
21973 resultptr
= new wxPoint((wxPoint
&) result
);
21974 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
21982 static PyObject
*_wrap_ListCtrl_GetItemRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21983 PyObject
*resultobj
;
21984 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21986 int arg3
= (int) wxLIST_RECT_BOUNDS
;
21988 PyObject
* obj0
= 0 ;
21989 PyObject
* obj1
= 0 ;
21990 PyObject
* obj2
= 0 ;
21991 char *kwnames
[] = {
21992 (char *) "self",(char *) "item",(char *) "code", NULL
21995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItemRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21998 arg2
= (long) SWIG_AsLong(obj1
);
21999 if (PyErr_Occurred()) SWIG_fail
;
22001 arg3
= (int) SWIG_AsInt(obj2
);
22002 if (PyErr_Occurred()) SWIG_fail
;
22005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22006 result
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
);
22008 wxPyEndAllowThreads(__tstate
);
22009 if (PyErr_Occurred()) SWIG_fail
;
22012 wxRect
* resultptr
;
22013 resultptr
= new wxRect((wxRect
&) result
);
22014 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
22022 static PyObject
*_wrap_ListCtrl_SetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22023 PyObject
*resultobj
;
22024 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22026 wxPoint
*arg3
= 0 ;
22029 PyObject
* obj0
= 0 ;
22030 PyObject
* obj1
= 0 ;
22031 PyObject
* obj2
= 0 ;
22032 char *kwnames
[] = {
22033 (char *) "self",(char *) "item",(char *) "pos", NULL
22036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22037 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22039 arg2
= (long) SWIG_AsLong(obj1
);
22040 if (PyErr_Occurred()) SWIG_fail
;
22043 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22047 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint
const &)*arg3
);
22049 wxPyEndAllowThreads(__tstate
);
22050 if (PyErr_Occurred()) SWIG_fail
;
22053 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22061 static PyObject
*_wrap_ListCtrl_GetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22062 PyObject
*resultobj
;
22063 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22065 PyObject
* obj0
= 0 ;
22066 char *kwnames
[] = {
22067 (char *) "self", NULL
22070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemCount",kwnames
,&obj0
)) goto fail
;
22071 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22075 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemCount();
22077 wxPyEndAllowThreads(__tstate
);
22078 if (PyErr_Occurred()) SWIG_fail
;
22080 resultobj
= SWIG_FromInt((int)result
);
22087 static PyObject
*_wrap_ListCtrl_GetColumnCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22088 PyObject
*resultobj
;
22089 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22091 PyObject
* obj0
= 0 ;
22092 char *kwnames
[] = {
22093 (char *) "self", NULL
22096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetColumnCount",kwnames
,&obj0
)) goto fail
;
22097 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22101 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnCount();
22103 wxPyEndAllowThreads(__tstate
);
22104 if (PyErr_Occurred()) SWIG_fail
;
22106 resultobj
= SWIG_FromInt((int)result
);
22113 static PyObject
*_wrap_ListCtrl_GetItemSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22114 PyObject
*resultobj
;
22115 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22117 PyObject
* obj0
= 0 ;
22118 char *kwnames
[] = {
22119 (char *) "self", NULL
22122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemSpacing",kwnames
,&obj0
)) goto fail
;
22123 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22127 result
= ((wxPyListCtrl
const *)arg1
)->GetItemSpacing();
22129 wxPyEndAllowThreads(__tstate
);
22130 if (PyErr_Occurred()) SWIG_fail
;
22133 wxSize
* resultptr
;
22134 resultptr
= new wxSize((wxSize
&) result
);
22135 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22143 static PyObject
*_wrap_ListCtrl_SetItemSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22144 PyObject
*resultobj
;
22145 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22147 bool arg3
= (bool) False
;
22148 PyObject
* obj0
= 0 ;
22149 PyObject
* obj1
= 0 ;
22150 PyObject
* obj2
= 0 ;
22151 char *kwnames
[] = {
22152 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
22155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetItemSpacing",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22158 arg2
= (int) SWIG_AsInt(obj1
);
22159 if (PyErr_Occurred()) SWIG_fail
;
22161 arg3
= (bool) SWIG_AsBool(obj2
);
22162 if (PyErr_Occurred()) SWIG_fail
;
22165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22166 (arg1
)->SetItemSpacing(arg2
,arg3
);
22168 wxPyEndAllowThreads(__tstate
);
22169 if (PyErr_Occurred()) SWIG_fail
;
22171 Py_INCREF(Py_None
); resultobj
= Py_None
;
22178 static PyObject
*_wrap_ListCtrl_GetSelectedItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22179 PyObject
*resultobj
;
22180 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22182 PyObject
* obj0
= 0 ;
22183 char *kwnames
[] = {
22184 (char *) "self", NULL
22187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames
,&obj0
)) goto fail
;
22188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22192 result
= (int)((wxPyListCtrl
const *)arg1
)->GetSelectedItemCount();
22194 wxPyEndAllowThreads(__tstate
);
22195 if (PyErr_Occurred()) SWIG_fail
;
22197 resultobj
= SWIG_FromInt((int)result
);
22204 static PyObject
*_wrap_ListCtrl_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22205 PyObject
*resultobj
;
22206 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22208 PyObject
* obj0
= 0 ;
22209 char *kwnames
[] = {
22210 (char *) "self", NULL
22213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTextColour",kwnames
,&obj0
)) goto fail
;
22214 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22218 result
= ((wxPyListCtrl
const *)arg1
)->GetTextColour();
22220 wxPyEndAllowThreads(__tstate
);
22221 if (PyErr_Occurred()) SWIG_fail
;
22224 wxColour
* resultptr
;
22225 resultptr
= new wxColour((wxColour
&) result
);
22226 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
22234 static PyObject
*_wrap_ListCtrl_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22235 PyObject
*resultobj
;
22236 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22237 wxColour
*arg2
= 0 ;
22239 PyObject
* obj0
= 0 ;
22240 PyObject
* obj1
= 0 ;
22241 char *kwnames
[] = {
22242 (char *) "self",(char *) "col", NULL
22245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
22246 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22247 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22250 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22254 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
22256 wxPyEndAllowThreads(__tstate
);
22257 if (PyErr_Occurred()) SWIG_fail
;
22259 Py_INCREF(Py_None
); resultobj
= Py_None
;
22266 static PyObject
*_wrap_ListCtrl_GetTopItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22267 PyObject
*resultobj
;
22268 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22270 PyObject
* obj0
= 0 ;
22271 char *kwnames
[] = {
22272 (char *) "self", NULL
22275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTopItem",kwnames
,&obj0
)) goto fail
;
22276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22280 result
= (long)((wxPyListCtrl
const *)arg1
)->GetTopItem();
22282 wxPyEndAllowThreads(__tstate
);
22283 if (PyErr_Occurred()) SWIG_fail
;
22285 resultobj
= SWIG_FromLong((long)result
);
22292 static PyObject
*_wrap_ListCtrl_SetSingleStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22293 PyObject
*resultobj
;
22294 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22296 bool arg3
= (bool) True
;
22297 PyObject
* obj0
= 0 ;
22298 PyObject
* obj1
= 0 ;
22299 PyObject
* obj2
= 0 ;
22300 char *kwnames
[] = {
22301 (char *) "self",(char *) "style",(char *) "add", NULL
22304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22307 arg2
= (long) SWIG_AsLong(obj1
);
22308 if (PyErr_Occurred()) SWIG_fail
;
22310 arg3
= (bool) SWIG_AsBool(obj2
);
22311 if (PyErr_Occurred()) SWIG_fail
;
22314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22315 (arg1
)->SetSingleStyle(arg2
,arg3
);
22317 wxPyEndAllowThreads(__tstate
);
22318 if (PyErr_Occurred()) SWIG_fail
;
22320 Py_INCREF(Py_None
); resultobj
= Py_None
;
22327 static PyObject
*_wrap_ListCtrl_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22328 PyObject
*resultobj
;
22329 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22331 PyObject
* obj0
= 0 ;
22332 PyObject
* obj1
= 0 ;
22333 char *kwnames
[] = {
22334 (char *) "self",(char *) "style", NULL
22337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
22338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22340 arg2
= (long) SWIG_AsLong(obj1
);
22341 if (PyErr_Occurred()) SWIG_fail
;
22343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22344 (arg1
)->SetWindowStyleFlag(arg2
);
22346 wxPyEndAllowThreads(__tstate
);
22347 if (PyErr_Occurred()) SWIG_fail
;
22349 Py_INCREF(Py_None
); resultobj
= Py_None
;
22356 static PyObject
*_wrap_ListCtrl_GetNextItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22357 PyObject
*resultobj
;
22358 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22360 int arg3
= (int) wxLIST_NEXT_ALL
;
22361 int arg4
= (int) wxLIST_STATE_DONTCARE
;
22363 PyObject
* obj0
= 0 ;
22364 PyObject
* obj1
= 0 ;
22365 PyObject
* obj2
= 0 ;
22366 PyObject
* obj3
= 0 ;
22367 char *kwnames
[] = {
22368 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
22371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22374 arg2
= (long) SWIG_AsLong(obj1
);
22375 if (PyErr_Occurred()) SWIG_fail
;
22377 arg3
= (int) SWIG_AsInt(obj2
);
22378 if (PyErr_Occurred()) SWIG_fail
;
22381 arg4
= (int) SWIG_AsInt(obj3
);
22382 if (PyErr_Occurred()) SWIG_fail
;
22385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22386 result
= (long)((wxPyListCtrl
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
22388 wxPyEndAllowThreads(__tstate
);
22389 if (PyErr_Occurred()) SWIG_fail
;
22391 resultobj
= SWIG_FromLong((long)result
);
22398 static PyObject
*_wrap_ListCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22399 PyObject
*resultobj
;
22400 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22402 wxImageList
*result
;
22403 PyObject
* obj0
= 0 ;
22404 PyObject
* obj1
= 0 ;
22405 char *kwnames
[] = {
22406 (char *) "self",(char *) "which", NULL
22409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
22410 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22412 arg2
= (int) SWIG_AsInt(obj1
);
22413 if (PyErr_Occurred()) SWIG_fail
;
22415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22416 result
= (wxImageList
*)((wxPyListCtrl
const *)arg1
)->GetImageList(arg2
);
22418 wxPyEndAllowThreads(__tstate
);
22419 if (PyErr_Occurred()) SWIG_fail
;
22422 resultobj
= wxPyMake_wxObject(result
, 0);
22430 static PyObject
*_wrap_ListCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22431 PyObject
*resultobj
;
22432 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22433 wxImageList
*arg2
= (wxImageList
*) 0 ;
22435 PyObject
* obj0
= 0 ;
22436 PyObject
* obj1
= 0 ;
22437 PyObject
* obj2
= 0 ;
22438 char *kwnames
[] = {
22439 (char *) "self",(char *) "imageList",(char *) "which", NULL
22442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22445 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
22446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22447 arg3
= (int) SWIG_AsInt(obj2
);
22448 if (PyErr_Occurred()) SWIG_fail
;
22450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22451 (arg1
)->SetImageList(arg2
,arg3
);
22453 wxPyEndAllowThreads(__tstate
);
22454 if (PyErr_Occurred()) SWIG_fail
;
22456 Py_INCREF(Py_None
); resultobj
= Py_None
;
22463 static PyObject
*_wrap_ListCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22464 PyObject
*resultobj
;
22465 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22466 wxImageList
*arg2
= (wxImageList
*) 0 ;
22468 PyObject
* obj0
= 0 ;
22469 PyObject
* obj1
= 0 ;
22470 PyObject
* obj2
= 0 ;
22471 char *kwnames
[] = {
22472 (char *) "self",(char *) "imageList",(char *) "which", NULL
22475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22476 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22478 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
22479 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
22480 arg3
= (int) SWIG_AsInt(obj2
);
22481 if (PyErr_Occurred()) SWIG_fail
;
22483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22484 (arg1
)->AssignImageList(arg2
,arg3
);
22486 wxPyEndAllowThreads(__tstate
);
22487 if (PyErr_Occurred()) SWIG_fail
;
22489 Py_INCREF(Py_None
); resultobj
= Py_None
;
22496 static PyObject
*_wrap_ListCtrl_InReportView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22497 PyObject
*resultobj
;
22498 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22500 PyObject
* obj0
= 0 ;
22501 char *kwnames
[] = {
22502 (char *) "self", NULL
22505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_InReportView",kwnames
,&obj0
)) goto fail
;
22506 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22510 result
= (bool)((wxPyListCtrl
const *)arg1
)->InReportView();
22512 wxPyEndAllowThreads(__tstate
);
22513 if (PyErr_Occurred()) SWIG_fail
;
22516 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22524 static PyObject
*_wrap_ListCtrl_IsVirtual(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22525 PyObject
*resultobj
;
22526 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22528 PyObject
* obj0
= 0 ;
22529 char *kwnames
[] = {
22530 (char *) "self", NULL
22533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_IsVirtual",kwnames
,&obj0
)) goto fail
;
22534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22538 result
= (bool)((wxPyListCtrl
const *)arg1
)->IsVirtual();
22540 wxPyEndAllowThreads(__tstate
);
22541 if (PyErr_Occurred()) SWIG_fail
;
22544 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22552 static PyObject
*_wrap_ListCtrl_RefreshItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22553 PyObject
*resultobj
;
22554 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22556 PyObject
* obj0
= 0 ;
22557 PyObject
* obj1
= 0 ;
22558 char *kwnames
[] = {
22559 (char *) "self",(char *) "item", NULL
22562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_RefreshItem",kwnames
,&obj0
,&obj1
)) goto fail
;
22563 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22565 arg2
= (long) SWIG_AsLong(obj1
);
22566 if (PyErr_Occurred()) SWIG_fail
;
22568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22569 (arg1
)->RefreshItem(arg2
);
22571 wxPyEndAllowThreads(__tstate
);
22572 if (PyErr_Occurred()) SWIG_fail
;
22574 Py_INCREF(Py_None
); resultobj
= Py_None
;
22581 static PyObject
*_wrap_ListCtrl_RefreshItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22582 PyObject
*resultobj
;
22583 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22586 PyObject
* obj0
= 0 ;
22587 PyObject
* obj1
= 0 ;
22588 PyObject
* obj2
= 0 ;
22589 char *kwnames
[] = {
22590 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
22593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_RefreshItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22594 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22596 arg2
= (long) SWIG_AsLong(obj1
);
22597 if (PyErr_Occurred()) SWIG_fail
;
22598 arg3
= (long) SWIG_AsLong(obj2
);
22599 if (PyErr_Occurred()) SWIG_fail
;
22601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22602 (arg1
)->RefreshItems(arg2
,arg3
);
22604 wxPyEndAllowThreads(__tstate
);
22605 if (PyErr_Occurred()) SWIG_fail
;
22607 Py_INCREF(Py_None
); resultobj
= Py_None
;
22614 static PyObject
*_wrap_ListCtrl_Arrange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22615 PyObject
*resultobj
;
22616 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22617 int arg2
= (int) wxLIST_ALIGN_DEFAULT
;
22619 PyObject
* obj0
= 0 ;
22620 PyObject
* obj1
= 0 ;
22621 char *kwnames
[] = {
22622 (char *) "self",(char *) "flag", NULL
22625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListCtrl_Arrange",kwnames
,&obj0
,&obj1
)) goto fail
;
22626 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22627 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22629 arg2
= (int) SWIG_AsInt(obj1
);
22630 if (PyErr_Occurred()) SWIG_fail
;
22633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22634 result
= (bool)(arg1
)->Arrange(arg2
);
22636 wxPyEndAllowThreads(__tstate
);
22637 if (PyErr_Occurred()) SWIG_fail
;
22640 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22648 static PyObject
*_wrap_ListCtrl_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22649 PyObject
*resultobj
;
22650 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22653 PyObject
* obj0
= 0 ;
22654 PyObject
* obj1
= 0 ;
22655 char *kwnames
[] = {
22656 (char *) "self",(char *) "item", NULL
22659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
22660 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22662 arg2
= (long) SWIG_AsLong(obj1
);
22663 if (PyErr_Occurred()) SWIG_fail
;
22665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22666 result
= (bool)(arg1
)->DeleteItem(arg2
);
22668 wxPyEndAllowThreads(__tstate
);
22669 if (PyErr_Occurred()) SWIG_fail
;
22672 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22680 static PyObject
*_wrap_ListCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22681 PyObject
*resultobj
;
22682 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22684 PyObject
* obj0
= 0 ;
22685 char *kwnames
[] = {
22686 (char *) "self", NULL
22689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
22690 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22694 result
= (bool)(arg1
)->DeleteAllItems();
22696 wxPyEndAllowThreads(__tstate
);
22697 if (PyErr_Occurred()) SWIG_fail
;
22700 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22708 static PyObject
*_wrap_ListCtrl_DeleteColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22709 PyObject
*resultobj
;
22710 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22713 PyObject
* obj0
= 0 ;
22714 PyObject
* obj1
= 0 ;
22715 char *kwnames
[] = {
22716 (char *) "self",(char *) "col", NULL
22719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
22720 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22722 arg2
= (int) SWIG_AsInt(obj1
);
22723 if (PyErr_Occurred()) SWIG_fail
;
22725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22726 result
= (bool)(arg1
)->DeleteColumn(arg2
);
22728 wxPyEndAllowThreads(__tstate
);
22729 if (PyErr_Occurred()) SWIG_fail
;
22732 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22740 static PyObject
*_wrap_ListCtrl_DeleteAllColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22741 PyObject
*resultobj
;
22742 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22744 PyObject
* obj0
= 0 ;
22745 char *kwnames
[] = {
22746 (char *) "self", NULL
22749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllColumns",kwnames
,&obj0
)) goto fail
;
22750 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22754 result
= (bool)(arg1
)->DeleteAllColumns();
22756 wxPyEndAllowThreads(__tstate
);
22757 if (PyErr_Occurred()) SWIG_fail
;
22760 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22768 static PyObject
*_wrap_ListCtrl_ClearAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22769 PyObject
*resultobj
;
22770 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22771 PyObject
* obj0
= 0 ;
22772 char *kwnames
[] = {
22773 (char *) "self", NULL
22776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_ClearAll",kwnames
,&obj0
)) goto fail
;
22777 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22781 (arg1
)->ClearAll();
22783 wxPyEndAllowThreads(__tstate
);
22784 if (PyErr_Occurred()) SWIG_fail
;
22786 Py_INCREF(Py_None
); resultobj
= Py_None
;
22793 static PyObject
*_wrap_ListCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22794 PyObject
*resultobj
;
22795 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22797 PyObject
* obj0
= 0 ;
22798 PyObject
* obj1
= 0 ;
22799 char *kwnames
[] = {
22800 (char *) "self",(char *) "item", NULL
22803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
22804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22806 arg2
= (long) SWIG_AsLong(obj1
);
22807 if (PyErr_Occurred()) SWIG_fail
;
22809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22810 (arg1
)->EditLabel(arg2
);
22812 wxPyEndAllowThreads(__tstate
);
22813 if (PyErr_Occurred()) SWIG_fail
;
22815 Py_INCREF(Py_None
); resultobj
= Py_None
;
22822 static PyObject
*_wrap_ListCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22823 PyObject
*resultobj
;
22824 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22827 PyObject
* obj0
= 0 ;
22828 PyObject
* obj1
= 0 ;
22829 char *kwnames
[] = {
22830 (char *) "self",(char *) "item", NULL
22833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
22834 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22836 arg2
= (long) SWIG_AsLong(obj1
);
22837 if (PyErr_Occurred()) SWIG_fail
;
22839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22840 result
= (bool)(arg1
)->EnsureVisible(arg2
);
22842 wxPyEndAllowThreads(__tstate
);
22843 if (PyErr_Occurred()) SWIG_fail
;
22846 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22854 static PyObject
*_wrap_ListCtrl_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22855 PyObject
*resultobj
;
22856 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22858 wxString
*arg3
= 0 ;
22859 bool arg4
= (bool) False
;
22861 bool temp3
= False
;
22862 PyObject
* obj0
= 0 ;
22863 PyObject
* obj1
= 0 ;
22864 PyObject
* obj2
= 0 ;
22865 PyObject
* obj3
= 0 ;
22866 char *kwnames
[] = {
22867 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
22870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_FindItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22871 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22873 arg2
= (long) SWIG_AsLong(obj1
);
22874 if (PyErr_Occurred()) SWIG_fail
;
22876 arg3
= wxString_in_helper(obj2
);
22877 if (arg3
== NULL
) SWIG_fail
;
22881 arg4
= (bool) SWIG_AsBool(obj3
);
22882 if (PyErr_Occurred()) SWIG_fail
;
22885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22886 result
= (long)(arg1
)->FindItem(arg2
,(wxString
const &)*arg3
,arg4
);
22888 wxPyEndAllowThreads(__tstate
);
22889 if (PyErr_Occurred()) SWIG_fail
;
22891 resultobj
= SWIG_FromLong((long)result
);
22906 static PyObject
*_wrap_ListCtrl_FindItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22907 PyObject
*resultobj
;
22908 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22912 PyObject
* obj0
= 0 ;
22913 PyObject
* obj1
= 0 ;
22914 PyObject
* obj2
= 0 ;
22915 char *kwnames
[] = {
22916 (char *) "self",(char *) "start",(char *) "data", NULL
22919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_FindItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22920 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22922 arg2
= (long) SWIG_AsLong(obj1
);
22923 if (PyErr_Occurred()) SWIG_fail
;
22924 arg3
= (long) SWIG_AsLong(obj2
);
22925 if (PyErr_Occurred()) SWIG_fail
;
22927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22928 result
= (long)(arg1
)->FindItem(arg2
,arg3
);
22930 wxPyEndAllowThreads(__tstate
);
22931 if (PyErr_Occurred()) SWIG_fail
;
22933 resultobj
= SWIG_FromLong((long)result
);
22940 static PyObject
*_wrap_ListCtrl_FindItemAtPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22941 PyObject
*resultobj
;
22942 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22944 wxPoint
*arg3
= 0 ;
22948 PyObject
* obj0
= 0 ;
22949 PyObject
* obj1
= 0 ;
22950 PyObject
* obj2
= 0 ;
22951 PyObject
* obj3
= 0 ;
22952 char *kwnames
[] = {
22953 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
22956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22957 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22959 arg2
= (long) SWIG_AsLong(obj1
);
22960 if (PyErr_Occurred()) SWIG_fail
;
22963 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22965 arg4
= (int) SWIG_AsInt(obj3
);
22966 if (PyErr_Occurred()) SWIG_fail
;
22968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22969 result
= (long)(arg1
)->FindItem(arg2
,(wxPoint
const &)*arg3
,arg4
);
22971 wxPyEndAllowThreads(__tstate
);
22972 if (PyErr_Occurred()) SWIG_fail
;
22974 resultobj
= SWIG_FromLong((long)result
);
22981 static PyObject
*_wrap_ListCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22982 PyObject
*resultobj
;
22983 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22984 wxPoint
*arg2
= 0 ;
22989 PyObject
* obj0
= 0 ;
22990 PyObject
* obj1
= 0 ;
22991 char *kwnames
[] = {
22992 (char *) "self",(char *) "point", NULL
22996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
22997 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23001 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23005 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
23007 wxPyEndAllowThreads(__tstate
);
23008 if (PyErr_Occurred()) SWIG_fail
;
23010 resultobj
= SWIG_FromLong((long)result
);
23012 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
23013 resultobj
= t_output_helper(resultobj
,o
);
23021 static PyObject
*_wrap_ListCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23022 PyObject
*resultobj
;
23023 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23024 wxListItem
*arg2
= 0 ;
23026 PyObject
* obj0
= 0 ;
23027 PyObject
* obj1
= 0 ;
23028 char *kwnames
[] = {
23029 (char *) "self",(char *) "info", NULL
23032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) goto fail
;
23033 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23035 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxListItem
,
23036 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23038 if (arg2
== NULL
) {
23039 PyErr_SetString(PyExc_TypeError
,"null reference");
23043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23044 result
= (long)(arg1
)->InsertItem(*arg2
);
23046 wxPyEndAllowThreads(__tstate
);
23047 if (PyErr_Occurred()) SWIG_fail
;
23049 resultobj
= SWIG_FromLong((long)result
);
23056 static PyObject
*_wrap_ListCtrl_InsertStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23057 PyObject
*resultobj
;
23058 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23060 wxString
*arg3
= 0 ;
23062 bool temp3
= False
;
23063 PyObject
* obj0
= 0 ;
23064 PyObject
* obj1
= 0 ;
23065 PyObject
* obj2
= 0 ;
23066 char *kwnames
[] = {
23067 (char *) "self",(char *) "index",(char *) "label", NULL
23070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertStringItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23071 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23073 arg2
= (long) SWIG_AsLong(obj1
);
23074 if (PyErr_Occurred()) SWIG_fail
;
23076 arg3
= wxString_in_helper(obj2
);
23077 if (arg3
== NULL
) SWIG_fail
;
23081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23082 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
);
23084 wxPyEndAllowThreads(__tstate
);
23085 if (PyErr_Occurred()) SWIG_fail
;
23087 resultobj
= SWIG_FromLong((long)result
);
23102 static PyObject
*_wrap_ListCtrl_InsertImageItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23103 PyObject
*resultobj
;
23104 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23108 PyObject
* obj0
= 0 ;
23109 PyObject
* obj1
= 0 ;
23110 PyObject
* obj2
= 0 ;
23111 char *kwnames
[] = {
23112 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
23115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertImageItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23116 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23118 arg2
= (long) SWIG_AsLong(obj1
);
23119 if (PyErr_Occurred()) SWIG_fail
;
23120 arg3
= (int) SWIG_AsInt(obj2
);
23121 if (PyErr_Occurred()) SWIG_fail
;
23123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23124 result
= (long)(arg1
)->InsertItem(arg2
,arg3
);
23126 wxPyEndAllowThreads(__tstate
);
23127 if (PyErr_Occurred()) SWIG_fail
;
23129 resultobj
= SWIG_FromLong((long)result
);
23136 static PyObject
*_wrap_ListCtrl_InsertImageStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23137 PyObject
*resultobj
;
23138 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23140 wxString
*arg3
= 0 ;
23143 bool temp3
= False
;
23144 PyObject
* obj0
= 0 ;
23145 PyObject
* obj1
= 0 ;
23146 PyObject
* obj2
= 0 ;
23147 PyObject
* obj3
= 0 ;
23148 char *kwnames
[] = {
23149 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
23152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23153 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23155 arg2
= (long) SWIG_AsLong(obj1
);
23156 if (PyErr_Occurred()) SWIG_fail
;
23158 arg3
= wxString_in_helper(obj2
);
23159 if (arg3
== NULL
) SWIG_fail
;
23162 arg4
= (int) SWIG_AsInt(obj3
);
23163 if (PyErr_Occurred()) SWIG_fail
;
23165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23166 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
23168 wxPyEndAllowThreads(__tstate
);
23169 if (PyErr_Occurred()) SWIG_fail
;
23171 resultobj
= SWIG_FromLong((long)result
);
23186 static PyObject
*_wrap_ListCtrl_InsertColumnInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23187 PyObject
*resultobj
;
23188 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23190 wxListItem
*arg3
= 0 ;
23192 PyObject
* obj0
= 0 ;
23193 PyObject
* obj1
= 0 ;
23194 PyObject
* obj2
= 0 ;
23195 char *kwnames
[] = {
23196 (char *) "self",(char *) "col",(char *) "info", NULL
23199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertColumnInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23202 arg2
= (long) SWIG_AsLong(obj1
);
23203 if (PyErr_Occurred()) SWIG_fail
;
23204 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxListItem
,
23205 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23207 if (arg3
== NULL
) {
23208 PyErr_SetString(PyExc_TypeError
,"null reference");
23212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23213 result
= (long)(arg1
)->InsertColumn(arg2
,*arg3
);
23215 wxPyEndAllowThreads(__tstate
);
23216 if (PyErr_Occurred()) SWIG_fail
;
23218 resultobj
= SWIG_FromLong((long)result
);
23225 static PyObject
*_wrap_ListCtrl_InsertColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23226 PyObject
*resultobj
;
23227 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23229 wxString
*arg3
= 0 ;
23230 int arg4
= (int) wxLIST_FORMAT_LEFT
;
23231 int arg5
= (int) -1 ;
23233 bool temp3
= False
;
23234 PyObject
* obj0
= 0 ;
23235 PyObject
* obj1
= 0 ;
23236 PyObject
* obj2
= 0 ;
23237 PyObject
* obj3
= 0 ;
23238 PyObject
* obj4
= 0 ;
23239 char *kwnames
[] = {
23240 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
23243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
23244 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23245 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23246 arg2
= (long) SWIG_AsLong(obj1
);
23247 if (PyErr_Occurred()) SWIG_fail
;
23249 arg3
= wxString_in_helper(obj2
);
23250 if (arg3
== NULL
) SWIG_fail
;
23254 arg4
= (int) SWIG_AsInt(obj3
);
23255 if (PyErr_Occurred()) SWIG_fail
;
23258 arg5
= (int) SWIG_AsInt(obj4
);
23259 if (PyErr_Occurred()) SWIG_fail
;
23262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23263 result
= (long)(arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
23265 wxPyEndAllowThreads(__tstate
);
23266 if (PyErr_Occurred()) SWIG_fail
;
23268 resultobj
= SWIG_FromLong((long)result
);
23283 static PyObject
*_wrap_ListCtrl_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23284 PyObject
*resultobj
;
23285 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23287 PyObject
* obj0
= 0 ;
23288 PyObject
* obj1
= 0 ;
23289 char *kwnames
[] = {
23290 (char *) "self",(char *) "count", NULL
23293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
23294 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23296 arg2
= (long) SWIG_AsLong(obj1
);
23297 if (PyErr_Occurred()) SWIG_fail
;
23299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23300 (arg1
)->SetItemCount(arg2
);
23302 wxPyEndAllowThreads(__tstate
);
23303 if (PyErr_Occurred()) SWIG_fail
;
23305 Py_INCREF(Py_None
); resultobj
= Py_None
;
23312 static PyObject
*_wrap_ListCtrl_ScrollList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23313 PyObject
*resultobj
;
23314 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23318 PyObject
* obj0
= 0 ;
23319 PyObject
* obj1
= 0 ;
23320 PyObject
* obj2
= 0 ;
23321 char *kwnames
[] = {
23322 (char *) "self",(char *) "dx",(char *) "dy", NULL
23325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_ScrollList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23328 arg2
= (int) SWIG_AsInt(obj1
);
23329 if (PyErr_Occurred()) SWIG_fail
;
23330 arg3
= (int) SWIG_AsInt(obj2
);
23331 if (PyErr_Occurred()) SWIG_fail
;
23333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23334 result
= (bool)(arg1
)->ScrollList(arg2
,arg3
);
23336 wxPyEndAllowThreads(__tstate
);
23337 if (PyErr_Occurred()) SWIG_fail
;
23340 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23348 static PyObject
*_wrap_ListCtrl_SetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23349 PyObject
*resultobj
;
23350 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23352 wxColour
*arg3
= 0 ;
23354 PyObject
* obj0
= 0 ;
23355 PyObject
* obj1
= 0 ;
23356 PyObject
* obj2
= 0 ;
23357 char *kwnames
[] = {
23358 (char *) "self",(char *) "item",(char *) "col", NULL
23361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23364 arg2
= (long) SWIG_AsLong(obj1
);
23365 if (PyErr_Occurred()) SWIG_fail
;
23368 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
23371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23372 (arg1
)->SetItemTextColour(arg2
,(wxColour
const &)*arg3
);
23374 wxPyEndAllowThreads(__tstate
);
23375 if (PyErr_Occurred()) SWIG_fail
;
23377 Py_INCREF(Py_None
); resultobj
= Py_None
;
23384 static PyObject
*_wrap_ListCtrl_GetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23385 PyObject
*resultobj
;
23386 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23389 PyObject
* obj0
= 0 ;
23390 PyObject
* obj1
= 0 ;
23391 char *kwnames
[] = {
23392 (char *) "self",(char *) "item", NULL
23395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
23396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23398 arg2
= (long) SWIG_AsLong(obj1
);
23399 if (PyErr_Occurred()) SWIG_fail
;
23401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23402 result
= ((wxPyListCtrl
const *)arg1
)->GetItemTextColour(arg2
);
23404 wxPyEndAllowThreads(__tstate
);
23405 if (PyErr_Occurred()) SWIG_fail
;
23408 wxColour
* resultptr
;
23409 resultptr
= new wxColour((wxColour
&) result
);
23410 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
23418 static PyObject
*_wrap_ListCtrl_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23419 PyObject
*resultobj
;
23420 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23422 wxColour
*arg3
= 0 ;
23424 PyObject
* obj0
= 0 ;
23425 PyObject
* obj1
= 0 ;
23426 PyObject
* obj2
= 0 ;
23427 char *kwnames
[] = {
23428 (char *) "self",(char *) "item",(char *) "col", NULL
23431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23434 arg2
= (long) SWIG_AsLong(obj1
);
23435 if (PyErr_Occurred()) SWIG_fail
;
23438 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
23441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23442 (arg1
)->SetItemBackgroundColour(arg2
,(wxColour
const &)*arg3
);
23444 wxPyEndAllowThreads(__tstate
);
23445 if (PyErr_Occurred()) SWIG_fail
;
23447 Py_INCREF(Py_None
); resultobj
= Py_None
;
23454 static PyObject
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23455 PyObject
*resultobj
;
23456 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23459 PyObject
* obj0
= 0 ;
23460 PyObject
* obj1
= 0 ;
23461 char *kwnames
[] = {
23462 (char *) "self",(char *) "item", NULL
23465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
23466 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23468 arg2
= (long) SWIG_AsLong(obj1
);
23469 if (PyErr_Occurred()) SWIG_fail
;
23471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23472 result
= ((wxPyListCtrl
const *)arg1
)->GetItemBackgroundColour(arg2
);
23474 wxPyEndAllowThreads(__tstate
);
23475 if (PyErr_Occurred()) SWIG_fail
;
23478 wxColour
* resultptr
;
23479 resultptr
= new wxColour((wxColour
&) result
);
23480 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
23488 static PyObject
*_wrap_ListCtrl_SortItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23489 PyObject
*resultobj
;
23490 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23491 PyObject
*arg2
= (PyObject
*) 0 ;
23493 PyObject
* obj0
= 0 ;
23494 PyObject
* obj1
= 0 ;
23495 char *kwnames
[] = {
23496 (char *) "self",(char *) "func", NULL
23499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",kwnames
,&obj0
,&obj1
)) goto fail
;
23500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23505 result
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
);
23507 wxPyEndAllowThreads(__tstate
);
23508 if (PyErr_Occurred()) SWIG_fail
;
23511 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23519 static PyObject
*_wrap_ListCtrl_GetMainWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23520 PyObject
*resultobj
;
23521 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23523 PyObject
* obj0
= 0 ;
23524 char *kwnames
[] = {
23525 (char *) "self", NULL
23528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetMainWindow",kwnames
,&obj0
)) goto fail
;
23529 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23533 result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(arg1
);
23535 wxPyEndAllowThreads(__tstate
);
23536 if (PyErr_Occurred()) SWIG_fail
;
23539 resultobj
= wxPyMake_wxObject(result
, 0);
23547 static PyObject
*_wrap_ListCtrl_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23548 PyObject
*resultobj
;
23549 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
23550 wxVisualAttributes result
;
23551 PyObject
* obj0
= 0 ;
23552 char *kwnames
[] = {
23553 (char *) "variant", NULL
23556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
23558 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
23559 if (PyErr_Occurred()) SWIG_fail
;
23562 if (!wxPyCheckForApp()) SWIG_fail
;
23563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23564 result
= wxPyListCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
23566 wxPyEndAllowThreads(__tstate
);
23567 if (PyErr_Occurred()) SWIG_fail
;
23570 wxVisualAttributes
* resultptr
;
23571 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
23572 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
23580 static PyObject
* ListCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
23582 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23583 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl
, obj
);
23585 return Py_BuildValue((char *)"");
23587 static PyObject
*_wrap_new_ListView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23588 PyObject
*resultobj
;
23589 wxWindow
*arg1
= (wxWindow
*) 0 ;
23590 int arg2
= (int) -1 ;
23591 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
23592 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
23593 wxSize
const &arg4_defvalue
= wxDefaultSize
;
23594 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
23595 long arg5
= (long) wxLC_REPORT
;
23596 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
23597 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
23598 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
23599 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23600 wxListView
*result
;
23603 bool temp7
= False
;
23604 PyObject
* obj0
= 0 ;
23605 PyObject
* obj1
= 0 ;
23606 PyObject
* obj2
= 0 ;
23607 PyObject
* obj3
= 0 ;
23608 PyObject
* obj4
= 0 ;
23609 PyObject
* obj5
= 0 ;
23610 PyObject
* obj6
= 0 ;
23611 char *kwnames
[] = {
23612 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListView",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23616 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23619 arg2
= (int) SWIG_AsInt(obj1
);
23620 if (PyErr_Occurred()) SWIG_fail
;
23625 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
23631 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
23635 arg5
= (long) SWIG_AsLong(obj4
);
23636 if (PyErr_Occurred()) SWIG_fail
;
23639 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
23640 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23642 if (arg6
== NULL
) {
23643 PyErr_SetString(PyExc_TypeError
,"null reference");
23649 arg7
= wxString_in_helper(obj6
);
23650 if (arg7
== NULL
) SWIG_fail
;
23655 if (!wxPyCheckForApp()) SWIG_fail
;
23656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23657 result
= (wxListView
*)new wxListView(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
23659 wxPyEndAllowThreads(__tstate
);
23660 if (PyErr_Occurred()) SWIG_fail
;
23662 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1);
23677 static PyObject
*_wrap_new_PreListView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23678 PyObject
*resultobj
;
23679 wxListView
*result
;
23680 char *kwnames
[] = {
23684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListView",kwnames
)) goto fail
;
23686 if (!wxPyCheckForApp()) SWIG_fail
;
23687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23688 result
= (wxListView
*)new wxListView();
23690 wxPyEndAllowThreads(__tstate
);
23691 if (PyErr_Occurred()) SWIG_fail
;
23693 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1);
23700 static PyObject
*_wrap_ListView_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23701 PyObject
*resultobj
;
23702 wxListView
*arg1
= (wxListView
*) 0 ;
23703 wxWindow
*arg2
= (wxWindow
*) 0 ;
23704 int arg3
= (int) -1 ;
23705 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
23706 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
23707 wxSize
const &arg5_defvalue
= wxDefaultSize
;
23708 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
23709 long arg6
= (long) wxLC_REPORT
;
23710 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
23711 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
23712 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
23713 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23717 bool temp8
= False
;
23718 PyObject
* obj0
= 0 ;
23719 PyObject
* obj1
= 0 ;
23720 PyObject
* obj2
= 0 ;
23721 PyObject
* obj3
= 0 ;
23722 PyObject
* obj4
= 0 ;
23723 PyObject
* obj5
= 0 ;
23724 PyObject
* obj6
= 0 ;
23725 PyObject
* obj7
= 0 ;
23726 char *kwnames
[] = {
23727 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListView_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
23731 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23733 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
23734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23736 arg3
= (int) SWIG_AsInt(obj2
);
23737 if (PyErr_Occurred()) SWIG_fail
;
23742 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
23748 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
23752 arg6
= (long) SWIG_AsLong(obj5
);
23753 if (PyErr_Occurred()) SWIG_fail
;
23756 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
23757 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23759 if (arg7
== NULL
) {
23760 PyErr_SetString(PyExc_TypeError
,"null reference");
23766 arg8
= wxString_in_helper(obj7
);
23767 if (arg8
== NULL
) SWIG_fail
;
23772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23773 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
23775 wxPyEndAllowThreads(__tstate
);
23776 if (PyErr_Occurred()) SWIG_fail
;
23779 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23795 static PyObject
*_wrap_ListView_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23796 PyObject
*resultobj
;
23797 wxListView
*arg1
= (wxListView
*) 0 ;
23799 bool arg3
= (bool) True
;
23800 PyObject
* obj0
= 0 ;
23801 PyObject
* obj1
= 0 ;
23802 PyObject
* obj2
= 0 ;
23803 char *kwnames
[] = {
23804 (char *) "self",(char *) "n",(char *) "on", NULL
23807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListView_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23810 arg2
= (long) SWIG_AsLong(obj1
);
23811 if (PyErr_Occurred()) SWIG_fail
;
23813 arg3
= (bool) SWIG_AsBool(obj2
);
23814 if (PyErr_Occurred()) SWIG_fail
;
23817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23818 (arg1
)->Select(arg2
,arg3
);
23820 wxPyEndAllowThreads(__tstate
);
23821 if (PyErr_Occurred()) SWIG_fail
;
23823 Py_INCREF(Py_None
); resultobj
= Py_None
;
23830 static PyObject
*_wrap_ListView_Focus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23831 PyObject
*resultobj
;
23832 wxListView
*arg1
= (wxListView
*) 0 ;
23834 PyObject
* obj0
= 0 ;
23835 PyObject
* obj1
= 0 ;
23836 char *kwnames
[] = {
23837 (char *) "self",(char *) "index", NULL
23840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_Focus",kwnames
,&obj0
,&obj1
)) goto fail
;
23841 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23843 arg2
= (long) SWIG_AsLong(obj1
);
23844 if (PyErr_Occurred()) SWIG_fail
;
23846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23847 (arg1
)->Focus(arg2
);
23849 wxPyEndAllowThreads(__tstate
);
23850 if (PyErr_Occurred()) SWIG_fail
;
23852 Py_INCREF(Py_None
); resultobj
= Py_None
;
23859 static PyObject
*_wrap_ListView_GetFocusedItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23860 PyObject
*resultobj
;
23861 wxListView
*arg1
= (wxListView
*) 0 ;
23863 PyObject
* obj0
= 0 ;
23864 char *kwnames
[] = {
23865 (char *) "self", NULL
23868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFocusedItem",kwnames
,&obj0
)) goto fail
;
23869 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23873 result
= (long)((wxListView
const *)arg1
)->GetFocusedItem();
23875 wxPyEndAllowThreads(__tstate
);
23876 if (PyErr_Occurred()) SWIG_fail
;
23878 resultobj
= SWIG_FromLong((long)result
);
23885 static PyObject
*_wrap_ListView_GetNextSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23886 PyObject
*resultobj
;
23887 wxListView
*arg1
= (wxListView
*) 0 ;
23890 PyObject
* obj0
= 0 ;
23891 PyObject
* obj1
= 0 ;
23892 char *kwnames
[] = {
23893 (char *) "self",(char *) "item", NULL
23896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
23897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23899 arg2
= (long) SWIG_AsLong(obj1
);
23900 if (PyErr_Occurred()) SWIG_fail
;
23902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23903 result
= (long)((wxListView
const *)arg1
)->GetNextSelected(arg2
);
23905 wxPyEndAllowThreads(__tstate
);
23906 if (PyErr_Occurred()) SWIG_fail
;
23908 resultobj
= SWIG_FromLong((long)result
);
23915 static PyObject
*_wrap_ListView_GetFirstSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23916 PyObject
*resultobj
;
23917 wxListView
*arg1
= (wxListView
*) 0 ;
23919 PyObject
* obj0
= 0 ;
23920 char *kwnames
[] = {
23921 (char *) "self", NULL
23924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFirstSelected",kwnames
,&obj0
)) goto fail
;
23925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23929 result
= (long)((wxListView
const *)arg1
)->GetFirstSelected();
23931 wxPyEndAllowThreads(__tstate
);
23932 if (PyErr_Occurred()) SWIG_fail
;
23934 resultobj
= SWIG_FromLong((long)result
);
23941 static PyObject
*_wrap_ListView_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23942 PyObject
*resultobj
;
23943 wxListView
*arg1
= (wxListView
*) 0 ;
23946 PyObject
* obj0
= 0 ;
23947 PyObject
* obj1
= 0 ;
23948 char *kwnames
[] = {
23949 (char *) "self",(char *) "index", NULL
23952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
23953 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23955 arg2
= (long) SWIG_AsLong(obj1
);
23956 if (PyErr_Occurred()) SWIG_fail
;
23958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23959 result
= (bool)(arg1
)->IsSelected(arg2
);
23961 wxPyEndAllowThreads(__tstate
);
23962 if (PyErr_Occurred()) SWIG_fail
;
23965 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23973 static PyObject
*_wrap_ListView_SetColumnImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23974 PyObject
*resultobj
;
23975 wxListView
*arg1
= (wxListView
*) 0 ;
23978 PyObject
* obj0
= 0 ;
23979 PyObject
* obj1
= 0 ;
23980 PyObject
* obj2
= 0 ;
23981 char *kwnames
[] = {
23982 (char *) "self",(char *) "col",(char *) "image", NULL
23985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListView_SetColumnImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23986 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23988 arg2
= (int) SWIG_AsInt(obj1
);
23989 if (PyErr_Occurred()) SWIG_fail
;
23990 arg3
= (int) SWIG_AsInt(obj2
);
23991 if (PyErr_Occurred()) SWIG_fail
;
23993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23994 (arg1
)->SetColumnImage(arg2
,arg3
);
23996 wxPyEndAllowThreads(__tstate
);
23997 if (PyErr_Occurred()) SWIG_fail
;
23999 Py_INCREF(Py_None
); resultobj
= Py_None
;
24006 static PyObject
*_wrap_ListView_ClearColumnImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24007 PyObject
*resultobj
;
24008 wxListView
*arg1
= (wxListView
*) 0 ;
24010 PyObject
* obj0
= 0 ;
24011 PyObject
* obj1
= 0 ;
24012 char *kwnames
[] = {
24013 (char *) "self",(char *) "col", NULL
24016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_ClearColumnImage",kwnames
,&obj0
,&obj1
)) goto fail
;
24017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
24018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24019 arg2
= (int) SWIG_AsInt(obj1
);
24020 if (PyErr_Occurred()) SWIG_fail
;
24022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24023 (arg1
)->ClearColumnImage(arg2
);
24025 wxPyEndAllowThreads(__tstate
);
24026 if (PyErr_Occurred()) SWIG_fail
;
24028 Py_INCREF(Py_None
); resultobj
= Py_None
;
24035 static PyObject
* ListView_swigregister(PyObject
*self
, PyObject
*args
) {
24037 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24038 SWIG_TypeClientData(SWIGTYPE_p_wxListView
, obj
);
24040 return Py_BuildValue((char *)"");
24042 static int _wrap_TreeCtrlNameStr_set(PyObject
*_val
) {
24043 PyErr_SetString(PyExc_TypeError
,"Variable TreeCtrlNameStr is read-only.");
24048 static PyObject
*_wrap_TreeCtrlNameStr_get() {
24053 pyobj
= PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
24055 pyobj
= PyString_FromStringAndSize((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
24062 static PyObject
*_wrap_new_TreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24063 PyObject
*resultobj
;
24064 wxTreeItemId
*result
;
24065 char *kwnames
[] = {
24069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TreeItemId",kwnames
)) goto fail
;
24071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24072 result
= (wxTreeItemId
*)new wxTreeItemId();
24074 wxPyEndAllowThreads(__tstate
);
24075 if (PyErr_Occurred()) SWIG_fail
;
24077 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 1);
24084 static PyObject
*_wrap_delete_TreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24085 PyObject
*resultobj
;
24086 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24087 PyObject
* obj0
= 0 ;
24088 char *kwnames
[] = {
24089 (char *) "self", NULL
24092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TreeItemId",kwnames
,&obj0
)) goto fail
;
24093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24099 wxPyEndAllowThreads(__tstate
);
24100 if (PyErr_Occurred()) SWIG_fail
;
24102 Py_INCREF(Py_None
); resultobj
= Py_None
;
24109 static PyObject
*_wrap_TreeItemId_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24110 PyObject
*resultobj
;
24111 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24113 PyObject
* obj0
= 0 ;
24114 char *kwnames
[] = {
24115 (char *) "self", NULL
24118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_IsOk",kwnames
,&obj0
)) goto fail
;
24119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24123 result
= (bool)((wxTreeItemId
const *)arg1
)->IsOk();
24125 wxPyEndAllowThreads(__tstate
);
24126 if (PyErr_Occurred()) SWIG_fail
;
24129 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24137 static PyObject
*_wrap_TreeItemId___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24138 PyObject
*resultobj
;
24139 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24140 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
24142 PyObject
* obj0
= 0 ;
24143 PyObject
* obj1
= 0 ;
24144 char *kwnames
[] = {
24145 (char *) "self",(char *) "other", NULL
24148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
24149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24151 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24155 result
= (bool)wxTreeItemId___eq__(arg1
,(wxTreeItemId
const *)arg2
);
24157 wxPyEndAllowThreads(__tstate
);
24158 if (PyErr_Occurred()) SWIG_fail
;
24161 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24169 static PyObject
*_wrap_TreeItemId___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24170 PyObject
*resultobj
;
24171 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24172 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
24174 PyObject
* obj0
= 0 ;
24175 PyObject
* obj1
= 0 ;
24176 char *kwnames
[] = {
24177 (char *) "self",(char *) "other", NULL
24180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
24181 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24183 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24184 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24187 result
= (bool)wxTreeItemId___ne__(arg1
,(wxTreeItemId
const *)arg2
);
24189 wxPyEndAllowThreads(__tstate
);
24190 if (PyErr_Occurred()) SWIG_fail
;
24193 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24201 static PyObject
*_wrap_TreeItemId_m_pItem_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24202 PyObject
*resultobj
;
24203 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24204 void *arg2
= (void *) 0 ;
24205 PyObject
* obj0
= 0 ;
24206 PyObject
* obj1
= 0 ;
24207 char *kwnames
[] = {
24208 (char *) "self",(char *) "m_pItem", NULL
24211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId_m_pItem_set",kwnames
,&obj0
,&obj1
)) goto fail
;
24212 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24214 if ((SWIG_ConvertPtr(obj1
,&arg2
,0,SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
24215 if (arg1
) (arg1
)->m_pItem
= arg2
;
24217 Py_INCREF(Py_None
); resultobj
= Py_None
;
24224 static PyObject
*_wrap_TreeItemId_m_pItem_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24225 PyObject
*resultobj
;
24226 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24228 PyObject
* obj0
= 0 ;
24229 char *kwnames
[] = {
24230 (char *) "self", NULL
24233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_m_pItem_get",kwnames
,&obj0
)) goto fail
;
24234 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24236 result
= (void *) ((arg1
)->m_pItem
);
24238 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_void
, 0);
24245 static PyObject
* TreeItemId_swigregister(PyObject
*self
, PyObject
*args
) {
24247 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24248 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId
, obj
);
24250 return Py_BuildValue((char *)"");
24252 static PyObject
*_wrap_new_TreeItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24253 PyObject
*resultobj
;
24254 PyObject
*arg1
= (PyObject
*) NULL
;
24255 wxPyTreeItemData
*result
;
24256 PyObject
* obj0
= 0 ;
24257 char *kwnames
[] = {
24258 (char *) "obj", NULL
24261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) goto fail
;
24266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24267 result
= (wxPyTreeItemData
*)new wxPyTreeItemData(arg1
);
24269 wxPyEndAllowThreads(__tstate
);
24270 if (PyErr_Occurred()) SWIG_fail
;
24272 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 1);
24279 static PyObject
*_wrap_TreeItemData_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24280 PyObject
*resultobj
;
24281 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
24283 PyObject
* obj0
= 0 ;
24284 char *kwnames
[] = {
24285 (char *) "self", NULL
24288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetData",kwnames
,&obj0
)) goto fail
;
24289 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
24290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24293 result
= (PyObject
*)(arg1
)->GetData();
24295 wxPyEndAllowThreads(__tstate
);
24296 if (PyErr_Occurred()) SWIG_fail
;
24298 resultobj
= result
;
24305 static PyObject
*_wrap_TreeItemData_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24306 PyObject
*resultobj
;
24307 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
24308 PyObject
*arg2
= (PyObject
*) 0 ;
24309 PyObject
* obj0
= 0 ;
24310 PyObject
* obj1
= 0 ;
24311 char *kwnames
[] = {
24312 (char *) "self",(char *) "obj", NULL
24315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
24316 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
24317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24321 (arg1
)->SetData(arg2
);
24323 wxPyEndAllowThreads(__tstate
);
24324 if (PyErr_Occurred()) SWIG_fail
;
24326 Py_INCREF(Py_None
); resultobj
= Py_None
;
24333 static PyObject
*_wrap_TreeItemData_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24334 PyObject
*resultobj
;
24335 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
24336 wxTreeItemId
*result
;
24337 PyObject
* obj0
= 0 ;
24338 char *kwnames
[] = {
24339 (char *) "self", NULL
24342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetId",kwnames
,&obj0
)) goto fail
;
24343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
24344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24348 wxTreeItemId
const &_result_ref
= (arg1
)->GetId();
24349 result
= (wxTreeItemId
*) &_result_ref
;
24352 wxPyEndAllowThreads(__tstate
);
24353 if (PyErr_Occurred()) SWIG_fail
;
24355 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 0);
24362 static PyObject
*_wrap_TreeItemData_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24363 PyObject
*resultobj
;
24364 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
24365 wxTreeItemId
*arg2
= 0 ;
24366 PyObject
* obj0
= 0 ;
24367 PyObject
* obj1
= 0 ;
24368 char *kwnames
[] = {
24369 (char *) "self",(char *) "id", NULL
24372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
24373 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
24374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24375 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24376 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24378 if (arg2
== NULL
) {
24379 PyErr_SetString(PyExc_TypeError
,"null reference");
24383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24384 (arg1
)->SetId((wxTreeItemId
const &)*arg2
);
24386 wxPyEndAllowThreads(__tstate
);
24387 if (PyErr_Occurred()) SWIG_fail
;
24389 Py_INCREF(Py_None
); resultobj
= Py_None
;
24396 static PyObject
*_wrap_TreeItemData_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24397 PyObject
*resultobj
;
24398 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
24399 PyObject
* obj0
= 0 ;
24400 char *kwnames
[] = {
24401 (char *) "self", NULL
24404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_Destroy",kwnames
,&obj0
)) goto fail
;
24405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
24406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24409 wxPyTreeItemData_Destroy(arg1
);
24411 wxPyEndAllowThreads(__tstate
);
24412 if (PyErr_Occurred()) SWIG_fail
;
24414 Py_INCREF(Py_None
); resultobj
= Py_None
;
24421 static PyObject
* TreeItemData_swigregister(PyObject
*self
, PyObject
*args
) {
24423 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24424 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData
, obj
);
24426 return Py_BuildValue((char *)"");
24428 static PyObject
*_wrap_new_TreeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24429 PyObject
*resultobj
;
24430 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
24431 int arg2
= (int) 0 ;
24432 wxTreeEvent
*result
;
24433 PyObject
* obj0
= 0 ;
24434 PyObject
* obj1
= 0 ;
24435 char *kwnames
[] = {
24436 (char *) "commandType",(char *) "id", NULL
24439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TreeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
24441 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
24442 if (PyErr_Occurred()) SWIG_fail
;
24445 arg2
= (int) SWIG_AsInt(obj1
);
24446 if (PyErr_Occurred()) SWIG_fail
;
24449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24450 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
);
24452 wxPyEndAllowThreads(__tstate
);
24453 if (PyErr_Occurred()) SWIG_fail
;
24455 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeEvent
, 1);
24462 static PyObject
*_wrap_TreeEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24463 PyObject
*resultobj
;
24464 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24465 wxTreeItemId result
;
24466 PyObject
* obj0
= 0 ;
24467 char *kwnames
[] = {
24468 (char *) "self", NULL
24471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetItem",kwnames
,&obj0
)) goto fail
;
24472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24476 result
= ((wxTreeEvent
const *)arg1
)->GetItem();
24478 wxPyEndAllowThreads(__tstate
);
24479 if (PyErr_Occurred()) SWIG_fail
;
24482 wxTreeItemId
* resultptr
;
24483 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
24484 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
24492 static PyObject
*_wrap_TreeEvent_SetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24493 PyObject
*resultobj
;
24494 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24495 wxTreeItemId
*arg2
= 0 ;
24496 PyObject
* obj0
= 0 ;
24497 PyObject
* obj1
= 0 ;
24498 char *kwnames
[] = {
24499 (char *) "self",(char *) "item", NULL
24502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
24503 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24505 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24506 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24508 if (arg2
== NULL
) {
24509 PyErr_SetString(PyExc_TypeError
,"null reference");
24513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24514 (arg1
)->SetItem((wxTreeItemId
const &)*arg2
);
24516 wxPyEndAllowThreads(__tstate
);
24517 if (PyErr_Occurred()) SWIG_fail
;
24519 Py_INCREF(Py_None
); resultobj
= Py_None
;
24526 static PyObject
*_wrap_TreeEvent_GetOldItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24527 PyObject
*resultobj
;
24528 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24529 wxTreeItemId result
;
24530 PyObject
* obj0
= 0 ;
24531 char *kwnames
[] = {
24532 (char *) "self", NULL
24535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetOldItem",kwnames
,&obj0
)) goto fail
;
24536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24540 result
= ((wxTreeEvent
const *)arg1
)->GetOldItem();
24542 wxPyEndAllowThreads(__tstate
);
24543 if (PyErr_Occurred()) SWIG_fail
;
24546 wxTreeItemId
* resultptr
;
24547 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
24548 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
24556 static PyObject
*_wrap_TreeEvent_SetOldItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24557 PyObject
*resultobj
;
24558 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24559 wxTreeItemId
*arg2
= 0 ;
24560 PyObject
* obj0
= 0 ;
24561 PyObject
* obj1
= 0 ;
24562 char *kwnames
[] = {
24563 (char *) "self",(char *) "item", NULL
24566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) goto fail
;
24567 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24568 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24569 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24570 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24572 if (arg2
== NULL
) {
24573 PyErr_SetString(PyExc_TypeError
,"null reference");
24577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24578 (arg1
)->SetOldItem((wxTreeItemId
const &)*arg2
);
24580 wxPyEndAllowThreads(__tstate
);
24581 if (PyErr_Occurred()) SWIG_fail
;
24583 Py_INCREF(Py_None
); resultobj
= Py_None
;
24590 static PyObject
*_wrap_TreeEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24591 PyObject
*resultobj
;
24592 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24594 PyObject
* obj0
= 0 ;
24595 char *kwnames
[] = {
24596 (char *) "self", NULL
24599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
24600 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24601 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24604 result
= ((wxTreeEvent
const *)arg1
)->GetPoint();
24606 wxPyEndAllowThreads(__tstate
);
24607 if (PyErr_Occurred()) SWIG_fail
;
24610 wxPoint
* resultptr
;
24611 resultptr
= new wxPoint((wxPoint
&) result
);
24612 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
24620 static PyObject
*_wrap_TreeEvent_SetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24621 PyObject
*resultobj
;
24622 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24623 wxPoint
*arg2
= 0 ;
24625 PyObject
* obj0
= 0 ;
24626 PyObject
* obj1
= 0 ;
24627 char *kwnames
[] = {
24628 (char *) "self",(char *) "pt", NULL
24631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
24632 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24633 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24636 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
24639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24640 (arg1
)->SetPoint((wxPoint
const &)*arg2
);
24642 wxPyEndAllowThreads(__tstate
);
24643 if (PyErr_Occurred()) SWIG_fail
;
24645 Py_INCREF(Py_None
); resultobj
= Py_None
;
24652 static PyObject
*_wrap_TreeEvent_GetKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24653 PyObject
*resultobj
;
24654 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24655 wxKeyEvent
*result
;
24656 PyObject
* obj0
= 0 ;
24657 char *kwnames
[] = {
24658 (char *) "self", NULL
24661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyEvent",kwnames
,&obj0
)) goto fail
;
24662 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24663 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24667 wxKeyEvent
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetKeyEvent();
24668 result
= (wxKeyEvent
*) &_result_ref
;
24671 wxPyEndAllowThreads(__tstate
);
24672 if (PyErr_Occurred()) SWIG_fail
;
24674 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 0);
24681 static PyObject
*_wrap_TreeEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24682 PyObject
*resultobj
;
24683 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24685 PyObject
* obj0
= 0 ;
24686 char *kwnames
[] = {
24687 (char *) "self", NULL
24690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
24691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24695 result
= (int)((wxTreeEvent
const *)arg1
)->GetKeyCode();
24697 wxPyEndAllowThreads(__tstate
);
24698 if (PyErr_Occurred()) SWIG_fail
;
24700 resultobj
= SWIG_FromInt((int)result
);
24707 static PyObject
*_wrap_TreeEvent_SetKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24708 PyObject
*resultobj
;
24709 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24710 wxKeyEvent
*arg2
= 0 ;
24711 PyObject
* obj0
= 0 ;
24712 PyObject
* obj1
= 0 ;
24713 char *kwnames
[] = {
24714 (char *) "self",(char *) "evt", NULL
24717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
24718 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24720 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxKeyEvent
,
24721 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24723 if (arg2
== NULL
) {
24724 PyErr_SetString(PyExc_TypeError
,"null reference");
24728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24729 (arg1
)->SetKeyEvent((wxKeyEvent
const &)*arg2
);
24731 wxPyEndAllowThreads(__tstate
);
24732 if (PyErr_Occurred()) SWIG_fail
;
24734 Py_INCREF(Py_None
); resultobj
= Py_None
;
24741 static PyObject
*_wrap_TreeEvent_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24742 PyObject
*resultobj
;
24743 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24745 PyObject
* obj0
= 0 ;
24746 char *kwnames
[] = {
24747 (char *) "self", NULL
24750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
24751 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24752 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24756 wxString
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetLabel();
24757 result
= (wxString
*) &_result_ref
;
24760 wxPyEndAllowThreads(__tstate
);
24761 if (PyErr_Occurred()) SWIG_fail
;
24765 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
24767 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
24776 static PyObject
*_wrap_TreeEvent_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24777 PyObject
*resultobj
;
24778 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24779 wxString
*arg2
= 0 ;
24780 bool temp2
= False
;
24781 PyObject
* obj0
= 0 ;
24782 PyObject
* obj1
= 0 ;
24783 char *kwnames
[] = {
24784 (char *) "self",(char *) "label", NULL
24787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
24788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24791 arg2
= wxString_in_helper(obj1
);
24792 if (arg2
== NULL
) SWIG_fail
;
24796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24797 (arg1
)->SetLabel((wxString
const &)*arg2
);
24799 wxPyEndAllowThreads(__tstate
);
24800 if (PyErr_Occurred()) SWIG_fail
;
24802 Py_INCREF(Py_None
); resultobj
= Py_None
;
24817 static PyObject
*_wrap_TreeEvent_IsEditCancelled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24818 PyObject
*resultobj
;
24819 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24821 PyObject
* obj0
= 0 ;
24822 char *kwnames
[] = {
24823 (char *) "self", NULL
24826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
24827 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24831 result
= (bool)((wxTreeEvent
const *)arg1
)->IsEditCancelled();
24833 wxPyEndAllowThreads(__tstate
);
24834 if (PyErr_Occurred()) SWIG_fail
;
24837 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24845 static PyObject
*_wrap_TreeEvent_SetEditCanceled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24846 PyObject
*resultobj
;
24847 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24849 PyObject
* obj0
= 0 ;
24850 PyObject
* obj1
= 0 ;
24851 char *kwnames
[] = {
24852 (char *) "self",(char *) "editCancelled", NULL
24855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
24856 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24858 arg2
= (bool) SWIG_AsBool(obj1
);
24859 if (PyErr_Occurred()) SWIG_fail
;
24861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24862 (arg1
)->SetEditCanceled(arg2
);
24864 wxPyEndAllowThreads(__tstate
);
24865 if (PyErr_Occurred()) SWIG_fail
;
24867 Py_INCREF(Py_None
); resultobj
= Py_None
;
24874 static PyObject
*_wrap_TreeEvent_SetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24875 PyObject
*resultobj
;
24876 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24877 wxString
*arg2
= 0 ;
24878 bool temp2
= False
;
24879 PyObject
* obj0
= 0 ;
24880 PyObject
* obj1
= 0 ;
24881 char *kwnames
[] = {
24882 (char *) "self",(char *) "toolTip", NULL
24885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
24886 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24889 arg2
= wxString_in_helper(obj1
);
24890 if (arg2
== NULL
) SWIG_fail
;
24894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24895 (arg1
)->SetToolTip((wxString
const &)*arg2
);
24897 wxPyEndAllowThreads(__tstate
);
24898 if (PyErr_Occurred()) SWIG_fail
;
24900 Py_INCREF(Py_None
); resultobj
= Py_None
;
24915 static PyObject
* TreeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
24917 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24918 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent
, obj
);
24920 return Py_BuildValue((char *)"");
24922 static PyObject
*_wrap_new_TreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24923 PyObject
*resultobj
;
24924 wxWindow
*arg1
= (wxWindow
*) 0 ;
24925 int arg2
= (int) -1 ;
24926 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
24927 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
24928 wxSize
const &arg4_defvalue
= wxDefaultSize
;
24929 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
24930 long arg5
= (long) wxTR_DEFAULT_STYLE
;
24931 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
24932 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
24933 wxString
const &arg7_defvalue
= wxPyTreeCtrlNameStr
;
24934 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
24935 wxPyTreeCtrl
*result
;
24938 bool temp7
= False
;
24939 PyObject
* obj0
= 0 ;
24940 PyObject
* obj1
= 0 ;
24941 PyObject
* obj2
= 0 ;
24942 PyObject
* obj3
= 0 ;
24943 PyObject
* obj4
= 0 ;
24944 PyObject
* obj5
= 0 ;
24945 PyObject
* obj6
= 0 ;
24946 char *kwnames
[] = {
24947 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
24950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_TreeCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
24951 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24954 arg2
= (int) SWIG_AsInt(obj1
);
24955 if (PyErr_Occurred()) SWIG_fail
;
24960 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
24966 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
24970 arg5
= (long) SWIG_AsLong(obj4
);
24971 if (PyErr_Occurred()) SWIG_fail
;
24974 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
24975 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24977 if (arg6
== NULL
) {
24978 PyErr_SetString(PyExc_TypeError
,"null reference");
24984 arg7
= wxString_in_helper(obj6
);
24985 if (arg7
== NULL
) SWIG_fail
;
24990 if (!wxPyCheckForApp()) SWIG_fail
;
24991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24992 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
24994 wxPyEndAllowThreads(__tstate
);
24995 if (PyErr_Occurred()) SWIG_fail
;
24997 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeCtrl
, 1);
25012 static PyObject
*_wrap_new_PreTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25013 PyObject
*resultobj
;
25014 wxPyTreeCtrl
*result
;
25015 char *kwnames
[] = {
25019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTreeCtrl",kwnames
)) goto fail
;
25021 if (!wxPyCheckForApp()) SWIG_fail
;
25022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25023 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl();
25025 wxPyEndAllowThreads(__tstate
);
25026 if (PyErr_Occurred()) SWIG_fail
;
25028 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeCtrl
, 1);
25035 static PyObject
*_wrap_TreeCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25036 PyObject
*resultobj
;
25037 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25038 wxWindow
*arg2
= (wxWindow
*) 0 ;
25039 int arg3
= (int) -1 ;
25040 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
25041 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
25042 wxSize
const &arg5_defvalue
= wxDefaultSize
;
25043 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
25044 long arg6
= (long) wxTR_DEFAULT_STYLE
;
25045 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
25046 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
25047 wxString
const &arg8_defvalue
= wxPyTreeCtrlNameStr
;
25048 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
25052 bool temp8
= False
;
25053 PyObject
* obj0
= 0 ;
25054 PyObject
* obj1
= 0 ;
25055 PyObject
* obj2
= 0 ;
25056 PyObject
* obj3
= 0 ;
25057 PyObject
* obj4
= 0 ;
25058 PyObject
* obj5
= 0 ;
25059 PyObject
* obj6
= 0 ;
25060 PyObject
* obj7
= 0 ;
25061 char *kwnames
[] = {
25062 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
25065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
25066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25068 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
25069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25071 arg3
= (int) SWIG_AsInt(obj2
);
25072 if (PyErr_Occurred()) SWIG_fail
;
25077 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
25083 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
25087 arg6
= (long) SWIG_AsLong(obj5
);
25088 if (PyErr_Occurred()) SWIG_fail
;
25091 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
25092 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25094 if (arg7
== NULL
) {
25095 PyErr_SetString(PyExc_TypeError
,"null reference");
25101 arg8
= wxString_in_helper(obj7
);
25102 if (arg8
== NULL
) SWIG_fail
;
25107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25108 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
25110 wxPyEndAllowThreads(__tstate
);
25111 if (PyErr_Occurred()) SWIG_fail
;
25114 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25130 static PyObject
*_wrap_TreeCtrl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25131 PyObject
*resultobj
;
25132 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25133 PyObject
*arg2
= (PyObject
*) 0 ;
25134 PyObject
*arg3
= (PyObject
*) 0 ;
25135 PyObject
* obj0
= 0 ;
25136 PyObject
* obj1
= 0 ;
25137 PyObject
* obj2
= 0 ;
25138 char *kwnames
[] = {
25139 (char *) "self",(char *) "self",(char *) "_class", NULL
25142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25143 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25144 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25149 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25151 wxPyEndAllowThreads(__tstate
);
25152 if (PyErr_Occurred()) SWIG_fail
;
25154 Py_INCREF(Py_None
); resultobj
= Py_None
;
25161 static PyObject
*_wrap_TreeCtrl_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25162 PyObject
*resultobj
;
25163 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25165 PyObject
* obj0
= 0 ;
25166 char *kwnames
[] = {
25167 (char *) "self", NULL
25170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetCount",kwnames
,&obj0
)) goto fail
;
25171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25175 result
= (size_t)((wxPyTreeCtrl
const *)arg1
)->GetCount();
25177 wxPyEndAllowThreads(__tstate
);
25178 if (PyErr_Occurred()) SWIG_fail
;
25180 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
25187 static PyObject
*_wrap_TreeCtrl_GetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25188 PyObject
*resultobj
;
25189 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25190 unsigned int result
;
25191 PyObject
* obj0
= 0 ;
25192 char *kwnames
[] = {
25193 (char *) "self", NULL
25196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetIndent",kwnames
,&obj0
)) goto fail
;
25197 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25201 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetIndent();
25203 wxPyEndAllowThreads(__tstate
);
25204 if (PyErr_Occurred()) SWIG_fail
;
25206 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
25213 static PyObject
*_wrap_TreeCtrl_SetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25214 PyObject
*resultobj
;
25215 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25216 unsigned int arg2
;
25217 PyObject
* obj0
= 0 ;
25218 PyObject
* obj1
= 0 ;
25219 char *kwnames
[] = {
25220 (char *) "self",(char *) "indent", NULL
25223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
25224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25226 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
25227 if (PyErr_Occurred()) SWIG_fail
;
25229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25230 (arg1
)->SetIndent(arg2
);
25232 wxPyEndAllowThreads(__tstate
);
25233 if (PyErr_Occurred()) SWIG_fail
;
25235 Py_INCREF(Py_None
); resultobj
= Py_None
;
25242 static PyObject
*_wrap_TreeCtrl_GetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25243 PyObject
*resultobj
;
25244 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25245 unsigned int result
;
25246 PyObject
* obj0
= 0 ;
25247 char *kwnames
[] = {
25248 (char *) "self", NULL
25251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSpacing",kwnames
,&obj0
)) goto fail
;
25252 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25256 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetSpacing();
25258 wxPyEndAllowThreads(__tstate
);
25259 if (PyErr_Occurred()) SWIG_fail
;
25261 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
25268 static PyObject
*_wrap_TreeCtrl_SetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25269 PyObject
*resultobj
;
25270 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25271 unsigned int arg2
;
25272 PyObject
* obj0
= 0 ;
25273 PyObject
* obj1
= 0 ;
25274 char *kwnames
[] = {
25275 (char *) "self",(char *) "spacing", NULL
25278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",kwnames
,&obj0
,&obj1
)) goto fail
;
25279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25281 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
25282 if (PyErr_Occurred()) SWIG_fail
;
25284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25285 (arg1
)->SetSpacing(arg2
);
25287 wxPyEndAllowThreads(__tstate
);
25288 if (PyErr_Occurred()) SWIG_fail
;
25290 Py_INCREF(Py_None
); resultobj
= Py_None
;
25297 static PyObject
*_wrap_TreeCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25298 PyObject
*resultobj
;
25299 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25300 wxImageList
*result
;
25301 PyObject
* obj0
= 0 ;
25302 char *kwnames
[] = {
25303 (char *) "self", NULL
25306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
25307 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25308 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25311 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetImageList();
25313 wxPyEndAllowThreads(__tstate
);
25314 if (PyErr_Occurred()) SWIG_fail
;
25317 resultobj
= wxPyMake_wxObject(result
, 0);
25325 static PyObject
*_wrap_TreeCtrl_GetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25326 PyObject
*resultobj
;
25327 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25328 wxImageList
*result
;
25329 PyObject
* obj0
= 0 ;
25330 char *kwnames
[] = {
25331 (char *) "self", NULL
25334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetStateImageList",kwnames
,&obj0
)) goto fail
;
25335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25339 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetStateImageList();
25341 wxPyEndAllowThreads(__tstate
);
25342 if (PyErr_Occurred()) SWIG_fail
;
25345 resultobj
= wxPyMake_wxObject(result
, 0);
25353 static PyObject
*_wrap_TreeCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25354 PyObject
*resultobj
;
25355 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25356 wxImageList
*arg2
= (wxImageList
*) 0 ;
25357 PyObject
* obj0
= 0 ;
25358 PyObject
* obj1
= 0 ;
25359 char *kwnames
[] = {
25360 (char *) "self",(char *) "imageList", NULL
25363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
25364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25366 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
25367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25370 (arg1
)->SetImageList(arg2
);
25372 wxPyEndAllowThreads(__tstate
);
25373 if (PyErr_Occurred()) SWIG_fail
;
25375 Py_INCREF(Py_None
); resultobj
= Py_None
;
25382 static PyObject
*_wrap_TreeCtrl_SetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25383 PyObject
*resultobj
;
25384 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25385 wxImageList
*arg2
= (wxImageList
*) 0 ;
25386 PyObject
* obj0
= 0 ;
25387 PyObject
* obj1
= 0 ;
25388 char *kwnames
[] = {
25389 (char *) "self",(char *) "imageList", NULL
25392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
25393 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25395 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
25396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25399 (arg1
)->SetStateImageList(arg2
);
25401 wxPyEndAllowThreads(__tstate
);
25402 if (PyErr_Occurred()) SWIG_fail
;
25404 Py_INCREF(Py_None
); resultobj
= Py_None
;
25411 static PyObject
*_wrap_TreeCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25412 PyObject
*resultobj
;
25413 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25414 wxImageList
*arg2
= (wxImageList
*) 0 ;
25415 PyObject
* obj0
= 0 ;
25416 PyObject
* obj1
= 0 ;
25417 char *kwnames
[] = {
25418 (char *) "self",(char *) "imageList", NULL
25421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
25422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25424 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
25425 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
25427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25428 (arg1
)->AssignImageList(arg2
);
25430 wxPyEndAllowThreads(__tstate
);
25431 if (PyErr_Occurred()) SWIG_fail
;
25433 Py_INCREF(Py_None
); resultobj
= Py_None
;
25440 static PyObject
*_wrap_TreeCtrl_AssignStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25441 PyObject
*resultobj
;
25442 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25443 wxImageList
*arg2
= (wxImageList
*) 0 ;
25444 PyObject
* obj0
= 0 ;
25445 PyObject
* obj1
= 0 ;
25446 char *kwnames
[] = {
25447 (char *) "self",(char *) "imageList", NULL
25450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
25451 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25452 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25453 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
25454 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
25456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25457 (arg1
)->AssignStateImageList(arg2
);
25459 wxPyEndAllowThreads(__tstate
);
25460 if (PyErr_Occurred()) SWIG_fail
;
25462 Py_INCREF(Py_None
); resultobj
= Py_None
;
25469 static PyObject
*_wrap_TreeCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25470 PyObject
*resultobj
;
25471 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25472 wxTreeItemId
*arg2
= 0 ;
25474 PyObject
* obj0
= 0 ;
25475 PyObject
* obj1
= 0 ;
25476 char *kwnames
[] = {
25477 (char *) "self",(char *) "item", NULL
25480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
25481 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25483 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25484 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25486 if (arg2
== NULL
) {
25487 PyErr_SetString(PyExc_TypeError
,"null reference");
25491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25492 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemText((wxTreeItemId
const &)*arg2
);
25494 wxPyEndAllowThreads(__tstate
);
25495 if (PyErr_Occurred()) SWIG_fail
;
25499 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25501 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25510 static PyObject
*_wrap_TreeCtrl_GetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25511 PyObject
*resultobj
;
25512 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25513 wxTreeItemId
*arg2
= 0 ;
25514 int arg3
= (int) wxTreeItemIcon_Normal
;
25516 PyObject
* obj0
= 0 ;
25517 PyObject
* obj1
= 0 ;
25518 PyObject
* obj2
= 0 ;
25519 char *kwnames
[] = {
25520 (char *) "self",(char *) "item",(char *) "which", NULL
25523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25526 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25527 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25529 if (arg2
== NULL
) {
25530 PyErr_SetString(PyExc_TypeError
,"null reference");
25534 arg3
= (wxTreeItemIcon
) SWIG_AsInt(obj2
);
25535 if (PyErr_Occurred()) SWIG_fail
;
25538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25539 result
= (int)((wxPyTreeCtrl
const *)arg1
)->GetItemImage((wxTreeItemId
const &)*arg2
,(wxTreeItemIcon
)arg3
);
25541 wxPyEndAllowThreads(__tstate
);
25542 if (PyErr_Occurred()) SWIG_fail
;
25544 resultobj
= SWIG_FromInt((int)result
);
25551 static PyObject
*_wrap_TreeCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25552 PyObject
*resultobj
;
25553 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25554 wxTreeItemId
*arg2
= 0 ;
25555 wxPyTreeItemData
*result
;
25556 PyObject
* obj0
= 0 ;
25557 PyObject
* obj1
= 0 ;
25558 char *kwnames
[] = {
25559 (char *) "self",(char *) "item", NULL
25562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
25563 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25565 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25566 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25568 if (arg2
== NULL
) {
25569 PyErr_SetString(PyExc_TypeError
,"null reference");
25573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25574 result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
25576 wxPyEndAllowThreads(__tstate
);
25577 if (PyErr_Occurred()) SWIG_fail
;
25579 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 0);
25586 static PyObject
*_wrap_TreeCtrl_GetItemPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25587 PyObject
*resultobj
;
25588 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25589 wxTreeItemId
*arg2
= 0 ;
25591 PyObject
* obj0
= 0 ;
25592 PyObject
* obj1
= 0 ;
25593 char *kwnames
[] = {
25594 (char *) "self",(char *) "item", NULL
25597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemPyData",kwnames
,&obj0
,&obj1
)) goto fail
;
25598 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25600 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25601 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25603 if (arg2
== NULL
) {
25604 PyErr_SetString(PyExc_TypeError
,"null reference");
25608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25609 result
= (PyObject
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
25611 wxPyEndAllowThreads(__tstate
);
25612 if (PyErr_Occurred()) SWIG_fail
;
25614 resultobj
= result
;
25621 static PyObject
*_wrap_TreeCtrl_GetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25622 PyObject
*resultobj
;
25623 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25624 wxTreeItemId
*arg2
= 0 ;
25626 PyObject
* obj0
= 0 ;
25627 PyObject
* obj1
= 0 ;
25628 char *kwnames
[] = {
25629 (char *) "self",(char *) "item", NULL
25632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
25633 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25634 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25635 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25636 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25638 if (arg2
== NULL
) {
25639 PyErr_SetString(PyExc_TypeError
,"null reference");
25643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25644 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
25646 wxPyEndAllowThreads(__tstate
);
25647 if (PyErr_Occurred()) SWIG_fail
;
25650 wxColour
* resultptr
;
25651 resultptr
= new wxColour((wxColour
&) result
);
25652 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
25660 static PyObject
*_wrap_TreeCtrl_GetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25661 PyObject
*resultobj
;
25662 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25663 wxTreeItemId
*arg2
= 0 ;
25665 PyObject
* obj0
= 0 ;
25666 PyObject
* obj1
= 0 ;
25667 char *kwnames
[] = {
25668 (char *) "self",(char *) "item", NULL
25671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
25672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25674 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25675 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25677 if (arg2
== NULL
) {
25678 PyErr_SetString(PyExc_TypeError
,"null reference");
25682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25683 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId
const &)*arg2
);
25685 wxPyEndAllowThreads(__tstate
);
25686 if (PyErr_Occurred()) SWIG_fail
;
25689 wxColour
* resultptr
;
25690 resultptr
= new wxColour((wxColour
&) result
);
25691 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
25699 static PyObject
*_wrap_TreeCtrl_GetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25700 PyObject
*resultobj
;
25701 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25702 wxTreeItemId
*arg2
= 0 ;
25704 PyObject
* obj0
= 0 ;
25705 PyObject
* obj1
= 0 ;
25706 char *kwnames
[] = {
25707 (char *) "self",(char *) "item", NULL
25710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) goto fail
;
25711 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25712 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25713 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25714 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25716 if (arg2
== NULL
) {
25717 PyErr_SetString(PyExc_TypeError
,"null reference");
25721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25722 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
25724 wxPyEndAllowThreads(__tstate
);
25725 if (PyErr_Occurred()) SWIG_fail
;
25728 wxFont
* resultptr
;
25729 resultptr
= new wxFont((wxFont
&) result
);
25730 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
25738 static PyObject
*_wrap_TreeCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25739 PyObject
*resultobj
;
25740 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25741 wxTreeItemId
*arg2
= 0 ;
25742 wxString
*arg3
= 0 ;
25743 bool temp3
= False
;
25744 PyObject
* obj0
= 0 ;
25745 PyObject
* obj1
= 0 ;
25746 PyObject
* obj2
= 0 ;
25747 char *kwnames
[] = {
25748 (char *) "self",(char *) "item",(char *) "text", NULL
25751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25752 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25753 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25754 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25755 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25757 if (arg2
== NULL
) {
25758 PyErr_SetString(PyExc_TypeError
,"null reference");
25762 arg3
= wxString_in_helper(obj2
);
25763 if (arg3
== NULL
) SWIG_fail
;
25767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25768 (arg1
)->SetItemText((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
);
25770 wxPyEndAllowThreads(__tstate
);
25771 if (PyErr_Occurred()) SWIG_fail
;
25773 Py_INCREF(Py_None
); resultobj
= Py_None
;
25788 static PyObject
*_wrap_TreeCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25789 PyObject
*resultobj
;
25790 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25791 wxTreeItemId
*arg2
= 0 ;
25793 int arg4
= (int) wxTreeItemIcon_Normal
;
25794 PyObject
* obj0
= 0 ;
25795 PyObject
* obj1
= 0 ;
25796 PyObject
* obj2
= 0 ;
25797 PyObject
* obj3
= 0 ;
25798 char *kwnames
[] = {
25799 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
25802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25803 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25805 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25806 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25808 if (arg2
== NULL
) {
25809 PyErr_SetString(PyExc_TypeError
,"null reference");
25812 arg3
= (int) SWIG_AsInt(obj2
);
25813 if (PyErr_Occurred()) SWIG_fail
;
25815 arg4
= (wxTreeItemIcon
) SWIG_AsInt(obj3
);
25816 if (PyErr_Occurred()) SWIG_fail
;
25819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25820 (arg1
)->SetItemImage((wxTreeItemId
const &)*arg2
,arg3
,(wxTreeItemIcon
)arg4
);
25822 wxPyEndAllowThreads(__tstate
);
25823 if (PyErr_Occurred()) SWIG_fail
;
25825 Py_INCREF(Py_None
); resultobj
= Py_None
;
25832 static PyObject
*_wrap_TreeCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25833 PyObject
*resultobj
;
25834 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25835 wxTreeItemId
*arg2
= 0 ;
25836 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
25837 PyObject
* obj0
= 0 ;
25838 PyObject
* obj1
= 0 ;
25839 PyObject
* obj2
= 0 ;
25840 char *kwnames
[] = {
25841 (char *) "self",(char *) "item",(char *) "data", NULL
25844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25847 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25848 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25850 if (arg2
== NULL
) {
25851 PyErr_SetString(PyExc_TypeError
,"null reference");
25854 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyTreeItemData
,
25855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25858 wxPyTreeCtrl_SetItemData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
25860 wxPyEndAllowThreads(__tstate
);
25861 if (PyErr_Occurred()) SWIG_fail
;
25863 Py_INCREF(Py_None
); resultobj
= Py_None
;
25870 static PyObject
*_wrap_TreeCtrl_SetItemPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25871 PyObject
*resultobj
;
25872 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25873 wxTreeItemId
*arg2
= 0 ;
25874 PyObject
*arg3
= (PyObject
*) 0 ;
25875 PyObject
* obj0
= 0 ;
25876 PyObject
* obj1
= 0 ;
25877 PyObject
* obj2
= 0 ;
25878 char *kwnames
[] = {
25879 (char *) "self",(char *) "item",(char *) "obj", NULL
25882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25885 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25886 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25888 if (arg2
== NULL
) {
25889 PyErr_SetString(PyExc_TypeError
,"null reference");
25894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25895 wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
25897 wxPyEndAllowThreads(__tstate
);
25898 if (PyErr_Occurred()) SWIG_fail
;
25900 Py_INCREF(Py_None
); resultobj
= Py_None
;
25907 static PyObject
*_wrap_TreeCtrl_SetItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25908 PyObject
*resultobj
;
25909 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25910 wxTreeItemId
*arg2
= 0 ;
25911 bool arg3
= (bool) True
;
25912 PyObject
* obj0
= 0 ;
25913 PyObject
* obj1
= 0 ;
25914 PyObject
* obj2
= 0 ;
25915 char *kwnames
[] = {
25916 (char *) "self",(char *) "item",(char *) "has", NULL
25919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25920 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25922 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25923 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25925 if (arg2
== NULL
) {
25926 PyErr_SetString(PyExc_TypeError
,"null reference");
25930 arg3
= (bool) SWIG_AsBool(obj2
);
25931 if (PyErr_Occurred()) SWIG_fail
;
25934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25935 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
25937 wxPyEndAllowThreads(__tstate
);
25938 if (PyErr_Occurred()) SWIG_fail
;
25940 Py_INCREF(Py_None
); resultobj
= Py_None
;
25947 static PyObject
*_wrap_TreeCtrl_SetItemBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25948 PyObject
*resultobj
;
25949 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25950 wxTreeItemId
*arg2
= 0 ;
25951 bool arg3
= (bool) True
;
25952 PyObject
* obj0
= 0 ;
25953 PyObject
* obj1
= 0 ;
25954 PyObject
* obj2
= 0 ;
25955 char *kwnames
[] = {
25956 (char *) "self",(char *) "item",(char *) "bold", NULL
25959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25962 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25963 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25965 if (arg2
== NULL
) {
25966 PyErr_SetString(PyExc_TypeError
,"null reference");
25970 arg3
= (bool) SWIG_AsBool(obj2
);
25971 if (PyErr_Occurred()) SWIG_fail
;
25974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25975 (arg1
)->SetItemBold((wxTreeItemId
const &)*arg2
,arg3
);
25977 wxPyEndAllowThreads(__tstate
);
25978 if (PyErr_Occurred()) SWIG_fail
;
25980 Py_INCREF(Py_None
); resultobj
= Py_None
;
25987 static PyObject
*_wrap_TreeCtrl_SetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25988 PyObject
*resultobj
;
25989 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25990 wxTreeItemId
*arg2
= 0 ;
25991 wxColour
*arg3
= 0 ;
25993 PyObject
* obj0
= 0 ;
25994 PyObject
* obj1
= 0 ;
25995 PyObject
* obj2
= 0 ;
25996 char *kwnames
[] = {
25997 (char *) "self",(char *) "item",(char *) "col", NULL
26000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26001 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26003 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26004 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26006 if (arg2
== NULL
) {
26007 PyErr_SetString(PyExc_TypeError
,"null reference");
26012 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
26015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26016 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
26018 wxPyEndAllowThreads(__tstate
);
26019 if (PyErr_Occurred()) SWIG_fail
;
26021 Py_INCREF(Py_None
); resultobj
= Py_None
;
26028 static PyObject
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26029 PyObject
*resultobj
;
26030 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26031 wxTreeItemId
*arg2
= 0 ;
26032 wxColour
*arg3
= 0 ;
26034 PyObject
* obj0
= 0 ;
26035 PyObject
* obj1
= 0 ;
26036 PyObject
* obj2
= 0 ;
26037 char *kwnames
[] = {
26038 (char *) "self",(char *) "item",(char *) "col", NULL
26041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26044 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26045 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26047 if (arg2
== NULL
) {
26048 PyErr_SetString(PyExc_TypeError
,"null reference");
26053 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
26056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26057 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
26059 wxPyEndAllowThreads(__tstate
);
26060 if (PyErr_Occurred()) SWIG_fail
;
26062 Py_INCREF(Py_None
); resultobj
= Py_None
;
26069 static PyObject
*_wrap_TreeCtrl_SetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26070 PyObject
*resultobj
;
26071 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26072 wxTreeItemId
*arg2
= 0 ;
26074 PyObject
* obj0
= 0 ;
26075 PyObject
* obj1
= 0 ;
26076 PyObject
* obj2
= 0 ;
26077 char *kwnames
[] = {
26078 (char *) "self",(char *) "item",(char *) "font", NULL
26081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26082 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26084 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26085 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26087 if (arg2
== NULL
) {
26088 PyErr_SetString(PyExc_TypeError
,"null reference");
26091 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
26092 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26094 if (arg3
== NULL
) {
26095 PyErr_SetString(PyExc_TypeError
,"null reference");
26099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26100 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
26102 wxPyEndAllowThreads(__tstate
);
26103 if (PyErr_Occurred()) SWIG_fail
;
26105 Py_INCREF(Py_None
); resultobj
= Py_None
;
26112 static PyObject
*_wrap_TreeCtrl_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26113 PyObject
*resultobj
;
26114 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26115 wxTreeItemId
*arg2
= 0 ;
26117 PyObject
* obj0
= 0 ;
26118 PyObject
* obj1
= 0 ;
26119 char *kwnames
[] = {
26120 (char *) "self",(char *) "item", NULL
26123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
26124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26126 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26127 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26129 if (arg2
== NULL
) {
26130 PyErr_SetString(PyExc_TypeError
,"null reference");
26134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26135 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsVisible((wxTreeItemId
const &)*arg2
);
26137 wxPyEndAllowThreads(__tstate
);
26138 if (PyErr_Occurred()) SWIG_fail
;
26141 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26149 static PyObject
*_wrap_TreeCtrl_ItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26150 PyObject
*resultobj
;
26151 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26152 wxTreeItemId
*arg2
= 0 ;
26154 PyObject
* obj0
= 0 ;
26155 PyObject
* obj1
= 0 ;
26156 char *kwnames
[] = {
26157 (char *) "self",(char *) "item", NULL
26160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
26161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26163 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26164 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26166 if (arg2
== NULL
) {
26167 PyErr_SetString(PyExc_TypeError
,"null reference");
26171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26172 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->ItemHasChildren((wxTreeItemId
const &)*arg2
);
26174 wxPyEndAllowThreads(__tstate
);
26175 if (PyErr_Occurred()) SWIG_fail
;
26178 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26186 static PyObject
*_wrap_TreeCtrl_IsExpanded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26187 PyObject
*resultobj
;
26188 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26189 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_IsExpanded",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 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsExpanded((wxTreeItemId
const &)*arg2
);
26211 wxPyEndAllowThreads(__tstate
);
26212 if (PyErr_Occurred()) SWIG_fail
;
26215 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26223 static PyObject
*_wrap_TreeCtrl_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26224 PyObject
*resultobj
;
26225 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26226 wxTreeItemId
*arg2
= 0 ;
26228 PyObject
* obj0
= 0 ;
26229 PyObject
* obj1
= 0 ;
26230 char *kwnames
[] = {
26231 (char *) "self",(char *) "item", NULL
26234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
26235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26237 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26238 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26240 if (arg2
== NULL
) {
26241 PyErr_SetString(PyExc_TypeError
,"null reference");
26245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26246 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsSelected((wxTreeItemId
const &)*arg2
);
26248 wxPyEndAllowThreads(__tstate
);
26249 if (PyErr_Occurred()) SWIG_fail
;
26252 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26260 static PyObject
*_wrap_TreeCtrl_IsBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26261 PyObject
*resultobj
;
26262 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26263 wxTreeItemId
*arg2
= 0 ;
26265 PyObject
* obj0
= 0 ;
26266 PyObject
* obj1
= 0 ;
26267 char *kwnames
[] = {
26268 (char *) "self",(char *) "item", NULL
26271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsBold",kwnames
,&obj0
,&obj1
)) goto fail
;
26272 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26274 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26275 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26277 if (arg2
== NULL
) {
26278 PyErr_SetString(PyExc_TypeError
,"null reference");
26282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26283 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsBold((wxTreeItemId
const &)*arg2
);
26285 wxPyEndAllowThreads(__tstate
);
26286 if (PyErr_Occurred()) SWIG_fail
;
26289 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26297 static PyObject
*_wrap_TreeCtrl_GetChildrenCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26298 PyObject
*resultobj
;
26299 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26300 wxTreeItemId
*arg2
= 0 ;
26301 bool arg3
= (bool) True
;
26303 PyObject
* obj0
= 0 ;
26304 PyObject
* obj1
= 0 ;
26305 PyObject
* obj2
= 0 ;
26306 char *kwnames
[] = {
26307 (char *) "self",(char *) "item",(char *) "recursively", NULL
26310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26313 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26314 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26316 if (arg2
== NULL
) {
26317 PyErr_SetString(PyExc_TypeError
,"null reference");
26321 arg3
= (bool) SWIG_AsBool(obj2
);
26322 if (PyErr_Occurred()) SWIG_fail
;
26325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26326 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
26328 wxPyEndAllowThreads(__tstate
);
26329 if (PyErr_Occurred()) SWIG_fail
;
26331 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
26338 static PyObject
*_wrap_TreeCtrl_GetRootItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26339 PyObject
*resultobj
;
26340 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26341 wxTreeItemId result
;
26342 PyObject
* obj0
= 0 ;
26343 char *kwnames
[] = {
26344 (char *) "self", NULL
26347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetRootItem",kwnames
,&obj0
)) goto fail
;
26348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26352 result
= ((wxPyTreeCtrl
const *)arg1
)->GetRootItem();
26354 wxPyEndAllowThreads(__tstate
);
26355 if (PyErr_Occurred()) SWIG_fail
;
26358 wxTreeItemId
* resultptr
;
26359 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26360 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26368 static PyObject
*_wrap_TreeCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26369 PyObject
*resultobj
;
26370 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26371 wxTreeItemId result
;
26372 PyObject
* obj0
= 0 ;
26373 char *kwnames
[] = {
26374 (char *) "self", NULL
26377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
26378 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26382 result
= ((wxPyTreeCtrl
const *)arg1
)->GetSelection();
26384 wxPyEndAllowThreads(__tstate
);
26385 if (PyErr_Occurred()) SWIG_fail
;
26388 wxTreeItemId
* resultptr
;
26389 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26390 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26398 static PyObject
*_wrap_TreeCtrl_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26399 PyObject
*resultobj
;
26400 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26402 PyObject
* obj0
= 0 ;
26403 char *kwnames
[] = {
26404 (char *) "self", NULL
26407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelections",kwnames
,&obj0
)) goto fail
;
26408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26412 result
= (PyObject
*)wxPyTreeCtrl_GetSelections(arg1
);
26414 wxPyEndAllowThreads(__tstate
);
26415 if (PyErr_Occurred()) SWIG_fail
;
26417 resultobj
= result
;
26424 static PyObject
*_wrap_TreeCtrl_GetItemParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26425 PyObject
*resultobj
;
26426 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26427 wxTreeItemId
*arg2
= 0 ;
26428 wxTreeItemId result
;
26429 PyObject
* obj0
= 0 ;
26430 PyObject
* obj1
= 0 ;
26431 char *kwnames
[] = {
26432 (char *) "self",(char *) "item", NULL
26435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) goto fail
;
26436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26438 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26439 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26441 if (arg2
== NULL
) {
26442 PyErr_SetString(PyExc_TypeError
,"null reference");
26446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26447 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
26449 wxPyEndAllowThreads(__tstate
);
26450 if (PyErr_Occurred()) SWIG_fail
;
26453 wxTreeItemId
* resultptr
;
26454 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26455 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26463 static PyObject
*_wrap_TreeCtrl_GetFirstChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26464 PyObject
*resultobj
;
26465 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26466 wxTreeItemId
*arg2
= 0 ;
26468 PyObject
* obj0
= 0 ;
26469 PyObject
* obj1
= 0 ;
26470 char *kwnames
[] = {
26471 (char *) "self",(char *) "item", NULL
26474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) goto fail
;
26475 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26477 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26478 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26480 if (arg2
== NULL
) {
26481 PyErr_SetString(PyExc_TypeError
,"null reference");
26485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26486 result
= (PyObject
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
26488 wxPyEndAllowThreads(__tstate
);
26489 if (PyErr_Occurred()) SWIG_fail
;
26491 resultobj
= result
;
26498 static PyObject
*_wrap_TreeCtrl_GetNextChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26499 PyObject
*resultobj
;
26500 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26501 wxTreeItemId
*arg2
= 0 ;
26502 void *arg3
= (void *) 0 ;
26504 PyObject
* obj0
= 0 ;
26505 PyObject
* obj1
= 0 ;
26506 PyObject
* obj2
= 0 ;
26507 char *kwnames
[] = {
26508 (char *) "self",(char *) "item",(char *) "cookie", NULL
26511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26512 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26514 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26515 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26517 if (arg2
== NULL
) {
26518 PyErr_SetString(PyExc_TypeError
,"null reference");
26521 if ((SWIG_ConvertPtr(obj2
,&arg3
,0,SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26524 result
= (PyObject
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
26526 wxPyEndAllowThreads(__tstate
);
26527 if (PyErr_Occurred()) SWIG_fail
;
26529 resultobj
= result
;
26536 static PyObject
*_wrap_TreeCtrl_GetLastChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26537 PyObject
*resultobj
;
26538 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26539 wxTreeItemId
*arg2
= 0 ;
26540 wxTreeItemId result
;
26541 PyObject
* obj0
= 0 ;
26542 PyObject
* obj1
= 0 ;
26543 char *kwnames
[] = {
26544 (char *) "self",(char *) "item", NULL
26547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) goto fail
;
26548 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26549 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26550 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26551 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26553 if (arg2
== NULL
) {
26554 PyErr_SetString(PyExc_TypeError
,"null reference");
26558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26559 result
= ((wxPyTreeCtrl
const *)arg1
)->GetLastChild((wxTreeItemId
const &)*arg2
);
26561 wxPyEndAllowThreads(__tstate
);
26562 if (PyErr_Occurred()) SWIG_fail
;
26565 wxTreeItemId
* resultptr
;
26566 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26567 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26575 static PyObject
*_wrap_TreeCtrl_GetNextSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26576 PyObject
*resultobj
;
26577 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26578 wxTreeItemId
*arg2
= 0 ;
26579 wxTreeItemId result
;
26580 PyObject
* obj0
= 0 ;
26581 PyObject
* obj1
= 0 ;
26582 char *kwnames
[] = {
26583 (char *) "self",(char *) "item", NULL
26586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
26587 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26589 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26590 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26592 if (arg2
== NULL
) {
26593 PyErr_SetString(PyExc_TypeError
,"null reference");
26597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26598 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextSibling((wxTreeItemId
const &)*arg2
);
26600 wxPyEndAllowThreads(__tstate
);
26601 if (PyErr_Occurred()) SWIG_fail
;
26604 wxTreeItemId
* resultptr
;
26605 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26606 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26614 static PyObject
*_wrap_TreeCtrl_GetPrevSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26615 PyObject
*resultobj
;
26616 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26617 wxTreeItemId
*arg2
= 0 ;
26618 wxTreeItemId result
;
26619 PyObject
* obj0
= 0 ;
26620 PyObject
* obj1
= 0 ;
26621 char *kwnames
[] = {
26622 (char *) "self",(char *) "item", NULL
26625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
26626 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26627 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26628 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26629 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26631 if (arg2
== NULL
) {
26632 PyErr_SetString(PyExc_TypeError
,"null reference");
26636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26637 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevSibling((wxTreeItemId
const &)*arg2
);
26639 wxPyEndAllowThreads(__tstate
);
26640 if (PyErr_Occurred()) SWIG_fail
;
26643 wxTreeItemId
* resultptr
;
26644 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26645 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26653 static PyObject
*_wrap_TreeCtrl_GetFirstVisibleItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26654 PyObject
*resultobj
;
26655 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26656 wxTreeItemId result
;
26657 PyObject
* obj0
= 0 ;
26658 char *kwnames
[] = {
26659 (char *) "self", NULL
26662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames
,&obj0
)) goto fail
;
26663 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26667 result
= ((wxPyTreeCtrl
const *)arg1
)->GetFirstVisibleItem();
26669 wxPyEndAllowThreads(__tstate
);
26670 if (PyErr_Occurred()) SWIG_fail
;
26673 wxTreeItemId
* resultptr
;
26674 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26675 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26683 static PyObject
*_wrap_TreeCtrl_GetNextVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26684 PyObject
*resultobj
;
26685 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26686 wxTreeItemId
*arg2
= 0 ;
26687 wxTreeItemId result
;
26688 PyObject
* obj0
= 0 ;
26689 PyObject
* obj1
= 0 ;
26690 char *kwnames
[] = {
26691 (char *) "self",(char *) "item", NULL
26694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
26695 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26697 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26698 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26700 if (arg2
== NULL
) {
26701 PyErr_SetString(PyExc_TypeError
,"null reference");
26705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26706 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextVisible((wxTreeItemId
const &)*arg2
);
26708 wxPyEndAllowThreads(__tstate
);
26709 if (PyErr_Occurred()) SWIG_fail
;
26712 wxTreeItemId
* resultptr
;
26713 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26714 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26722 static PyObject
*_wrap_TreeCtrl_GetPrevVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26723 PyObject
*resultobj
;
26724 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26725 wxTreeItemId
*arg2
= 0 ;
26726 wxTreeItemId result
;
26727 PyObject
* obj0
= 0 ;
26728 PyObject
* obj1
= 0 ;
26729 char *kwnames
[] = {
26730 (char *) "self",(char *) "item", NULL
26733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
26734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26736 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26737 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26739 if (arg2
== NULL
) {
26740 PyErr_SetString(PyExc_TypeError
,"null reference");
26744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26745 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevVisible((wxTreeItemId
const &)*arg2
);
26747 wxPyEndAllowThreads(__tstate
);
26748 if (PyErr_Occurred()) SWIG_fail
;
26751 wxTreeItemId
* resultptr
;
26752 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26753 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26761 static PyObject
*_wrap_TreeCtrl_AddRoot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26762 PyObject
*resultobj
;
26763 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26764 wxString
*arg2
= 0 ;
26765 int arg3
= (int) -1 ;
26766 int arg4
= (int) -1 ;
26767 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
26768 wxTreeItemId result
;
26769 bool temp2
= False
;
26770 PyObject
* obj0
= 0 ;
26771 PyObject
* obj1
= 0 ;
26772 PyObject
* obj2
= 0 ;
26773 PyObject
* obj3
= 0 ;
26774 PyObject
* obj4
= 0 ;
26775 char *kwnames
[] = {
26776 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
26779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
26780 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26783 arg2
= wxString_in_helper(obj1
);
26784 if (arg2
== NULL
) SWIG_fail
;
26788 arg3
= (int) SWIG_AsInt(obj2
);
26789 if (PyErr_Occurred()) SWIG_fail
;
26792 arg4
= (int) SWIG_AsInt(obj3
);
26793 if (PyErr_Occurred()) SWIG_fail
;
26796 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxPyTreeItemData
,
26797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26801 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
26803 wxPyEndAllowThreads(__tstate
);
26804 if (PyErr_Occurred()) SWIG_fail
;
26807 wxTreeItemId
* resultptr
;
26808 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26809 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26825 static PyObject
*_wrap_TreeCtrl_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26826 PyObject
*resultobj
;
26827 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26828 wxTreeItemId
*arg2
= 0 ;
26829 wxString
*arg3
= 0 ;
26830 int arg4
= (int) -1 ;
26831 int arg5
= (int) -1 ;
26832 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
26833 wxTreeItemId result
;
26834 bool temp3
= False
;
26835 PyObject
* obj0
= 0 ;
26836 PyObject
* obj1
= 0 ;
26837 PyObject
* obj2
= 0 ;
26838 PyObject
* obj3
= 0 ;
26839 PyObject
* obj4
= 0 ;
26840 PyObject
* obj5
= 0 ;
26841 char *kwnames
[] = {
26842 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
26845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
26846 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26848 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26849 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26851 if (arg2
== NULL
) {
26852 PyErr_SetString(PyExc_TypeError
,"null reference");
26856 arg3
= wxString_in_helper(obj2
);
26857 if (arg3
== NULL
) SWIG_fail
;
26861 arg4
= (int) SWIG_AsInt(obj3
);
26862 if (PyErr_Occurred()) SWIG_fail
;
26865 arg5
= (int) SWIG_AsInt(obj4
);
26866 if (PyErr_Occurred()) SWIG_fail
;
26869 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxPyTreeItemData
,
26870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26874 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
26876 wxPyEndAllowThreads(__tstate
);
26877 if (PyErr_Occurred()) SWIG_fail
;
26880 wxTreeItemId
* resultptr
;
26881 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26882 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26898 static PyObject
*_wrap_TreeCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26899 PyObject
*resultobj
;
26900 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26901 wxTreeItemId
*arg2
= 0 ;
26902 wxTreeItemId
*arg3
= 0 ;
26903 wxString
*arg4
= 0 ;
26904 int arg5
= (int) -1 ;
26905 int arg6
= (int) -1 ;
26906 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
26907 wxTreeItemId result
;
26908 bool temp4
= False
;
26909 PyObject
* obj0
= 0 ;
26910 PyObject
* obj1
= 0 ;
26911 PyObject
* obj2
= 0 ;
26912 PyObject
* obj3
= 0 ;
26913 PyObject
* obj4
= 0 ;
26914 PyObject
* obj5
= 0 ;
26915 PyObject
* obj6
= 0 ;
26916 char *kwnames
[] = {
26917 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
26920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
26921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26923 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26924 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26926 if (arg2
== NULL
) {
26927 PyErr_SetString(PyExc_TypeError
,"null reference");
26930 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTreeItemId
,
26931 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26933 if (arg3
== NULL
) {
26934 PyErr_SetString(PyExc_TypeError
,"null reference");
26938 arg4
= wxString_in_helper(obj3
);
26939 if (arg4
== NULL
) SWIG_fail
;
26943 arg5
= (int) SWIG_AsInt(obj4
);
26944 if (PyErr_Occurred()) SWIG_fail
;
26947 arg6
= (int) SWIG_AsInt(obj5
);
26948 if (PyErr_Occurred()) SWIG_fail
;
26951 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxPyTreeItemData
,
26952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26956 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
26958 wxPyEndAllowThreads(__tstate
);
26959 if (PyErr_Occurred()) SWIG_fail
;
26962 wxTreeItemId
* resultptr
;
26963 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26964 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26980 static PyObject
*_wrap_TreeCtrl_InsertItemBefore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26981 PyObject
*resultobj
;
26982 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26983 wxTreeItemId
*arg2
= 0 ;
26985 wxString
*arg4
= 0 ;
26986 int arg5
= (int) -1 ;
26987 int arg6
= (int) -1 ;
26988 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
26989 wxTreeItemId result
;
26990 bool temp4
= False
;
26991 PyObject
* obj0
= 0 ;
26992 PyObject
* obj1
= 0 ;
26993 PyObject
* obj2
= 0 ;
26994 PyObject
* obj3
= 0 ;
26995 PyObject
* obj4
= 0 ;
26996 PyObject
* obj5
= 0 ;
26997 PyObject
* obj6
= 0 ;
26998 char *kwnames
[] = {
26999 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
27002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
27003 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27005 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27006 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27008 if (arg2
== NULL
) {
27009 PyErr_SetString(PyExc_TypeError
,"null reference");
27012 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
27013 if (PyErr_Occurred()) SWIG_fail
;
27015 arg4
= wxString_in_helper(obj3
);
27016 if (arg4
== NULL
) SWIG_fail
;
27020 arg5
= (int) SWIG_AsInt(obj4
);
27021 if (PyErr_Occurred()) SWIG_fail
;
27024 arg6
= (int) SWIG_AsInt(obj5
);
27025 if (PyErr_Occurred()) SWIG_fail
;
27028 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxPyTreeItemData
,
27029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27033 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
27035 wxPyEndAllowThreads(__tstate
);
27036 if (PyErr_Occurred()) SWIG_fail
;
27039 wxTreeItemId
* resultptr
;
27040 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27041 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27057 static PyObject
*_wrap_TreeCtrl_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27058 PyObject
*resultobj
;
27059 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27060 wxTreeItemId
*arg2
= 0 ;
27061 wxString
*arg3
= 0 ;
27062 int arg4
= (int) -1 ;
27063 int arg5
= (int) -1 ;
27064 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
27065 wxTreeItemId result
;
27066 bool temp3
= False
;
27067 PyObject
* obj0
= 0 ;
27068 PyObject
* obj1
= 0 ;
27069 PyObject
* obj2
= 0 ;
27070 PyObject
* obj3
= 0 ;
27071 PyObject
* obj4
= 0 ;
27072 PyObject
* obj5
= 0 ;
27073 char *kwnames
[] = {
27074 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
27077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
27078 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27079 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27080 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27081 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27083 if (arg2
== NULL
) {
27084 PyErr_SetString(PyExc_TypeError
,"null reference");
27088 arg3
= wxString_in_helper(obj2
);
27089 if (arg3
== NULL
) SWIG_fail
;
27093 arg4
= (int) SWIG_AsInt(obj3
);
27094 if (PyErr_Occurred()) SWIG_fail
;
27097 arg5
= (int) SWIG_AsInt(obj4
);
27098 if (PyErr_Occurred()) SWIG_fail
;
27101 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxPyTreeItemData
,
27102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27106 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
27108 wxPyEndAllowThreads(__tstate
);
27109 if (PyErr_Occurred()) SWIG_fail
;
27112 wxTreeItemId
* resultptr
;
27113 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27114 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27130 static PyObject
*_wrap_TreeCtrl_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27131 PyObject
*resultobj
;
27132 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27133 wxTreeItemId
*arg2
= 0 ;
27134 PyObject
* obj0
= 0 ;
27135 PyObject
* obj1
= 0 ;
27136 char *kwnames
[] = {
27137 (char *) "self",(char *) "item", NULL
27140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
27141 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27143 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27144 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27146 if (arg2
== NULL
) {
27147 PyErr_SetString(PyExc_TypeError
,"null reference");
27151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27152 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
27154 wxPyEndAllowThreads(__tstate
);
27155 if (PyErr_Occurred()) SWIG_fail
;
27157 Py_INCREF(Py_None
); resultobj
= Py_None
;
27164 static PyObject
*_wrap_TreeCtrl_DeleteChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27165 PyObject
*resultobj
;
27166 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27167 wxTreeItemId
*arg2
= 0 ;
27168 PyObject
* obj0
= 0 ;
27169 PyObject
* obj1
= 0 ;
27170 char *kwnames
[] = {
27171 (char *) "self",(char *) "item", NULL
27174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
27175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27177 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27178 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27180 if (arg2
== NULL
) {
27181 PyErr_SetString(PyExc_TypeError
,"null reference");
27185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27186 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
27188 wxPyEndAllowThreads(__tstate
);
27189 if (PyErr_Occurred()) SWIG_fail
;
27191 Py_INCREF(Py_None
); resultobj
= Py_None
;
27198 static PyObject
*_wrap_TreeCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27199 PyObject
*resultobj
;
27200 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27201 PyObject
* obj0
= 0 ;
27202 char *kwnames
[] = {
27203 (char *) "self", NULL
27206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
27207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27211 (arg1
)->DeleteAllItems();
27213 wxPyEndAllowThreads(__tstate
);
27214 if (PyErr_Occurred()) SWIG_fail
;
27216 Py_INCREF(Py_None
); resultobj
= Py_None
;
27223 static PyObject
*_wrap_TreeCtrl_Expand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27224 PyObject
*resultobj
;
27225 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27226 wxTreeItemId
*arg2
= 0 ;
27227 PyObject
* obj0
= 0 ;
27228 PyObject
* obj1
= 0 ;
27229 char *kwnames
[] = {
27230 (char *) "self",(char *) "item", NULL
27233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Expand",kwnames
,&obj0
,&obj1
)) goto fail
;
27234 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27236 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27237 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27239 if (arg2
== NULL
) {
27240 PyErr_SetString(PyExc_TypeError
,"null reference");
27244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27245 (arg1
)->Expand((wxTreeItemId
const &)*arg2
);
27247 wxPyEndAllowThreads(__tstate
);
27248 if (PyErr_Occurred()) SWIG_fail
;
27250 Py_INCREF(Py_None
); resultobj
= Py_None
;
27257 static PyObject
*_wrap_TreeCtrl_Collapse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27258 PyObject
*resultobj
;
27259 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27260 wxTreeItemId
*arg2
= 0 ;
27261 PyObject
* obj0
= 0 ;
27262 PyObject
* obj1
= 0 ;
27263 char *kwnames
[] = {
27264 (char *) "self",(char *) "item", NULL
27267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Collapse",kwnames
,&obj0
,&obj1
)) goto fail
;
27268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27270 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27271 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27273 if (arg2
== NULL
) {
27274 PyErr_SetString(PyExc_TypeError
,"null reference");
27278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27279 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
27281 wxPyEndAllowThreads(__tstate
);
27282 if (PyErr_Occurred()) SWIG_fail
;
27284 Py_INCREF(Py_None
); resultobj
= Py_None
;
27291 static PyObject
*_wrap_TreeCtrl_CollapseAndReset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27292 PyObject
*resultobj
;
27293 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27294 wxTreeItemId
*arg2
= 0 ;
27295 PyObject
* obj0
= 0 ;
27296 PyObject
* obj1
= 0 ;
27297 char *kwnames
[] = {
27298 (char *) "self",(char *) "item", NULL
27301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) goto fail
;
27302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27304 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27305 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27307 if (arg2
== NULL
) {
27308 PyErr_SetString(PyExc_TypeError
,"null reference");
27312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27313 (arg1
)->CollapseAndReset((wxTreeItemId
const &)*arg2
);
27315 wxPyEndAllowThreads(__tstate
);
27316 if (PyErr_Occurred()) SWIG_fail
;
27318 Py_INCREF(Py_None
); resultobj
= Py_None
;
27325 static PyObject
*_wrap_TreeCtrl_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27326 PyObject
*resultobj
;
27327 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27328 wxTreeItemId
*arg2
= 0 ;
27329 PyObject
* obj0
= 0 ;
27330 PyObject
* obj1
= 0 ;
27331 char *kwnames
[] = {
27332 (char *) "self",(char *) "item", NULL
27335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
27336 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27337 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27338 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27339 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27341 if (arg2
== NULL
) {
27342 PyErr_SetString(PyExc_TypeError
,"null reference");
27346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27347 (arg1
)->Toggle((wxTreeItemId
const &)*arg2
);
27349 wxPyEndAllowThreads(__tstate
);
27350 if (PyErr_Occurred()) SWIG_fail
;
27352 Py_INCREF(Py_None
); resultobj
= Py_None
;
27359 static PyObject
*_wrap_TreeCtrl_Unselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27360 PyObject
*resultobj
;
27361 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27362 PyObject
* obj0
= 0 ;
27363 char *kwnames
[] = {
27364 (char *) "self", NULL
27367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_Unselect",kwnames
,&obj0
)) goto fail
;
27368 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27369 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27372 (arg1
)->Unselect();
27374 wxPyEndAllowThreads(__tstate
);
27375 if (PyErr_Occurred()) SWIG_fail
;
27377 Py_INCREF(Py_None
); resultobj
= Py_None
;
27384 static PyObject
*_wrap_TreeCtrl_UnselectItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27385 PyObject
*resultobj
;
27386 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27387 wxTreeItemId
*arg2
= 0 ;
27388 PyObject
* obj0
= 0 ;
27389 PyObject
* obj1
= 0 ;
27390 char *kwnames
[] = {
27391 (char *) "self",(char *) "item", NULL
27394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_UnselectItem",kwnames
,&obj0
,&obj1
)) goto fail
;
27395 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27397 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27398 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27400 if (arg2
== NULL
) {
27401 PyErr_SetString(PyExc_TypeError
,"null reference");
27405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27406 (arg1
)->UnselectItem((wxTreeItemId
const &)*arg2
);
27408 wxPyEndAllowThreads(__tstate
);
27409 if (PyErr_Occurred()) SWIG_fail
;
27411 Py_INCREF(Py_None
); resultobj
= Py_None
;
27418 static PyObject
*_wrap_TreeCtrl_UnselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27419 PyObject
*resultobj
;
27420 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27421 PyObject
* obj0
= 0 ;
27422 char *kwnames
[] = {
27423 (char *) "self", NULL
27426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_UnselectAll",kwnames
,&obj0
)) goto fail
;
27427 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27431 (arg1
)->UnselectAll();
27433 wxPyEndAllowThreads(__tstate
);
27434 if (PyErr_Occurred()) SWIG_fail
;
27436 Py_INCREF(Py_None
); resultobj
= Py_None
;
27443 static PyObject
*_wrap_TreeCtrl_SelectItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27444 PyObject
*resultobj
;
27445 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27446 wxTreeItemId
*arg2
= 0 ;
27447 bool arg3
= (bool) True
;
27448 PyObject
* obj0
= 0 ;
27449 PyObject
* obj1
= 0 ;
27450 PyObject
* obj2
= 0 ;
27451 char *kwnames
[] = {
27452 (char *) "self",(char *) "item",(char *) "select", NULL
27455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27458 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27459 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27461 if (arg2
== NULL
) {
27462 PyErr_SetString(PyExc_TypeError
,"null reference");
27466 arg3
= (bool) SWIG_AsBool(obj2
);
27467 if (PyErr_Occurred()) SWIG_fail
;
27470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27471 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
,arg3
);
27473 wxPyEndAllowThreads(__tstate
);
27474 if (PyErr_Occurred()) SWIG_fail
;
27476 Py_INCREF(Py_None
); resultobj
= Py_None
;
27483 static PyObject
*_wrap_TreeCtrl_ToggleItemSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27484 PyObject
*resultobj
;
27485 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27486 wxTreeItemId
*arg2
= 0 ;
27487 PyObject
* obj0
= 0 ;
27488 PyObject
* obj1
= 0 ;
27489 char *kwnames
[] = {
27490 (char *) "self",(char *) "item", NULL
27493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
27494 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27496 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27497 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27499 if (arg2
== NULL
) {
27500 PyErr_SetString(PyExc_TypeError
,"null reference");
27504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27505 (arg1
)->ToggleItemSelection((wxTreeItemId
const &)*arg2
);
27507 wxPyEndAllowThreads(__tstate
);
27508 if (PyErr_Occurred()) SWIG_fail
;
27510 Py_INCREF(Py_None
); resultobj
= Py_None
;
27517 static PyObject
*_wrap_TreeCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27518 PyObject
*resultobj
;
27519 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27520 wxTreeItemId
*arg2
= 0 ;
27521 PyObject
* obj0
= 0 ;
27522 PyObject
* obj1
= 0 ;
27523 char *kwnames
[] = {
27524 (char *) "self",(char *) "item", NULL
27527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
27528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27530 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27531 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27533 if (arg2
== NULL
) {
27534 PyErr_SetString(PyExc_TypeError
,"null reference");
27538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27539 (arg1
)->EnsureVisible((wxTreeItemId
const &)*arg2
);
27541 wxPyEndAllowThreads(__tstate
);
27542 if (PyErr_Occurred()) SWIG_fail
;
27544 Py_INCREF(Py_None
); resultobj
= Py_None
;
27551 static PyObject
*_wrap_TreeCtrl_ScrollTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27552 PyObject
*resultobj
;
27553 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27554 wxTreeItemId
*arg2
= 0 ;
27555 PyObject
* obj0
= 0 ;
27556 PyObject
* obj1
= 0 ;
27557 char *kwnames
[] = {
27558 (char *) "self",(char *) "item", NULL
27561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) goto fail
;
27562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27564 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27565 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27567 if (arg2
== NULL
) {
27568 PyErr_SetString(PyExc_TypeError
,"null reference");
27572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27573 (arg1
)->ScrollTo((wxTreeItemId
const &)*arg2
);
27575 wxPyEndAllowThreads(__tstate
);
27576 if (PyErr_Occurred()) SWIG_fail
;
27578 Py_INCREF(Py_None
); resultobj
= Py_None
;
27585 static PyObject
*_wrap_TreeCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27586 PyObject
*resultobj
;
27587 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27588 wxTreeItemId
*arg2
= 0 ;
27589 PyObject
* obj0
= 0 ;
27590 PyObject
* obj1
= 0 ;
27591 char *kwnames
[] = {
27592 (char *) "self",(char *) "item", NULL
27595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
27596 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27598 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27599 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27601 if (arg2
== NULL
) {
27602 PyErr_SetString(PyExc_TypeError
,"null reference");
27606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27607 (arg1
)->EditLabel((wxTreeItemId
const &)*arg2
);
27609 wxPyEndAllowThreads(__tstate
);
27610 if (PyErr_Occurred()) SWIG_fail
;
27612 Py_INCREF(Py_None
); resultobj
= Py_None
;
27619 static PyObject
*_wrap_TreeCtrl_GetEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27620 PyObject
*resultobj
;
27621 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27622 wxTextCtrl
*result
;
27623 PyObject
* obj0
= 0 ;
27624 char *kwnames
[] = {
27625 (char *) "self", NULL
27628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetEditControl",kwnames
,&obj0
)) goto fail
;
27629 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27633 result
= (wxTextCtrl
*)((wxPyTreeCtrl
const *)arg1
)->GetEditControl();
27635 wxPyEndAllowThreads(__tstate
);
27636 if (PyErr_Occurred()) SWIG_fail
;
27639 resultobj
= wxPyMake_wxObject(result
, 0);
27647 static PyObject
*_wrap_TreeCtrl_SortChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27648 PyObject
*resultobj
;
27649 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27650 wxTreeItemId
*arg2
= 0 ;
27651 PyObject
* obj0
= 0 ;
27652 PyObject
* obj1
= 0 ;
27653 char *kwnames
[] = {
27654 (char *) "self",(char *) "item", NULL
27657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SortChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
27658 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27660 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27661 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27663 if (arg2
== NULL
) {
27664 PyErr_SetString(PyExc_TypeError
,"null reference");
27668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27669 (arg1
)->SortChildren((wxTreeItemId
const &)*arg2
);
27671 wxPyEndAllowThreads(__tstate
);
27672 if (PyErr_Occurred()) SWIG_fail
;
27674 Py_INCREF(Py_None
); resultobj
= Py_None
;
27681 static PyObject
*_wrap_TreeCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27682 PyObject
*resultobj
;
27683 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27684 wxPoint
*arg2
= 0 ;
27686 wxTreeItemId result
;
27689 PyObject
* obj0
= 0 ;
27690 PyObject
* obj1
= 0 ;
27691 char *kwnames
[] = {
27692 (char *) "self",(char *) "point", NULL
27696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
27697 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27701 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
27704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27705 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
27707 wxPyEndAllowThreads(__tstate
);
27708 if (PyErr_Occurred()) SWIG_fail
;
27711 wxTreeItemId
* resultptr
;
27712 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27713 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27716 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
27717 resultobj
= t_output_helper(resultobj
,o
);
27725 static PyObject
*_wrap_TreeCtrl_GetBoundingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27726 PyObject
*resultobj
;
27727 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27728 wxTreeItemId
*arg2
= 0 ;
27729 bool arg3
= (bool) False
;
27731 PyObject
* obj0
= 0 ;
27732 PyObject
* obj1
= 0 ;
27733 PyObject
* obj2
= 0 ;
27734 char *kwnames
[] = {
27735 (char *) "self",(char *) "item",(char *) "textOnly", NULL
27738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27739 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27741 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27742 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27744 if (arg2
== NULL
) {
27745 PyErr_SetString(PyExc_TypeError
,"null reference");
27749 arg3
= (bool) SWIG_AsBool(obj2
);
27750 if (PyErr_Occurred()) SWIG_fail
;
27753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27754 result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
27756 wxPyEndAllowThreads(__tstate
);
27757 if (PyErr_Occurred()) SWIG_fail
;
27759 resultobj
= result
;
27766 static PyObject
*_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27767 PyObject
*resultobj
;
27768 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
27769 wxVisualAttributes result
;
27770 PyObject
* obj0
= 0 ;
27771 char *kwnames
[] = {
27772 (char *) "variant", NULL
27775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
27777 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
27778 if (PyErr_Occurred()) SWIG_fail
;
27781 if (!wxPyCheckForApp()) SWIG_fail
;
27782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27783 result
= wxPyTreeCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
27785 wxPyEndAllowThreads(__tstate
);
27786 if (PyErr_Occurred()) SWIG_fail
;
27789 wxVisualAttributes
* resultptr
;
27790 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
27791 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
27799 static PyObject
* TreeCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
27801 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27802 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl
, obj
);
27804 return Py_BuildValue((char *)"");
27806 static int _wrap_DirDialogDefaultFolderStr_set(PyObject
*_val
) {
27807 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogDefaultFolderStr is read-only.");
27812 static PyObject
*_wrap_DirDialogDefaultFolderStr_get() {
27817 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
27819 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
27826 static PyObject
*_wrap_new_GenericDirCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27827 PyObject
*resultobj
;
27828 wxWindow
*arg1
= (wxWindow
*) 0 ;
27829 int arg2
= (int) (int)-1 ;
27830 wxString
const &arg3_defvalue
= wxPyDirDialogDefaultFolderStr
;
27831 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
27832 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
27833 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
27834 wxSize
const &arg5_defvalue
= wxDefaultSize
;
27835 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
27836 long arg6
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
27837 wxString
const &arg7_defvalue
= wxPyEmptyString
;
27838 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
27839 int arg8
= (int) 0 ;
27840 wxString
const &arg9_defvalue
= wxPyTreeCtrlNameStr
;
27841 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
27842 wxGenericDirCtrl
*result
;
27843 bool temp3
= False
;
27846 bool temp7
= False
;
27847 bool temp9
= False
;
27848 PyObject
* obj0
= 0 ;
27849 PyObject
* obj1
= 0 ;
27850 PyObject
* obj2
= 0 ;
27851 PyObject
* obj3
= 0 ;
27852 PyObject
* obj4
= 0 ;
27853 PyObject
* obj5
= 0 ;
27854 PyObject
* obj6
= 0 ;
27855 PyObject
* obj7
= 0 ;
27856 PyObject
* obj8
= 0 ;
27857 char *kwnames
[] = {
27858 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
27861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
27862 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27863 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27865 arg2
= (int const) SWIG_AsInt(obj1
);
27866 if (PyErr_Occurred()) SWIG_fail
;
27870 arg3
= wxString_in_helper(obj2
);
27871 if (arg3
== NULL
) SWIG_fail
;
27878 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
27884 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
27888 arg6
= (long) SWIG_AsLong(obj5
);
27889 if (PyErr_Occurred()) SWIG_fail
;
27893 arg7
= wxString_in_helper(obj6
);
27894 if (arg7
== NULL
) SWIG_fail
;
27899 arg8
= (int) SWIG_AsInt(obj7
);
27900 if (PyErr_Occurred()) SWIG_fail
;
27904 arg9
= wxString_in_helper(obj8
);
27905 if (arg9
== NULL
) SWIG_fail
;
27910 if (!wxPyCheckForApp()) SWIG_fail
;
27911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27912 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
27914 wxPyEndAllowThreads(__tstate
);
27915 if (PyErr_Occurred()) SWIG_fail
;
27917 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1);
27948 static PyObject
*_wrap_new_PreGenericDirCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27949 PyObject
*resultobj
;
27950 wxGenericDirCtrl
*result
;
27951 char *kwnames
[] = {
27955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGenericDirCtrl",kwnames
)) goto fail
;
27957 if (!wxPyCheckForApp()) SWIG_fail
;
27958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27959 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl();
27961 wxPyEndAllowThreads(__tstate
);
27962 if (PyErr_Occurred()) SWIG_fail
;
27964 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1);
27971 static PyObject
*_wrap_GenericDirCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27972 PyObject
*resultobj
;
27973 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27974 wxWindow
*arg2
= (wxWindow
*) 0 ;
27975 int arg3
= (int) (int)-1 ;
27976 wxString
const &arg4_defvalue
= wxPyDirDialogDefaultFolderStr
;
27977 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
27978 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
27979 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
27980 wxSize
const &arg6_defvalue
= wxDefaultSize
;
27981 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
27982 long arg7
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
27983 wxString
const &arg8_defvalue
= wxPyEmptyString
;
27984 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
27985 int arg9
= (int) 0 ;
27986 wxString
const &arg10_defvalue
= wxPyTreeCtrlNameStr
;
27987 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
27989 bool temp4
= False
;
27992 bool temp8
= False
;
27993 bool temp10
= False
;
27994 PyObject
* obj0
= 0 ;
27995 PyObject
* obj1
= 0 ;
27996 PyObject
* obj2
= 0 ;
27997 PyObject
* obj3
= 0 ;
27998 PyObject
* obj4
= 0 ;
27999 PyObject
* obj5
= 0 ;
28000 PyObject
* obj6
= 0 ;
28001 PyObject
* obj7
= 0 ;
28002 PyObject
* obj8
= 0 ;
28003 PyObject
* obj9
= 0 ;
28004 char *kwnames
[] = {
28005 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
28008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
28009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28011 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28014 arg3
= (int const) SWIG_AsInt(obj2
);
28015 if (PyErr_Occurred()) SWIG_fail
;
28019 arg4
= wxString_in_helper(obj3
);
28020 if (arg4
== NULL
) SWIG_fail
;
28027 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
28033 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
28037 arg7
= (long) SWIG_AsLong(obj6
);
28038 if (PyErr_Occurred()) SWIG_fail
;
28042 arg8
= wxString_in_helper(obj7
);
28043 if (arg8
== NULL
) SWIG_fail
;
28048 arg9
= (int) SWIG_AsInt(obj8
);
28049 if (PyErr_Occurred()) SWIG_fail
;
28053 arg10
= wxString_in_helper(obj9
);
28054 if (arg10
== NULL
) SWIG_fail
;
28059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28060 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
,arg9
,(wxString
const &)*arg10
);
28062 wxPyEndAllowThreads(__tstate
);
28063 if (PyErr_Occurred()) SWIG_fail
;
28066 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28098 static PyObject
*_wrap_GenericDirCtrl_ExpandPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28099 PyObject
*resultobj
;
28100 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28101 wxString
*arg2
= 0 ;
28103 bool temp2
= False
;
28104 PyObject
* obj0
= 0 ;
28105 PyObject
* obj1
= 0 ;
28106 char *kwnames
[] = {
28107 (char *) "self",(char *) "path", NULL
28110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) goto fail
;
28111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28114 arg2
= wxString_in_helper(obj1
);
28115 if (arg2
== NULL
) SWIG_fail
;
28119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28120 result
= (bool)(arg1
)->ExpandPath((wxString
const &)*arg2
);
28122 wxPyEndAllowThreads(__tstate
);
28123 if (PyErr_Occurred()) SWIG_fail
;
28126 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28142 static PyObject
*_wrap_GenericDirCtrl_GetDefaultPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28143 PyObject
*resultobj
;
28144 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28146 PyObject
* obj0
= 0 ;
28147 char *kwnames
[] = {
28148 (char *) "self", NULL
28151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames
,&obj0
)) goto fail
;
28152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28156 result
= ((wxGenericDirCtrl
const *)arg1
)->GetDefaultPath();
28158 wxPyEndAllowThreads(__tstate
);
28159 if (PyErr_Occurred()) SWIG_fail
;
28163 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28165 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28174 static PyObject
*_wrap_GenericDirCtrl_SetDefaultPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28175 PyObject
*resultobj
;
28176 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28177 wxString
*arg2
= 0 ;
28178 bool temp2
= False
;
28179 PyObject
* obj0
= 0 ;
28180 PyObject
* obj1
= 0 ;
28181 char *kwnames
[] = {
28182 (char *) "self",(char *) "path", NULL
28185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames
,&obj0
,&obj1
)) goto fail
;
28186 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28189 arg2
= wxString_in_helper(obj1
);
28190 if (arg2
== NULL
) SWIG_fail
;
28194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28195 (arg1
)->SetDefaultPath((wxString
const &)*arg2
);
28197 wxPyEndAllowThreads(__tstate
);
28198 if (PyErr_Occurred()) SWIG_fail
;
28200 Py_INCREF(Py_None
); resultobj
= Py_None
;
28215 static PyObject
*_wrap_GenericDirCtrl_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28216 PyObject
*resultobj
;
28217 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28219 PyObject
* obj0
= 0 ;
28220 char *kwnames
[] = {
28221 (char *) "self", NULL
28224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetPath",kwnames
,&obj0
)) goto fail
;
28225 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28226 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28229 result
= ((wxGenericDirCtrl
const *)arg1
)->GetPath();
28231 wxPyEndAllowThreads(__tstate
);
28232 if (PyErr_Occurred()) SWIG_fail
;
28236 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28238 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28247 static PyObject
*_wrap_GenericDirCtrl_GetFilePath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28248 PyObject
*resultobj
;
28249 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28251 PyObject
* obj0
= 0 ;
28252 char *kwnames
[] = {
28253 (char *) "self", NULL
28256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilePath",kwnames
,&obj0
)) goto fail
;
28257 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28261 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilePath();
28263 wxPyEndAllowThreads(__tstate
);
28264 if (PyErr_Occurred()) SWIG_fail
;
28268 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28270 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28279 static PyObject
*_wrap_GenericDirCtrl_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28280 PyObject
*resultobj
;
28281 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28282 wxString
*arg2
= 0 ;
28283 bool temp2
= False
;
28284 PyObject
* obj0
= 0 ;
28285 PyObject
* obj1
= 0 ;
28286 char *kwnames
[] = {
28287 (char *) "self",(char *) "path", NULL
28290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
28291 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28294 arg2
= wxString_in_helper(obj1
);
28295 if (arg2
== NULL
) SWIG_fail
;
28299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28300 (arg1
)->SetPath((wxString
const &)*arg2
);
28302 wxPyEndAllowThreads(__tstate
);
28303 if (PyErr_Occurred()) SWIG_fail
;
28305 Py_INCREF(Py_None
); resultobj
= Py_None
;
28320 static PyObject
*_wrap_GenericDirCtrl_ShowHidden(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28321 PyObject
*resultobj
;
28322 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28324 PyObject
* obj0
= 0 ;
28325 PyObject
* obj1
= 0 ;
28326 char *kwnames
[] = {
28327 (char *) "self",(char *) "show", NULL
28330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames
,&obj0
,&obj1
)) goto fail
;
28331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28333 arg2
= (bool) SWIG_AsBool(obj1
);
28334 if (PyErr_Occurred()) SWIG_fail
;
28336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28337 (arg1
)->ShowHidden(arg2
);
28339 wxPyEndAllowThreads(__tstate
);
28340 if (PyErr_Occurred()) SWIG_fail
;
28342 Py_INCREF(Py_None
); resultobj
= Py_None
;
28349 static PyObject
*_wrap_GenericDirCtrl_GetShowHidden(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28350 PyObject
*resultobj
;
28351 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28353 PyObject
* obj0
= 0 ;
28354 char *kwnames
[] = {
28355 (char *) "self", NULL
28358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames
,&obj0
)) goto fail
;
28359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28363 result
= (bool)(arg1
)->GetShowHidden();
28365 wxPyEndAllowThreads(__tstate
);
28366 if (PyErr_Occurred()) SWIG_fail
;
28369 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28377 static PyObject
*_wrap_GenericDirCtrl_GetFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28378 PyObject
*resultobj
;
28379 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28381 PyObject
* obj0
= 0 ;
28382 char *kwnames
[] = {
28383 (char *) "self", NULL
28386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilter",kwnames
,&obj0
)) goto fail
;
28387 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28391 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilter();
28393 wxPyEndAllowThreads(__tstate
);
28394 if (PyErr_Occurred()) SWIG_fail
;
28398 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28400 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28409 static PyObject
*_wrap_GenericDirCtrl_SetFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28410 PyObject
*resultobj
;
28411 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28412 wxString
*arg2
= 0 ;
28413 bool temp2
= False
;
28414 PyObject
* obj0
= 0 ;
28415 PyObject
* obj1
= 0 ;
28416 char *kwnames
[] = {
28417 (char *) "self",(char *) "filter", NULL
28420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) goto fail
;
28421 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28424 arg2
= wxString_in_helper(obj1
);
28425 if (arg2
== NULL
) SWIG_fail
;
28429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28430 (arg1
)->SetFilter((wxString
const &)*arg2
);
28432 wxPyEndAllowThreads(__tstate
);
28433 if (PyErr_Occurred()) SWIG_fail
;
28435 Py_INCREF(Py_None
); resultobj
= Py_None
;
28450 static PyObject
*_wrap_GenericDirCtrl_GetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28451 PyObject
*resultobj
;
28452 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28454 PyObject
* obj0
= 0 ;
28455 char *kwnames
[] = {
28456 (char *) "self", NULL
28459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
28460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28464 result
= (int)((wxGenericDirCtrl
const *)arg1
)->GetFilterIndex();
28466 wxPyEndAllowThreads(__tstate
);
28467 if (PyErr_Occurred()) SWIG_fail
;
28469 resultobj
= SWIG_FromInt((int)result
);
28476 static PyObject
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28477 PyObject
*resultobj
;
28478 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28480 PyObject
* obj0
= 0 ;
28481 PyObject
* obj1
= 0 ;
28482 char *kwnames
[] = {
28483 (char *) "self",(char *) "n", NULL
28486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
28487 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28488 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28489 arg2
= (int) SWIG_AsInt(obj1
);
28490 if (PyErr_Occurred()) SWIG_fail
;
28492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28493 (arg1
)->SetFilterIndex(arg2
);
28495 wxPyEndAllowThreads(__tstate
);
28496 if (PyErr_Occurred()) SWIG_fail
;
28498 Py_INCREF(Py_None
); resultobj
= Py_None
;
28505 static PyObject
*_wrap_GenericDirCtrl_GetRootId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28506 PyObject
*resultobj
;
28507 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28508 wxTreeItemId result
;
28509 PyObject
* obj0
= 0 ;
28510 char *kwnames
[] = {
28511 (char *) "self", NULL
28514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetRootId",kwnames
,&obj0
)) goto fail
;
28515 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28516 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28519 result
= (arg1
)->GetRootId();
28521 wxPyEndAllowThreads(__tstate
);
28522 if (PyErr_Occurred()) SWIG_fail
;
28525 wxTreeItemId
* resultptr
;
28526 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
28527 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
28535 static PyObject
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28536 PyObject
*resultobj
;
28537 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28538 wxPyTreeCtrl
*result
;
28539 PyObject
* obj0
= 0 ;
28540 char *kwnames
[] = {
28541 (char *) "self", NULL
28544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames
,&obj0
)) goto fail
;
28545 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28549 result
= (wxPyTreeCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetTreeCtrl();
28551 wxPyEndAllowThreads(__tstate
);
28552 if (PyErr_Occurred()) SWIG_fail
;
28555 resultobj
= wxPyMake_wxObject(result
, 0);
28563 static PyObject
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28564 PyObject
*resultobj
;
28565 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28566 wxDirFilterListCtrl
*result
;
28567 PyObject
* obj0
= 0 ;
28568 char *kwnames
[] = {
28569 (char *) "self", NULL
28572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames
,&obj0
)) goto fail
;
28573 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28577 result
= (wxDirFilterListCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetFilterListCtrl();
28579 wxPyEndAllowThreads(__tstate
);
28580 if (PyErr_Occurred()) SWIG_fail
;
28582 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 0);
28589 static PyObject
*_wrap_GenericDirCtrl_FindChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28590 PyObject
*resultobj
;
28591 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28592 wxTreeItemId arg2
;
28593 wxString
*arg3
= 0 ;
28595 wxTreeItemId result
;
28596 wxTreeItemId
*argp2
;
28597 bool temp3
= False
;
28599 PyObject
* obj0
= 0 ;
28600 PyObject
* obj1
= 0 ;
28601 PyObject
* obj2
= 0 ;
28602 char *kwnames
[] = {
28603 (char *) "self",(char *) "parentId",(char *) "path", NULL
28607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28608 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28610 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxTreeItemId
,
28611 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
28614 arg3
= wxString_in_helper(obj2
);
28615 if (arg3
== NULL
) SWIG_fail
;
28619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28620 result
= (arg1
)->FindChild(arg2
,(wxString
const &)*arg3
,*arg4
);
28622 wxPyEndAllowThreads(__tstate
);
28623 if (PyErr_Occurred()) SWIG_fail
;
28626 wxTreeItemId
* resultptr
;
28627 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
28628 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
28631 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
28632 resultobj
= t_output_helper(resultobj
,o
);
28648 static PyObject
*_wrap_GenericDirCtrl_DoResize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28649 PyObject
*resultobj
;
28650 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28651 PyObject
* obj0
= 0 ;
28652 char *kwnames
[] = {
28653 (char *) "self", NULL
28656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_DoResize",kwnames
,&obj0
)) goto fail
;
28657 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28661 (arg1
)->DoResize();
28663 wxPyEndAllowThreads(__tstate
);
28664 if (PyErr_Occurred()) SWIG_fail
;
28666 Py_INCREF(Py_None
); resultobj
= Py_None
;
28673 static PyObject
*_wrap_GenericDirCtrl_ReCreateTree(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28674 PyObject
*resultobj
;
28675 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28676 PyObject
* obj0
= 0 ;
28677 char *kwnames
[] = {
28678 (char *) "self", NULL
28681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames
,&obj0
)) goto fail
;
28682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28686 (arg1
)->ReCreateTree();
28688 wxPyEndAllowThreads(__tstate
);
28689 if (PyErr_Occurred()) SWIG_fail
;
28691 Py_INCREF(Py_None
); resultobj
= Py_None
;
28698 static PyObject
* GenericDirCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
28700 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28701 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl
, obj
);
28703 return Py_BuildValue((char *)"");
28705 static PyObject
*_wrap_new_DirFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28706 PyObject
*resultobj
;
28707 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28708 int arg2
= (int) (int)-1 ;
28709 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28710 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28711 wxSize
const &arg4_defvalue
= wxDefaultSize
;
28712 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
28713 long arg5
= (long) 0 ;
28714 wxDirFilterListCtrl
*result
;
28717 PyObject
* obj0
= 0 ;
28718 PyObject
* obj1
= 0 ;
28719 PyObject
* obj2
= 0 ;
28720 PyObject
* obj3
= 0 ;
28721 PyObject
* obj4
= 0 ;
28722 char *kwnames
[] = {
28723 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
28726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28730 arg2
= (int const) SWIG_AsInt(obj1
);
28731 if (PyErr_Occurred()) SWIG_fail
;
28736 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28742 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
28746 arg5
= (long) SWIG_AsLong(obj4
);
28747 if (PyErr_Occurred()) SWIG_fail
;
28750 if (!wxPyCheckForApp()) SWIG_fail
;
28751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28752 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
28754 wxPyEndAllowThreads(__tstate
);
28755 if (PyErr_Occurred()) SWIG_fail
;
28757 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1);
28764 static PyObject
*_wrap_new_PreDirFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28765 PyObject
*resultobj
;
28766 wxDirFilterListCtrl
*result
;
28767 char *kwnames
[] = {
28771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDirFilterListCtrl",kwnames
)) goto fail
;
28773 if (!wxPyCheckForApp()) SWIG_fail
;
28774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28775 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl();
28777 wxPyEndAllowThreads(__tstate
);
28778 if (PyErr_Occurred()) SWIG_fail
;
28780 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1);
28787 static PyObject
*_wrap_DirFilterListCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28788 PyObject
*resultobj
;
28789 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
28790 wxGenericDirCtrl
*arg2
= (wxGenericDirCtrl
*) 0 ;
28791 int arg3
= (int) (int)-1 ;
28792 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
28793 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
28794 wxSize
const &arg5_defvalue
= wxDefaultSize
;
28795 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
28796 long arg6
= (long) 0 ;
28800 PyObject
* obj0
= 0 ;
28801 PyObject
* obj1
= 0 ;
28802 PyObject
* obj2
= 0 ;
28803 PyObject
* obj3
= 0 ;
28804 PyObject
* obj4
= 0 ;
28805 PyObject
* obj5
= 0 ;
28806 char *kwnames
[] = {
28807 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
28810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
28811 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirFilterListCtrl
,
28812 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28813 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGenericDirCtrl
,
28814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28816 arg3
= (int const) SWIG_AsInt(obj2
);
28817 if (PyErr_Occurred()) SWIG_fail
;
28822 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
28828 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
28832 arg6
= (long) SWIG_AsLong(obj5
);
28833 if (PyErr_Occurred()) SWIG_fail
;
28836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28837 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
28839 wxPyEndAllowThreads(__tstate
);
28840 if (PyErr_Occurred()) SWIG_fail
;
28843 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28851 static PyObject
*_wrap_DirFilterListCtrl_FillFilterList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28852 PyObject
*resultobj
;
28853 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
28854 wxString
*arg2
= 0 ;
28856 bool temp2
= False
;
28857 PyObject
* obj0
= 0 ;
28858 PyObject
* obj1
= 0 ;
28859 PyObject
* obj2
= 0 ;
28860 char *kwnames
[] = {
28861 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
28864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28865 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirFilterListCtrl
,
28866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28868 arg2
= wxString_in_helper(obj1
);
28869 if (arg2
== NULL
) SWIG_fail
;
28872 arg3
= (int) SWIG_AsInt(obj2
);
28873 if (PyErr_Occurred()) SWIG_fail
;
28875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28876 (arg1
)->FillFilterList((wxString
const &)*arg2
,arg3
);
28878 wxPyEndAllowThreads(__tstate
);
28879 if (PyErr_Occurred()) SWIG_fail
;
28881 Py_INCREF(Py_None
); resultobj
= Py_None
;
28896 static PyObject
* DirFilterListCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
28898 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28899 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl
, obj
);
28901 return Py_BuildValue((char *)"");
28903 static PyObject
*_wrap_new_PyControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28904 PyObject
*resultobj
;
28905 wxWindow
*arg1
= (wxWindow
*) 0 ;
28906 int arg2
= (int) (int)-1 ;
28907 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28908 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28909 wxSize
const &arg4_defvalue
= wxDefaultSize
;
28910 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
28911 long arg5
= (long) 0 ;
28912 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
28913 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
28914 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
28915 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28916 wxPyControl
*result
;
28919 bool temp7
= False
;
28920 PyObject
* obj0
= 0 ;
28921 PyObject
* obj1
= 0 ;
28922 PyObject
* obj2
= 0 ;
28923 PyObject
* obj3
= 0 ;
28924 PyObject
* obj4
= 0 ;
28925 PyObject
* obj5
= 0 ;
28926 PyObject
* obj6
= 0 ;
28927 char *kwnames
[] = {
28928 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_PyControl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
28932 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28935 arg2
= (int const) SWIG_AsInt(obj1
);
28936 if (PyErr_Occurred()) SWIG_fail
;
28941 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28947 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
28951 arg5
= (long) SWIG_AsLong(obj4
);
28952 if (PyErr_Occurred()) SWIG_fail
;
28955 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
28956 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28958 if (arg6
== NULL
) {
28959 PyErr_SetString(PyExc_TypeError
,"null reference");
28965 arg7
= wxString_in_helper(obj6
);
28966 if (arg7
== NULL
) SWIG_fail
;
28971 if (!wxPyCheckForApp()) SWIG_fail
;
28972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28973 result
= (wxPyControl
*)new wxPyControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
28975 wxPyEndAllowThreads(__tstate
);
28976 if (PyErr_Occurred()) SWIG_fail
;
28978 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControl
, 1);
28993 static PyObject
*_wrap_new_PrePyControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28994 PyObject
*resultobj
;
28995 wxPyControl
*result
;
28996 char *kwnames
[] = {
29000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyControl",kwnames
)) goto fail
;
29002 if (!wxPyCheckForApp()) SWIG_fail
;
29003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29004 result
= (wxPyControl
*)new wxPyControl();
29006 wxPyEndAllowThreads(__tstate
);
29007 if (PyErr_Occurred()) SWIG_fail
;
29009 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControl
, 1);
29016 static PyObject
*_wrap_PyControl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29017 PyObject
*resultobj
;
29018 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29019 PyObject
*arg2
= (PyObject
*) 0 ;
29020 PyObject
*arg3
= (PyObject
*) 0 ;
29021 PyObject
* obj0
= 0 ;
29022 PyObject
* obj1
= 0 ;
29023 PyObject
* obj2
= 0 ;
29024 char *kwnames
[] = {
29025 (char *) "self",(char *) "self",(char *) "_class", NULL
29028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29029 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29035 (arg1
)->_setCallbackInfo(arg2
,arg3
);
29037 wxPyEndAllowThreads(__tstate
);
29038 if (PyErr_Occurred()) SWIG_fail
;
29040 Py_INCREF(Py_None
); resultobj
= Py_None
;
29047 static PyObject
*_wrap_PyControl_SetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29048 PyObject
*resultobj
;
29049 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29052 PyObject
* obj0
= 0 ;
29053 PyObject
* obj1
= 0 ;
29054 char *kwnames
[] = {
29055 (char *) "self",(char *) "size", NULL
29058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
29059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29063 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
29066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29067 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
29069 wxPyEndAllowThreads(__tstate
);
29070 if (PyErr_Occurred()) SWIG_fail
;
29072 Py_INCREF(Py_None
); resultobj
= Py_None
;
29079 static PyObject
*_wrap_PyControl_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29080 PyObject
*resultobj
;
29081 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29086 PyObject
* obj0
= 0 ;
29087 PyObject
* obj1
= 0 ;
29088 PyObject
* obj2
= 0 ;
29089 PyObject
* obj3
= 0 ;
29090 PyObject
* obj4
= 0 ;
29091 char *kwnames
[] = {
29092 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
29095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyControl_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29096 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29098 arg2
= (int) SWIG_AsInt(obj1
);
29099 if (PyErr_Occurred()) SWIG_fail
;
29100 arg3
= (int) SWIG_AsInt(obj2
);
29101 if (PyErr_Occurred()) SWIG_fail
;
29102 arg4
= (int) SWIG_AsInt(obj3
);
29103 if (PyErr_Occurred()) SWIG_fail
;
29104 arg5
= (int) SWIG_AsInt(obj4
);
29105 if (PyErr_Occurred()) SWIG_fail
;
29107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29108 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
29110 wxPyEndAllowThreads(__tstate
);
29111 if (PyErr_Occurred()) SWIG_fail
;
29113 Py_INCREF(Py_None
); resultobj
= Py_None
;
29120 static PyObject
*_wrap_PyControl_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29121 PyObject
*resultobj
;
29122 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29127 int arg6
= (int) wxSIZE_AUTO
;
29128 PyObject
* obj0
= 0 ;
29129 PyObject
* obj1
= 0 ;
29130 PyObject
* obj2
= 0 ;
29131 PyObject
* obj3
= 0 ;
29132 PyObject
* obj4
= 0 ;
29133 PyObject
* obj5
= 0 ;
29134 char *kwnames
[] = {
29135 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
29138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyControl_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
29139 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29141 arg2
= (int) SWIG_AsInt(obj1
);
29142 if (PyErr_Occurred()) SWIG_fail
;
29143 arg3
= (int) SWIG_AsInt(obj2
);
29144 if (PyErr_Occurred()) SWIG_fail
;
29145 arg4
= (int) SWIG_AsInt(obj3
);
29146 if (PyErr_Occurred()) SWIG_fail
;
29147 arg5
= (int) SWIG_AsInt(obj4
);
29148 if (PyErr_Occurred()) SWIG_fail
;
29150 arg6
= (int) SWIG_AsInt(obj5
);
29151 if (PyErr_Occurred()) SWIG_fail
;
29154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29155 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
29157 wxPyEndAllowThreads(__tstate
);
29158 if (PyErr_Occurred()) SWIG_fail
;
29160 Py_INCREF(Py_None
); resultobj
= Py_None
;
29167 static PyObject
*_wrap_PyControl_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29168 PyObject
*resultobj
;
29169 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29172 PyObject
* obj0
= 0 ;
29173 PyObject
* obj1
= 0 ;
29174 PyObject
* obj2
= 0 ;
29175 char *kwnames
[] = {
29176 (char *) "self",(char *) "width",(char *) "height", NULL
29179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29182 arg2
= (int) SWIG_AsInt(obj1
);
29183 if (PyErr_Occurred()) SWIG_fail
;
29184 arg3
= (int) SWIG_AsInt(obj2
);
29185 if (PyErr_Occurred()) SWIG_fail
;
29187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29188 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
29190 wxPyEndAllowThreads(__tstate
);
29191 if (PyErr_Occurred()) SWIG_fail
;
29193 Py_INCREF(Py_None
); resultobj
= Py_None
;
29200 static PyObject
*_wrap_PyControl_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29201 PyObject
*resultobj
;
29202 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29205 PyObject
* obj0
= 0 ;
29206 PyObject
* obj1
= 0 ;
29207 PyObject
* obj2
= 0 ;
29208 char *kwnames
[] = {
29209 (char *) "self",(char *) "x",(char *) "y", NULL
29212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29215 arg2
= (int) SWIG_AsInt(obj1
);
29216 if (PyErr_Occurred()) SWIG_fail
;
29217 arg3
= (int) SWIG_AsInt(obj2
);
29218 if (PyErr_Occurred()) SWIG_fail
;
29220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29221 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
29223 wxPyEndAllowThreads(__tstate
);
29224 if (PyErr_Occurred()) SWIG_fail
;
29226 Py_INCREF(Py_None
); resultobj
= Py_None
;
29233 static PyObject
*_wrap_PyControl_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29234 PyObject
*resultobj
;
29235 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29236 int *arg2
= (int *) 0 ;
29237 int *arg3
= (int *) 0 ;
29240 PyObject
* obj0
= 0 ;
29241 char *kwnames
[] = {
29242 (char *) "self", NULL
29247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
29248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29252 ((wxPyControl
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
29254 wxPyEndAllowThreads(__tstate
);
29255 if (PyErr_Occurred()) SWIG_fail
;
29257 Py_INCREF(Py_None
); resultobj
= Py_None
;
29259 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
29260 resultobj
= t_output_helper(resultobj
,o
);
29263 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
29264 resultobj
= t_output_helper(resultobj
,o
);
29272 static PyObject
*_wrap_PyControl_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29273 PyObject
*resultobj
;
29274 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29275 int *arg2
= (int *) 0 ;
29276 int *arg3
= (int *) 0 ;
29279 PyObject
* obj0
= 0 ;
29280 char *kwnames
[] = {
29281 (char *) "self", NULL
29286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
29287 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29291 ((wxPyControl
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
29293 wxPyEndAllowThreads(__tstate
);
29294 if (PyErr_Occurred()) SWIG_fail
;
29296 Py_INCREF(Py_None
); resultobj
= Py_None
;
29298 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
29299 resultobj
= t_output_helper(resultobj
,o
);
29302 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
29303 resultobj
= t_output_helper(resultobj
,o
);
29311 static PyObject
*_wrap_PyControl_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29312 PyObject
*resultobj
;
29313 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29314 int *arg2
= (int *) 0 ;
29315 int *arg3
= (int *) 0 ;
29318 PyObject
* obj0
= 0 ;
29319 char *kwnames
[] = {
29320 (char *) "self", NULL
29325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
29326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29330 ((wxPyControl
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
29332 wxPyEndAllowThreads(__tstate
);
29333 if (PyErr_Occurred()) SWIG_fail
;
29335 Py_INCREF(Py_None
); resultobj
= Py_None
;
29337 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
29338 resultobj
= t_output_helper(resultobj
,o
);
29341 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
29342 resultobj
= t_output_helper(resultobj
,o
);
29350 static PyObject
*_wrap_PyControl_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29351 PyObject
*resultobj
;
29352 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29354 PyObject
* obj0
= 0 ;
29355 char *kwnames
[] = {
29356 (char *) "self", NULL
29359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
29360 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29364 result
= ((wxPyControl
const *)arg1
)->base_DoGetVirtualSize();
29366 wxPyEndAllowThreads(__tstate
);
29367 if (PyErr_Occurred()) SWIG_fail
;
29370 wxSize
* resultptr
;
29371 resultptr
= new wxSize((wxSize
&) result
);
29372 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
29380 static PyObject
*_wrap_PyControl_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29381 PyObject
*resultobj
;
29382 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29384 PyObject
* obj0
= 0 ;
29385 char *kwnames
[] = {
29386 (char *) "self", NULL
29389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
29390 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29394 result
= ((wxPyControl
const *)arg1
)->base_DoGetBestSize();
29396 wxPyEndAllowThreads(__tstate
);
29397 if (PyErr_Occurred()) SWIG_fail
;
29400 wxSize
* resultptr
;
29401 resultptr
= new wxSize((wxSize
&) result
);
29402 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
29410 static PyObject
*_wrap_PyControl_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29411 PyObject
*resultobj
;
29412 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29413 PyObject
* obj0
= 0 ;
29414 char *kwnames
[] = {
29415 (char *) "self", NULL
29418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_InitDialog",kwnames
,&obj0
)) goto fail
;
29419 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29420 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29423 (arg1
)->base_InitDialog();
29425 wxPyEndAllowThreads(__tstate
);
29426 if (PyErr_Occurred()) SWIG_fail
;
29428 Py_INCREF(Py_None
); resultobj
= Py_None
;
29435 static PyObject
*_wrap_PyControl_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29436 PyObject
*resultobj
;
29437 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29439 PyObject
* obj0
= 0 ;
29440 char *kwnames
[] = {
29441 (char *) "self", NULL
29444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
29445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29449 result
= (bool)(arg1
)->base_TransferDataToWindow();
29451 wxPyEndAllowThreads(__tstate
);
29452 if (PyErr_Occurred()) SWIG_fail
;
29455 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29463 static PyObject
*_wrap_PyControl_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29464 PyObject
*resultobj
;
29465 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29467 PyObject
* obj0
= 0 ;
29468 char *kwnames
[] = {
29469 (char *) "self", NULL
29472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
29473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29477 result
= (bool)(arg1
)->base_TransferDataFromWindow();
29479 wxPyEndAllowThreads(__tstate
);
29480 if (PyErr_Occurred()) SWIG_fail
;
29483 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29491 static PyObject
*_wrap_PyControl_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29492 PyObject
*resultobj
;
29493 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29495 PyObject
* obj0
= 0 ;
29496 char *kwnames
[] = {
29497 (char *) "self", NULL
29500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_Validate",kwnames
,&obj0
)) goto fail
;
29501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29505 result
= (bool)(arg1
)->base_Validate();
29507 wxPyEndAllowThreads(__tstate
);
29508 if (PyErr_Occurred()) SWIG_fail
;
29511 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29519 static PyObject
*_wrap_PyControl_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29520 PyObject
*resultobj
;
29521 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29523 PyObject
* obj0
= 0 ;
29524 char *kwnames
[] = {
29525 (char *) "self", NULL
29528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
29529 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29533 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocus();
29535 wxPyEndAllowThreads(__tstate
);
29536 if (PyErr_Occurred()) SWIG_fail
;
29539 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29547 static PyObject
*_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29548 PyObject
*resultobj
;
29549 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29551 PyObject
* obj0
= 0 ;
29552 char *kwnames
[] = {
29553 (char *) "self", NULL
29556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
29557 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29561 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocusFromKeyboard();
29563 wxPyEndAllowThreads(__tstate
);
29564 if (PyErr_Occurred()) SWIG_fail
;
29567 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29575 static PyObject
*_wrap_PyControl_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29576 PyObject
*resultobj
;
29577 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29579 PyObject
* obj0
= 0 ;
29580 char *kwnames
[] = {
29581 (char *) "self", NULL
29584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
29585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29589 result
= ((wxPyControl
const *)arg1
)->base_GetMaxSize();
29591 wxPyEndAllowThreads(__tstate
);
29592 if (PyErr_Occurred()) SWIG_fail
;
29595 wxSize
* resultptr
;
29596 resultptr
= new wxSize((wxSize
&) result
);
29597 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
29605 static PyObject
*_wrap_PyControl_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29606 PyObject
*resultobj
;
29607 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29608 wxWindow
*arg2
= (wxWindow
*) 0 ;
29609 PyObject
* obj0
= 0 ;
29610 PyObject
* obj1
= 0 ;
29611 char *kwnames
[] = {
29612 (char *) "self",(char *) "child", NULL
29615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
29616 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29618 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29622 (arg1
)->base_AddChild(arg2
);
29624 wxPyEndAllowThreads(__tstate
);
29625 if (PyErr_Occurred()) SWIG_fail
;
29627 Py_INCREF(Py_None
); resultobj
= Py_None
;
29634 static PyObject
*_wrap_PyControl_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29635 PyObject
*resultobj
;
29636 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29637 wxWindow
*arg2
= (wxWindow
*) 0 ;
29638 PyObject
* obj0
= 0 ;
29639 PyObject
* obj1
= 0 ;
29640 char *kwnames
[] = {
29641 (char *) "self",(char *) "child", NULL
29644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
29645 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29646 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29647 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29651 (arg1
)->base_RemoveChild(arg2
);
29653 wxPyEndAllowThreads(__tstate
);
29654 if (PyErr_Occurred()) SWIG_fail
;
29656 Py_INCREF(Py_None
); resultobj
= Py_None
;
29663 static PyObject
*_wrap_PyControl_base_ShouldInheritColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29664 PyObject
*resultobj
;
29665 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29667 PyObject
* obj0
= 0 ;
29668 char *kwnames
[] = {
29669 (char *) "self", NULL
29672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
29673 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29677 result
= (bool)((wxPyControl
const *)arg1
)->base_ShouldInheritColours();
29679 wxPyEndAllowThreads(__tstate
);
29680 if (PyErr_Occurred()) SWIG_fail
;
29683 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29691 static PyObject
*_wrap_PyControl_base_ApplyParentThemeBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29692 PyObject
*resultobj
;
29693 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29694 wxColour
*arg2
= 0 ;
29696 PyObject
* obj0
= 0 ;
29697 PyObject
* obj1
= 0 ;
29698 char *kwnames
[] = {
29699 (char *) "self",(char *) "c", NULL
29702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
29703 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29707 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29711 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
29713 wxPyEndAllowThreads(__tstate
);
29714 if (PyErr_Occurred()) SWIG_fail
;
29716 Py_INCREF(Py_None
); resultobj
= Py_None
;
29723 static PyObject
*_wrap_PyControl_base_GetDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29724 PyObject
*resultobj
;
29725 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29726 wxVisualAttributes result
;
29727 PyObject
* obj0
= 0 ;
29728 char *kwnames
[] = {
29729 (char *) "self", NULL
29732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
29733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29737 result
= (arg1
)->base_GetDefaultAttributes();
29739 wxPyEndAllowThreads(__tstate
);
29740 if (PyErr_Occurred()) SWIG_fail
;
29743 wxVisualAttributes
* resultptr
;
29744 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
29745 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
29753 static PyObject
* PyControl_swigregister(PyObject
*self
, PyObject
*args
) {
29755 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29756 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl
, obj
);
29758 return Py_BuildValue((char *)"");
29760 static PyObject
*_wrap_new_HelpEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29761 PyObject
*resultobj
;
29762 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
29763 int arg2
= (int) 0 ;
29764 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
29765 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
29766 wxHelpEvent
*result
;
29768 PyObject
* obj0
= 0 ;
29769 PyObject
* obj1
= 0 ;
29770 PyObject
* obj2
= 0 ;
29771 char *kwnames
[] = {
29772 (char *) "type",(char *) "winid",(char *) "pt", NULL
29775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_HelpEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29777 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
29778 if (PyErr_Occurred()) SWIG_fail
;
29781 arg2
= (int) SWIG_AsInt(obj1
);
29782 if (PyErr_Occurred()) SWIG_fail
;
29787 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29792 result
= (wxHelpEvent
*)new wxHelpEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
29794 wxPyEndAllowThreads(__tstate
);
29795 if (PyErr_Occurred()) SWIG_fail
;
29797 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpEvent
, 1);
29804 static PyObject
*_wrap_HelpEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29805 PyObject
*resultobj
;
29806 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
29808 PyObject
* obj0
= 0 ;
29809 char *kwnames
[] = {
29810 (char *) "self", NULL
29813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
29814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
29815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29818 result
= ((wxHelpEvent
const *)arg1
)->GetPosition();
29820 wxPyEndAllowThreads(__tstate
);
29821 if (PyErr_Occurred()) SWIG_fail
;
29824 wxPoint
* resultptr
;
29825 resultptr
= new wxPoint((wxPoint
&) result
);
29826 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
29834 static PyObject
*_wrap_HelpEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29835 PyObject
*resultobj
;
29836 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
29837 wxPoint
*arg2
= 0 ;
29839 PyObject
* obj0
= 0 ;
29840 PyObject
* obj1
= 0 ;
29841 char *kwnames
[] = {
29842 (char *) "self",(char *) "pos", NULL
29845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
29846 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
29847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29850 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29854 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
29856 wxPyEndAllowThreads(__tstate
);
29857 if (PyErr_Occurred()) SWIG_fail
;
29859 Py_INCREF(Py_None
); resultobj
= Py_None
;
29866 static PyObject
*_wrap_HelpEvent_GetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29867 PyObject
*resultobj
;
29868 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
29870 PyObject
* obj0
= 0 ;
29871 char *kwnames
[] = {
29872 (char *) "self", NULL
29875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetLink",kwnames
,&obj0
)) goto fail
;
29876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
29877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29881 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetLink();
29882 result
= (wxString
*) &_result_ref
;
29885 wxPyEndAllowThreads(__tstate
);
29886 if (PyErr_Occurred()) SWIG_fail
;
29890 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
29892 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
29901 static PyObject
*_wrap_HelpEvent_SetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29902 PyObject
*resultobj
;
29903 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
29904 wxString
*arg2
= 0 ;
29905 bool temp2
= False
;
29906 PyObject
* obj0
= 0 ;
29907 PyObject
* obj1
= 0 ;
29908 char *kwnames
[] = {
29909 (char *) "self",(char *) "link", NULL
29912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",kwnames
,&obj0
,&obj1
)) goto fail
;
29913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
29914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29916 arg2
= wxString_in_helper(obj1
);
29917 if (arg2
== NULL
) SWIG_fail
;
29921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29922 (arg1
)->SetLink((wxString
const &)*arg2
);
29924 wxPyEndAllowThreads(__tstate
);
29925 if (PyErr_Occurred()) SWIG_fail
;
29927 Py_INCREF(Py_None
); resultobj
= Py_None
;
29942 static PyObject
*_wrap_HelpEvent_GetTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29943 PyObject
*resultobj
;
29944 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
29946 PyObject
* obj0
= 0 ;
29947 char *kwnames
[] = {
29948 (char *) "self", NULL
29951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetTarget",kwnames
,&obj0
)) goto fail
;
29952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
29953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29957 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetTarget();
29958 result
= (wxString
*) &_result_ref
;
29961 wxPyEndAllowThreads(__tstate
);
29962 if (PyErr_Occurred()) SWIG_fail
;
29966 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
29968 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
29977 static PyObject
*_wrap_HelpEvent_SetTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29978 PyObject
*resultobj
;
29979 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
29980 wxString
*arg2
= 0 ;
29981 bool temp2
= False
;
29982 PyObject
* obj0
= 0 ;
29983 PyObject
* obj1
= 0 ;
29984 char *kwnames
[] = {
29985 (char *) "self",(char *) "target", NULL
29988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
29989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
29990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29992 arg2
= wxString_in_helper(obj1
);
29993 if (arg2
== NULL
) SWIG_fail
;
29997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29998 (arg1
)->SetTarget((wxString
const &)*arg2
);
30000 wxPyEndAllowThreads(__tstate
);
30001 if (PyErr_Occurred()) SWIG_fail
;
30003 Py_INCREF(Py_None
); resultobj
= Py_None
;
30018 static PyObject
* HelpEvent_swigregister(PyObject
*self
, PyObject
*args
) {
30020 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30021 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent
, obj
);
30023 return Py_BuildValue((char *)"");
30025 static PyObject
*_wrap_new_ContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30026 PyObject
*resultobj
;
30027 wxWindow
*arg1
= (wxWindow
*) NULL
;
30028 bool arg2
= (bool) True
;
30029 wxContextHelp
*result
;
30030 PyObject
* obj0
= 0 ;
30031 PyObject
* obj1
= 0 ;
30032 char *kwnames
[] = {
30033 (char *) "window",(char *) "doNow", NULL
30036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
30038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
30039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30042 arg2
= (bool) SWIG_AsBool(obj1
);
30043 if (PyErr_Occurred()) SWIG_fail
;
30046 if (!wxPyCheckForApp()) SWIG_fail
;
30047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30048 result
= (wxContextHelp
*)new wxContextHelp(arg1
,arg2
);
30050 wxPyEndAllowThreads(__tstate
);
30051 if (PyErr_Occurred()) SWIG_fail
;
30053 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelp
, 1);
30060 static PyObject
*_wrap_delete_ContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30061 PyObject
*resultobj
;
30062 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
30063 PyObject
* obj0
= 0 ;
30064 char *kwnames
[] = {
30065 (char *) "self", NULL
30068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ContextHelp",kwnames
,&obj0
)) goto fail
;
30069 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextHelp
,
30070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30075 wxPyEndAllowThreads(__tstate
);
30076 if (PyErr_Occurred()) SWIG_fail
;
30078 Py_INCREF(Py_None
); resultobj
= Py_None
;
30085 static PyObject
*_wrap_ContextHelp_BeginContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30086 PyObject
*resultobj
;
30087 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
30088 wxWindow
*arg2
= (wxWindow
*) NULL
;
30090 PyObject
* obj0
= 0 ;
30091 PyObject
* obj1
= 0 ;
30092 char *kwnames
[] = {
30093 (char *) "self",(char *) "window", NULL
30096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
30097 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextHelp
,
30098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30100 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30105 result
= (bool)(arg1
)->BeginContextHelp(arg2
);
30107 wxPyEndAllowThreads(__tstate
);
30108 if (PyErr_Occurred()) SWIG_fail
;
30111 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30119 static PyObject
*_wrap_ContextHelp_EndContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30120 PyObject
*resultobj
;
30121 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
30123 PyObject
* obj0
= 0 ;
30124 char *kwnames
[] = {
30125 (char *) "self", NULL
30128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextHelp_EndContextHelp",kwnames
,&obj0
)) goto fail
;
30129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextHelp
,
30130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30133 result
= (bool)(arg1
)->EndContextHelp();
30135 wxPyEndAllowThreads(__tstate
);
30136 if (PyErr_Occurred()) SWIG_fail
;
30139 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30147 static PyObject
* ContextHelp_swigregister(PyObject
*self
, PyObject
*args
) {
30149 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30150 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp
, obj
);
30152 return Py_BuildValue((char *)"");
30154 static PyObject
*_wrap_new_ContextHelpButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30155 PyObject
*resultobj
;
30156 wxWindow
*arg1
= (wxWindow
*) 0 ;
30157 int arg2
= (int) wxID_CONTEXT_HELP
;
30158 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
30159 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
30160 wxSize
const &arg4_defvalue
= wxDefaultSize
;
30161 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
30162 long arg5
= (long) wxBU_AUTODRAW
;
30163 wxContextHelpButton
*result
;
30166 PyObject
* obj0
= 0 ;
30167 PyObject
* obj1
= 0 ;
30168 PyObject
* obj2
= 0 ;
30169 PyObject
* obj3
= 0 ;
30170 PyObject
* obj4
= 0 ;
30171 char *kwnames
[] = {
30172 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
30175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_ContextHelpButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
30177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30179 arg2
= (int) SWIG_AsInt(obj1
);
30180 if (PyErr_Occurred()) SWIG_fail
;
30185 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30191 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
30195 arg5
= (long) SWIG_AsLong(obj4
);
30196 if (PyErr_Occurred()) SWIG_fail
;
30199 if (!wxPyCheckForApp()) SWIG_fail
;
30200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30201 result
= (wxContextHelpButton
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
30203 wxPyEndAllowThreads(__tstate
);
30204 if (PyErr_Occurred()) SWIG_fail
;
30206 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelpButton
, 1);
30213 static PyObject
* ContextHelpButton_swigregister(PyObject
*self
, PyObject
*args
) {
30215 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30216 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton
, obj
);
30218 return Py_BuildValue((char *)"");
30220 static PyObject
*_wrap_HelpProvider_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30221 PyObject
*resultobj
;
30222 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30223 wxHelpProvider
*result
;
30224 PyObject
* obj0
= 0 ;
30225 char *kwnames
[] = {
30226 (char *) "helpProvider", NULL
30229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) goto fail
;
30230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30234 result
= (wxHelpProvider
*)wxHelpProvider::Set(arg1
);
30236 wxPyEndAllowThreads(__tstate
);
30237 if (PyErr_Occurred()) SWIG_fail
;
30239 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 0);
30246 static PyObject
*_wrap_HelpProvider_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30247 PyObject
*resultobj
;
30248 wxHelpProvider
*result
;
30249 char *kwnames
[] = {
30253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":HelpProvider_Get",kwnames
)) goto fail
;
30255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30256 result
= (wxHelpProvider
*)wxHelpProvider::Get();
30258 wxPyEndAllowThreads(__tstate
);
30259 if (PyErr_Occurred()) SWIG_fail
;
30261 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 0);
30268 static PyObject
*_wrap_HelpProvider_GetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30269 PyObject
*resultobj
;
30270 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30271 wxWindow
*arg2
= (wxWindow
*) 0 ;
30273 PyObject
* obj0
= 0 ;
30274 PyObject
* obj1
= 0 ;
30275 char *kwnames
[] = {
30276 (char *) "self",(char *) "window", NULL
30279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
30280 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30281 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30282 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30286 result
= (arg1
)->GetHelp((wxWindow
const *)arg2
);
30288 wxPyEndAllowThreads(__tstate
);
30289 if (PyErr_Occurred()) SWIG_fail
;
30293 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30295 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30304 static PyObject
*_wrap_HelpProvider_ShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30305 PyObject
*resultobj
;
30306 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30307 wxWindow
*arg2
= (wxWindow
*) 0 ;
30309 PyObject
* obj0
= 0 ;
30310 PyObject
* obj1
= 0 ;
30311 char *kwnames
[] = {
30312 (char *) "self",(char *) "window", NULL
30315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
30316 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30318 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30322 result
= (bool)(arg1
)->ShowHelp(arg2
);
30324 wxPyEndAllowThreads(__tstate
);
30325 if (PyErr_Occurred()) SWIG_fail
;
30328 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30336 static PyObject
*_wrap_HelpProvider_AddHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30337 PyObject
*resultobj
;
30338 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30339 wxWindow
*arg2
= (wxWindow
*) 0 ;
30340 wxString
*arg3
= 0 ;
30341 bool temp3
= False
;
30342 PyObject
* obj0
= 0 ;
30343 PyObject
* obj1
= 0 ;
30344 PyObject
* obj2
= 0 ;
30345 char *kwnames
[] = {
30346 (char *) "self",(char *) "window",(char *) "text", NULL
30349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30350 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30352 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30355 arg3
= wxString_in_helper(obj2
);
30356 if (arg3
== NULL
) SWIG_fail
;
30360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30361 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
30363 wxPyEndAllowThreads(__tstate
);
30364 if (PyErr_Occurred()) SWIG_fail
;
30366 Py_INCREF(Py_None
); resultobj
= Py_None
;
30381 static PyObject
*_wrap_HelpProvider_AddHelpById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30382 PyObject
*resultobj
;
30383 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30385 wxString
*arg3
= 0 ;
30386 bool temp3
= False
;
30387 PyObject
* obj0
= 0 ;
30388 PyObject
* obj1
= 0 ;
30389 PyObject
* obj2
= 0 ;
30390 char *kwnames
[] = {
30391 (char *) "self",(char *) "id",(char *) "text", NULL
30394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelpById",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30395 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30397 arg2
= (int) SWIG_AsInt(obj1
);
30398 if (PyErr_Occurred()) SWIG_fail
;
30400 arg3
= wxString_in_helper(obj2
);
30401 if (arg3
== NULL
) SWIG_fail
;
30405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30406 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
30408 wxPyEndAllowThreads(__tstate
);
30409 if (PyErr_Occurred()) SWIG_fail
;
30411 Py_INCREF(Py_None
); resultobj
= Py_None
;
30426 static PyObject
*_wrap_HelpProvider_RemoveHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30427 PyObject
*resultobj
;
30428 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30429 wxWindow
*arg2
= (wxWindow
*) 0 ;
30430 PyObject
* obj0
= 0 ;
30431 PyObject
* obj1
= 0 ;
30432 char *kwnames
[] = {
30433 (char *) "self",(char *) "window", NULL
30436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_RemoveHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
30437 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30439 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30443 (arg1
)->RemoveHelp(arg2
);
30445 wxPyEndAllowThreads(__tstate
);
30446 if (PyErr_Occurred()) SWIG_fail
;
30448 Py_INCREF(Py_None
); resultobj
= Py_None
;
30455 static PyObject
*_wrap_HelpProvider_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30456 PyObject
*resultobj
;
30457 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30458 PyObject
* obj0
= 0 ;
30459 char *kwnames
[] = {
30460 (char *) "self", NULL
30463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Destroy",kwnames
,&obj0
)) goto fail
;
30464 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30468 wxHelpProvider_Destroy(arg1
);
30470 wxPyEndAllowThreads(__tstate
);
30471 if (PyErr_Occurred()) SWIG_fail
;
30473 Py_INCREF(Py_None
); resultobj
= Py_None
;
30480 static PyObject
* HelpProvider_swigregister(PyObject
*self
, PyObject
*args
) {
30482 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30483 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider
, obj
);
30485 return Py_BuildValue((char *)"");
30487 static PyObject
*_wrap_new_SimpleHelpProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30488 PyObject
*resultobj
;
30489 wxSimpleHelpProvider
*result
;
30490 char *kwnames
[] = {
30494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SimpleHelpProvider",kwnames
)) goto fail
;
30496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30497 result
= (wxSimpleHelpProvider
*)new wxSimpleHelpProvider();
30499 wxPyEndAllowThreads(__tstate
);
30500 if (PyErr_Occurred()) SWIG_fail
;
30502 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSimpleHelpProvider
, 1);
30509 static PyObject
* SimpleHelpProvider_swigregister(PyObject
*self
, PyObject
*args
) {
30511 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30512 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider
, obj
);
30514 return Py_BuildValue((char *)"");
30516 static PyObject
*_wrap_new_DragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30517 PyObject
*resultobj
;
30518 wxBitmap
*arg1
= 0 ;
30519 wxCursor
const &arg2_defvalue
= wxNullCursor
;
30520 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
30521 wxGenericDragImage
*result
;
30522 PyObject
* obj0
= 0 ;
30523 PyObject
* obj1
= 0 ;
30524 char *kwnames
[] = {
30525 (char *) "image",(char *) "cursor", NULL
30528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) goto fail
;
30529 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
30530 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30532 if (arg1
== NULL
) {
30533 PyErr_SetString(PyExc_TypeError
,"null reference");
30537 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
30538 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30540 if (arg2
== NULL
) {
30541 PyErr_SetString(PyExc_TypeError
,"null reference");
30546 if (!wxPyCheckForApp()) SWIG_fail
;
30547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30548 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxBitmap
const &)*arg1
,(wxCursor
const &)*arg2
);
30550 wxPyEndAllowThreads(__tstate
);
30551 if (PyErr_Occurred()) SWIG_fail
;
30553 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
30560 static PyObject
*_wrap_new_DragIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30561 PyObject
*resultobj
;
30563 wxCursor
const &arg2_defvalue
= wxNullCursor
;
30564 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
30565 wxGenericDragImage
*result
;
30566 PyObject
* obj0
= 0 ;
30567 PyObject
* obj1
= 0 ;
30568 char *kwnames
[] = {
30569 (char *) "image",(char *) "cursor", NULL
30572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
30573 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
30574 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30576 if (arg1
== NULL
) {
30577 PyErr_SetString(PyExc_TypeError
,"null reference");
30581 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
30582 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30584 if (arg2
== NULL
) {
30585 PyErr_SetString(PyExc_TypeError
,"null reference");
30590 if (!wxPyCheckForApp()) SWIG_fail
;
30591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30592 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxIcon
const &)*arg1
,(wxCursor
const &)*arg2
);
30594 wxPyEndAllowThreads(__tstate
);
30595 if (PyErr_Occurred()) SWIG_fail
;
30597 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
30604 static PyObject
*_wrap_new_DragString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30605 PyObject
*resultobj
;
30606 wxString
*arg1
= 0 ;
30607 wxCursor
const &arg2_defvalue
= wxNullCursor
;
30608 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
30609 wxGenericDragImage
*result
;
30610 bool temp1
= False
;
30611 PyObject
* obj0
= 0 ;
30612 PyObject
* obj1
= 0 ;
30613 char *kwnames
[] = {
30614 (char *) "str",(char *) "cursor", NULL
30617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) goto fail
;
30619 arg1
= wxString_in_helper(obj0
);
30620 if (arg1
== NULL
) SWIG_fail
;
30624 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
30625 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30627 if (arg2
== NULL
) {
30628 PyErr_SetString(PyExc_TypeError
,"null reference");
30633 if (!wxPyCheckForApp()) SWIG_fail
;
30634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30635 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxString
const &)*arg1
,(wxCursor
const &)*arg2
);
30637 wxPyEndAllowThreads(__tstate
);
30638 if (PyErr_Occurred()) SWIG_fail
;
30640 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
30655 static PyObject
*_wrap_new_DragTreeItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30656 PyObject
*resultobj
;
30657 wxPyTreeCtrl
*arg1
= 0 ;
30658 wxTreeItemId
*arg2
= 0 ;
30659 wxGenericDragImage
*result
;
30660 PyObject
* obj0
= 0 ;
30661 PyObject
* obj1
= 0 ;
30662 char *kwnames
[] = {
30663 (char *) "treeCtrl",(char *) "id", NULL
30666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
30668 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30670 if (arg1
== NULL
) {
30671 PyErr_SetString(PyExc_TypeError
,"null reference");
30674 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
30675 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30677 if (arg2
== NULL
) {
30678 PyErr_SetString(PyExc_TypeError
,"null reference");
30682 if (!wxPyCheckForApp()) SWIG_fail
;
30683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30684 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyTreeCtrl
const &)*arg1
,*arg2
);
30686 wxPyEndAllowThreads(__tstate
);
30687 if (PyErr_Occurred()) SWIG_fail
;
30689 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
30696 static PyObject
*_wrap_new_DragListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30697 PyObject
*resultobj
;
30698 wxPyListCtrl
*arg1
= 0 ;
30700 wxGenericDragImage
*result
;
30701 PyObject
* obj0
= 0 ;
30702 PyObject
* obj1
= 0 ;
30703 char *kwnames
[] = {
30704 (char *) "listCtrl",(char *) "id", NULL
30707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragListItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30708 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
30709 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30711 if (arg1
== NULL
) {
30712 PyErr_SetString(PyExc_TypeError
,"null reference");
30715 arg2
= (long) SWIG_AsLong(obj1
);
30716 if (PyErr_Occurred()) SWIG_fail
;
30718 if (!wxPyCheckForApp()) SWIG_fail
;
30719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30720 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyListCtrl
const &)*arg1
,arg2
);
30722 wxPyEndAllowThreads(__tstate
);
30723 if (PyErr_Occurred()) SWIG_fail
;
30725 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
30732 static PyObject
*_wrap_delete_DragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30733 PyObject
*resultobj
;
30734 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30735 PyObject
* obj0
= 0 ;
30736 char *kwnames
[] = {
30737 (char *) "self", NULL
30740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DragImage",kwnames
,&obj0
)) goto fail
;
30741 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30747 wxPyEndAllowThreads(__tstate
);
30748 if (PyErr_Occurred()) SWIG_fail
;
30750 Py_INCREF(Py_None
); resultobj
= Py_None
;
30757 static PyObject
*_wrap_DragImage_SetBackingBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30758 PyObject
*resultobj
;
30759 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30760 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
30761 PyObject
* obj0
= 0 ;
30762 PyObject
* obj1
= 0 ;
30763 char *kwnames
[] = {
30764 (char *) "self",(char *) "bitmap", NULL
30767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
30768 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30770 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
30771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30774 (arg1
)->SetBackingBitmap(arg2
);
30776 wxPyEndAllowThreads(__tstate
);
30777 if (PyErr_Occurred()) SWIG_fail
;
30779 Py_INCREF(Py_None
); resultobj
= Py_None
;
30786 static PyObject
*_wrap_DragImage_BeginDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30787 PyObject
*resultobj
;
30788 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30789 wxPoint
*arg2
= 0 ;
30790 wxWindow
*arg3
= (wxWindow
*) 0 ;
30791 bool arg4
= (bool) False
;
30792 wxRect
*arg5
= (wxRect
*) NULL
;
30795 PyObject
* obj0
= 0 ;
30796 PyObject
* obj1
= 0 ;
30797 PyObject
* obj2
= 0 ;
30798 PyObject
* obj3
= 0 ;
30799 PyObject
* obj4
= 0 ;
30800 char *kwnames
[] = {
30801 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
30804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30805 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30809 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30811 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
30812 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30814 arg4
= (bool) SWIG_AsBool(obj3
);
30815 if (PyErr_Occurred()) SWIG_fail
;
30818 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxRect
,
30819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30823 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
,arg5
);
30825 wxPyEndAllowThreads(__tstate
);
30826 if (PyErr_Occurred()) SWIG_fail
;
30829 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30837 static PyObject
*_wrap_DragImage_BeginDragBounded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30838 PyObject
*resultobj
;
30839 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30840 wxPoint
*arg2
= 0 ;
30841 wxWindow
*arg3
= (wxWindow
*) 0 ;
30842 wxWindow
*arg4
= (wxWindow
*) 0 ;
30845 PyObject
* obj0
= 0 ;
30846 PyObject
* obj1
= 0 ;
30847 PyObject
* obj2
= 0 ;
30848 PyObject
* obj3
= 0 ;
30849 char *kwnames
[] = {
30850 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
30853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30854 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30858 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30860 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
30861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30862 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
30863 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30866 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
);
30868 wxPyEndAllowThreads(__tstate
);
30869 if (PyErr_Occurred()) SWIG_fail
;
30872 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30880 static PyObject
*_wrap_DragImage_EndDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30881 PyObject
*resultobj
;
30882 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30884 PyObject
* obj0
= 0 ;
30885 char *kwnames
[] = {
30886 (char *) "self", NULL
30889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_EndDrag",kwnames
,&obj0
)) goto fail
;
30890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30894 result
= (bool)(arg1
)->EndDrag();
30896 wxPyEndAllowThreads(__tstate
);
30897 if (PyErr_Occurred()) SWIG_fail
;
30900 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30908 static PyObject
*_wrap_DragImage_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30909 PyObject
*resultobj
;
30910 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30911 wxPoint
*arg2
= 0 ;
30914 PyObject
* obj0
= 0 ;
30915 PyObject
* obj1
= 0 ;
30916 char *kwnames
[] = {
30917 (char *) "self",(char *) "pt", NULL
30920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
30921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30925 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30929 result
= (bool)(arg1
)->Move((wxPoint
const &)*arg2
);
30931 wxPyEndAllowThreads(__tstate
);
30932 if (PyErr_Occurred()) SWIG_fail
;
30935 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30943 static PyObject
*_wrap_DragImage_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30944 PyObject
*resultobj
;
30945 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30947 PyObject
* obj0
= 0 ;
30948 char *kwnames
[] = {
30949 (char *) "self", NULL
30952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Show",kwnames
,&obj0
)) goto fail
;
30953 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30957 result
= (bool)(arg1
)->Show();
30959 wxPyEndAllowThreads(__tstate
);
30960 if (PyErr_Occurred()) SWIG_fail
;
30963 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30971 static PyObject
*_wrap_DragImage_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30972 PyObject
*resultobj
;
30973 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30975 PyObject
* obj0
= 0 ;
30976 char *kwnames
[] = {
30977 (char *) "self", NULL
30980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Hide",kwnames
,&obj0
)) goto fail
;
30981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30985 result
= (bool)(arg1
)->Hide();
30987 wxPyEndAllowThreads(__tstate
);
30988 if (PyErr_Occurred()) SWIG_fail
;
30991 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30999 static PyObject
*_wrap_DragImage_GetImageRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31000 PyObject
*resultobj
;
31001 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31002 wxPoint
*arg2
= 0 ;
31005 PyObject
* obj0
= 0 ;
31006 PyObject
* obj1
= 0 ;
31007 char *kwnames
[] = {
31008 (char *) "self",(char *) "pos", NULL
31011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) goto fail
;
31012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31016 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31020 result
= ((wxGenericDragImage
const *)arg1
)->GetImageRect((wxPoint
const &)*arg2
);
31022 wxPyEndAllowThreads(__tstate
);
31023 if (PyErr_Occurred()) SWIG_fail
;
31026 wxRect
* resultptr
;
31027 resultptr
= new wxRect((wxRect
&) result
);
31028 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
31036 static PyObject
*_wrap_DragImage_DoDrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31037 PyObject
*resultobj
;
31038 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31040 wxPoint
*arg3
= 0 ;
31043 PyObject
* obj0
= 0 ;
31044 PyObject
* obj1
= 0 ;
31045 PyObject
* obj2
= 0 ;
31046 char *kwnames
[] = {
31047 (char *) "self",(char *) "dc",(char *) "pos", NULL
31050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31051 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31053 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
31054 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31056 if (arg2
== NULL
) {
31057 PyErr_SetString(PyExc_TypeError
,"null reference");
31062 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
31065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31066 result
= (bool)((wxGenericDragImage
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint
const &)*arg3
);
31068 wxPyEndAllowThreads(__tstate
);
31069 if (PyErr_Occurred()) SWIG_fail
;
31072 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31080 static PyObject
*_wrap_DragImage_UpdateBackingFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31081 PyObject
*resultobj
;
31082 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31084 wxMemoryDC
*arg3
= 0 ;
31090 PyObject
* obj0
= 0 ;
31091 PyObject
* obj1
= 0 ;
31092 PyObject
* obj2
= 0 ;
31093 PyObject
* obj3
= 0 ;
31094 PyObject
* obj4
= 0 ;
31095 char *kwnames
[] = {
31096 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
31099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
31100 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31102 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
31103 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31105 if (arg2
== NULL
) {
31106 PyErr_SetString(PyExc_TypeError
,"null reference");
31109 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMemoryDC
,
31110 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31112 if (arg3
== NULL
) {
31113 PyErr_SetString(PyExc_TypeError
,"null reference");
31118 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
31122 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
31125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31126 result
= (bool)((wxGenericDragImage
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect
const &)*arg4
,(wxRect
const &)*arg5
);
31128 wxPyEndAllowThreads(__tstate
);
31129 if (PyErr_Occurred()) SWIG_fail
;
31132 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31140 static PyObject
*_wrap_DragImage_RedrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31141 PyObject
*resultobj
;
31142 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31143 wxPoint
*arg2
= 0 ;
31144 wxPoint
*arg3
= 0 ;
31150 PyObject
* obj0
= 0 ;
31151 PyObject
* obj1
= 0 ;
31152 PyObject
* obj2
= 0 ;
31153 PyObject
* obj3
= 0 ;
31154 PyObject
* obj4
= 0 ;
31155 char *kwnames
[] = {
31156 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
31159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
31160 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31161 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31164 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31168 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
31170 arg4
= (bool) SWIG_AsBool(obj3
);
31171 if (PyErr_Occurred()) SWIG_fail
;
31172 arg5
= (bool) SWIG_AsBool(obj4
);
31173 if (PyErr_Occurred()) SWIG_fail
;
31175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31176 result
= (bool)(arg1
)->RedrawImage((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
31178 wxPyEndAllowThreads(__tstate
);
31179 if (PyErr_Occurred()) SWIG_fail
;
31182 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31190 static PyObject
* DragImage_swigregister(PyObject
*self
, PyObject
*args
) {
31192 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31193 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage
, obj
);
31195 return Py_BuildValue((char *)"");
31197 static PyMethodDef SwigMethods
[] = {
31198 { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS
| METH_KEYWORDS
},
31199 { (char *)"new_PreButton", (PyCFunction
) _wrap_new_PreButton
, METH_VARARGS
| METH_KEYWORDS
},
31200 { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS
| METH_KEYWORDS
},
31201 { (char *)"Button_SetDefault", (PyCFunction
) _wrap_Button_SetDefault
, METH_VARARGS
| METH_KEYWORDS
},
31202 { (char *)"Button_GetDefaultSize", (PyCFunction
) _wrap_Button_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
31203 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction
) _wrap_Button_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31204 { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS
},
31205 { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS
| METH_KEYWORDS
},
31206 { (char *)"new_PreBitmapButton", (PyCFunction
) _wrap_new_PreBitmapButton
, METH_VARARGS
| METH_KEYWORDS
},
31207 { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
31208 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_GetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
31209 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_GetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
31210 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_GetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
31211 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_GetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
31212 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
31213 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
31214 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
31215 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
31216 { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
31217 { (char *)"BitmapButton_GetMarginX", (PyCFunction
) _wrap_BitmapButton_GetMarginX
, METH_VARARGS
| METH_KEYWORDS
},
31218 { (char *)"BitmapButton_GetMarginY", (PyCFunction
) _wrap_BitmapButton_GetMarginY
, METH_VARARGS
| METH_KEYWORDS
},
31219 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS
},
31220 { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS
| METH_KEYWORDS
},
31221 { (char *)"new_PreCheckBox", (PyCFunction
) _wrap_new_PreCheckBox
, METH_VARARGS
| METH_KEYWORDS
},
31222 { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
31223 { (char *)"CheckBox_GetValue", (PyCFunction
) _wrap_CheckBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31224 { (char *)"CheckBox_IsChecked", (PyCFunction
) _wrap_CheckBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
31225 { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31226 { (char *)"CheckBox_Get3StateValue", (PyCFunction
) _wrap_CheckBox_Get3StateValue
, METH_VARARGS
| METH_KEYWORDS
},
31227 { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS
| METH_KEYWORDS
},
31228 { (char *)"CheckBox_Is3State", (PyCFunction
) _wrap_CheckBox_Is3State
, METH_VARARGS
| METH_KEYWORDS
},
31229 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
) _wrap_CheckBox_Is3rdStateAllowedForUser
, METH_VARARGS
| METH_KEYWORDS
},
31230 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_CheckBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31231 { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS
},
31232 { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS
| METH_KEYWORDS
},
31233 { (char *)"new_PreChoice", (PyCFunction
) _wrap_new_PreChoice
, METH_VARARGS
| METH_KEYWORDS
},
31234 { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS
| METH_KEYWORDS
},
31235 { (char *)"Choice_SetSelection", (PyCFunction
) _wrap_Choice_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31236 { (char *)"Choice_SetStringSelection", (PyCFunction
) _wrap_Choice_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
31237 { (char *)"Choice_SetString", (PyCFunction
) _wrap_Choice_SetString
, METH_VARARGS
| METH_KEYWORDS
},
31238 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction
) _wrap_Choice_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31239 { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS
},
31240 { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS
| METH_KEYWORDS
},
31241 { (char *)"new_PreComboBox", (PyCFunction
) _wrap_new_PreComboBox
, METH_VARARGS
| METH_KEYWORDS
},
31242 { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
31243 { (char *)"ComboBox_GetValue", (PyCFunction
) _wrap_ComboBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31244 { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31245 { (char *)"ComboBox_Copy", (PyCFunction
) _wrap_ComboBox_Copy
, METH_VARARGS
| METH_KEYWORDS
},
31246 { (char *)"ComboBox_Cut", (PyCFunction
) _wrap_ComboBox_Cut
, METH_VARARGS
| METH_KEYWORDS
},
31247 { (char *)"ComboBox_Paste", (PyCFunction
) _wrap_ComboBox_Paste
, METH_VARARGS
| METH_KEYWORDS
},
31248 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
31249 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
) _wrap_ComboBox_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
31250 { (char *)"ComboBox_GetLastPosition", (PyCFunction
) _wrap_ComboBox_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
31251 { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
},
31252 { (char *)"ComboBox_SetSelection", (PyCFunction
) _wrap_ComboBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31253 { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
},
31254 { (char *)"ComboBox_SetStringSelection", (PyCFunction
) _wrap_ComboBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
31255 { (char *)"ComboBox_SetString", (PyCFunction
) _wrap_ComboBox_SetString
, METH_VARARGS
| METH_KEYWORDS
},
31256 { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
31257 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
) _wrap_ComboBox_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
31258 { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
},
31259 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ComboBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31260 { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS
},
31261 { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS
| METH_KEYWORDS
},
31262 { (char *)"new_PreGauge", (PyCFunction
) _wrap_new_PreGauge
, METH_VARARGS
| METH_KEYWORDS
},
31263 { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS
| METH_KEYWORDS
},
31264 { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
31265 { (char *)"Gauge_GetRange", (PyCFunction
) _wrap_Gauge_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
31266 { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31267 { (char *)"Gauge_GetValue", (PyCFunction
) _wrap_Gauge_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31268 { (char *)"Gauge_IsVertical", (PyCFunction
) _wrap_Gauge_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
31269 { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
31270 { (char *)"Gauge_GetShadowWidth", (PyCFunction
) _wrap_Gauge_GetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
31271 { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
31272 { (char *)"Gauge_GetBezelFace", (PyCFunction
) _wrap_Gauge_GetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
31273 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction
) _wrap_Gauge_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31274 { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS
},
31275 { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS
| METH_KEYWORDS
},
31276 { (char *)"new_PreStaticBox", (PyCFunction
) _wrap_new_PreStaticBox
, METH_VARARGS
| METH_KEYWORDS
},
31277 { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
31278 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31279 { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS
},
31280 { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS
| METH_KEYWORDS
},
31281 { (char *)"new_PreStaticLine", (PyCFunction
) _wrap_new_PreStaticLine
, METH_VARARGS
| METH_KEYWORDS
},
31282 { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
},
31283 { (char *)"StaticLine_IsVertical", (PyCFunction
) _wrap_StaticLine_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
31284 { (char *)"StaticLine_GetDefaultSize", (PyCFunction
) _wrap_StaticLine_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
31285 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticLine_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31286 { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS
},
31287 { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS
| METH_KEYWORDS
},
31288 { (char *)"new_PreStaticText", (PyCFunction
) _wrap_new_PreStaticText
, METH_VARARGS
| METH_KEYWORDS
},
31289 { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS
| METH_KEYWORDS
},
31290 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticText_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31291 { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS
},
31292 { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31293 { (char *)"new_PreStaticBitmap", (PyCFunction
) _wrap_new_PreStaticBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31294 { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
},
31295 { (char *)"StaticBitmap_GetBitmap", (PyCFunction
) _wrap_StaticBitmap_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31296 { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31297 { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
31298 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBitmap_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31299 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS
},
31300 { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS
| METH_KEYWORDS
},
31301 { (char *)"new_PreListBox", (PyCFunction
) _wrap_new_PreListBox
, METH_VARARGS
| METH_KEYWORDS
},
31302 { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
31303 { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS
| METH_KEYWORDS
},
31304 { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
},
31305 { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS
| METH_KEYWORDS
},
31306 { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
31307 { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31308 { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS
| METH_KEYWORDS
},
31309 { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
},
31310 { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
},
31311 { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
31312 { (char *)"ListBox_GetSelections", (PyCFunction
) _wrap_ListBox_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
31313 { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
},
31314 { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
},
31315 { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
31316 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
31317 { (char *)"ListBox_IsSorted", (PyCFunction
) _wrap_ListBox_IsSorted
, METH_VARARGS
| METH_KEYWORDS
},
31318 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction
) _wrap_ListBox_SetItemForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31319 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction
) _wrap_ListBox_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31320 { (char *)"ListBox_SetItemFont", (PyCFunction
) _wrap_ListBox_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
31321 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31322 { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS
},
31323 { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS
| METH_KEYWORDS
},
31324 { (char *)"new_PreCheckListBox", (PyCFunction
) _wrap_new_PreCheckListBox
, METH_VARARGS
| METH_KEYWORDS
},
31325 { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
31326 { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
31327 { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
},
31328 { (char *)"CheckListBox_HitTest", (PyCFunction
) _wrap_CheckListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
31329 { (char *)"CheckListBox_HitTestXY", (PyCFunction
) _wrap_CheckListBox_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
},
31330 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS
},
31331 { (char *)"new_TextAttr", (PyCFunction
) _wrap_new_TextAttr
, METH_VARARGS
| METH_KEYWORDS
},
31332 { (char *)"delete_TextAttr", (PyCFunction
) _wrap_delete_TextAttr
, METH_VARARGS
| METH_KEYWORDS
},
31333 { (char *)"TextAttr_Init", (PyCFunction
) _wrap_TextAttr_Init
, METH_VARARGS
| METH_KEYWORDS
},
31334 { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31335 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31336 { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
31337 { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
31338 { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
},
31339 { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
31340 { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
31341 { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
31342 { (char *)"TextAttr_HasTextColour", (PyCFunction
) _wrap_TextAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31343 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
) _wrap_TextAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31344 { (char *)"TextAttr_HasFont", (PyCFunction
) _wrap_TextAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
31345 { (char *)"TextAttr_HasAlignment", (PyCFunction
) _wrap_TextAttr_HasAlignment
, METH_VARARGS
| METH_KEYWORDS
},
31346 { (char *)"TextAttr_HasTabs", (PyCFunction
) _wrap_TextAttr_HasTabs
, METH_VARARGS
| METH_KEYWORDS
},
31347 { (char *)"TextAttr_HasLeftIndent", (PyCFunction
) _wrap_TextAttr_HasLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
31348 { (char *)"TextAttr_HasRightIndent", (PyCFunction
) _wrap_TextAttr_HasRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
31349 { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
},
31350 { (char *)"TextAttr_GetTextColour", (PyCFunction
) _wrap_TextAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31351 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
) _wrap_TextAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31352 { (char *)"TextAttr_GetFont", (PyCFunction
) _wrap_TextAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
31353 { (char *)"TextAttr_GetAlignment", (PyCFunction
) _wrap_TextAttr_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
31354 { (char *)"TextAttr_GetTabs", (PyCFunction
) _wrap_TextAttr_GetTabs
, METH_VARARGS
| METH_KEYWORDS
},
31355 { (char *)"TextAttr_GetLeftIndent", (PyCFunction
) _wrap_TextAttr_GetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
31356 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction
) _wrap_TextAttr_GetLeftSubIndent
, METH_VARARGS
| METH_KEYWORDS
},
31357 { (char *)"TextAttr_GetRightIndent", (PyCFunction
) _wrap_TextAttr_GetRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
31358 { (char *)"TextAttr_GetFlags", (PyCFunction
) _wrap_TextAttr_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
31359 { (char *)"TextAttr_IsDefault", (PyCFunction
) _wrap_TextAttr_IsDefault
, METH_VARARGS
| METH_KEYWORDS
},
31360 { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
},
31361 { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS
},
31362 { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31363 { (char *)"new_PreTextCtrl", (PyCFunction
) _wrap_new_PreTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31364 { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
31365 { (char *)"TextCtrl_GetValue", (PyCFunction
) _wrap_TextCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31366 { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31367 { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
31368 { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
},
31369 { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
},
31370 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
) _wrap_TextCtrl_GetNumberOfLines
, METH_VARARGS
| METH_KEYWORDS
},
31371 { (char *)"TextCtrl_IsModified", (PyCFunction
) _wrap_TextCtrl_IsModified
, METH_VARARGS
| METH_KEYWORDS
},
31372 { (char *)"TextCtrl_IsEditable", (PyCFunction
) _wrap_TextCtrl_IsEditable
, METH_VARARGS
| METH_KEYWORDS
},
31373 { (char *)"TextCtrl_IsSingleLine", (PyCFunction
) _wrap_TextCtrl_IsSingleLine
, METH_VARARGS
| METH_KEYWORDS
},
31374 { (char *)"TextCtrl_IsMultiLine", (PyCFunction
) _wrap_TextCtrl_IsMultiLine
, METH_VARARGS
| METH_KEYWORDS
},
31375 { (char *)"TextCtrl_GetSelection", (PyCFunction
) _wrap_TextCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31376 { (char *)"TextCtrl_GetStringSelection", (PyCFunction
) _wrap_TextCtrl_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
31377 { (char *)"TextCtrl_Clear", (PyCFunction
) _wrap_TextCtrl_Clear
, METH_VARARGS
| METH_KEYWORDS
},
31378 { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
},
31379 { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
},
31380 { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
31381 { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
31382 { (char *)"TextCtrl_MarkDirty", (PyCFunction
) _wrap_TextCtrl_MarkDirty
, METH_VARARGS
| METH_KEYWORDS
},
31383 { (char *)"TextCtrl_DiscardEdits", (PyCFunction
) _wrap_TextCtrl_DiscardEdits
, METH_VARARGS
| METH_KEYWORDS
},
31384 { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
},
31385 { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
},
31386 { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
},
31387 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
},
31388 { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
31389 { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
31390 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
},
31391 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_GetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
},
31392 { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
},
31393 { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
},
31394 { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
},
31395 { (char *)"TextCtrl_HitTest", (PyCFunction
) _wrap_TextCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
31396 { (char *)"TextCtrl_HitTestPos", (PyCFunction
) _wrap_TextCtrl_HitTestPos
, METH_VARARGS
| METH_KEYWORDS
},
31397 { (char *)"TextCtrl_Copy", (PyCFunction
) _wrap_TextCtrl_Copy
, METH_VARARGS
| METH_KEYWORDS
},
31398 { (char *)"TextCtrl_Cut", (PyCFunction
) _wrap_TextCtrl_Cut
, METH_VARARGS
| METH_KEYWORDS
},
31399 { (char *)"TextCtrl_Paste", (PyCFunction
) _wrap_TextCtrl_Paste
, METH_VARARGS
| METH_KEYWORDS
},
31400 { (char *)"TextCtrl_CanCopy", (PyCFunction
) _wrap_TextCtrl_CanCopy
, METH_VARARGS
| METH_KEYWORDS
},
31401 { (char *)"TextCtrl_CanCut", (PyCFunction
) _wrap_TextCtrl_CanCut
, METH_VARARGS
| METH_KEYWORDS
},
31402 { (char *)"TextCtrl_CanPaste", (PyCFunction
) _wrap_TextCtrl_CanPaste
, METH_VARARGS
| METH_KEYWORDS
},
31403 { (char *)"TextCtrl_Undo", (PyCFunction
) _wrap_TextCtrl_Undo
, METH_VARARGS
| METH_KEYWORDS
},
31404 { (char *)"TextCtrl_Redo", (PyCFunction
) _wrap_TextCtrl_Redo
, METH_VARARGS
| METH_KEYWORDS
},
31405 { (char *)"TextCtrl_CanUndo", (PyCFunction
) _wrap_TextCtrl_CanUndo
, METH_VARARGS
| METH_KEYWORDS
},
31406 { (char *)"TextCtrl_CanRedo", (PyCFunction
) _wrap_TextCtrl_CanRedo
, METH_VARARGS
| METH_KEYWORDS
},
31407 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
31408 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
) _wrap_TextCtrl_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
31409 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
31410 { (char *)"TextCtrl_GetLastPosition", (PyCFunction
) _wrap_TextCtrl_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
31411 { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31412 { (char *)"TextCtrl_SelectAll", (PyCFunction
) _wrap_TextCtrl_SelectAll
, METH_VARARGS
| METH_KEYWORDS
},
31413 { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
31414 { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
},
31415 { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
},
31416 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TextCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31417 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS
},
31418 { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
},
31419 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
) _wrap_TextUrlEvent_GetMouseEvent
, METH_VARARGS
| METH_KEYWORDS
},
31420 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
) _wrap_TextUrlEvent_GetURLStart
, METH_VARARGS
| METH_KEYWORDS
},
31421 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
) _wrap_TextUrlEvent_GetURLEnd
, METH_VARARGS
| METH_KEYWORDS
},
31422 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS
},
31423 { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
31424 { (char *)"new_PreScrollBar", (PyCFunction
) _wrap_new_PreScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
31425 { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
31426 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
) _wrap_ScrollBar_GetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
31427 { (char *)"ScrollBar_GetThumbSize", (PyCFunction
) _wrap_ScrollBar_GetThumbSize
, METH_VARARGS
| METH_KEYWORDS
},
31428 { (char *)"ScrollBar_GetPageSize", (PyCFunction
) _wrap_ScrollBar_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
31429 { (char *)"ScrollBar_GetRange", (PyCFunction
) _wrap_ScrollBar_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
31430 { (char *)"ScrollBar_IsVertical", (PyCFunction
) _wrap_ScrollBar_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
31431 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
31432 { (char *)"ScrollBar_SetScrollbar", (PyCFunction
) _wrap_ScrollBar_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
31433 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrollBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31434 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS
},
31435 { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS
| METH_KEYWORDS
},
31436 { (char *)"new_PreSpinButton", (PyCFunction
) _wrap_new_PreSpinButton
, METH_VARARGS
| METH_KEYWORDS
},
31437 { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
31438 { (char *)"SpinButton_GetValue", (PyCFunction
) _wrap_SpinButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31439 { (char *)"SpinButton_GetMin", (PyCFunction
) _wrap_SpinButton_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
31440 { (char *)"SpinButton_GetMax", (PyCFunction
) _wrap_SpinButton_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
31441 { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31442 { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS
| METH_KEYWORDS
},
31443 { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS
| METH_KEYWORDS
},
31444 { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
31445 { (char *)"SpinButton_IsVertical", (PyCFunction
) _wrap_SpinButton_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
31446 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31447 { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS
},
31448 { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31449 { (char *)"new_PreSpinCtrl", (PyCFunction
) _wrap_new_PreSpinCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31450 { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
31451 { (char *)"SpinCtrl_GetValue", (PyCFunction
) _wrap_SpinCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31452 { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31453 { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS
| METH_KEYWORDS
},
31454 { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
31455 { (char *)"SpinCtrl_GetMin", (PyCFunction
) _wrap_SpinCtrl_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
31456 { (char *)"SpinCtrl_GetMax", (PyCFunction
) _wrap_SpinCtrl_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
31457 { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31458 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31459 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS
},
31460 { (char *)"new_SpinEvent", (PyCFunction
) _wrap_new_SpinEvent
, METH_VARARGS
| METH_KEYWORDS
},
31461 { (char *)"SpinEvent_GetPosition", (PyCFunction
) _wrap_SpinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
31462 { (char *)"SpinEvent_SetPosition", (PyCFunction
) _wrap_SpinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
31463 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister
, METH_VARARGS
},
31464 { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS
| METH_KEYWORDS
},
31465 { (char *)"new_PreRadioBox", (PyCFunction
) _wrap_new_PreRadioBox
, METH_VARARGS
| METH_KEYWORDS
},
31466 { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
31467 { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31468 { (char *)"RadioBox_GetSelection", (PyCFunction
) _wrap_RadioBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31469 { (char *)"RadioBox_GetStringSelection", (PyCFunction
) _wrap_RadioBox_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
31470 { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
31471 { (char *)"RadioBox_GetCount", (PyCFunction
) _wrap_RadioBox_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
31472 { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
},
31473 { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
},
31474 { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
},
31475 { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
},
31476 { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
},
31477 { (char *)"RadioBox_GetColumnCount", (PyCFunction
) _wrap_RadioBox_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
},
31478 { (char *)"RadioBox_GetRowCount", (PyCFunction
) _wrap_RadioBox_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
},
31479 { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
},
31480 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31481 { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS
},
31482 { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS
| METH_KEYWORDS
},
31483 { (char *)"new_PreRadioButton", (PyCFunction
) _wrap_new_PreRadioButton
, METH_VARARGS
| METH_KEYWORDS
},
31484 { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
31485 { (char *)"RadioButton_GetValue", (PyCFunction
) _wrap_RadioButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31486 { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31487 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31488 { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS
},
31489 { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS
| METH_KEYWORDS
},
31490 { (char *)"new_PreSlider", (PyCFunction
) _wrap_new_PreSlider
, METH_VARARGS
| METH_KEYWORDS
},
31491 { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS
| METH_KEYWORDS
},
31492 { (char *)"Slider_GetValue", (PyCFunction
) _wrap_Slider_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31493 { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31494 { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
31495 { (char *)"Slider_GetMin", (PyCFunction
) _wrap_Slider_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
31496 { (char *)"Slider_GetMax", (PyCFunction
) _wrap_Slider_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
31497 { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS
| METH_KEYWORDS
},
31498 { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS
| METH_KEYWORDS
},
31499 { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
31500 { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
31501 { (char *)"Slider_GetLineSize", (PyCFunction
) _wrap_Slider_GetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
31502 { (char *)"Slider_GetPageSize", (PyCFunction
) _wrap_Slider_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
31503 { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
31504 { (char *)"Slider_GetThumbLength", (PyCFunction
) _wrap_Slider_GetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
31505 { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
31506 { (char *)"Slider_GetTickFreq", (PyCFunction
) _wrap_Slider_GetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
31507 { (char *)"Slider_ClearTicks", (PyCFunction
) _wrap_Slider_ClearTicks
, METH_VARARGS
| METH_KEYWORDS
},
31508 { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS
| METH_KEYWORDS
},
31509 { (char *)"Slider_ClearSel", (PyCFunction
) _wrap_Slider_ClearSel
, METH_VARARGS
| METH_KEYWORDS
},
31510 { (char *)"Slider_GetSelEnd", (PyCFunction
) _wrap_Slider_GetSelEnd
, METH_VARARGS
| METH_KEYWORDS
},
31511 { (char *)"Slider_GetSelStart", (PyCFunction
) _wrap_Slider_GetSelStart
, METH_VARARGS
| METH_KEYWORDS
},
31512 { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31513 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction
) _wrap_Slider_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31514 { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS
},
31515 { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS
| METH_KEYWORDS
},
31516 { (char *)"new_PreToggleButton", (PyCFunction
) _wrap_new_PreToggleButton
, METH_VARARGS
| METH_KEYWORDS
},
31517 { (char *)"ToggleButton_Create", (PyCFunction
) _wrap_ToggleButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
31518 { (char *)"ToggleButton_SetValue", (PyCFunction
) _wrap_ToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31519 { (char *)"ToggleButton_GetValue", (PyCFunction
) _wrap_ToggleButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31520 { (char *)"ToggleButton_SetLabel", (PyCFunction
) _wrap_ToggleButton_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
31521 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToggleButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31522 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS
},
31523 { (char *)"BookCtrl_GetPageCount", (PyCFunction
) _wrap_BookCtrl_GetPageCount
, METH_VARARGS
| METH_KEYWORDS
},
31524 { (char *)"BookCtrl_GetPage", (PyCFunction
) _wrap_BookCtrl_GetPage
, METH_VARARGS
| METH_KEYWORDS
},
31525 { (char *)"BookCtrl_GetSelection", (PyCFunction
) _wrap_BookCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31526 { (char *)"BookCtrl_SetPageText", (PyCFunction
) _wrap_BookCtrl_SetPageText
, METH_VARARGS
| METH_KEYWORDS
},
31527 { (char *)"BookCtrl_GetPageText", (PyCFunction
) _wrap_BookCtrl_GetPageText
, METH_VARARGS
| METH_KEYWORDS
},
31528 { (char *)"BookCtrl_SetImageList", (PyCFunction
) _wrap_BookCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
31529 { (char *)"BookCtrl_AssignImageList", (PyCFunction
) _wrap_BookCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
31530 { (char *)"BookCtrl_GetImageList", (PyCFunction
) _wrap_BookCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
31531 { (char *)"BookCtrl_GetPageImage", (PyCFunction
) _wrap_BookCtrl_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
31532 { (char *)"BookCtrl_SetPageImage", (PyCFunction
) _wrap_BookCtrl_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
31533 { (char *)"BookCtrl_SetPageSize", (PyCFunction
) _wrap_BookCtrl_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
31534 { (char *)"BookCtrl_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrl_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
},
31535 { (char *)"BookCtrl_DeletePage", (PyCFunction
) _wrap_BookCtrl_DeletePage
, METH_VARARGS
| METH_KEYWORDS
},
31536 { (char *)"BookCtrl_RemovePage", (PyCFunction
) _wrap_BookCtrl_RemovePage
, METH_VARARGS
| METH_KEYWORDS
},
31537 { (char *)"BookCtrl_DeleteAllPages", (PyCFunction
) _wrap_BookCtrl_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
},
31538 { (char *)"BookCtrl_AddPage", (PyCFunction
) _wrap_BookCtrl_AddPage
, METH_VARARGS
| METH_KEYWORDS
},
31539 { (char *)"BookCtrl_InsertPage", (PyCFunction
) _wrap_BookCtrl_InsertPage
, METH_VARARGS
| METH_KEYWORDS
},
31540 { (char *)"BookCtrl_SetSelection", (PyCFunction
) _wrap_BookCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31541 { (char *)"BookCtrl_AdvanceSelection", (PyCFunction
) _wrap_BookCtrl_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
},
31542 { (char *)"BookCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_BookCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31543 { (char *)"BookCtrl_swigregister", BookCtrl_swigregister
, METH_VARARGS
},
31544 { (char *)"new_BookCtrlEvent", (PyCFunction
) _wrap_new_BookCtrlEvent
, METH_VARARGS
| METH_KEYWORDS
},
31545 { (char *)"BookCtrlEvent_GetSelection", (PyCFunction
) _wrap_BookCtrlEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31546 { (char *)"BookCtrlEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31547 { (char *)"BookCtrlEvent_GetOldSelection", (PyCFunction
) _wrap_BookCtrlEvent_GetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
31548 { (char *)"BookCtrlEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
31549 { (char *)"BookCtrlEvent_swigregister", BookCtrlEvent_swigregister
, METH_VARARGS
},
31550 { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS
| METH_KEYWORDS
},
31551 { (char *)"new_PreNotebook", (PyCFunction
) _wrap_new_PreNotebook
, METH_VARARGS
| METH_KEYWORDS
},
31552 { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS
| METH_KEYWORDS
},
31553 { (char *)"Notebook_GetRowCount", (PyCFunction
) _wrap_Notebook_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
},
31554 { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
},
31555 { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
},
31556 { (char *)"Notebook_HitTest", (PyCFunction
) _wrap_Notebook_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
31557 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction
) _wrap_Notebook_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
},
31558 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction
) _wrap_Notebook_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31559 { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS
},
31560 { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS
| METH_KEYWORDS
},
31561 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS
},
31562 { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS
| METH_KEYWORDS
},
31563 { (char *)"new_PreListbook", (PyCFunction
) _wrap_new_PreListbook
, METH_VARARGS
| METH_KEYWORDS
},
31564 { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS
| METH_KEYWORDS
},
31565 { (char *)"Listbook_IsVertical", (PyCFunction
) _wrap_Listbook_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
31566 { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS
},
31567 { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS
| METH_KEYWORDS
},
31568 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS
},
31569 { (char *)"new_BookCtrlSizer", (PyCFunction
) _wrap_new_BookCtrlSizer
, METH_VARARGS
| METH_KEYWORDS
},
31570 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction
) _wrap_BookCtrlSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
31571 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction
) _wrap_BookCtrlSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
31572 { (char *)"BookCtrlSizer_GetControl", (PyCFunction
) _wrap_BookCtrlSizer_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
31573 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister
, METH_VARARGS
},
31574 { (char *)"new_NotebookSizer", (PyCFunction
) _wrap_new_NotebookSizer
, METH_VARARGS
| METH_KEYWORDS
},
31575 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction
) _wrap_NotebookSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
31576 { (char *)"NotebookSizer_CalcMin", (PyCFunction
) _wrap_NotebookSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
31577 { (char *)"NotebookSizer_GetNotebook", (PyCFunction
) _wrap_NotebookSizer_GetNotebook
, METH_VARARGS
| METH_KEYWORDS
},
31578 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister
, METH_VARARGS
},
31579 { (char *)"ToolBarToolBase_GetId", (PyCFunction
) _wrap_ToolBarToolBase_GetId
, METH_VARARGS
| METH_KEYWORDS
},
31580 { (char *)"ToolBarToolBase_GetControl", (PyCFunction
) _wrap_ToolBarToolBase_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
31581 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
) _wrap_ToolBarToolBase_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
31582 { (char *)"ToolBarToolBase_IsButton", (PyCFunction
) _wrap_ToolBarToolBase_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
31583 { (char *)"ToolBarToolBase_IsControl", (PyCFunction
) _wrap_ToolBarToolBase_IsControl
, METH_VARARGS
| METH_KEYWORDS
},
31584 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
) _wrap_ToolBarToolBase_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
},
31585 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
) _wrap_ToolBarToolBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
31586 { (char *)"ToolBarToolBase_GetKind", (PyCFunction
) _wrap_ToolBarToolBase_GetKind
, METH_VARARGS
| METH_KEYWORDS
},
31587 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
) _wrap_ToolBarToolBase_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
31588 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
) _wrap_ToolBarToolBase_IsToggled
, METH_VARARGS
| METH_KEYWORDS
},
31589 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
) _wrap_ToolBarToolBase_CanBeToggled
, METH_VARARGS
| METH_KEYWORDS
},
31590 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31591 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31592 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31593 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
) _wrap_ToolBarToolBase_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
31594 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
31595 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
31596 { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
},
31597 { (char *)"ToolBarToolBase_Toggle", (PyCFunction
) _wrap_ToolBarToolBase_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
31598 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
},
31599 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
31600 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
31601 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31602 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31603 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
31604 { (char *)"ToolBarToolBase_Detach", (PyCFunction
) _wrap_ToolBarToolBase_Detach
, METH_VARARGS
| METH_KEYWORDS
},
31605 { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
},
31606 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
) _wrap_ToolBarToolBase_GetClientData
, METH_VARARGS
| METH_KEYWORDS
},
31607 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
},
31608 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS
},
31609 { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS
| METH_KEYWORDS
},
31610 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS
| METH_KEYWORDS
},
31611 { (char *)"ToolBarBase_AddToolItem", (PyCFunction
) _wrap_ToolBarBase_AddToolItem
, METH_VARARGS
| METH_KEYWORDS
},
31612 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction
) _wrap_ToolBarBase_InsertToolItem
, METH_VARARGS
| METH_KEYWORDS
},
31613 { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
},
31614 { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
},
31615 { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS
| METH_KEYWORDS
},
31616 { (char *)"ToolBarBase_AddSeparator", (PyCFunction
) _wrap_ToolBarBase_AddSeparator
, METH_VARARGS
| METH_KEYWORDS
},
31617 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
},
31618 { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
},
31619 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
},
31620 { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
},
31621 { (char *)"ToolBarBase_ClearTools", (PyCFunction
) _wrap_ToolBarBase_ClearTools
, METH_VARARGS
| METH_KEYWORDS
},
31622 { (char *)"ToolBarBase_Realize", (PyCFunction
) _wrap_ToolBarBase_Realize
, METH_VARARGS
| METH_KEYWORDS
},
31623 { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
},
31624 { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
},
31625 { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
},
31626 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
},
31627 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
},
31628 { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS
| METH_KEYWORDS
},
31629 { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
},
31630 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
},
31631 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
31632 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
31633 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
31634 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
31635 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
},
31636 { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
31637 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
},
31638 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
},
31639 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
) _wrap_ToolBarBase_GetToolMargins
, METH_VARARGS
| METH_KEYWORDS
},
31640 { (char *)"ToolBarBase_GetMargins", (PyCFunction
) _wrap_ToolBarBase_GetMargins
, METH_VARARGS
| METH_KEYWORDS
},
31641 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
) _wrap_ToolBarBase_GetToolPacking
, METH_VARARGS
| METH_KEYWORDS
},
31642 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_GetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
},
31643 { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
},
31644 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
},
31645 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
) _wrap_ToolBarBase_GetMaxRows
, METH_VARARGS
| METH_KEYWORDS
},
31646 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
) _wrap_ToolBarBase_GetMaxCols
, METH_VARARGS
| METH_KEYWORDS
},
31647 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
},
31648 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_GetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
},
31649 { (char *)"ToolBarBase_GetToolSize", (PyCFunction
) _wrap_ToolBarBase_GetToolSize
, METH_VARARGS
| METH_KEYWORDS
},
31650 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
},
31651 { (char *)"ToolBarBase_FindById", (PyCFunction
) _wrap_ToolBarBase_FindById
, METH_VARARGS
| METH_KEYWORDS
},
31652 { (char *)"ToolBarBase_IsVertical", (PyCFunction
) _wrap_ToolBarBase_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
31653 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS
},
31654 { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS
| METH_KEYWORDS
},
31655 { (char *)"new_PreToolBar", (PyCFunction
) _wrap_new_PreToolBar
, METH_VARARGS
| METH_KEYWORDS
},
31656 { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
31657 { (char *)"ToolBar_FindToolForPosition", (PyCFunction
) _wrap_ToolBar_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
},
31658 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToolBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31659 { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS
},
31660 { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
},
31661 { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31662 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31663 { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
31664 { (char *)"ListItemAttr_HasTextColour", (PyCFunction
) _wrap_ListItemAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31665 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31666 { (char *)"ListItemAttr_HasFont", (PyCFunction
) _wrap_ListItemAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
31667 { (char *)"ListItemAttr_GetTextColour", (PyCFunction
) _wrap_ListItemAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31668 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31669 { (char *)"ListItemAttr_GetFont", (PyCFunction
) _wrap_ListItemAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
31670 { (char *)"ListItemAttr_Destroy", (PyCFunction
) _wrap_ListItemAttr_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
31671 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS
},
31672 { (char *)"new_ListItem", (PyCFunction
) _wrap_new_ListItem
, METH_VARARGS
| METH_KEYWORDS
},
31673 { (char *)"delete_ListItem", (PyCFunction
) _wrap_delete_ListItem
, METH_VARARGS
| METH_KEYWORDS
},
31674 { (char *)"ListItem_Clear", (PyCFunction
) _wrap_ListItem_Clear
, METH_VARARGS
| METH_KEYWORDS
},
31675 { (char *)"ListItem_ClearAttributes", (PyCFunction
) _wrap_ListItem_ClearAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31676 { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
31677 { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
},
31678 { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
31679 { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
},
31680 { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
},
31681 { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
},
31682 { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
},
31683 { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
},
31684 { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
31685 { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
},
31686 { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31687 { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31688 { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
31689 { (char *)"ListItem_GetMask", (PyCFunction
) _wrap_ListItem_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
31690 { (char *)"ListItem_GetId", (PyCFunction
) _wrap_ListItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
31691 { (char *)"ListItem_GetColumn", (PyCFunction
) _wrap_ListItem_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
31692 { (char *)"ListItem_GetState", (PyCFunction
) _wrap_ListItem_GetState
, METH_VARARGS
| METH_KEYWORDS
},
31693 { (char *)"ListItem_GetText", (PyCFunction
) _wrap_ListItem_GetText
, METH_VARARGS
| METH_KEYWORDS
},
31694 { (char *)"ListItem_GetImage", (PyCFunction
) _wrap_ListItem_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
31695 { (char *)"ListItem_GetData", (PyCFunction
) _wrap_ListItem_GetData
, METH_VARARGS
| METH_KEYWORDS
},
31696 { (char *)"ListItem_GetWidth", (PyCFunction
) _wrap_ListItem_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
31697 { (char *)"ListItem_GetAlign", (PyCFunction
) _wrap_ListItem_GetAlign
, METH_VARARGS
| METH_KEYWORDS
},
31698 { (char *)"ListItem_GetAttributes", (PyCFunction
) _wrap_ListItem_GetAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31699 { (char *)"ListItem_HasAttributes", (PyCFunction
) _wrap_ListItem_HasAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31700 { (char *)"ListItem_GetTextColour", (PyCFunction
) _wrap_ListItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31701 { (char *)"ListItem_GetBackgroundColour", (PyCFunction
) _wrap_ListItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31702 { (char *)"ListItem_GetFont", (PyCFunction
) _wrap_ListItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
31703 { (char *)"ListItem_m_mask_set", (PyCFunction
) _wrap_ListItem_m_mask_set
, METH_VARARGS
| METH_KEYWORDS
},
31704 { (char *)"ListItem_m_mask_get", (PyCFunction
) _wrap_ListItem_m_mask_get
, METH_VARARGS
| METH_KEYWORDS
},
31705 { (char *)"ListItem_m_itemId_set", (PyCFunction
) _wrap_ListItem_m_itemId_set
, METH_VARARGS
| METH_KEYWORDS
},
31706 { (char *)"ListItem_m_itemId_get", (PyCFunction
) _wrap_ListItem_m_itemId_get
, METH_VARARGS
| METH_KEYWORDS
},
31707 { (char *)"ListItem_m_col_set", (PyCFunction
) _wrap_ListItem_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
31708 { (char *)"ListItem_m_col_get", (PyCFunction
) _wrap_ListItem_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
31709 { (char *)"ListItem_m_state_set", (PyCFunction
) _wrap_ListItem_m_state_set
, METH_VARARGS
| METH_KEYWORDS
},
31710 { (char *)"ListItem_m_state_get", (PyCFunction
) _wrap_ListItem_m_state_get
, METH_VARARGS
| METH_KEYWORDS
},
31711 { (char *)"ListItem_m_stateMask_set", (PyCFunction
) _wrap_ListItem_m_stateMask_set
, METH_VARARGS
| METH_KEYWORDS
},
31712 { (char *)"ListItem_m_stateMask_get", (PyCFunction
) _wrap_ListItem_m_stateMask_get
, METH_VARARGS
| METH_KEYWORDS
},
31713 { (char *)"ListItem_m_text_set", (PyCFunction
) _wrap_ListItem_m_text_set
, METH_VARARGS
| METH_KEYWORDS
},
31714 { (char *)"ListItem_m_text_get", (PyCFunction
) _wrap_ListItem_m_text_get
, METH_VARARGS
| METH_KEYWORDS
},
31715 { (char *)"ListItem_m_image_set", (PyCFunction
) _wrap_ListItem_m_image_set
, METH_VARARGS
| METH_KEYWORDS
},
31716 { (char *)"ListItem_m_image_get", (PyCFunction
) _wrap_ListItem_m_image_get
, METH_VARARGS
| METH_KEYWORDS
},
31717 { (char *)"ListItem_m_data_set", (PyCFunction
) _wrap_ListItem_m_data_set
, METH_VARARGS
| METH_KEYWORDS
},
31718 { (char *)"ListItem_m_data_get", (PyCFunction
) _wrap_ListItem_m_data_get
, METH_VARARGS
| METH_KEYWORDS
},
31719 { (char *)"ListItem_m_format_set", (PyCFunction
) _wrap_ListItem_m_format_set
, METH_VARARGS
| METH_KEYWORDS
},
31720 { (char *)"ListItem_m_format_get", (PyCFunction
) _wrap_ListItem_m_format_get
, METH_VARARGS
| METH_KEYWORDS
},
31721 { (char *)"ListItem_m_width_set", (PyCFunction
) _wrap_ListItem_m_width_set
, METH_VARARGS
| METH_KEYWORDS
},
31722 { (char *)"ListItem_m_width_get", (PyCFunction
) _wrap_ListItem_m_width_get
, METH_VARARGS
| METH_KEYWORDS
},
31723 { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS
},
31724 { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS
| METH_KEYWORDS
},
31725 { (char *)"ListEvent_m_code_set", (PyCFunction
) _wrap_ListEvent_m_code_set
, METH_VARARGS
| METH_KEYWORDS
},
31726 { (char *)"ListEvent_m_code_get", (PyCFunction
) _wrap_ListEvent_m_code_get
, METH_VARARGS
| METH_KEYWORDS
},
31727 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
31728 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
31729 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction
) _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
31730 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
) _wrap_ListEvent_m_itemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
31731 { (char *)"ListEvent_m_col_set", (PyCFunction
) _wrap_ListEvent_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
31732 { (char *)"ListEvent_m_col_get", (PyCFunction
) _wrap_ListEvent_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
31733 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction
) _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS
| METH_KEYWORDS
},
31734 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
) _wrap_ListEvent_m_pointDrag_get
, METH_VARARGS
| METH_KEYWORDS
},
31735 { (char *)"ListEvent_m_item_get", (PyCFunction
) _wrap_ListEvent_m_item_get
, METH_VARARGS
| METH_KEYWORDS
},
31736 { (char *)"ListEvent_GetKeyCode", (PyCFunction
) _wrap_ListEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
31737 { (char *)"ListEvent_GetIndex", (PyCFunction
) _wrap_ListEvent_GetIndex
, METH_VARARGS
| METH_KEYWORDS
},
31738 { (char *)"ListEvent_GetColumn", (PyCFunction
) _wrap_ListEvent_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
31739 { (char *)"ListEvent_GetPoint", (PyCFunction
) _wrap_ListEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
31740 { (char *)"ListEvent_GetLabel", (PyCFunction
) _wrap_ListEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
31741 { (char *)"ListEvent_GetText", (PyCFunction
) _wrap_ListEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
},
31742 { (char *)"ListEvent_GetImage", (PyCFunction
) _wrap_ListEvent_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
31743 { (char *)"ListEvent_GetData", (PyCFunction
) _wrap_ListEvent_GetData
, METH_VARARGS
| METH_KEYWORDS
},
31744 { (char *)"ListEvent_GetMask", (PyCFunction
) _wrap_ListEvent_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
31745 { (char *)"ListEvent_GetItem", (PyCFunction
) _wrap_ListEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
31746 { (char *)"ListEvent_GetCacheFrom", (PyCFunction
) _wrap_ListEvent_GetCacheFrom
, METH_VARARGS
| METH_KEYWORDS
},
31747 { (char *)"ListEvent_GetCacheTo", (PyCFunction
) _wrap_ListEvent_GetCacheTo
, METH_VARARGS
| METH_KEYWORDS
},
31748 { (char *)"ListEvent_IsEditCancelled", (PyCFunction
) _wrap_ListEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
},
31749 { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
},
31750 { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS
},
31751 { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31752 { (char *)"new_PreListCtrl", (PyCFunction
) _wrap_new_PreListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31753 { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
31754 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
31755 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction
) _wrap_ListCtrl_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31756 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31757 { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
31758 { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
31759 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
31760 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
31761 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
) _wrap_ListCtrl_GetCountPerPage
, METH_VARARGS
| METH_KEYWORDS
},
31762 { (char *)"ListCtrl_GetViewRect", (PyCFunction
) _wrap_ListCtrl_GetViewRect
, METH_VARARGS
| METH_KEYWORDS
},
31763 { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
31764 { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
},
31765 { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
},
31766 { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
},
31767 { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
},
31768 { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
31769 { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
31770 { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
31771 { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
31772 { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
31773 { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
31774 { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
},
31775 { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
31776 { (char *)"ListCtrl_GetItemCount", (PyCFunction
) _wrap_ListCtrl_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
31777 { (char *)"ListCtrl_GetColumnCount", (PyCFunction
) _wrap_ListCtrl_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
},
31778 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
) _wrap_ListCtrl_GetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
},
31779 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction
) _wrap_ListCtrl_SetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
},
31780 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
) _wrap_ListCtrl_GetSelectedItemCount
, METH_VARARGS
| METH_KEYWORDS
},
31781 { (char *)"ListCtrl_GetTextColour", (PyCFunction
) _wrap_ListCtrl_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31782 { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31783 { (char *)"ListCtrl_GetTopItem", (PyCFunction
) _wrap_ListCtrl_GetTopItem
, METH_VARARGS
| METH_KEYWORDS
},
31784 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
},
31785 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction
) _wrap_ListCtrl_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
31786 { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
},
31787 { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
31788 { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
31789 { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
31790 { (char *)"ListCtrl_InReportView", (PyCFunction
) _wrap_ListCtrl_InReportView
, METH_VARARGS
| METH_KEYWORDS
},
31791 { (char *)"ListCtrl_IsVirtual", (PyCFunction
) _wrap_ListCtrl_IsVirtual
, METH_VARARGS
| METH_KEYWORDS
},
31792 { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
},
31793 { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
},
31794 { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
},
31795 { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
31796 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
) _wrap_ListCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
31797 { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
},
31798 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
) _wrap_ListCtrl_DeleteAllColumns
, METH_VARARGS
| METH_KEYWORDS
},
31799 { (char *)"ListCtrl_ClearAll", (PyCFunction
) _wrap_ListCtrl_ClearAll
, METH_VARARGS
| METH_KEYWORDS
},
31800 { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
31801 { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
31802 { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
31803 { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
},
31804 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
},
31805 { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
31806 { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
31807 { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
},
31808 { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
},
31809 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
},
31810 { (char *)"ListCtrl_InsertColumnInfo", (PyCFunction
) _wrap_ListCtrl_InsertColumnInfo
, METH_VARARGS
| METH_KEYWORDS
},
31811 { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
},
31812 { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
31813 { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
},
31814 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31815 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31816 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31817 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31818 { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
},
31819 { (char *)"ListCtrl_GetMainWindow", (PyCFunction
) _wrap_ListCtrl_GetMainWindow
, METH_VARARGS
| METH_KEYWORDS
},
31820 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31821 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS
},
31822 { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS
| METH_KEYWORDS
},
31823 { (char *)"new_PreListView", (PyCFunction
) _wrap_new_PreListView
, METH_VARARGS
| METH_KEYWORDS
},
31824 { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS
| METH_KEYWORDS
},
31825 { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS
| METH_KEYWORDS
},
31826 { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS
| METH_KEYWORDS
},
31827 { (char *)"ListView_GetFocusedItem", (PyCFunction
) _wrap_ListView_GetFocusedItem
, METH_VARARGS
| METH_KEYWORDS
},
31828 { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
},
31829 { (char *)"ListView_GetFirstSelected", (PyCFunction
) _wrap_ListView_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
},
31830 { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
31831 { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
},
31832 { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
},
31833 { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS
},
31834 { (char *)"new_TreeItemId", (PyCFunction
) _wrap_new_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
31835 { (char *)"delete_TreeItemId", (PyCFunction
) _wrap_delete_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
31836 { (char *)"TreeItemId_IsOk", (PyCFunction
) _wrap_TreeItemId_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
31837 { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS
| METH_KEYWORDS
},
31838 { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS
| METH_KEYWORDS
},
31839 { (char *)"TreeItemId_m_pItem_set", (PyCFunction
) _wrap_TreeItemId_m_pItem_set
, METH_VARARGS
| METH_KEYWORDS
},
31840 { (char *)"TreeItemId_m_pItem_get", (PyCFunction
) _wrap_TreeItemId_m_pItem_get
, METH_VARARGS
| METH_KEYWORDS
},
31841 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS
},
31842 { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
},
31843 { (char *)"TreeItemData_GetData", (PyCFunction
) _wrap_TreeItemData_GetData
, METH_VARARGS
| METH_KEYWORDS
},
31844 { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
},
31845 { (char *)"TreeItemData_GetId", (PyCFunction
) _wrap_TreeItemData_GetId
, METH_VARARGS
| METH_KEYWORDS
},
31846 { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
},
31847 { (char *)"TreeItemData_Destroy", (PyCFunction
) _wrap_TreeItemData_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
31848 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS
},
31849 { (char *)"new_TreeEvent", (PyCFunction
) _wrap_new_TreeEvent
, METH_VARARGS
| METH_KEYWORDS
},
31850 { (char *)"TreeEvent_GetItem", (PyCFunction
) _wrap_TreeEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
31851 { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS
| METH_KEYWORDS
},
31852 { (char *)"TreeEvent_GetOldItem", (PyCFunction
) _wrap_TreeEvent_GetOldItem
, METH_VARARGS
| METH_KEYWORDS
},
31853 { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS
| METH_KEYWORDS
},
31854 { (char *)"TreeEvent_GetPoint", (PyCFunction
) _wrap_TreeEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
31855 { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS
| METH_KEYWORDS
},
31856 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
) _wrap_TreeEvent_GetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
31857 { (char *)"TreeEvent_GetKeyCode", (PyCFunction
) _wrap_TreeEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
31858 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
31859 { (char *)"TreeEvent_GetLabel", (PyCFunction
) _wrap_TreeEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
31860 { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
31861 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
) _wrap_TreeEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
},
31862 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
},
31863 { (char *)"TreeEvent_SetToolTip", (PyCFunction
) _wrap_TreeEvent_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
31864 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS
},
31865 { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31866 { (char *)"new_PreTreeCtrl", (PyCFunction
) _wrap_new_PreTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31867 { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
31868 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
31869 { (char *)"TreeCtrl_GetCount", (PyCFunction
) _wrap_TreeCtrl_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
31870 { (char *)"TreeCtrl_GetIndent", (PyCFunction
) _wrap_TreeCtrl_GetIndent
, METH_VARARGS
| METH_KEYWORDS
},
31871 { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
},
31872 { (char *)"TreeCtrl_GetSpacing", (PyCFunction
) _wrap_TreeCtrl_GetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
31873 { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
31874 { (char *)"TreeCtrl_GetImageList", (PyCFunction
) _wrap_TreeCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
31875 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
) _wrap_TreeCtrl_GetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
31876 { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
31877 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
31878 { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
31879 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
31880 { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
31881 { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
31882 { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
31883 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
},
31884 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31885 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31886 { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
31887 { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
31888 { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
31889 { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
31890 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
},
31891 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
31892 { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
},
31893 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31894 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31895 { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
31896 { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
31897 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
31898 { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
},
31899 { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
31900 { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
},
31901 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
},
31902 { (char *)"TreeCtrl_GetRootItem", (PyCFunction
) _wrap_TreeCtrl_GetRootItem
, METH_VARARGS
| METH_KEYWORDS
},
31903 { (char *)"TreeCtrl_GetSelection", (PyCFunction
) _wrap_TreeCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31904 { (char *)"TreeCtrl_GetSelections", (PyCFunction
) _wrap_TreeCtrl_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
31905 { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
},
31906 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
},
31907 { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
},
31908 { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
},
31909 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
},
31910 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
},
31911 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
) _wrap_TreeCtrl_GetFirstVisibleItem
, METH_VARARGS
| METH_KEYWORDS
},
31912 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
},
31913 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
},
31914 { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
},
31915 { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
31916 { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
31917 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
},
31918 { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
31919 { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
},
31920 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
},
31921 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
) _wrap_TreeCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
31922 { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
},
31923 { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
},
31924 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
},
31925 { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
31926 { (char *)"TreeCtrl_Unselect", (PyCFunction
) _wrap_TreeCtrl_Unselect
, METH_VARARGS
| METH_KEYWORDS
},
31927 { (char *)"TreeCtrl_UnselectItem", (PyCFunction
) _wrap_TreeCtrl_UnselectItem
, METH_VARARGS
| METH_KEYWORDS
},
31928 { (char *)"TreeCtrl_UnselectAll", (PyCFunction
) _wrap_TreeCtrl_UnselectAll
, METH_VARARGS
| METH_KEYWORDS
},
31929 { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
},
31930 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction
) _wrap_TreeCtrl_ToggleItemSelection
, METH_VARARGS
| METH_KEYWORDS
},
31931 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
31932 { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
},
31933 { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
31934 { (char *)"TreeCtrl_GetEditControl", (PyCFunction
) _wrap_TreeCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
},
31935 { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
},
31936 { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
31937 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
},
31938 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TreeCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31939 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS
},
31940 { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31941 { (char *)"new_PreGenericDirCtrl", (PyCFunction
) _wrap_new_PreGenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31942 { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
31943 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
},
31944 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_GetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
},
31945 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
},
31946 { (char *)"GenericDirCtrl_GetPath", (PyCFunction
) _wrap_GenericDirCtrl_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
31947 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
) _wrap_GenericDirCtrl_GetFilePath
, METH_VARARGS
| METH_KEYWORDS
},
31948 { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
31949 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
},
31950 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_GetShowHidden
, METH_VARARGS
| METH_KEYWORDS
},
31951 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
) _wrap_GenericDirCtrl_GetFilter
, METH_VARARGS
| METH_KEYWORDS
},
31952 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
},
31953 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
31954 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
31955 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
) _wrap_GenericDirCtrl_GetRootId
, METH_VARARGS
| METH_KEYWORDS
},
31956 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31957 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31958 { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS
| METH_KEYWORDS
},
31959 { (char *)"GenericDirCtrl_DoResize", (PyCFunction
) _wrap_GenericDirCtrl_DoResize
, METH_VARARGS
| METH_KEYWORDS
},
31960 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
) _wrap_GenericDirCtrl_ReCreateTree
, METH_VARARGS
| METH_KEYWORDS
},
31961 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS
},
31962 { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31963 { (char *)"new_PreDirFilterListCtrl", (PyCFunction
) _wrap_new_PreDirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31964 { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
31965 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
},
31966 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS
},
31967 { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS
| METH_KEYWORDS
},
31968 { (char *)"new_PrePyControl", (PyCFunction
) _wrap_new_PrePyControl
, METH_VARARGS
| METH_KEYWORDS
},
31969 { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
31970 { (char *)"PyControl_SetBestSize", (PyCFunction
) _wrap_PyControl_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
31971 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction
) _wrap_PyControl_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
31972 { (char *)"PyControl_base_DoSetSize", (PyCFunction
) _wrap_PyControl_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
31973 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction
) _wrap_PyControl_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
31974 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
31975 { (char *)"PyControl_base_DoGetSize", (PyCFunction
) _wrap_PyControl_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
31976 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction
) _wrap_PyControl_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
31977 { (char *)"PyControl_base_DoGetPosition", (PyCFunction
) _wrap_PyControl_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
31978 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
31979 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction
) _wrap_PyControl_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
31980 { (char *)"PyControl_base_InitDialog", (PyCFunction
) _wrap_PyControl_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
31981 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
31982 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
31983 { (char *)"PyControl_base_Validate", (PyCFunction
) _wrap_PyControl_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
31984 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction
) _wrap_PyControl_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
31985 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyControl_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
31986 { (char *)"PyControl_base_GetMaxSize", (PyCFunction
) _wrap_PyControl_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
31987 { (char *)"PyControl_base_AddChild", (PyCFunction
) _wrap_PyControl_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
31988 { (char *)"PyControl_base_RemoveChild", (PyCFunction
) _wrap_PyControl_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
31989 { (char *)"PyControl_base_ShouldInheritColours", (PyCFunction
) _wrap_PyControl_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
},
31990 { (char *)"PyControl_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyControl_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
},
31991 { (char *)"PyControl_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyControl_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31992 { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS
},
31993 { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS
| METH_KEYWORDS
},
31994 { (char *)"HelpEvent_GetPosition", (PyCFunction
) _wrap_HelpEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
31995 { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
31996 { (char *)"HelpEvent_GetLink", (PyCFunction
) _wrap_HelpEvent_GetLink
, METH_VARARGS
| METH_KEYWORDS
},
31997 { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
},
31998 { (char *)"HelpEvent_GetTarget", (PyCFunction
) _wrap_HelpEvent_GetTarget
, METH_VARARGS
| METH_KEYWORDS
},
31999 { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
},
32000 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS
},
32001 { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
32002 { (char *)"delete_ContextHelp", (PyCFunction
) _wrap_delete_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
32003 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
32004 { (char *)"ContextHelp_EndContextHelp", (PyCFunction
) _wrap_ContextHelp_EndContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
32005 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS
},
32006 { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
},
32007 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS
},
32008 { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
},
32009 { (char *)"HelpProvider_Get", (PyCFunction
) _wrap_HelpProvider_Get
, METH_VARARGS
| METH_KEYWORDS
},
32010 { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
},
32011 { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
32012 { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
},
32013 { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
},
32014 { (char *)"HelpProvider_RemoveHelp", (PyCFunction
) _wrap_HelpProvider_RemoveHelp
, METH_VARARGS
| METH_KEYWORDS
},
32015 { (char *)"HelpProvider_Destroy", (PyCFunction
) _wrap_HelpProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
32016 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS
},
32017 { (char *)"new_SimpleHelpProvider", (PyCFunction
) _wrap_new_SimpleHelpProvider
, METH_VARARGS
| METH_KEYWORDS
},
32018 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS
},
32019 { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS
| METH_KEYWORDS
},
32020 { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS
| METH_KEYWORDS
},
32021 { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS
| METH_KEYWORDS
},
32022 { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS
| METH_KEYWORDS
},
32023 { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS
| METH_KEYWORDS
},
32024 { (char *)"delete_DragImage", (PyCFunction
) _wrap_delete_DragImage
, METH_VARARGS
| METH_KEYWORDS
},
32025 { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
},
32026 { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
},
32027 { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
},
32028 { (char *)"DragImage_EndDrag", (PyCFunction
) _wrap_DragImage_EndDrag
, METH_VARARGS
| METH_KEYWORDS
},
32029 { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS
| METH_KEYWORDS
},
32030 { (char *)"DragImage_Show", (PyCFunction
) _wrap_DragImage_Show
, METH_VARARGS
| METH_KEYWORDS
},
32031 { (char *)"DragImage_Hide", (PyCFunction
) _wrap_DragImage_Hide
, METH_VARARGS
| METH_KEYWORDS
},
32032 { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
},
32033 { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS
| METH_KEYWORDS
},
32034 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
32035 { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
},
32036 { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS
},
32041 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
32043 static void *_p_wxNotebookEventTo_p_wxBookCtrlEvent(void *x
) {
32044 return (void *)((wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
32046 static void *_p_wxListbookEventTo_p_wxBookCtrlEvent(void *x
) {
32047 return (void *)((wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
32049 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
32050 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
32052 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
32053 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
32055 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
32056 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
32058 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
32059 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
32061 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
32062 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
32064 static void *_p_wxNotebookSizerTo_p_wxSizer(void *x
) {
32065 return (void *)((wxSizer
*) ((wxNotebookSizer
*) x
));
32067 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
32068 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
32070 static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x
) {
32071 return (void *)((wxSizer
*) ((wxBookCtrlSizer
*) x
));
32073 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
32074 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32076 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
32077 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
32079 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
32080 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
32082 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
32083 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
32085 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
32086 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
32088 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
32089 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
32091 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
32092 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
32094 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
32095 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
32097 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
32098 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
32100 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
32101 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
32103 static void *_p_wxBookCtrlEventTo_p_wxEvent(void *x
) {
32104 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
32106 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
32107 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
32109 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
32110 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32112 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
32113 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
32115 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
32116 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
32118 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
32119 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
32121 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
32122 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
32124 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
32125 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
32127 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
32128 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32130 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
32131 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
32133 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
32134 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
32136 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
32137 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
32139 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
32140 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
32142 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
32143 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
32145 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
32146 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
32148 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
32149 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
32151 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
32152 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
32154 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
32155 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32157 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
32158 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
32160 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
32161 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
32163 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
32164 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
32166 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
32167 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
32169 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
32170 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
32172 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
32173 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
32175 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
32176 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32178 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
32179 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
32181 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
32182 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
32184 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
32185 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32187 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
32188 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32190 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
32191 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
32193 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
32194 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
32196 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
32197 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
32199 static void *_p_wxSpinEventTo_p_wxEvent(void *x
) {
32200 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
32202 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) {
32203 return (void *)((wxItemContainer
*) ((wxComboBox
*) x
));
32205 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) {
32206 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32208 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) {
32209 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxChoice
*) x
));
32211 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
32212 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
32214 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) {
32215 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxListBox
*) x
));
32217 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) {
32218 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
32220 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
32221 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
32223 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
32224 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
32226 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
32227 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
32229 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
32230 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
32232 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
32233 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
32235 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
32236 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
32238 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
32239 return (void *)((wxControl
*) ((wxComboBox
*) x
));
32241 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
32242 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
32244 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
32245 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
32247 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
32248 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
32250 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
32251 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
32253 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
32254 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32256 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
32257 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
32259 static void *_p_wxBookCtrlTo_p_wxControl(void *x
) {
32260 return (void *)((wxControl
*) ((wxBookCtrl
*) x
));
32262 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
32263 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
32265 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
32266 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
32268 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
32269 return (void *)((wxControl
*) ((wxGauge
*) x
));
32271 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
32272 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
32274 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
32275 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
32277 static void *_p_wxButtonTo_p_wxControl(void *x
) {
32278 return (void *)((wxControl
*) ((wxButton
*) x
));
32280 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
32281 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
32283 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
32284 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
32286 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
32287 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
32289 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
32290 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
32292 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
32293 return (void *)((wxControl
*) (wxBookCtrl
*) ((wxNotebook
*) x
));
32295 static void *_p_wxListbookTo_p_wxControl(void *x
) {
32296 return (void *)((wxControl
*) (wxBookCtrl
*) ((wxListbook
*) x
));
32298 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
32299 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
32301 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
32302 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
32304 static void *_p_wxListViewTo_p_wxControl(void *x
) {
32305 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
32307 static void *_p_wxSliderTo_p_wxControl(void *x
) {
32308 return (void *)((wxControl
*) ((wxSlider
*) x
));
32310 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
32311 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
32313 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
32314 return (void *)((wxControl
*) ((wxPyControl
*) x
));
32316 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
32317 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
32319 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
32320 return (void *)((wxControl
*) ((wxStaticText
*) x
));
32322 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) {
32323 return (void *)((wxToolBarBase
*) ((wxToolBar
*) x
));
32325 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) {
32326 return (void *)((wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32328 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) {
32329 return (void *)((wxNotifyEvent
*) ((wxTreeEvent
*) x
));
32331 static void *_p_wxBookCtrlEventTo_p_wxNotifyEvent(void *x
) {
32332 return (void *)((wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
32334 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) {
32335 return (void *)((wxNotifyEvent
*) ((wxListEvent
*) x
));
32337 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x
) {
32338 return (void *)((wxNotifyEvent
*) ((wxSpinEvent
*) x
));
32340 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) {
32341 return (void *)((wxNotifyEvent
*) (wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
32343 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) {
32344 return (void *)((wxNotifyEvent
*) (wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
32346 static void *_p_wxBookCtrlTo_p_wxEvtHandler(void *x
) {
32347 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrl
*) x
));
32349 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
32350 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
32352 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
32353 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
32355 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
32356 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
32358 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
32359 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
32361 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
32362 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
32364 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
32365 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
32367 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
32368 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
32370 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
32371 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
32373 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
32374 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
32376 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
32377 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
32379 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
32380 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
32382 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
32383 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
32385 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
32386 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32388 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
32389 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
32391 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
32392 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
32394 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
32395 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
32397 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
32398 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
32400 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
32401 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
32403 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
32404 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
32406 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
32407 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
32409 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
32410 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
32412 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
32413 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
32415 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
32416 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
32418 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
32419 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
32421 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
32422 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
32424 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
32425 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
32427 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
32428 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
32430 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
32431 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
32433 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
32434 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
32436 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
32437 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
32439 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
32440 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
32442 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
32443 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
32445 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
32446 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
32448 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
32449 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
32451 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
32452 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
32454 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
32455 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
32457 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
32458 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
32460 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
32461 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
32463 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
32464 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
32466 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) {
32467 return (void *)((wxListBox
*) ((wxCheckListBox
*) x
));
32469 static void *_p_wxListbookTo_p_wxBookCtrl(void *x
) {
32470 return (void *)((wxBookCtrl
*) ((wxListbook
*) x
));
32472 static void *_p_wxNotebookTo_p_wxBookCtrl(void *x
) {
32473 return (void *)((wxBookCtrl
*) ((wxNotebook
*) x
));
32475 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) {
32476 return (void *)((wxButton
*) ((wxBitmapButton
*) x
));
32478 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) {
32479 return (void *)((wxButton
*) (wxBitmapButton
*) ((wxContextHelpButton
*) x
));
32481 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) {
32482 return (void *)((wxBitmapButton
*) ((wxContextHelpButton
*) x
));
32484 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) {
32485 return (void *)((wxHelpProvider
*) ((wxSimpleHelpProvider
*) x
));
32487 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
32488 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
32490 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
32491 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
32493 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
32494 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
32496 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
32497 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
32499 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
32500 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
32502 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
32503 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
32505 static void *_p_wxBookCtrlEventTo_p_wxObject(void *x
) {
32506 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
32508 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
32509 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
32511 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
32512 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
32514 static void *_p_wxSizerTo_p_wxObject(void *x
) {
32515 return (void *)((wxObject
*) ((wxSizer
*) x
));
32517 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
32518 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
32520 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
32521 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
32523 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
32524 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
32526 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
32527 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32529 static void *_p_wxEventTo_p_wxObject(void *x
) {
32530 return (void *)((wxObject
*) ((wxEvent
*) x
));
32532 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
32533 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
32535 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
32536 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
32538 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
32539 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
32541 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
32542 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
32544 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
32545 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
32547 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
32548 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32550 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
32551 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
32553 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
32554 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
32556 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
32557 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
32559 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
32560 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
32562 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
32563 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
32565 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
32566 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
32568 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
32569 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
32571 static void *_p_wxControlTo_p_wxObject(void *x
) {
32572 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
32574 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
32575 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
32577 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
32578 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
32580 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
32581 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
32583 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
32584 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
32586 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
32587 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
32589 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
32590 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
32592 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
32593 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
32595 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
32596 return (void *)((wxObject
*) ((wxFSFile
*) x
));
32598 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
32599 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
32601 static void *_p_wxListViewTo_p_wxObject(void *x
) {
32602 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
32604 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
32605 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
32607 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
32608 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
32610 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
32611 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
32613 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
32614 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32616 static void *_p_wxListbookTo_p_wxObject(void *x
) {
32617 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
32619 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
32620 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
32622 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
32623 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
32625 static void *_p_wxSliderTo_p_wxObject(void *x
) {
32626 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
32628 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
32629 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
32631 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
32632 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
32634 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
32635 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32637 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
32638 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
32640 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
32641 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
32643 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
32644 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
32646 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
32647 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
32649 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
32650 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
32652 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
32653 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
32655 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
32656 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
32658 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
32659 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
32661 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
32662 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
32664 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
32665 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
32667 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
32668 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
32670 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
32671 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
32673 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
32674 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
32676 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
32677 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
32679 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
32680 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
32682 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
32683 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
32685 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
32686 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
32688 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
32689 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
32691 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
32692 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
32694 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
32695 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
32697 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
32698 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
32700 static void *_p_wxListEventTo_p_wxObject(void *x
) {
32701 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
32703 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
32704 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
32706 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
32707 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
32709 static void *_p_wxBookCtrlTo_p_wxObject(void *x
) {
32710 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrl
*) x
));
32712 static void *_p_wxButtonTo_p_wxObject(void *x
) {
32713 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
32715 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
32716 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
32718 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
32719 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
32721 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
32722 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
32724 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
32725 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
32727 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
32728 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
32730 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
32731 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
32733 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
32734 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
32736 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
32737 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
32739 static void *_p_wxListItemTo_p_wxObject(void *x
) {
32740 return (void *)((wxObject
*) ((wxListItem
*) x
));
32742 static void *_p_wxImageTo_p_wxObject(void *x
) {
32743 return (void *)((wxObject
*) ((wxImage
*) x
));
32745 static void *_p_wxNotebookSizerTo_p_wxObject(void *x
) {
32746 return (void *)((wxObject
*) (wxSizer
*) ((wxNotebookSizer
*) x
));
32748 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
32749 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
32751 static void *_p_wxSpinEventTo_p_wxObject(void *x
) {
32752 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
32754 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
32755 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
32757 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
32758 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
32760 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
32761 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
32763 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
32764 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
32766 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
32767 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32769 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
32770 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
32772 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
32773 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
32775 static void *_p_wxWindowTo_p_wxObject(void *x
) {
32776 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
32778 static void *_p_wxMenuTo_p_wxObject(void *x
) {
32779 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
32781 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
32782 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
32784 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
32785 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
32787 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
32788 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32790 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
32791 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
32793 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
32794 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
32796 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
32797 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
32799 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
32800 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
32802 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
32803 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
32805 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
32806 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
32808 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
32809 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32811 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
32812 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
32814 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
32815 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
32817 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
32818 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
32820 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
32821 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
32823 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
32824 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32826 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
32827 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
32829 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
32830 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
32832 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
32833 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
32835 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
32836 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
32838 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
32839 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
32841 static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x
) {
32842 return (void *)((wxObject
*) (wxSizer
*) ((wxBookCtrlSizer
*) x
));
32844 static void *_p_wxBookCtrlTo_p_wxWindow(void *x
) {
32845 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrl
*) x
));
32847 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
32848 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
32850 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
32851 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
32853 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
32854 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
32856 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
32857 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
32859 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
32860 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
32862 static void *_p_wxControlTo_p_wxWindow(void *x
) {
32863 return (void *)((wxWindow
*) ((wxControl
*) x
));
32865 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
32866 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
32868 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
32869 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32871 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
32872 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
32874 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
32875 return (void *)((wxWindow
*) (wxControl
*) ((wxComboBox
*) x
));
32877 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
32878 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
32880 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
32881 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
32883 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
32884 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
32886 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
32887 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
32889 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
32890 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
32892 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
32893 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
32895 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
32896 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
32898 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
32899 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
32901 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
32902 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
32904 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
32905 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
32907 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
32908 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
32910 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
32911 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
32913 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
32914 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
32916 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
32917 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
32919 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
32920 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
32922 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
32923 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
32925 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
32926 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
32928 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
32929 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
32931 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
32932 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
32934 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
32935 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
32937 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
32938 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
32940 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
32941 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
32943 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
32944 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
32946 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
32947 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
32949 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
32950 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32952 static void *_p_wxBookCtrlEventTo_p_wxCommandEvent(void *x
) {
32953 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
32955 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
32956 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
32958 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
32959 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
32961 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
32962 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32964 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
32965 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32967 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
32968 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32970 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
32971 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
32973 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
32974 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
32976 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
32977 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
32979 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
32980 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32982 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
32983 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
32985 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x
) {
32986 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSpinEvent
*) x
));
32988 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
32989 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
32991 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
32992 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32994 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
32995 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32997 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) {
32998 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxDirFilterListCtrl
*) x
));
33000 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) {
33001 return (void *)((wxControlWithItems
*) ((wxChoice
*) x
));
33003 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) {
33004 return (void *)((wxControlWithItems
*) ((wxListBox
*) x
));
33006 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) {
33007 return (void *)((wxControlWithItems
*) (wxListBox
*) ((wxCheckListBox
*) x
));
33009 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
33010 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
33012 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}};
33013 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}};
33014 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}};
33015 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}};
33016 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}};
33017 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}};
33018 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}};
33019 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}};
33020 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}};
33021 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}};
33022 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}};
33023 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}};
33024 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}};
33025 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}};
33026 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}};
33027 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}};
33028 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}};
33029 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}};
33030 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}};
33031 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}};
33032 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}};
33033 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}};
33034 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}};
33035 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}};
33036 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}};
33037 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}};
33038 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}};
33039 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}};
33040 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}};
33041 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}};
33042 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}};
33043 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}};
33044 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}};
33045 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}};
33046 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}};
33047 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}};
33048 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}};
33049 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}};
33050 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}};
33051 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}};
33052 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}};
33053 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}};
33054 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}};
33055 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}};
33056 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}};
33057 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}};
33058 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}};
33059 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}};
33060 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}};
33061 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}};
33062 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}};
33063 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}};
33064 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}};
33065 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}};
33066 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}};
33067 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}};
33068 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}};
33069 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}};
33070 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}};
33071 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}};
33072 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}};
33073 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}};
33074 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}};
33075 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}};
33076 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}};
33077 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}};
33078 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}};
33079 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}};
33080 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}};
33081 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}};
33082 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}};
33083 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}};
33084 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}};
33085 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}};
33086 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}};
33087 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}};
33088 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}};
33089 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}};
33090 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}};
33091 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}};
33092 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}};
33093 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}};
33094 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}};
33095 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}};
33096 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}};
33098 static swig_type_info
*swig_types_initial
[] = {
33099 _swigt__p_wxTextUrlEvent
,
33100 _swigt__p_wxBookCtrlEvent
,
33102 _swigt__p_wxCheckBox
,
33103 _swigt__p_wxPyTreeCtrl
,
33105 _swigt__p_wxGenericDirCtrl
,
33107 _swigt__p_wxPyTreeItemData
,
33108 _swigt__p_wxItemContainer
,
33109 _swigt__p_wxPyListCtrl
,
33110 _swigt__p_wxDirFilterListCtrl
,
33111 _swigt__p_wxStaticLine
,
33112 _swigt__p_wxControl
,
33113 _swigt__p_wxPyControl
,
33115 _swigt__p_wxToolBarBase
,
33117 _swigt__p_wxToggleButton
,
33118 _swigt__p_wxRadioButton
,
33119 _swigt__p_wxChoice
,
33120 _swigt__p_wxMemoryDC
,
33121 _swigt__p_wxListItemAttr
,
33126 _swigt__p_wxListView
,
33128 _swigt__p_wxVisualAttributes
,
33129 _swigt__p_wxTextCtrl
,
33130 _swigt__p_wxNotebook
,
33131 _swigt__p_wxNotifyEvent
,
33132 _swigt__p_wxArrayString
,
33133 _swigt__p_wxListbook
,
33134 _swigt__p_wxStaticBitmap
,
33135 _swigt__p_wxSlider
,
33136 _swigt__p_wxStaticBox
,
33137 _swigt__p_wxArrayInt
,
33138 _swigt__p_wxContextHelp
,
33140 _swigt__p_wxEvtHandler
,
33141 _swigt__p_wxListEvent
,
33142 _swigt__p_wxCheckListBox
,
33143 _swigt__p_wxListBox
,
33144 _swigt__p_wxBookCtrl
,
33145 _swigt__p_wxSpinButton
,
33146 _swigt__p_wxButton
,
33147 _swigt__p_wxBitmapButton
,
33149 _swigt__p_wxContextHelpButton
,
33150 _swigt__p_wxRadioBox
,
33151 _swigt__p_wxScrollBar
,
33153 _swigt__p_wxTreeItemId
,
33154 _swigt__p_wxComboBox
,
33155 _swigt__p_wxHelpEvent
,
33156 _swigt__p_wxListItem
,
33157 _swigt__p_wxNotebookSizer
,
33158 _swigt__p_wxSpinEvent
,
33159 _swigt__p_wxGenericDragImage
,
33160 _swigt__p_wxSpinCtrl
,
33161 _swigt__p_wxImageList
,
33162 _swigt__p_wxHelpProvider
,
33163 _swigt__p_wxTextAttr
,
33164 _swigt__p_wxSimpleHelpProvider
,
33166 _swigt__p_wxListbookEvent
,
33167 _swigt__p_wxNotebookEvent
,
33168 _swigt__p_wxObject
,
33169 _swigt__p_wxCursor
,
33170 _swigt__p_wxKeyEvent
,
33171 _swigt__p_wxWindow
,
33172 _swigt__p_wxString
,
33173 _swigt__p_wxBitmap
,
33174 _swigt__p_wxTreeEvent
,
33175 _swigt__p_wxMouseEvent
,
33176 _swigt__p_wxCommandEvent
,
33177 _swigt__p_wxStaticText
,
33178 _swigt__p_wxControlWithItems
,
33179 _swigt__p_wxToolBarToolBase
,
33180 _swigt__p_wxColour
,
33181 _swigt__p_wxToolBar
,
33182 _swigt__p_wxBookCtrlSizer
,
33183 _swigt__p_wxValidator
,
33188 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
33190 static swig_const_info swig_const_table
[] = {
33200 SWIGEXPORT(void) SWIG_init(void) {
33201 static PyObject
*SWIG_globals
= 0;
33202 static int typeinit
= 0;
33205 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
33206 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
33207 d
= PyModule_GetDict(m
);
33210 for (i
= 0; swig_types_initial
[i
]; i
++) {
33211 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
33215 SWIG_InstallConstants(d
,swig_const_table
);
33217 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
33218 SWIG_addvarlink(SWIG_globals
,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get
, _wrap_ButtonNameStr_set
);
33219 PyDict_SetItemString(d
,"BU_LEFT", SWIG_FromInt((int)wxBU_LEFT
));
33220 PyDict_SetItemString(d
,"BU_TOP", SWIG_FromInt((int)wxBU_TOP
));
33221 PyDict_SetItemString(d
,"BU_RIGHT", SWIG_FromInt((int)wxBU_RIGHT
));
33222 PyDict_SetItemString(d
,"BU_BOTTOM", SWIG_FromInt((int)wxBU_BOTTOM
));
33223 PyDict_SetItemString(d
,"BU_EXACTFIT", SWIG_FromInt((int)wxBU_EXACTFIT
));
33224 PyDict_SetItemString(d
,"BU_AUTODRAW", SWIG_FromInt((int)wxBU_AUTODRAW
));
33225 SWIG_addvarlink(SWIG_globals
,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get
, _wrap_CheckBoxNameStr_set
);
33226 PyDict_SetItemString(d
,"CHK_2STATE", SWIG_FromInt((int)wxCHK_2STATE
));
33227 PyDict_SetItemString(d
,"CHK_3STATE", SWIG_FromInt((int)wxCHK_3STATE
));
33228 PyDict_SetItemString(d
,"CHK_ALLOW_3RD_STATE_FOR_USER", SWIG_FromInt((int)wxCHK_ALLOW_3RD_STATE_FOR_USER
));
33229 PyDict_SetItemString(d
,"CHK_UNCHECKED", SWIG_FromInt((int)wxCHK_UNCHECKED
));
33230 PyDict_SetItemString(d
,"CHK_CHECKED", SWIG_FromInt((int)wxCHK_CHECKED
));
33231 PyDict_SetItemString(d
,"CHK_UNDETERMINED", SWIG_FromInt((int)wxCHK_UNDETERMINED
));
33232 SWIG_addvarlink(SWIG_globals
,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get
, _wrap_ChoiceNameStr_set
);
33233 SWIG_addvarlink(SWIG_globals
,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get
, _wrap_ComboBoxNameStr_set
);
33234 SWIG_addvarlink(SWIG_globals
,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get
, _wrap_GaugeNameStr_set
);
33235 PyDict_SetItemString(d
,"GA_HORIZONTAL", SWIG_FromInt((int)wxGA_HORIZONTAL
));
33236 PyDict_SetItemString(d
,"GA_VERTICAL", SWIG_FromInt((int)wxGA_VERTICAL
));
33237 PyDict_SetItemString(d
,"GA_SMOOTH", SWIG_FromInt((int)wxGA_SMOOTH
));
33238 PyDict_SetItemString(d
,"GA_PROGRESSBAR", SWIG_FromInt((int)wxGA_PROGRESSBAR
));
33239 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get
, _wrap_StaticBitmapNameStr_set
);
33240 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get
, _wrap_StaticBoxNameStr_set
);
33241 SWIG_addvarlink(SWIG_globals
,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get
, _wrap_StaticTextNameStr_set
);
33242 SWIG_addvarlink(SWIG_globals
,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get
, _wrap_ListBoxNameStr_set
);
33243 SWIG_addvarlink(SWIG_globals
,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get
, _wrap_TextCtrlNameStr_set
);
33244 PyDict_SetItemString(d
,"TE_NO_VSCROLL", SWIG_FromInt((int)wxTE_NO_VSCROLL
));
33245 PyDict_SetItemString(d
,"TE_AUTO_SCROLL", SWIG_FromInt((int)wxTE_AUTO_SCROLL
));
33246 PyDict_SetItemString(d
,"TE_READONLY", SWIG_FromInt((int)wxTE_READONLY
));
33247 PyDict_SetItemString(d
,"TE_MULTILINE", SWIG_FromInt((int)wxTE_MULTILINE
));
33248 PyDict_SetItemString(d
,"TE_PROCESS_TAB", SWIG_FromInt((int)wxTE_PROCESS_TAB
));
33249 PyDict_SetItemString(d
,"TE_LEFT", SWIG_FromInt((int)wxTE_LEFT
));
33250 PyDict_SetItemString(d
,"TE_CENTER", SWIG_FromInt((int)wxTE_CENTER
));
33251 PyDict_SetItemString(d
,"TE_RIGHT", SWIG_FromInt((int)wxTE_RIGHT
));
33252 PyDict_SetItemString(d
,"TE_CENTRE", SWIG_FromInt((int)wxTE_CENTRE
));
33253 PyDict_SetItemString(d
,"TE_RICH", SWIG_FromInt((int)wxTE_RICH
));
33254 PyDict_SetItemString(d
,"TE_PROCESS_ENTER", SWIG_FromInt((int)wxTE_PROCESS_ENTER
));
33255 PyDict_SetItemString(d
,"TE_PASSWORD", SWIG_FromInt((int)wxTE_PASSWORD
));
33256 PyDict_SetItemString(d
,"TE_AUTO_URL", SWIG_FromInt((int)wxTE_AUTO_URL
));
33257 PyDict_SetItemString(d
,"TE_NOHIDESEL", SWIG_FromInt((int)wxTE_NOHIDESEL
));
33258 PyDict_SetItemString(d
,"TE_DONTWRAP", SWIG_FromInt((int)wxTE_DONTWRAP
));
33259 PyDict_SetItemString(d
,"TE_LINEWRAP", SWIG_FromInt((int)wxTE_LINEWRAP
));
33260 PyDict_SetItemString(d
,"TE_WORDWRAP", SWIG_FromInt((int)wxTE_WORDWRAP
));
33261 PyDict_SetItemString(d
,"TE_RICH2", SWIG_FromInt((int)wxTE_RICH2
));
33262 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_DEFAULT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_DEFAULT
));
33263 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_LEFT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_LEFT
));
33264 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTRE", SWIG_FromInt((int)wxTEXT_ALIGNMENT_CENTRE
));
33265 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTER", SWIG_FromInt((int)wxTEXT_ALIGNMENT_CENTER
));
33266 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_RIGHT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_RIGHT
));
33267 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_JUSTIFIED", SWIG_FromInt((int)wxTEXT_ALIGNMENT_JUSTIFIED
));
33268 PyDict_SetItemString(d
,"TEXT_ATTR_TEXT_COLOUR", SWIG_FromInt((int)wxTEXT_ATTR_TEXT_COLOUR
));
33269 PyDict_SetItemString(d
,"TEXT_ATTR_BACKGROUND_COLOUR", SWIG_FromInt((int)wxTEXT_ATTR_BACKGROUND_COLOUR
));
33270 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_FACE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_FACE
));
33271 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_SIZE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_SIZE
));
33272 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_WEIGHT", SWIG_FromInt((int)wxTEXT_ATTR_FONT_WEIGHT
));
33273 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_ITALIC", SWIG_FromInt((int)wxTEXT_ATTR_FONT_ITALIC
));
33274 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_UNDERLINE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_UNDERLINE
));
33275 PyDict_SetItemString(d
,"TEXT_ATTR_FONT", SWIG_FromInt((int)wxTEXT_ATTR_FONT
));
33276 PyDict_SetItemString(d
,"TEXT_ATTR_ALIGNMENT", SWIG_FromInt((int)wxTEXT_ATTR_ALIGNMENT
));
33277 PyDict_SetItemString(d
,"TEXT_ATTR_LEFT_INDENT", SWIG_FromInt((int)wxTEXT_ATTR_LEFT_INDENT
));
33278 PyDict_SetItemString(d
,"TEXT_ATTR_RIGHT_INDENT", SWIG_FromInt((int)wxTEXT_ATTR_RIGHT_INDENT
));
33279 PyDict_SetItemString(d
,"TEXT_ATTR_TABS", SWIG_FromInt((int)wxTEXT_ATTR_TABS
));
33280 PyDict_SetItemString(d
,"TE_HT_UNKNOWN", SWIG_FromInt((int)wxTE_HT_UNKNOWN
));
33281 PyDict_SetItemString(d
,"TE_HT_BEFORE", SWIG_FromInt((int)wxTE_HT_BEFORE
));
33282 PyDict_SetItemString(d
,"TE_HT_ON_TEXT", SWIG_FromInt((int)wxTE_HT_ON_TEXT
));
33283 PyDict_SetItemString(d
,"TE_HT_BELOW", SWIG_FromInt((int)wxTE_HT_BELOW
));
33284 PyDict_SetItemString(d
,"TE_HT_BEYOND", SWIG_FromInt((int)wxTE_HT_BEYOND
));
33285 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED
));
33286 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER
));
33287 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL
));
33288 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN
));
33289 SWIG_addvarlink(SWIG_globals
,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get
, _wrap_ScrollBarNameStr_set
);
33290 SWIG_addvarlink(SWIG_globals
,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get
, _wrap_SPIN_BUTTON_NAME_set
);
33291 SWIG_addvarlink(SWIG_globals
,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get
, _wrap_SpinCtrlNameStr_set
);
33292 PyDict_SetItemString(d
,"SP_HORIZONTAL", SWIG_FromInt((int)wxSP_HORIZONTAL
));
33293 PyDict_SetItemString(d
,"SP_VERTICAL", SWIG_FromInt((int)wxSP_VERTICAL
));
33294 PyDict_SetItemString(d
,"SP_ARROW_KEYS", SWIG_FromInt((int)wxSP_ARROW_KEYS
));
33295 PyDict_SetItemString(d
,"SP_WRAP", SWIG_FromInt((int)wxSP_WRAP
));
33296 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED
));
33297 SWIG_addvarlink(SWIG_globals
,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get
, _wrap_RadioBoxNameStr_set
);
33298 SWIG_addvarlink(SWIG_globals
,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get
, _wrap_RadioButtonNameStr_set
);
33299 SWIG_addvarlink(SWIG_globals
,(char*)"SliderNameStr",_wrap_SliderNameStr_get
, _wrap_SliderNameStr_set
);
33300 SWIG_addvarlink(SWIG_globals
,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get
, _wrap_ToggleButtonNameStr_set
);
33301 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
33302 SWIG_addvarlink(SWIG_globals
,(char*)"NOTEBOOK_NAME",_wrap_NOTEBOOK_NAME_get
, _wrap_NOTEBOOK_NAME_set
);
33303 PyDict_SetItemString(d
,"NB_FIXEDWIDTH", SWIG_FromInt((int)wxNB_FIXEDWIDTH
));
33304 PyDict_SetItemString(d
,"NB_TOP", SWIG_FromInt((int)wxNB_TOP
));
33305 PyDict_SetItemString(d
,"NB_LEFT", SWIG_FromInt((int)wxNB_LEFT
));
33306 PyDict_SetItemString(d
,"NB_RIGHT", SWIG_FromInt((int)wxNB_RIGHT
));
33307 PyDict_SetItemString(d
,"NB_BOTTOM", SWIG_FromInt((int)wxNB_BOTTOM
));
33308 PyDict_SetItemString(d
,"NB_MULTILINE", SWIG_FromInt((int)wxNB_MULTILINE
));
33309 PyDict_SetItemString(d
,"NB_HITTEST_NOWHERE", SWIG_FromInt((int)wxNB_HITTEST_NOWHERE
));
33310 PyDict_SetItemString(d
,"NB_HITTEST_ONICON", SWIG_FromInt((int)wxNB_HITTEST_ONICON
));
33311 PyDict_SetItemString(d
,"NB_HITTEST_ONLABEL", SWIG_FromInt((int)wxNB_HITTEST_ONLABEL
));
33312 PyDict_SetItemString(d
,"NB_HITTEST_ONITEM", SWIG_FromInt((int)wxNB_HITTEST_ONITEM
));
33313 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
33314 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
33315 PyDict_SetItemString(d
,"LB_DEFAULT", SWIG_FromInt((int)wxLB_DEFAULT
));
33316 PyDict_SetItemString(d
,"LB_TOP", SWIG_FromInt((int)wxLB_TOP
));
33317 PyDict_SetItemString(d
,"LB_BOTTOM", SWIG_FromInt((int)wxLB_BOTTOM
));
33318 PyDict_SetItemString(d
,"LB_LEFT", SWIG_FromInt((int)wxLB_LEFT
));
33319 PyDict_SetItemString(d
,"LB_RIGHT", SWIG_FromInt((int)wxLB_RIGHT
));
33320 PyDict_SetItemString(d
,"LB_ALIGN_MASK", SWIG_FromInt((int)wxLB_ALIGN_MASK
));
33321 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
));
33322 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
));
33323 PyDict_SetItemString(d
,"TOOL_STYLE_BUTTON", SWIG_FromInt((int)wxTOOL_STYLE_BUTTON
));
33324 PyDict_SetItemString(d
,"TOOL_STYLE_SEPARATOR", SWIG_FromInt((int)wxTOOL_STYLE_SEPARATOR
));
33325 PyDict_SetItemString(d
,"TOOL_STYLE_CONTROL", SWIG_FromInt((int)wxTOOL_STYLE_CONTROL
));
33326 PyDict_SetItemString(d
,"TB_HORIZONTAL", SWIG_FromInt((int)wxTB_HORIZONTAL
));
33327 PyDict_SetItemString(d
,"TB_VERTICAL", SWIG_FromInt((int)wxTB_VERTICAL
));
33328 PyDict_SetItemString(d
,"TB_3DBUTTONS", SWIG_FromInt((int)wxTB_3DBUTTONS
));
33329 PyDict_SetItemString(d
,"TB_FLAT", SWIG_FromInt((int)wxTB_FLAT
));
33330 PyDict_SetItemString(d
,"TB_DOCKABLE", SWIG_FromInt((int)wxTB_DOCKABLE
));
33331 PyDict_SetItemString(d
,"TB_NOICONS", SWIG_FromInt((int)wxTB_NOICONS
));
33332 PyDict_SetItemString(d
,"TB_TEXT", SWIG_FromInt((int)wxTB_TEXT
));
33333 PyDict_SetItemString(d
,"TB_NODIVIDER", SWIG_FromInt((int)wxTB_NODIVIDER
));
33334 PyDict_SetItemString(d
,"TB_NOALIGN", SWIG_FromInt((int)wxTB_NOALIGN
));
33335 PyDict_SetItemString(d
,"TB_HORZ_LAYOUT", SWIG_FromInt((int)wxTB_HORZ_LAYOUT
));
33336 PyDict_SetItemString(d
,"TB_HORZ_TEXT", SWIG_FromInt((int)wxTB_HORZ_TEXT
));
33337 SWIG_addvarlink(SWIG_globals
,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get
, _wrap_ListCtrlNameStr_set
);
33338 PyDict_SetItemString(d
,"LC_VRULES", SWIG_FromInt((int)wxLC_VRULES
));
33339 PyDict_SetItemString(d
,"LC_HRULES", SWIG_FromInt((int)wxLC_HRULES
));
33340 PyDict_SetItemString(d
,"LC_ICON", SWIG_FromInt((int)wxLC_ICON
));
33341 PyDict_SetItemString(d
,"LC_SMALL_ICON", SWIG_FromInt((int)wxLC_SMALL_ICON
));
33342 PyDict_SetItemString(d
,"LC_LIST", SWIG_FromInt((int)wxLC_LIST
));
33343 PyDict_SetItemString(d
,"LC_REPORT", SWIG_FromInt((int)wxLC_REPORT
));
33344 PyDict_SetItemString(d
,"LC_ALIGN_TOP", SWIG_FromInt((int)wxLC_ALIGN_TOP
));
33345 PyDict_SetItemString(d
,"LC_ALIGN_LEFT", SWIG_FromInt((int)wxLC_ALIGN_LEFT
));
33346 PyDict_SetItemString(d
,"LC_AUTOARRANGE", SWIG_FromInt((int)wxLC_AUTOARRANGE
));
33347 PyDict_SetItemString(d
,"LC_VIRTUAL", SWIG_FromInt((int)wxLC_VIRTUAL
));
33348 PyDict_SetItemString(d
,"LC_EDIT_LABELS", SWIG_FromInt((int)wxLC_EDIT_LABELS
));
33349 PyDict_SetItemString(d
,"LC_NO_HEADER", SWIG_FromInt((int)wxLC_NO_HEADER
));
33350 PyDict_SetItemString(d
,"LC_NO_SORT_HEADER", SWIG_FromInt((int)wxLC_NO_SORT_HEADER
));
33351 PyDict_SetItemString(d
,"LC_SINGLE_SEL", SWIG_FromInt((int)wxLC_SINGLE_SEL
));
33352 PyDict_SetItemString(d
,"LC_SORT_ASCENDING", SWIG_FromInt((int)wxLC_SORT_ASCENDING
));
33353 PyDict_SetItemString(d
,"LC_SORT_DESCENDING", SWIG_FromInt((int)wxLC_SORT_DESCENDING
));
33354 PyDict_SetItemString(d
,"LC_MASK_TYPE", SWIG_FromInt((int)wxLC_MASK_TYPE
));
33355 PyDict_SetItemString(d
,"LC_MASK_ALIGN", SWIG_FromInt((int)wxLC_MASK_ALIGN
));
33356 PyDict_SetItemString(d
,"LC_MASK_SORT", SWIG_FromInt((int)wxLC_MASK_SORT
));
33357 PyDict_SetItemString(d
,"LIST_MASK_STATE", SWIG_FromInt((int)wxLIST_MASK_STATE
));
33358 PyDict_SetItemString(d
,"LIST_MASK_TEXT", SWIG_FromInt((int)wxLIST_MASK_TEXT
));
33359 PyDict_SetItemString(d
,"LIST_MASK_IMAGE", SWIG_FromInt((int)wxLIST_MASK_IMAGE
));
33360 PyDict_SetItemString(d
,"LIST_MASK_DATA", SWIG_FromInt((int)wxLIST_MASK_DATA
));
33361 PyDict_SetItemString(d
,"LIST_SET_ITEM", SWIG_FromInt((int)wxLIST_SET_ITEM
));
33362 PyDict_SetItemString(d
,"LIST_MASK_WIDTH", SWIG_FromInt((int)wxLIST_MASK_WIDTH
));
33363 PyDict_SetItemString(d
,"LIST_MASK_FORMAT", SWIG_FromInt((int)wxLIST_MASK_FORMAT
));
33364 PyDict_SetItemString(d
,"LIST_STATE_DONTCARE", SWIG_FromInt((int)wxLIST_STATE_DONTCARE
));
33365 PyDict_SetItemString(d
,"LIST_STATE_DROPHILITED", SWIG_FromInt((int)wxLIST_STATE_DROPHILITED
));
33366 PyDict_SetItemString(d
,"LIST_STATE_FOCUSED", SWIG_FromInt((int)wxLIST_STATE_FOCUSED
));
33367 PyDict_SetItemString(d
,"LIST_STATE_SELECTED", SWIG_FromInt((int)wxLIST_STATE_SELECTED
));
33368 PyDict_SetItemString(d
,"LIST_STATE_CUT", SWIG_FromInt((int)wxLIST_STATE_CUT
));
33369 PyDict_SetItemString(d
,"LIST_STATE_DISABLED", SWIG_FromInt((int)wxLIST_STATE_DISABLED
));
33370 PyDict_SetItemString(d
,"LIST_STATE_FILTERED", SWIG_FromInt((int)wxLIST_STATE_FILTERED
));
33371 PyDict_SetItemString(d
,"LIST_STATE_INUSE", SWIG_FromInt((int)wxLIST_STATE_INUSE
));
33372 PyDict_SetItemString(d
,"LIST_STATE_PICKED", SWIG_FromInt((int)wxLIST_STATE_PICKED
));
33373 PyDict_SetItemString(d
,"LIST_STATE_SOURCE", SWIG_FromInt((int)wxLIST_STATE_SOURCE
));
33374 PyDict_SetItemString(d
,"LIST_HITTEST_ABOVE", SWIG_FromInt((int)wxLIST_HITTEST_ABOVE
));
33375 PyDict_SetItemString(d
,"LIST_HITTEST_BELOW", SWIG_FromInt((int)wxLIST_HITTEST_BELOW
));
33376 PyDict_SetItemString(d
,"LIST_HITTEST_NOWHERE", SWIG_FromInt((int)wxLIST_HITTEST_NOWHERE
));
33377 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMICON", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMICON
));
33378 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMLABEL", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMLABEL
));
33379 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMRIGHT", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMRIGHT
));
33380 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMSTATEICON", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMSTATEICON
));
33381 PyDict_SetItemString(d
,"LIST_HITTEST_TOLEFT", SWIG_FromInt((int)wxLIST_HITTEST_TOLEFT
));
33382 PyDict_SetItemString(d
,"LIST_HITTEST_TORIGHT", SWIG_FromInt((int)wxLIST_HITTEST_TORIGHT
));
33383 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEM", SWIG_FromInt((int)wxLIST_HITTEST_ONITEM
));
33384 PyDict_SetItemString(d
,"LIST_NEXT_ABOVE", SWIG_FromInt((int)wxLIST_NEXT_ABOVE
));
33385 PyDict_SetItemString(d
,"LIST_NEXT_ALL", SWIG_FromInt((int)wxLIST_NEXT_ALL
));
33386 PyDict_SetItemString(d
,"LIST_NEXT_BELOW", SWIG_FromInt((int)wxLIST_NEXT_BELOW
));
33387 PyDict_SetItemString(d
,"LIST_NEXT_LEFT", SWIG_FromInt((int)wxLIST_NEXT_LEFT
));
33388 PyDict_SetItemString(d
,"LIST_NEXT_RIGHT", SWIG_FromInt((int)wxLIST_NEXT_RIGHT
));
33389 PyDict_SetItemString(d
,"LIST_ALIGN_DEFAULT", SWIG_FromInt((int)wxLIST_ALIGN_DEFAULT
));
33390 PyDict_SetItemString(d
,"LIST_ALIGN_LEFT", SWIG_FromInt((int)wxLIST_ALIGN_LEFT
));
33391 PyDict_SetItemString(d
,"LIST_ALIGN_TOP", SWIG_FromInt((int)wxLIST_ALIGN_TOP
));
33392 PyDict_SetItemString(d
,"LIST_ALIGN_SNAP_TO_GRID", SWIG_FromInt((int)wxLIST_ALIGN_SNAP_TO_GRID
));
33393 PyDict_SetItemString(d
,"LIST_FORMAT_LEFT", SWIG_FromInt((int)wxLIST_FORMAT_LEFT
));
33394 PyDict_SetItemString(d
,"LIST_FORMAT_RIGHT", SWIG_FromInt((int)wxLIST_FORMAT_RIGHT
));
33395 PyDict_SetItemString(d
,"LIST_FORMAT_CENTRE", SWIG_FromInt((int)wxLIST_FORMAT_CENTRE
));
33396 PyDict_SetItemString(d
,"LIST_FORMAT_CENTER", SWIG_FromInt((int)wxLIST_FORMAT_CENTER
));
33397 PyDict_SetItemString(d
,"LIST_AUTOSIZE", SWIG_FromInt((int)wxLIST_AUTOSIZE
));
33398 PyDict_SetItemString(d
,"LIST_AUTOSIZE_USEHEADER", SWIG_FromInt((int)wxLIST_AUTOSIZE_USEHEADER
));
33399 PyDict_SetItemString(d
,"LIST_RECT_BOUNDS", SWIG_FromInt((int)wxLIST_RECT_BOUNDS
));
33400 PyDict_SetItemString(d
,"LIST_RECT_ICON", SWIG_FromInt((int)wxLIST_RECT_ICON
));
33401 PyDict_SetItemString(d
,"LIST_RECT_LABEL", SWIG_FromInt((int)wxLIST_RECT_LABEL
));
33402 PyDict_SetItemString(d
,"LIST_FIND_UP", SWIG_FromInt((int)wxLIST_FIND_UP
));
33403 PyDict_SetItemString(d
,"LIST_FIND_DOWN", SWIG_FromInt((int)wxLIST_FIND_DOWN
));
33404 PyDict_SetItemString(d
,"LIST_FIND_LEFT", SWIG_FromInt((int)wxLIST_FIND_LEFT
));
33405 PyDict_SetItemString(d
,"LIST_FIND_RIGHT", SWIG_FromInt((int)wxLIST_FIND_RIGHT
));
33406 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG
));
33407 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
33408 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
33409 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
33410 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM
));
33411 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
33412 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO
));
33413 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO
));
33414 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED
));
33415 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
33416 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN
));
33417 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM
));
33418 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK
));
33419 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
33420 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
33421 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
33422 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT
));
33423 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
33424 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
33425 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING
));
33426 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG
));
33427 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
33429 // Map renamed classes back to their common name for OOR
33430 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
33432 SWIG_addvarlink(SWIG_globals
,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get
, _wrap_TreeCtrlNameStr_set
);
33433 PyDict_SetItemString(d
,"TR_NO_BUTTONS", SWIG_FromInt((int)wxTR_NO_BUTTONS
));
33434 PyDict_SetItemString(d
,"TR_HAS_BUTTONS", SWIG_FromInt((int)wxTR_HAS_BUTTONS
));
33435 PyDict_SetItemString(d
,"TR_NO_LINES", SWIG_FromInt((int)wxTR_NO_LINES
));
33436 PyDict_SetItemString(d
,"TR_LINES_AT_ROOT", SWIG_FromInt((int)wxTR_LINES_AT_ROOT
));
33437 PyDict_SetItemString(d
,"TR_SINGLE", SWIG_FromInt((int)wxTR_SINGLE
));
33438 PyDict_SetItemString(d
,"TR_MULTIPLE", SWIG_FromInt((int)wxTR_MULTIPLE
));
33439 PyDict_SetItemString(d
,"TR_EXTENDED", SWIG_FromInt((int)wxTR_EXTENDED
));
33440 PyDict_SetItemString(d
,"TR_HAS_VARIABLE_ROW_HEIGHT", SWIG_FromInt((int)wxTR_HAS_VARIABLE_ROW_HEIGHT
));
33441 PyDict_SetItemString(d
,"TR_EDIT_LABELS", SWIG_FromInt((int)wxTR_EDIT_LABELS
));
33442 PyDict_SetItemString(d
,"TR_HIDE_ROOT", SWIG_FromInt((int)wxTR_HIDE_ROOT
));
33443 PyDict_SetItemString(d
,"TR_ROW_LINES", SWIG_FromInt((int)wxTR_ROW_LINES
));
33444 PyDict_SetItemString(d
,"TR_FULL_ROW_HIGHLIGHT", SWIG_FromInt((int)wxTR_FULL_ROW_HIGHLIGHT
));
33445 PyDict_SetItemString(d
,"TR_DEFAULT_STYLE", SWIG_FromInt((int)wxTR_DEFAULT_STYLE
));
33446 PyDict_SetItemString(d
,"TR_TWIST_BUTTONS", SWIG_FromInt((int)wxTR_TWIST_BUTTONS
));
33447 PyDict_SetItemString(d
,"TR_MAC_BUTTONS", SWIG_FromInt((int)wxTR_MAC_BUTTONS
));
33448 PyDict_SetItemString(d
,"TR_AQUA_BUTTONS", SWIG_FromInt((int)wxTR_AQUA_BUTTONS
));
33449 PyDict_SetItemString(d
,"TreeItemIcon_Normal", SWIG_FromInt((int)wxTreeItemIcon_Normal
));
33450 PyDict_SetItemString(d
,"TreeItemIcon_Selected", SWIG_FromInt((int)wxTreeItemIcon_Selected
));
33451 PyDict_SetItemString(d
,"TreeItemIcon_Expanded", SWIG_FromInt((int)wxTreeItemIcon_Expanded
));
33452 PyDict_SetItemString(d
,"TreeItemIcon_SelectedExpanded", SWIG_FromInt((int)wxTreeItemIcon_SelectedExpanded
));
33453 PyDict_SetItemString(d
,"TreeItemIcon_Max", SWIG_FromInt((int)wxTreeItemIcon_Max
));
33454 PyDict_SetItemString(d
,"TREE_HITTEST_ABOVE", SWIG_FromInt((int)wxTREE_HITTEST_ABOVE
));
33455 PyDict_SetItemString(d
,"TREE_HITTEST_BELOW", SWIG_FromInt((int)wxTREE_HITTEST_BELOW
));
33456 PyDict_SetItemString(d
,"TREE_HITTEST_NOWHERE", SWIG_FromInt((int)wxTREE_HITTEST_NOWHERE
));
33457 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMBUTTON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMBUTTON
));
33458 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMICON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMICON
));
33459 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMINDENT", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMINDENT
));
33460 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLABEL", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMLABEL
));
33461 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMRIGHT", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMRIGHT
));
33462 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMSTATEICON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMSTATEICON
));
33463 PyDict_SetItemString(d
,"TREE_HITTEST_TOLEFT", SWIG_FromInt((int)wxTREE_HITTEST_TOLEFT
));
33464 PyDict_SetItemString(d
,"TREE_HITTEST_TORIGHT", SWIG_FromInt((int)wxTREE_HITTEST_TORIGHT
));
33465 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMUPPERPART", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMUPPERPART
));
33466 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLOWERPART", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMLOWERPART
));
33467 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEM", SWIG_FromInt((int)wxTREE_HITTEST_ONITEM
));
33468 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG
));
33469 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
33470 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
33471 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
33472 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM
));
33473 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO
));
33474 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO
));
33475 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
33476 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
33477 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
33478 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
33479 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED
));
33480 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING
));
33481 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN
));
33482 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
33483 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
33484 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
33485 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG
));
33486 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
));
33487 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
));
33489 // Map renamed classes back to their common name for OOR
33490 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
33491 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
33493 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get
, _wrap_DirDialogDefaultFolderStr_set
);
33494 PyDict_SetItemString(d
,"DIRCTRL_DIR_ONLY", SWIG_FromInt((int)wxDIRCTRL_DIR_ONLY
));
33495 PyDict_SetItemString(d
,"DIRCTRL_SELECT_FIRST", SWIG_FromInt((int)wxDIRCTRL_SELECT_FIRST
));
33496 PyDict_SetItemString(d
,"DIRCTRL_SHOW_FILTERS", SWIG_FromInt((int)wxDIRCTRL_SHOW_FILTERS
));
33497 PyDict_SetItemString(d
,"DIRCTRL_3D_INTERNAL", SWIG_FromInt((int)wxDIRCTRL_3D_INTERNAL
));
33498 PyDict_SetItemString(d
,"DIRCTRL_EDIT_LABELS", SWIG_FromInt((int)wxDIRCTRL_EDIT_LABELS
));
33499 PyDict_SetItemString(d
,"FRAME_EX_CONTEXTHELP", SWIG_FromInt((int)wxFRAME_EX_CONTEXTHELP
));
33500 PyDict_SetItemString(d
,"DIALOG_EX_CONTEXTHELP", SWIG_FromInt((int)wxDIALOG_EX_CONTEXTHELP
));
33501 PyDict_SetItemString(d
, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP
));
33502 PyDict_SetItemString(d
, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP
));
33504 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");